work.lexical.collection.item
A record linking a work to a collection.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | collection.lexical.work |
| Indexed |
Showing version bafyreigpp3alpunap764y4fyro742vukwq4riaxxp2yhlusauywpghstnm. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A record linking a work to a collection.",
"key": "tid",
"record": {
"properties": {
"collection": {
"description": "AT URI of the collection this item belongs to.",
"format": "at-uri",
"maxLength": 2048,
"required": true,
"type": "string"
},
"containsSpoilers": {
"description": "If true, apps should obscure the note until the user chooses to reveal it.",
"type": "boolean"
},
"note": {
"description": "An optional note about this item in the collection.",
"maxGraphemes": 4000,
"maxLength": 1000,
"type": "string"
},
"noteFacets": {
"description": "Facets for rich text in the note. Clients must accept but may ignore any or all facets.",
"items": {
"nullable": false,
"ref": "social.lexical.richtext.facet",
"type": "ref"
},
"nullable": false,
"required": false,
"type": "array"
},
"position": {
"description": "1-indexed position of this item in the collection. Meaningful when the collection is ranked.",
"minimum": 1,
"type": "integer"
},
"work": {
"description": "URI of the work; an AT URI to a work.lexical.work.* record is preferred.",
"format": "uri",
"maxLength": 2048,
"required": true,
"type": "string"
}
},
"required": [
"collection",
"work"
],
"type": "object"
},
"type": "record"
}
},
"id": "work.lexical.collection.item",
"lexicon": 1
}