full diff

us.off-the-clock.polls.poll

From
bafyreicwet3gs5nqtbfzq2zjn7o7f7xbpofgqshn7pmrst7sp4j326cvxy indexed 2026-10-26 23:37 UTC View this version
To
bafyreifa5qzpimhp2pwiia6bmpwa5eynkxrz6hptq3nfxr23hu4wmuqhue indexed 2026-11-10 03:55 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.polls.poll:body.labels" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.polls.poll:body.labels:variant0" }
  • AddedEdge AddedEdge { src: "us.off-the-clock.polls.poll:body", tgt: "us.off-the-clock.polls.poll:body.labels", kind: "prop", name: Some("labels") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.polls.poll:body.labels", tgt: "us.off-the-clock.polls.poll:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.polls.poll:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
  • AddedVertex { vertex_id: "us.off-the-clock.polls.poll:body.labels" }
  • AddedVertex { vertex_id: "us.off-the-clock.polls.poll:body.labels:variant0" }

Notes

  • Non-breaking: AddedEdge { src: "us.off-the-clock.polls.poll:body", tgt: "us.off-the-clock.polls.poll:body.labels", kind: "prop", name: Some("labels") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.polls.poll:body.labels", tgt: "us.off-the-clock.polls.poll:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.polls.poll:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A question a member asks a content space, with two to ten options that members answer with us.off-the-clock.polls.vote records. Each option is named by a key that stays the same when the poll is edited, so votes follow the option they were cast for. Posts may reply to a poll, so a poll heads a thread.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "allowMultiple": {
1010 "default": false,
1111 "description": "Voters may choose any set of options; otherwise at most one.",
1212 "type": "boolean"
1313 },
1414 "closesAt": {
1515 "description": "Votes cast after this do not count. After opensAt when both are given.",
1616 "format": "datetime",
1717 "type": "string"
1818 },
1919 "createdAt": {
2020 "format": "datetime",
2121 "type": "string"
2222 },
23 "labels": {
24 "description": "The author's own labels: a content warning (D101).",
25 "refs": [
26 "com.atproto.label.defs#selfLabels"
27 ],
28 "type": "union"
29 },
2330 "opensAt": {
2431 "description": "Votes cast before this do not count.",
2532 "format": "datetime",
2633 "type": "string"
2734 },
2835 "options": {
2936 "description": "In the order shown. Keys are unique within the poll.",
3037 "items": {
3138 "ref": "#option",
3239 "type": "ref"
3340 },
3441 "maxLength": 10,
3542 "minLength": 2,
3643 "type": "array"
3744 },
3845 "prompt": {
3946 "maxGraphemes": 300,
4047 "maxLength": 3000,
4148 "minGraphemes": 1,
4249 "minLength": 1,
4350 "type": "string"
4451 }
4552 },
4653 "required": [
4754 "prompt",
4855 "options",
4956 "createdAt"
5057 ],
5158 "type": "object"
5259 },
5360 "type": "record"
5461 },
5562 "option": {
5663 "properties": {
5764 "allowInput": {
5865 "default": false,
5966 "description": "A voter choosing this option may type an answer beside it.",
6067 "type": "boolean"
6168 },
6269 "key": {
6370 "description": "Stable across edits and never reused within the poll; a vote names it.",
6471 "maxLength": 64,
6572 "minLength": 1,
6673 "type": "string"
6774 },
6875 "text": {
6976 "maxGraphemes": 80,
7077 "maxLength": 800,
7178 "minGraphemes": 1,
7279 "minLength": 1,
7380 "type": "string"
7481 }
7582 },
7683 "required": [
7784 "text",
7885 "key"
7986 ],
8087 "type": "object"
8188 }
8289 },
8390 "id": "us.off-the-clock.polls.poll",
8491 "lexicon": 1
8592}

Compare other versions