{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": true,
    "id": "http://schemas.triniti.io/json-schema/triniti/canvas/mixin/twitter-tweet-block/1-0-0.json#",
    "properties": {
        "aside": {
            "description": "When true it means this block represents a portion of a document whose content is only indirectly related to the document's main content. Asides are frequently presented as sidebars or call-out boxes.",
            "pbj": {
                "rule": "single",
                "type": "boolean"
            },
            "type": "boolean"
        },
        "css_class": {
            "description": "In rendering environments that support HTML the css_class can be appended to the dom elements' class attribute.",
            "pattern": "^[\\w\\s-]+$",
            "pbj": {
                "rule": "single",
                "type": "string"
            },
            "type": "string"
        },
        "etag": {
            "pattern": "^[\\w\\.:-]+$",
            "pbj": {
                "rule": "single",
                "type": "string"
            },
            "type": "string"
        },
        "hide_media": {
            "pbj": {
                "rule": "single",
                "type": "boolean"
            },
            "type": "boolean"
        },
        "hide_thread": {
            "pbj": {
                "rule": "single",
                "type": "boolean"
            },
            "type": "boolean"
        },
        "screen_name": {
            "pattern": "^\\w{1,15}$",
            "pbj": {
                "rule": "single",
                "type": "string"
            },
            "type": "string"
        },
        "tweet_id": {
            "pattern": "^\\d+$",
            "pbj": {
                "rule": "single",
                "type": "string"
            },
            "type": "string"
        },
        "tweet_text": {
            "maxLength": 5000,
            "minLength": 0,
            "pbj": {
                "rule": "single",
                "type": "text"
            },
            "type": "string"
        },
        "updated_date": {
            "_format": "date-time",
            "description": "Represents an update that occurred on the node this block is attached to. DOES NOT indicate an update to the block itself. eg an article with a twitter block with updated_date means that the article was updated to include that twitter block.",
            "pbj": {
                "rule": "single",
                "type": "date-time"
            },
            "type": "string"
        }
    },
    "required": [
        "screen_name",
        "tweet_id"
    ],
    "type": "object"
}