full diff

work.lexical.collection.item

lexical.work +2 −2
From
bafyreigra2cun6gwjroimldcgcsw5wsvpglcnzx2ffh625nx5rudjipxpq indexed 2026-05-01 08:18 UTC View this version
To
bafyreigpp3alpunap764y4fyro742vukwq4riaxxp2yhlusauywpghstnm indexed 2026-10-18 03:42 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "work.lexical.collection.item:body.work", sort: "format", old_value: "at-uri", new_value: "uri" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "work.lexical.collection.item:body.work", sort: "format", old_value: "at-uri", new_value: "uri" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A record linking a work to a collection.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "collection": {
1010 "description": "AT URI of the collection this item belongs to.",
1111 "format": "at-uri",
1212 "maxLength": 2048,
1313 "required": true,
1414 "type": "string"
1515 },
1616 "containsSpoilers": {
1717 "description": "If true, apps should obscure the note until the user chooses to reveal it.",
1818 "type": "boolean"
1919 },
2020 "note": {
2121 "description": "An optional note about this item in the collection.",
2222 "maxGraphemes": 4000,
2323 "maxLength": 1000,
2424 "type": "string"
2525 },
2626 "noteFacets": {
2727 "description": "Facets for rich text in the note. Clients must accept but may ignore any or all facets.",
2828 "items": {
2929 "nullable": false,
3030 "ref": "social.lexical.richtext.facet",
3131 "type": "ref"
3232 },
3333 "nullable": false,
3434 "required": false,
3535 "type": "array"
3636 },
3737 "position": {
3838 "description": "1-indexed position of this item in the collection. Meaningful when the collection is ranked.",
3939 "minimum": 1,
4040 "type": "integer"
4141 },
4242 "work": {
43 "description": "AT URI of the work. Must reference a work.lexical.work or work.lexical.work.* record.",
44 "format": "at-uri",
43 "description": "URI of the work; an AT URI to a work.lexical.work.* record is preferred.",
44 "format": "uri",
4545 "maxLength": 2048,
4646 "required": true,
4747 "type": "string"
4848 }
4949 },
5050 "required": [
5151 "collection",
5252 "work"
5353 ],
5454 "type": "object"
5555 },
5656 "type": "record"
5757 }
5858 },
5959 "id": "work.lexical.collection.item",
6060 "lexicon": 1
6161}

Compare other versions