{
    "$schema": "http://json-schema.org/draft-04/schema#",

    "title": "pype:version-1.0",
    "description": "An individual version",

    "type": "object",

    "additionalProperties": true,

    "required": [
        "schema",
        "version",
        "path",
        "time",
        "author",
        "source",
        "representations"
    ],

    "properties": {
        "schema": {"type": "string"},
        "representations": {
            "type": "array",
            "items": {
                "$ref": "representation.json"
            }
        },
        "time": {
            "description": "ISO formatted, file-system compatible time",
            "type": "string"
        },
        "author": {
            "description": "User logged on to the machine at time of publish",
            "type": "string"
        },
        "version": {
            "description": "Number of this version",
            "type": "number"
        },
        "path": {
            "description": "Unformatted path, e.g. '{root}/assets/Bruce/publish/lookdevDefault/v001",
            "type": "string"
        },
        "source": {
            "description": "Original file from which this version was made.",
            "type": "string"
        }
    }
}
