{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": true,
    "id": "http://schemas.triniti.io/json-schema/triniti/canvas/mixin/spotify-embed-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"
        },
        "spotify_id": {
            "pattern": "^\\w+$",
            "pbj": {
                "rule": "single",
                "type": "string"
            },
            "type": "string"
        },
        "spotify_type": {
            "description": "The type portion of a Spotify URI. @link https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids",
            "pattern": "^(album|artist|episode|playlist|show|track)$",
            "pbj": {
                "rule": "single",
                "type": "string"
            },
            "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": [
        "spotify_type",
        "spotify_id"
    ],
    "type": "object"
}