{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Event",
    "description": "Festival event schema",
    "type": "object",
    "required": [
        "uuid",
        "title"
    ],
    "additionalProperties": false,
    "properties": {
        "uuid": {
            "$ref": "#/definitions/uuid"
        },
        "owner": {
            "$ref": "#/definitions/uuid"
        },
        "title": {
            "type": "string",
            "maxLength": 255,
            "description": "event title"
        }
    },
    "definitions": {
        "uuid": {
            "type": "string",
            "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"
        }
    }
}