full diff

ai.newnal.illi.mydata.defs

From
bafyreifen5wmzwsxweespjh4xavr47cgf5jveh2jyqlc647mrwmamnbkju indexed 2026-11-24 06:27 UTC View this version
To
bafyreigfbva37q6bdqjal3t4fm2uzf57mslw5lgafqqmocd365t7idxjyi 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.mydata.defs#itemState.state", sort: "knownValues", old_value: "[\"skipped\",\"notSure\"]", new_value: "[\"skipped\",\"notSure\",\"none\"]" }

Migration guidance

Constraint changes

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

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "category": {
5 "description": "An E04 category. contentTaste is kept for compatibility: its questions moved into the interests fields on 2026-11-24 and getParentData reports no missing items for it.",
56 "knownValues": [
67 "mobility",
78 "health",
89 "interests",
910 "contentTaste",
1011 "schedule"
1112 ],
1213 "type": "string"
1314 },
1415 "categoryView": {
1516 "properties": {
1617 "completedAt": {
1718 "format": "datetime",
1819 "type": "string"
1920 },
2021 "completedBy": {
2122 "format": "did",
2223 "type": "string"
2324 },
2425 "key": {
2526 "ref": "#category",
2627 "type": "ref"
2728 },
2829 "missing": {
2930 "description": "Question keys of this category without a value and not answered 'not sure' (the missing-items list).",
3031 "items": {
3132 "type": "string"
3233 },
3334 "type": "array"
3435 },
3536 "state": {
3637 "knownValues": [
3738 "notStarted",
3839 "inProgress",
3940 "complete"
4041 ],
4142 "type": "string"
4243 }
4344 },
4445 "required": [
4546 "key",
4647 "state",
4748 "missing"
4849 ],
4950 "type": "object"
5051 },
5152 "collection": {
5253 "description": "A My Data collection ILLI writes for a parent (dev-spec 21 ยง8.1).",
5354 "knownValues": [
5455 "ai.newnal.mydata.healthFunctionalAbilities",
5556 "ai.newnal.mydata.healthMedicalEvents",
5657 "ai.newnal.mydata.healthAllergies",
5758 "ai.newnal.mydata.healthMedications",
5859 "ai.newnal.mydata.healthHealthStatus",
5960 "ai.newnal.mydata.interestsAndTastesTravel",
6061 "ai.newnal.mydata.interestsAndTastesHobbies",
6162 "ai.newnal.mydata.interestsAndTastesFood",
6263 "ai.newnal.mydata.interestsAndTastesGeneral",
6364 "ai.newnal.mydata.interestsAndTastesMedia",
6465 "ai.newnal.mydata.interestsAndTastesNews",
6566 "ai.newnal.mydata.interestsAndTastesFavoriteWorks",
6667 "ai.newnal.mydata.interestsAndTastesFavoriteCreators",
6768 "ai.newnal.mydata.capabilitiesSkillsAndKnowledge",
6869 "ai.newnal.mydata.valuesAndGoalsGoals",
6970 "ai.newnal.mydata.profileScheduleActivities",
7071 "ai.newnal.mydata.lifestyleHabits",
7172 "ai.newnal.mydata.profileIdentity",
7273 "ai.newnal.mydata.profileBirth",
7374 "ai.newnal.mydata.profileRepresentation"
7475 ],
7576 "type": "string"
7677 },
7778 "itemState": {
7879 "properties": {
7980 "at": {
8081 "format": "datetime",
8182 "type": "string"
8283 },
8384 "by": {
8485 "format": "did",
8586 "type": "string"
8687 },
8788 "key": {
8889 "type": "string"
8990 },
9091 "state": {
92 "description": "skipped (answer later), notSure (the family does not know), none (the answer \"none\" for a question the platform's records cannot say it for).",
9193 "knownValues": [
9294 "skipped",
93 "notSure"
95 "notSure",
96 "none"
9497 ],
9598 "type": "string"
9699 }
97100 },
98101 "required": [
99102 "key",
100103 "state",
101104 "at",
102105 "by"
103106 ],
104107 "type": "object"
105108 },
106109 "parentDataView": {
107110 "properties": {
108111 "categories": {
109112 "description": "Only the categories the caller may read (dataSharing for a general manager).",
110113 "items": {
111114 "ref": "#categoryView",
112115 "type": "ref"
113116 },
114117 "type": "array"
115118 },
116119 "items": {
117120 "items": {
118121 "ref": "#itemState",
119122 "type": "ref"
120123 },
121124 "type": "array"
122125 },
123126 "profile": {
124127 "ref": "#profileView",
125128 "type": "ref"
126129 },
127130 "readOnly": {
128131 "description": "True for a general manager: the caller may not write.",
129132 "type": "boolean"
130133 },
131134 "records": {
132135 "description": "Every readable record of the parent across the collections, each with its collection.",
133136 "items": {
134137 "ref": "#recordView",
135138 "type": "ref"
136139 },
137140 "type": "array"
138141 },
139142 "slot": {
140143 "description": "The parent slot, 1 or 2.",
141144 "maximum": 2,
142145 "minimum": 1,
143146 "type": "integer"
144147 },
145148 "stories": {
146149 "items": {
147150 "ref": "#story",
148151 "type": "ref"
149152 },
150153 "type": "array"
151154 }
152155 },
153156 "required": [
154157 "slot",
155158 "profile",
156159 "categories",
157160 "items",
158161 "stories",
159162 "records",
160163 "readOnly"
161164 ],
162165 "type": "object"
163166 },
164167 "profileView": {
165168 "properties": {
166169 "birthDate": {
167170 "maxLength": 10,
168171 "type": "string"
169172 },
170173 "birthYear": {
171174 "type": "integer"
172175 },
173176 "birthday": {
174177 "ref": "#yearlyDate",
175178 "type": "ref"
176179 },
177180 "honorific": {
178181 "type": "string"
179182 },
180183 "linked": {
181184 "description": "Whether the parent has a Newnal ID linked; E04 data can be written only then.",
182185 "type": "boolean"
183186 },
184187 "name": {
185188 "type": "string"
186189 },
187190 "photoUrl": {
188191 "type": "string"
189192 },
190193 "slot": {
191194 "description": "The parent slot, 1 or 2.",
192195 "maximum": 2,
193196 "minimum": 1,
194197 "type": "integer"
195198 }
196199 },
197200 "required": [
198201 "slot",
199202 "name",
200203 "honorific",
201204 "linked"
202205 ],
203206 "type": "object"
204207 },
205208 "provenanceView": {
206209 "properties": {
207210 "agent": {
208211 "format": "did",
209212 "type": "string"
210213 },
211214 "method": {
212215 "knownValues": [
213216 "user_stated",
214217 "inferred",
215218 "imported",
216219 "issued",
217220 "observed",
218221 "reported_by_other"
219222 ],
220223 "type": "string"
221224 },
222225 "recordedAt": {
223226 "format": "datetime",
224227 "type": "string"
225228 }
226229 },
227230 "required": [
228231 "agent",
229232 "method",
230233 "recordedAt"
231234 ],
232235 "type": "object"
233236 },
234237 "recordView": {
235238 "properties": {
236239 "cid": {
237240 "format": "cid",
238241 "type": "string"
239242 },
240243 "collection": {
241244 "ref": "#collection",
242245 "type": "ref"
243246 },
244247 "createdAt": {
245248 "description": "The record's _meta.createdAt.",
246249 "format": "datetime",
247250 "type": "string"
248251 },
249252 "data": {
250253 "description": "The `data` of one My Data record: the collection's #section (one record at rkey self) or #entry (one record per item), as the platform's published lexicon defines it. $type names the def.",
251254 "refs": [
252255 "ai.newnal.mydata.healthFunctionalAbilities#entry",
253256 "ai.newnal.mydata.healthMedicalEvents#section",
254257 "ai.newnal.mydata.healthMedicalEvents#entry",
255258 "ai.newnal.mydata.healthAllergies#section",
256259 "ai.newnal.mydata.healthAllergies#entry",
257260 "ai.newnal.mydata.healthMedications#section",
258261 "ai.newnal.mydata.healthMedications#entry",
259262 "ai.newnal.mydata.healthHealthStatus#section",
260263 "ai.newnal.mydata.healthHealthStatus#entry",
261264 "ai.newnal.mydata.interestsAndTastesTravel#section",
262265 "ai.newnal.mydata.interestsAndTastesHobbies#section",
263266 "ai.newnal.mydata.interestsAndTastesHobbies#entry",
264267 "ai.newnal.mydata.interestsAndTastesFood#section",
265268 "ai.newnal.mydata.interestsAndTastesGeneral#entry",
266269 "ai.newnal.mydata.interestsAndTastesMedia#section",
267270 "ai.newnal.mydata.interestsAndTastesNews#section",
268271 "ai.newnal.mydata.interestsAndTastesFavoriteWorks#entry",
269272 "ai.newnal.mydata.interestsAndTastesFavoriteCreators#entry",
270273 "ai.newnal.mydata.capabilitiesSkillsAndKnowledge#entry",
271274 "ai.newnal.mydata.valuesAndGoalsGoals#entry",
272275 "ai.newnal.mydata.profileScheduleActivities#entry",
273276 "ai.newnal.mydata.lifestyleHabits#entry",
274277 "ai.newnal.mydata.profileIdentity#section",
275278 "ai.newnal.mydata.profileBirth#section",
276279 "ai.newnal.mydata.profileRepresentation#section"
277280 ],
278281 "type": "union"
279282 },
280283 "provenance": {
281284 "ref": "#provenanceView",
282285 "type": "ref"
283286 },
284287 "rkey": {
285288 "format": "record-key",
286289 "type": "string"
287290 },
288291 "uri": {
289292 "format": "at-uri",
290293 "type": "string"
291294 }
292295 },
293296 "required": [
294297 "uri",
295298 "cid",
296299 "collection",
297300 "rkey",
298301 "data",
299302 "createdAt"
300303 ],
301304 "type": "object"
302305 },
303306 "sharingCategories": {
304307 "properties": {
305308 "contentTaste": {
306309 "type": "boolean"
307310 },
308311 "health": {
309312 "type": "boolean"
310313 },
311314 "interests": {
312315 "type": "boolean"
313316 },
314317 "mobility": {
315318 "type": "boolean"
316319 },
317320 "schedule": {
318321 "type": "boolean"
319322 }
320323 },
321324 "required": [
322325 "mobility",
323326 "health",
324327 "interests",
325328 "contentTaste",
326329 "schedule"
327330 ],
328331 "type": "object"
329332 },
330333 "sharingView": {
331334 "properties": {
332335 "generalManagers": {
333336 "ref": "#sharingCategories",
334337 "type": "ref"
335338 },
336339 "updatedAt": {
337340 "format": "datetime",
338341 "type": "string"
339342 },
340343 "updatedBy": {
341344 "format": "did",
342345 "type": "string"
343346 }
344347 },
345348 "required": [
346349 "generalManagers"
347350 ],
348351 "type": "object"
349352 },
350353 "story": {
351354 "properties": {
352355 "at": {
353356 "format": "datetime",
354357 "type": "string"
355358 },
356359 "by": {
357360 "format": "did",
358361 "type": "string"
359362 },
360363 "questionKey": {
361364 "type": "string"
362365 },
363366 "text": {
364367 "type": "string"
365368 }
366369 },
367370 "required": [
368371 "questionKey",
369372 "text",
370373 "at",
371374 "by"
372375 ],
373376 "type": "object"
374377 },
375378 "yearlyDate": {
376379 "properties": {
377380 "calendar": {
378381 "knownValues": [
379382 "gregorian",
380383 "chinese_lunar",
381384 "dangi"
382385 ],
383386 "type": "string"
384387 },
385388 "day": {
386389 "maximum": 31,
387390 "minimum": 1,
388391 "type": "integer"
389392 },
390393 "leapMonth": {
391394 "type": "boolean"
392395 },
393396 "month": {
394397 "maximum": 12,
395398 "minimum": 1,
396399 "type": "integer"
397400 }
398401 },
399402 "type": "object"
400403 }
401404 },
402405 "id": "ai.newnal.illi.mydata.defs",
403406 "lexicon": 1
404407}

Compare other versions