{
    "id": "http://www.ubisoft.com/ugc/acd/v1/quest/questflow#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "JSON Schema for Assassin's Creed Dynasty UGC",
    "type": "object",
    "properties": {
        "Schema": {
            "type": "string",
            "enum": [
                "http://www.ubisoft.com/ugc/acd/v1/quest/questflow#"
            ]
        },
        "Name": {
            "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/RequiredString"
        },
        "Description": {
            "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/RequiredString"
        },
        "SubTitle": {
            "type": "string"
        },
        "SuggestedLevel": {
            "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/UInt32NotZero"
        },
        "Operators": {
            "type": "array",
            "minItems": 1,
            "items": {
                "$ref": "http://www.ubisoft.com/ugc/acd/v1/quest/operators#/QuestFlowOperator"
            }
        },
        "Variables": {
            "type": "array",
            "items": {
                "$ref": "http://www.ubisoft.com/ugc/acd/v1/variable#"
            }
        },
        "FlowStart": {
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "object",
                "properties": {
                    "Target": {
                        "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/RequiredString"
                    },
                    "TargetPort": {
                        "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/RequiredString"
                    }
                },
                "required":[
                    "Target"
                ],
                "additionalProperties": false
            }
        }
    },
    "required": [
        "Schema",
        "Name",
        "Operators",
        "FlowStart",
        "Description"
    ],
    "additionalProperties": false
}