pub.leaflet.blocks.orderedList

Repository @leaflet.pub did:plc:btxrwcaeyodrap5mnjw2fvmz namespace authority
Details · object
Kindobject
Authorityblocks.leaflet.pub
Indexed
cid bafyreidmma2hmwmzcnt6xsxrbx2srceb57hf74dvs27t4dnrovawn4jtai

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "listItem": {
      "properties": {
        "checked": {
          "description": "If present, this item is a checklist item. true = checked, false = unchecked. If absent, this is a normal list item.",
          "type": "boolean"
        },
        "children": {
          "description": "Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence.",
          "items": {
            "ref": "#listItem",
            "type": "ref"
          },
          "type": "array"
        },
        "content": {
          "refs": [
            "pub.leaflet.blocks.text",
            "pub.leaflet.blocks.header",
            "pub.leaflet.blocks.image"
          ],
          "type": "union"
        },
        "unorderedListChildren": {
          "description": "A nested unordered list. Mutually exclusive with children; if both are present, children takes precedence.",
          "ref": "pub.leaflet.blocks.unorderedList",
          "type": "ref"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    },
    "main": {
      "properties": {
        "children": {
          "items": {
            "ref": "#listItem",
            "type": "ref"
          },
          "type": "array"
        },
        "startIndex": {
          "description": "The starting number for this ordered list. Defaults to 1 if not specified.",
          "type": "integer"
        }
      },
      "required": [
        "children"
      ],
      "type": "object"
    }
  },
  "id": "pub.leaflet.blocks.orderedList",
  "lexicon": 1
}