{
    "id": "http://www.ubisoft.com/ugc/acd/v1/variable#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "JSON Schema for Assassin's Creed Dynasty UGC",
    "oneOf": [
        {
            "type": "object",
            "properties": {
                "ID": {
                    "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/VariableID"
                },
                "Type": {
                    "type": "string",
                    "enum": [
                        "Bool"
                    ]
                },
                "Value": {
                    "type": "boolean"
                }
            },
            "required": [
                "ID",
                "Type"
            ],
            "additionalProperties": false
        },
        {
            "type": "object",
            "properties": {
                "ID": {
                    "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/VariableID"
                },
                "Type": {
                    "type": "string",
                    "enum": [
                        "Float"
                    ]
                },
                "Value": {
                    "type": "number"
                }
            },
            "required": [
                "ID",
                "Type"
            ],
            "additionalProperties": false
        },
        {
            "type": "object",
            "properties": {
                "ID": {
                    "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/VariableID"
                },
                "Type": {
                    "type": "string",
                    "enum": [
                        "Int"
                    ]
                },
                "Value": {
                    "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/UInt64"
                }
            },
            "required": [
                "ID",
                "Type"
            ],
            "additionalProperties": false
        },
        {
            "type": "object",
            "properties": {
                "ID": {
                    "$ref": "http://www.ubisoft.com/ugc/acd/v1/types#/VariableID"
                },
                "Type": {
                    "type": "string",
                    "enum": [
                        "String"
                    ]
                },
                "Value": {
                    "type": "string",
                    "pattern": "^[^\"]*$",
                    "maxLength": 1024
                }
            },
            "required": [
                "ID",
                "Type"
            ],
            "additionalProperties": false
        }
    ]
}