{
"id": "social.clippr.feed.clip",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"url",
"title",
"description",
"unlisted",
"createdAt"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 20000,
"description": "The URL of the bookmark. Cannot be left empty or be modified after creation.",
"maxGraphemes": 2000
},
"tags": {
"type": "array",
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"description": "An array of tags. A format of solely alphanumeric characters and dashes should be used."
},
"notes": {
"type": "string",
"maxLength": 100000,
"description": "User-written notes for the bookmark. Public and personal.",
"maxGraphemes": 10000
},
"title": {
"type": "string",
"maxLength": 20480,
"description": "The title of the bookmark. If left empty, reuse the URL.",
"maxGraphemes": 2048
},
"unread": {
"type": "boolean",
"default": true,
"description": "Whether the bookmark has been read by the user"
},
"unlisted": {
"type": "boolean",
"default": false,
"description": "Whether the bookmark can be used for feed indexing and aggregation"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when the bookmark is created"
},
"languages": {
"type": "array",
"items": {
"type": "string",
"format": "language"
},
"maxLength": 5,
"description": "Indicates human language of the given URL"
},
"description": {
"type": "string",
"maxLength": 40960,
"description": "A description of the bookmark's content. This should be ripped from the URL metadata and be static for all records using the URL.",
"maxGraphemes": 4096
}
}
},
"description": "Record containing a bookmarked item, or 'clip'."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}