{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A saved item in one of the creator's collections.",
      "key": "tid",
      "record": {
        "properties": {
          "collection": {
            "description": "Strong reference to the collection record containing this save.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "content": {
            "closed": false,
            "description": "The saved content payload.",
            "refs": [
              "is.currents.content.image"
            ],
            "type": "union"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "originUrl": {
            "description": "Original source URL for the saved item, if known.",
            "format": "uri",
            "maxLength": 2000,
            "type": "string"
          },
          "resaveOf": {
            "description": "Strong reference to the original save record when this save is a resave.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "text": {
            "description": "Optional user-authored note attached to the save.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          }
        },
        "required": [
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "is.currents.feed.save",
  "lexicon": 1
}
