Showing:

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

 "codeBlock_node": {
  "type": "object",
  "additionalProperties": false,
  "required": ["type"],
  "properties": {
    "type": {
      "enum": ["codeBlock"]
    },
    "content": {
      "type": "array",
      "items": {}
    },
    "marks": {"type": "array"},
    "attrs": {
      "type": "object",
      "additionalProperties": false,
      "properties": {}
    }
  }
}


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

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


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

Array Items
Used by
Source

 "content": {
  "type": "array",
  "items": {
    "allOf": [
      {"$ref": "#/definitions/text_node"},
      {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "marks": {
            "type": "array",
            "maxItems": 0
          }
        }
      }
    ]
  }
}


Schema content/items
Diagram
#/definitions/codeBlock_node/properties/content/items/allOf/0 #/definitions/codeBlock_node/properties/content/items/allOf/1 diagram
Type object
All of
Used by
Source

 "items": {
  "allOf": [
    {"$ref": "#/definitions/text_node"},
    {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "marks": {
          "type": "array",
          "maxItems": 0
        }
      }
    }
  ]
}


Definition schema allOf/0
Diagram
definitions_text_node.html#/definitions/text_node diagram
Type reference
Refers text_node
Used by
Source

{"$ref": "#/definitions/text_node"}


Schema allOf/1
Diagram
definitions_codeBlock_node.html#/definitions/codeBlock_node/properties/content/items/allOf/1/properties/marks diagram
Type object
Properties
Name Occurrence
marks
optional
Additional Properties true
Used by
Source

{
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "marks": {
      "type": "array",
      "maxItems": 0
    }
  }
}


Schema marks
Diagram
diagram
Type array
Constraints
Unique Items : false

Used by
Source

 "marks": {
  "type": "array",
  "maxItems": 0
}


Schema marks
Diagram
diagram
Type array
Constraints
Unique Items : false

Used by
Source

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


Schema attrs
Diagram
definitions_codeBlock_node.html#/definitions/codeBlock_node/properties/attrs/properties/language diagram
Type object
Properties
Name Occurrence
language
optional
Additional Properties false
Used by
Source

 "attrs": {
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "language": {"type": "string"}
  }
}


Schema language
Diagram
diagram
Type string
Used by
Source

 "language": {"type": "string"}