Showing:

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

 "heading_node": {
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "attrs"
  ],
  "properties": {
    "type": {
      "enum": ["heading"]
    },
    "content": {
      "type": "array",
      "items": {}
    },
    "marks": {"type": "array"},
    "attrs": {
      "type": "object",
      "additionalProperties": false,
      "required": ["level"],
      "properties": {}
    }
  }
}


Schema type
Diagram
diagram
Type string
Enumeration
Values
heading
Used by
Schema
heading_node
Source

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


Schema content
Diagram
definitions_heading_node.html#/definitions/heading_node/properties/content/items diagram
Type array
Constraints
Unique Items : false

Array Items
Used by
Schema
heading_node
Source

 "content": {
  "type": "array",
  "items": {"$ref": "#/definitions/inline_node"}
}


Definition schema content/items
Diagram
definitions_inline_node.html#/definitions/inline_node diagram
Type reference
Refers inline_node
Used by
Source

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


Schema marks
Diagram
diagram
Type array
Constraints
Unique Items : false

Used by
Schema
heading_node
Source

 "marks": {"type": "array"}


Schema attrs
Diagram
definitions_heading_node.html#/definitions/heading_node/properties/attrs/properties/level diagram
Type object
Properties
Name Occurrence
level
required
Additional Properties false
Used by
Schema
heading_node
Source

 "attrs": {
  "type": "object",
  "additionalProperties": false,
  "required": ["level"],
  "properties": {
    "level": {
      "type": "number",
      "minimum": 1,
      "maximum": 6
    }
  }
}


Schema level
Diagram
diagram
Type number
Constraints
Minimum : 1

Maximum : 6

Used by
Source

 "level": {
  "type": "number",
  "minimum": 1,
  "maximum": 6
}