full diff

work.lexical.rating

lexical.work +2 −2
From
bafyreiba5m2zqhbng6ytw4qpxrumx4dwduycxk27rqjgjguwhut6b3u5n4 indexed 2026-05-01 08:18 UTC View this version
To
bafyreifeiyakvpbo2k4am2p46fpsjioogvbg5p2siebvqqezdlrgnbkplq 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.rating:body.work", sort: "format", old_value: "at-uri", new_value: "uri" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "work.lexical.rating: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 representing a rating of a work.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "action": {
1010 "description": "AT URI of the action this rating is tied to.",
1111 "format": "at-uri",
1212 "maxLength": 2048,
1313 "type": "string"
1414 },
1515 "ratedAt": {
1616 "description": "When the rating was made. Optional; clients may inherit from the linked action if absent.",
1717 "format": "datetime",
1818 "maxLength": 64,
1919 "type": "string"
2020 },
2121 "value": {
2222 "description": "The rating value, from 0 to 10.",
2323 "maximum": 10,
2424 "minimum": 0,
2525 "required": true,
2626 "type": "integer"
2727 },
2828 "work": {
29 "description": "AT URI of the work being rated.",
30 "format": "at-uri",
29 "description": "URI of the work; an AT URI to a work.lexical.work.* record is preferred.",
30 "format": "uri",
3131 "maxLength": 2048,
3232 "required": true,
3333 "type": "string"
3434 }
3535 },
3636 "required": [
3737 "work",
3838 "value"
3939 ],
4040 "type": "object"
4141 },
4242 "type": "record"
4343 }
4444 },
4545 "id": "work.lexical.rating",
4646 "lexicon": 1
4747}

Compare other versions