{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/v2.7.0-rc3/schemas/mainConfiguration.json",
    "type": "object",
    "title": "Main IQRF GW Daemon configuration",
    "additionalProperties": false,
    "required": [
        "applicationName",
        "resourceDir",
        "dataDir",
        "cacheDir",
        "userDir",
        "configurationDir",
        "deploymentDir",
        "components"
    ],
    "properties": {
        "applicationName": {
            "type": "string",
            "title": "Application name",
            "example": "IqrfGatewayDaemon"
        },
        "resourceDir": {
            "type": "string",
            "title": "Resource directory",
            "example": ""
        },
        "dataDir": {
            "type": "string",
            "title": "Daemon data directory",
            "example": "/usr/share/iqrf-gateway-daemon"
        },
        "cacheDir": {
            "type": "string",
            "title": "Daemon cache directory",
            "example": "/var/cache/iqrf-gateway-daemon"
        },
        "userDir": {
            "type": "string",
            "title": "User data directory",
            "example": ""
        },
        "configurationDir": {
            "type": "string",
            "title": "Daemon configuration directory",
            "example": "/etc/iqrf-gateway-daemon"
        },
        "deploymentDir": {
            "type": "string",
            "title": "Daemon deployment directory",
            "example": "/usr/lib/iqrf-gateway-daemon"
        },
        "components": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/v2.7.0-rc3/schemas/daemonComponent.json"
            }
        }
    }
}
