{
    "$schema": "http://json-schema.org/draft-04/schema",
    "additionalProperties": false,
    "definitions": {
        "trait_additional_properties_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "additionalProperties": {},
            "description": "A grab-bag object for non-validatable data.",
            "title": "Has additional properties",
            "type": "object"
        }
    },
    "description": "Trait that applies revision information to a document. In the Arc ecosystem, many of these fields are populated in stories by the Story API.",
    "properties": {
        "additional_properties": {
            "$ref": "#/definitions/trait_additional_properties_json"
        },
        "branch": {
            "description": "The name of the branch this revision was created on.",
            "type": "string"
        },
        "editions": {
            "description": "A list of identifiers of editions that point to this revision.",
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "parent_id": {
            "description": "The unique id of the revision that this revisions was branched from, or preceded it on the current branch.",
            "type": "string"
        },
        "published": {
            "description": "Whether or not this revision's parent story is published, in any form or place",
            "type": "boolean"
        },
        "revision_id": {
            "description": "The unique id of this revision.",
            "type": "string"
        },
        "user_id": {
            "description": "The unique user id of the person who created this revision.",
            "type": "string"
        }
    },
    "title": "Revision",
    "type": "object"
}