{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "EditySettings": {
            "$ref": "#/definitions/EditySettings"
        },
        "Logging": {
            "type": [
                "null",
                "object"
            ]
        }
    },
    "definitions": {
        "EditySettings": {
            "title": "EditySettings",
            "type": "object",
            "description": "The settings class.",
            "additionalProperties": false,
            "properties": {
                "ReadFromCurrentDirectory": {
                    "type": "boolean",
                    "description": "True to read only from the current directory."
                },
                "DetailedErrors": {
                    "type": "boolean",
                    "description": "True to get detailed errors."
                },
                "BaseUrl": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "description": "The base url for the website, can be null unless the site is hosted in a subfolder, then you\nshould set this to the subfolder path."
                },
                "ProjectMode": {
                    "description": "The mode to handle the project's files.",
                    "oneOf": [
                        {
                            "$ref": "#/definitions/EditySettings/definitions/ProjectMode"
                        }
                    ]
                },
                "Publisher": {
                    "description": "The publisher to use.",
                    "oneOf": [
                        {
                            "$ref": "#/definitions/EditySettings/definitions/Publishers"
                        }
                    ]
                },
                "OutputPath": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "description": "The output folder for published files."
                },
                "ProjectPath": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "description": "The path to the project."
                },
                "EdityCorePath": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "description": "The path to the edity core client side files."
                },
                "SitePath": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "description": "The path to this site's client side files."
                },
                "OverrideVars": {
                    "type": [
                        "null",
                        "object"
                    ],
                    "description": "The override variables for the project. These variables take ultimate precidence over all other\nvariables defined in edity.json files. Mostly useful to override variables when working on the code.\nDefaults to null, which means no overrides.",
                    "additionalProperties": {
                        "type": "string"
                    }
                }
            },
            "definitions": {
                "ProjectMode": {
                    "type": "string",
                    "description": "The different modes to run the project in.",
                    "x-enumNames": [
                        "OneRepo",
                        "OneRepoPerUser"
                    ],
                    "enum": [
                        "OneRepo",
                        "OneRepoPerUser"
                    ]
                },
                "Publishers": {
                    "type": "string",
                    "description": "The different publishers.",
                    "x-enumNames": [
                        "Direct",
                        "RoundRobin"
                    ],
                    "enum": [
                        "Direct",
                        "RoundRobin"
                    ]
                }
            }
        }
    }
}