{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A saved feed item for later reading.",
      "key": "tid",
      "record": {
        "properties": {
          "comment": {
            "description": "User's note on why they saved it.",
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "description": "Rich-text annotations (mentions, links, tags) over `comment`.",
            "items": {
              "ref": "app.bsky.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "feedUrl": {
            "description": "URL of the source feed (optional provenance).",
            "format": "uri",
            "maxLength": 2048,
            "type": "string"
          },
          "itemUrl": {
            "description": "URL of the saved item.",
            "format": "uri",
            "maxLength": 2048,
            "type": "string"
          },
          "tags": {
            "description": "Free-form, user-defined tags (e.g. 'read-later', 'favorite'). No controlled vocabulary.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          }
        },
        "required": [
          "itemUrl",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "blue.morgen.feed.save",
  "lexicon": 1
}
