work.lexical.collection.item

A record linking a work to a collection.

Repository @lexical.work did:plc:6acm263n23glqje6xrd2mgbt namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritycollection.lexical.work
Indexed

Showing version bafyreigra2cun6gwjroimldcgcsw5wsvpglcnzx2ffh625nx5rudjipxpq. Show the latest

cid bafyreigra2cun6gwjroimldcgcsw5wsvpglcnzx2ffh625nx5rudjipxpq

Checks

Valid Lint pass
JSONDownload
{
  "$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": "AT URI of the work. Must reference a work.lexical.work or work.lexical.work.* record.",
            "format": "at-uri",
            "maxLength": 2048,
            "required": true,
            "type": "string"
          }
        },
        "required": [
          "collection",
          "work"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "work.lexical.collection.item",
  "lexicon": 1
}