{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "avalon-core:subset-2.0",
    "description": "A container of instances",
    "type": "object",
    "additionalProperties": true,
    "required": [
        "schema",
        "type",
        "parent",
        "name",
        "data"
    ],
    "properties": {
        "schema": {
            "description": "The schema associated with this document",
            "type": "string",
            "enum": [
                "avalon-core:subset-2.0"
            ],
            "example": "avalon-core:subset-2.0"
        },
        "type": {
            "description": "The type of document",
            "type": "string",
            "enum": [
                "subset"
            ],
            "example": "subset"
        },
        "parent": {
            "description": "Unique identifier to parent document",
            "example": "592c33475f8c1b064c4d1696"
        },
        "name": {
            "description": "Name of directory",
            "type": "string",
            "pattern": "^[a-zA-Z0-9_.]*$",
            "example": "shot01"
        },
        "data": {
            "type": "object",
            "description": "Document metadata",
            "example": {
                "frameStart": 1000,
                "frameEnd": 1201
            }
        }
    }
}