full diff

ai.newnal.illi.family.parentData

From
bafyreifbtd5rimvxopfjbcyjt7a2nvs2hoa54xwp2eyui3mvesjnow3xea indexed 2026-11-24 06:27 UTC View this version
To
bafyreigmcfbq36xvevs7fwxtutpeyrcthyqrw5o2julg7kghpcxfww66pu indexed 2026-11-24 12:29 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.illi.family.parentData#itemState.state", sort: "knownValues", old_value: "[\"skipped\",\"notSure\"]", new_value: "[\"skipped\",\"notSure\",\"none\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.illi.family.parentData#itemState.state", sort: "knownValues", old_value: "[\"skipped\",\"notSure\"]", new_value: "[\"skipped\",\"notSure\",\"none\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "categoryState": {
55 "properties": {
66 "completedAt": {
77 "format": "datetime",
88 "type": "string"
99 },
1010 "completedBy": {
1111 "format": "did",
1212 "type": "string"
1313 },
1414 "key": {
1515 "knownValues": [
1616 "mobility",
1717 "health",
1818 "interests",
1919 "contentTaste",
2020 "schedule"
2121 ],
2222 "type": "string"
2323 },
2424 "state": {
2525 "description": "complete only when a guardian pressed complete; it stays complete after later edits.",
2626 "knownValues": [
2727 "notStarted",
2828 "inProgress",
2929 "complete"
3030 ],
3131 "type": "string"
3232 }
3333 },
3434 "required": [
3535 "key",
3636 "state"
3737 ],
3838 "type": "object"
3939 },
4040 "itemState": {
4141 "properties": {
4242 "at": {
4343 "format": "datetime",
4444 "type": "string"
4545 },
4646 "by": {
4747 "format": "did",
4848 "type": "string"
4949 },
5050 "key": {
5151 "description": "The question key, e.g. mobility.walking, health.allergies, interests.travel.regions.",
5252 "maxLength": 100,
5353 "type": "string"
5454 },
5555 "state": {
5656 "knownValues": [
5757 "skipped",
58 "notSure"
58 "notSure",
59 "none"
5960 ],
6061 "type": "string"
6162 }
6263 },
6364 "required": [
6465 "key",
6566 "state",
6667 "at",
6768 "by"
6869 ],
6970 "type": "object"
7071 },
7172 "main": {
7273 "description": "ILLI's own state of one parent's E04 data: how far each category has been entered, which questions were skipped or answered 'not sure', and the family's story answers. Record key = the parent slot (1 or 2). Written by the root admin's session into the root admin's repo of the family sphere; the parent's data itself are ai.newnal.mydata.* records in the parent's own repo (dev-spec 21 ยง4.2).",
7374 "key": "any",
7475 "record": {
7576 "properties": {
7677 "categories": {
7778 "items": {
7879 "ref": "#categoryState",
7980 "type": "ref"
8081 },
8182 "maxLength": 10,
8283 "type": "array"
8384 },
8485 "items": {
8586 "description": "Questions without a value that were skipped or answered 'not sure'. An item disappears when a value is written for it.",
8687 "items": {
8788 "ref": "#itemState",
8889 "type": "ref"
8990 },
9091 "maxLength": 200,
9192 "type": "array"
9293 },
9394 "slot": {
9495 "description": "The parent slot, 1 or 2.",
9596 "maximum": 2,
9697 "minimum": 1,
9798 "type": "integer"
9899 },
99100 "stories": {
100101 "items": {
101102 "ref": "#story",
102103 "type": "ref"
103104 },
104105 "maxLength": 100,
105106 "type": "array"
106107 },
107108 "updatedAt": {
108109 "format": "datetime",
109110 "type": "string"
110111 }
111112 },
112113 "required": [
113114 "slot",
114115 "categories",
115116 "items",
116117 "stories",
117118 "updatedAt"
118119 ],
119120 "type": "object"
120121 },
121122 "type": "record"
122123 },
123124 "story": {
124125 "properties": {
125126 "at": {
126127 "format": "datetime",
127128 "type": "string"
128129 },
129130 "by": {
130131 "format": "did",
131132 "type": "string"
132133 },
133134 "questionKey": {
134135 "description": "The story question of the interests screen (A-E04-09) this answer belongs to.",
135136 "maxLength": 100,
136137 "type": "string"
137138 },
138139 "text": {
139140 "maxGraphemes": 300,
140141 "maxLength": 3000,
141142 "type": "string"
142143 }
143144 },
144145 "required": [
145146 "questionKey",
146147 "text",
147148 "at",
148149 "by"
149150 ],
150151 "type": "object"
151152 }
152153 },
153154 "id": "ai.newnal.illi.family.parentData",
154155 "lexicon": 1
155156}

Compare other versions