{
	"$schema": "http://json-schema.org/draft-07/schema",
	"$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/schemas/serviceList.json",
	"type": "array",
	"title": "Supported service states",
	"additionalItems": false,
	"items": {
		"$id": "#/items",
		"type": "object",
		"title": "Service state",
		"required": [
			"name",
			"enabled",
			"active",
			"status"
		],
		"properties": {
			"name": {
				"type": "string",
				"title": "Service name",
				"description": "Service name",
				"example": "iqrf-gateway-daemon"
			},
			"enabled": {
				"type": ["boolean", "null"],
				"title": "Service enabled",
				"description": "Is service enabled?",
				"example": true
			},
			"active": {
				"type": ["boolean", "null"],
				"title": "Service active",
				"description": "Service active",
				"example": true
			},
			"status": {
				"type": ["string", "null"],
				"title": "Service status",
				"description": "Service status",
				"example": null
			}
		}
	}
}
