{
  "lexicon": 1,
  "id": "pub.leaflet.blocks.unorderedList",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "children"
      ],
      "properties": {
        "children": {
          "type": "array",
          "items": {
            "type": "ref",
            "ref": "#listItem"
          }
        }
      }
    },
    "listItem": {
      "type": "object",
      "required": [
        "content"
      ],
      "properties": {
        "checked": {
          "type": "boolean",
          "description": "If present, this item is a checklist item. true = checked, false = unchecked. If absent, this is a normal list item."
        },
        "content": {
          "type": "union",
          "refs": [
            "pub.leaflet.blocks.text",
            "pub.leaflet.blocks.header",
            "pub.leaflet.blocks.image"
          ]
        },
        "children": {
          "type": "array",
          "description": "Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence.",
          "items": {
            "type": "ref",
            "ref": "#listItem"
          }
        },
        "orderedListChildren": {
          "type": "ref",
          "description": "Nested ordered list items. Mutually exclusive with children; if both are present, children takes precedence.",
          "ref": "pub.leaflet.blocks.orderedList"
        }
      }
    }
  }
}