{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "properties": {
        "children": {
          "description": "Task items",
          "items": {
            "ref": "#taskItem",
            "type": "ref"
          },
          "required": true,
          "type": "array"
        }
      },
      "required": [
        "children"
      ],
      "type": "object"
    },
    "taskItem": {
      "properties": {
        "checked": {
          "description": "Whether the task is completed",
          "required": true,
          "type": "boolean"
        },
        "children": {
          "description": "Nested task items",
          "items": {
            "ref": "#taskItem",
            "type": "ref"
          },
          "type": "array"
        },
        "content": {
          "description": "Text content of the task item",
          "ref": "app.offprint.block.text",
          "required": true,
          "type": "ref"
        }
      },
      "required": [
        "content",
        "checked"
      ],
      "type": "object"
    }
  },
  "id": "app.offprint.block.taskList",
  "lexicon": 1
}
