{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "The timestamp when the list was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Optional description of the list.",
            "maxLength": 500,
            "type": "string"
          },
          "itemOrder": {
            "description": "An array of item uris in the order they appear in the list. Stored separately from the items themselves to allow for efficient reordering without needing to update each item record.",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "listType": {
            "description": "The type of list, e.g., 'watchlist', 'favorites', 'to-read', etc.",
            "maxLength": 50,
            "type": "string"
          },
          "name": {
            "description": "The name of the list.",
            "maxLength": 100,
            "type": "string"
          },
          "ordered": {
            "description": "Indicates whether the list is ordered or unordered.",
            "type": "boolean"
          },
          "tags": {
            "description": "Optional array of tags for categorizing or describing the list.",
            "items": {
              "maxLength": 50,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.popfeed.feed.list",
  "lexicon": 1
}
