{
    "$schema": "http://json-schema.org/draft-04/schema",
    "additionalProperties": {},
    "anyOf": [
        {
            "$ref": "#/definitions/list_json"
        },
        {
            "$ref": "#/definitions/text_json"
        }
    ],
    "definitions": {
        "___traits_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"
        },
        "___traits_trait_alignment_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "description": "A property used to determine horizontal positioning of a content element relative to the elements that immediately follow it in the element sequence.",
            "enum": [
                "left",
                "right",
                "center"
            ],
            "title": "Alignment",
            "type": "string"
        },
        "___traits_trait_block_properties_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "description": "Block properties for style formatting content elements",
            "properties": {
                "dropcap": {
                    "description": "Style the first letter of the first word with a dropcap",
                    "enum": [
                        "letter"
                    ],
                    "title": "Dropcap",
                    "type": "string"
                }
            },
            "title": "Block properties",
            "type": "object"
        },
        "___traits_trait_channel_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "description": "An optional list of output types for which this element should be visible",
            "items": {
                "type": "string"
            },
            "title": "Channel trait",
            "type": "array"
        },
        "___traits_trait_id_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "description": "A globally unique identifier of the content in the ANS repository.",
            "title": "Globally Unique ID trait",
            "type": "string"
        },
        "___traits_trait_subtype_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "description": "A user-defined categorization method to supplement type. In Arc, this field is reserved for organization-defined purposes, such as selecting the PageBuilder template that should be used to render a document.",
            "title": "Subtype or Template",
            "type": "string"
        },
        "list_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "additionalProperties": false,
            "description": " list of text items or other lists",
            "properties": {
                "_id": {
                    "$ref": "#/definitions/___traits_trait_id_json"
                },
                "additional_properties": {
                    "$ref": "#/definitions/___traits_trait_additional_properties_json"
                },
                "alignment": {
                    "$ref": "#/definitions/___traits_trait_alignment_json"
                },
                "channels": {
                    "$ref": "#/definitions/___traits_trait_channel_json"
                },
                "items": {
                    "description": "The items in this list.",
                    "items": {
                        "$ref": "#"
                    },
                    "type": "array"
                },
                "list_type": {
                    "description": "The type of list to render as (ordered, unordered, etc)",
                    "type": "string"
                },
                "subtype": {
                    "$ref": "#/definitions/___traits_trait_subtype_json"
                },
                "type": {
                    "enum": [
                        "list"
                    ]
                }
            },
            "required": [
                "type"
            ],
            "title": "A list.",
            "type": "object"
        },
        "text_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "additionalProperties": false,
            "description": "A textual content element",
            "properties": {
                "_id": {
                    "$ref": "#/definitions/___traits_trait_id_json"
                },
                "additional_properties": {
                    "$ref": "#/definitions/___traits_trait_additional_properties_json"
                },
                "alignment": {
                    "$ref": "#/definitions/___traits_trait_alignment_json"
                },
                "block_properties": {
                    "$ref": "#/definitions/___traits_trait_block_properties_json"
                },
                "channels": {
                    "$ref": "#/definitions/___traits_trait_channel_json"
                },
                "content": {
                    "description": "The text of the paragraph.",
                    "type": "string"
                },
                "subtype": {
                    "$ref": "#/definitions/___traits_trait_subtype_json"
                },
                "type": {
                    "enum": [
                        "text"
                    ],
                    "type": "string"
                }
            },
            "required": [
                "type",
                "content"
            ],
            "type": "object"
        }
    },
    "description": "Lists the schemas we allow as 'list elements' in our collection schema.",
    "title": "A valid list element.",
    "type": "object"
}