{
    "$id": "http://asl-validator.cloud/state-machine.json#",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "Comment": {
            "type": "string"
        },
        "StartAt": {
            "type": "string"
        },
        "States": {
            "type": "object",
            "patternProperties": {
                "^.{1,80}$": {
                    "$ref": "state.json#"
                }
            },
            "additionalProperties": false
        },
        "Version": {
            "type": "string"
        },
        "TimeoutSeconds": {
            "type": "integer",
            "minimum": 0
        },
        "QueryLanguage": {
            "oneOf": [
                {
                    "$ref": "jsonata.json#/definitions/queryLanguage"
                },
                {
                    "$ref": "paths.json#/definitions/queryLanguage"
                }
            ]
        }
    },
    "additionalProperties": false,
    "required": ["StartAt", "States"]
}
