Showing:

Diagram
Properties
Constraints
Enumerations
Used By
Source
Schema mediaSingle_node
Diagram
definitions_mediaSingle_node.html#/definitions/mediaSingle_node/properties/type definitions_mediaSingle_node.html#/definitions/mediaSingle_node/properties/attrs definitions_mediaSingle_node.html#/definitions/mediaSingle_node/properties/marks diagram
Type object
Properties
Name Occurrence
type
attrs
marks
required
optional
optional
Additional Properties true
Used by
Source

 "mediaSingle_node": {
  "type": "object",
  "additionalProperties": true,
  "required": ["type"],
  "properties": {
    "type": {
      "enum": ["mediaSingle"]
    },
    "attrs": {
      "type": "object",
      "additionalProperties": false,
      "required": ["layout"],
      "properties": {}
    },
    "marks": {
      "type": "array",
      "items": {}
    }
  }
}


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

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


Schema attrs
Diagram
definitions_mediaSingle_node.html#/definitions/mediaSingle_node/properties/attrs/properties/width definitions_mediaSingle_node.html#/definitions/mediaSingle_node/properties/attrs/properties/layout diagram
Type object
Properties
Name Occurrence
width
layout
optional
required
Additional Properties false
Used by
Source

 "attrs": {
  "type": "object",
  "additionalProperties": false,
  "required": ["layout"],
  "properties": {
    "width": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "layout": {
      "enum": [
        "align-end",
        "wrap-right",
        "wide",
        "center",
        "wrap-left",
        "full-width",
        "align-start"
      ]
    }
  }
}


Schema width
Diagram
diagram
Type number
Constraints
Minimum : 0

Maximum : 100

Used by
Source

 "width": {
  "type": "number",
  "minimum": 0,
  "maximum": 100
}


Schema layout
Diagram
diagram
Type string
Enumeration
Values
align-end
wrap-right
wide
center
wrap-left
full-width
align-start
Used by
Source

 "layout": {
  "enum": [
    "align-end",
    "wrap-right",
    "wide",
    "center",
    "wrap-left",
    "full-width",
    "align-start"
  ]
}


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

Array Items
Used by
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"}