Showing:

Diagram
Properties
Constraints
Enumerations
Compositions
Used By
Source
Schema media_node
Diagram
definitions_media_node.html#/definitions/media_node/properties/type definitions_media_node.html#/definitions/media_node/properties/attrs definitions_media_node.html#/definitions/media_node/properties/marks diagram
Type object
Properties
Name Occurrence
type
attrs
marks
required
required
optional
Additional Properties false
Used by
Source

 "media_node": {
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "attrs"
  ],
  "properties": {
    "type": {
      "enum": ["media"]
    },
    "attrs": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "type",
            "id",
            "collection"
          ],
          "properties": {
            "type": {
              "enum": [
                "file",
                "link"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "collection": {"type": "string"},
            "height": {"type": "number"},
            "width": {"type": "number"},
            "occurrenceKey": {
              "type": "string",
              "minLength": 1
            },
            "alt": {"type": "string"}
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "type",
            "url"
          ],
          "properties": {
            "type": {
              "enum": ["external"]
            },
            "url": {"type": "string"},
            "alt": {"type": "string"},
            "width": {"type": "number"},
            "height": {"type": "number"}
          }
        }
      ]
    },
    "marks": {
      "type": "array",
      "items": {}
    }
  }
}


Schema type
Diagram
diagram
Type string
Enumeration
Values
media
Used by
Schema
media_node
Source

 "type": {
  "enum": ["media"]
}


Schema attrs
Diagram
#/definitions/media_node/properties/attrs/anyOf/0 #/definitions/media_node/properties/attrs/anyOf/1 diagram
Type object
Any of
Used by
Schema
media_node
Source

 "attrs": {
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "type",
        "id",
        "collection"
      ],
      "properties": {
        "type": {
          "enum": [
            "file",
            "link"
          ]
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "collection": {"type": "string"},
        "height": {"type": "number"},
        "width": {"type": "number"},
        "occurrenceKey": {
          "type": "string",
          "minLength": 1
        },
        "alt": {"type": "string"}
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "type",
        "url"
      ],
      "properties": {
        "type": {
          "enum": ["external"]
        },
        "url": {"type": "string"},
        "alt": {"type": "string"},
        "width": {"type": "number"},
        "height": {"type": "number"}
      }
    }
  ]
}


Schema anyOf/0
Diagram
definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/type definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/id definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/collection definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/height definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/width definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/occurrenceKey definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/0/properties/alt diagram
Type object
Properties
Name Occurrence
type
id
collection
height
width
occurrenceKey
alt
required
required
required
optional
optional
optional
optional
Additional Properties false
Used by
Source

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "id",
    "collection"
  ],
  "properties": {
    "type": {
      "enum": [
        "file",
        "link"
      ]
    },
    "id": {
      "type": "string",
      "minLength": 1
    },
    "collection": {"type": "string"},
    "height": {"type": "number"},
    "width": {"type": "number"},
    "occurrenceKey": {
      "type": "string",
      "minLength": 1
    },
    "alt": {"type": "string"}
  }
}


Schema type
Diagram
diagram
Type string
Enumeration
Values
file
link
Used by
Source

 "type": {
  "enum": [
    "file",
    "link"
  ]
}


Schema id
Diagram
diagram
Type string
Constraints
Min Length : 1

Used by
Source

 "id": {
  "type": "string",
  "minLength": 1
}


Schema collection
Diagram
diagram
Type string
Used by
Source

 "collection": {"type": "string"}


Schema height
Diagram
diagram
Type number
Used by
Source

 "height": {"type": "number"}


Schema width
Diagram
diagram
Type number
Used by
Source

 "width": {"type": "number"}


Schema occurrenceKey
Diagram
diagram
Type string
Constraints
Min Length : 1

Used by
Source

 "occurrenceKey": {
  "type": "string",
  "minLength": 1
}


Schema alt
Diagram
diagram
Type string
Used by
Source

 "alt": {"type": "string"}


Schema anyOf/1
Diagram
definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/1/properties/type definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/1/properties/url definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/1/properties/alt definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/1/properties/width definitions_media_node.html#/definitions/media_node/properties/attrs/anyOf/1/properties/height diagram
Type object
Properties
Name Occurrence
type
url
alt
width
height
required
required
optional
optional
optional
Additional Properties false
Used by
Source

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "url"
  ],
  "properties": {
    "type": {
      "enum": ["external"]
    },
    "url": {"type": "string"},
    "alt": {"type": "string"},
    "width": {"type": "number"},
    "height": {"type": "number"}
  }
}


Schema type
Diagram
diagram
Type string
Enumeration
Values
external
Used by
Source

 "type": {
  "enum": ["external"]
}


Schema url
Diagram
diagram
Type string
Used by
Source

 "url": {"type": "string"}


Schema alt
Diagram
diagram
Type string
Used by
Source

 "alt": {"type": "string"}


Schema width
Diagram
diagram
Type number
Used by
Source

 "width": {"type": "number"}


Schema height
Diagram
diagram
Type number
Used by
Source

 "height": {"type": "number"}


Schema marks
Diagram
definitions_media_node.html#/definitions/media_node/properties/marks/items diagram
Type array
Constraints
Unique Items : false

Array Items
Used by
Schema
media_node
Source

 "marks": {
  "type": "array",
  "items": {"$ref": "#/definitions/link_mark"}
}


Definition schema marks/items
Diagram
definitions_link_mark.html#/definitions/link_mark diagram
Type reference
Refers link_mark
Used by
Source

 "items": {"$ref": "#/definitions/link_mark"}