full diff

work.lexical.action.watch

lexical.work +3 −12
From
bafyreiagw434g4muhff5f22hp4x4oarus4wm3m5u74ekp5js4rb5g2tgue indexed 2026-05-01 08:18 UTC View this version
To
bafyreib2tycpcuqdkk5mkidraouctxtnh7g6vpq7qlyisv2dupciwzzsc4 indexed 2026-10-18 03:42 UTC View this version

Compatibility

breaking 3 breaking changes, 0 non-breaking changes.

Breaking changes (3)
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "work.lexical.action.watch:body", src: "work.lexical.action.watch:body", tgt: "work.lexical.action.watch:body.actionType", kind: "prop", name: Some("actionType") }
  • RemovedVertex RemovedVertex { vertex_id: "work.lexical.action.watch:body.actionType" }
  • ConstraintTightened ConstraintTightened { vertex_id: "work.lexical.action.watch:body.work", sort: "format", old_value: "at-uri", new_value: "uri" }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "work.lexical.action.watch:body.actionType" }

Constraint changes

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

Notes

  • Breaking: RequiredEdgeRemoved { vertex_id: "work.lexical.action.watch:body", src: "work.lexical.action.watch:body", tgt: "work.lexical.action.watch:body.actionType", kind: "prop", name: Some("actionType") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A record representing a watch of a film or video work.",
66 "key": "tid",
77 "record": {
88 "properties": {
9 "actionType": {
10 "const": "watch",
11 "description": "Identifies this record as a watch.",
12 "maxGraphemes": 64,
13 "maxLength": 64,
14 "required": true,
15 "type": "string"
16 },
179 "medium": {
1810 "description": "The medium through which the work was watched.",
1911 "knownValues": [
2012 "theatrical",
2113 "streaming",
2214 "physical"
2315 ],
2416 "maxGraphemes": 64,
2517 "maxLength": 64,
2618 "type": "string"
2719 },
2820 "occurredAt": {
2921 "description": "When the watch occurred.",
3022 "format": "datetime",
3123 "maxLength": 64,
3224 "type": "string"
3325 },
3426 "rewatch": {
3527 "description": "Whether this was a rewatch rather than a first viewing.",
3628 "type": "boolean"
3729 },
3830 "work": {
39 "description": "AT URI of the work that was watched.",
40 "format": "at-uri",
31 "description": "URI of the work; an AT URI to a work.lexical.work.* record is preferred.",
32 "format": "uri",
4133 "maxLength": 2048,
4234 "required": true,
4335 "type": "string"
4436 }
4537 },
4638 "required": [
47 "work",
48 "actionType"
39 "work"
4940 ],
5041 "type": "object"
5142 },
5243 "type": "record"
5344 }
5445 },
5546 "id": "work.lexical.action.watch",
5647 "lexicon": 1
5748}

Compare other versions