From
bafyreibmn6lgocqhytxqnetstdh5ssen7s3vkxq325qcuem3dg33oocavq
indexed 2026-11-24 06:27 UTC
View this version
To
bafyreicct6x56bybdpn6mlpfy2l5i5emwqh555zkht4hazdu5xhzmrzvae
indexed 2026-11-24 12:29 UTC
View this version
Compatibility
backward compatible Backward compatible. 8 non-breaking changes.
Non-breaking changes (8)
- AddedVertex AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.occurrenceStartAt" }
- AddedVertex AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.scope" }
- AddedVertex AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.startTimes" }
- AddedVertex AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.startTimes:items" }
- AddedEdge AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input", tgt: "ai.newnal.illi.schedule.putEntry:input.occurrenceStartAt", kind: "prop", name: Some("occurrenceStartAt") }
- AddedEdge AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input", tgt: "ai.newnal.illi.schedule.putEntry:input.scope", kind: "prop", name: Some("scope") }
- AddedEdge AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input", tgt: "ai.newnal.illi.schedule.putEntry:input.startTimes", kind: "prop", name: Some("startTimes") }
- AddedEdge AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input.startTimes", tgt: "ai.newnal.illi.schedule.putEntry:input.startTimes:items", kind: "items", name: None }
Migration guidance
Added
AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.occurrenceStartAt" }AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.scope" }AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.startTimes" }AddedVertex { vertex_id: "ai.newnal.illi.schedule.putEntry:input.startTimes:items" }
Notes
- Non-breaking: AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input", tgt: "ai.newnal.illi.schedule.putEntry:input.occurrenceStartAt", kind: "prop", name: Some("occurrenceStartAt") }
- Non-breaking: AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input", tgt: "ai.newnal.illi.schedule.putEntry:input.scope", kind: "prop", name: Some("scope") }
- Non-breaking: AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input", tgt: "ai.newnal.illi.schedule.putEntry:input.startTimes", kind: "prop", name: Some("startTimes") }
- Non-breaking: AddedEdge { src: "ai.newnal.illi.schedule.putEntry:input.startTimes", tgt: "ai.newnal.illi.schedule.putEntry:input.startTimes:items", kind: "items", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "Root or main admin creates or replaces a schedule entry for one or both parents (feature spec A-E04-18). Writes a profileScheduleActivities record in each named parent's repo (the same rkey when creating for both, and one group) with its provenance, and ILLI's scheduleExtra next to it; recomputes the occurrences. Category defaults (reminders, grade, template) are the app's; the server stores what it receives. A lunar yearly entry carries recurrenceRule RSCALE=DANGI;FREQ=YEARLY and the server resolves its dates.",5
"description": "Root or main admin creates or replaces a schedule entry for one or both parents (feature spec A-E04-18). Writes a profileScheduleActivities record in each named parent's repo (the same rkey when creating for both, and one group) with its provenance, and ILLI's scheduleExtra next to it; recomputes the occurrences. Category defaults (reminders, grade, template) are the app's; the server stores what it receives. A lunar yearly entry carries recurrenceRule RSCALE=DANGI;FREQ=YEARLY and the server resolves its dates. SKIP in the rule follows RFC 7529 with the platform's default OMIT (a day the month lacks is skipped); write RSCALE=GREGORIAN;SKIP=BACKWARD for the last day instead. The card image is the record's image in each parent's repo (schedule.uploadImage).",66
"errors": [77
{88
"name": "NotMember"99
},1010
{1111
"name": "NotAdmin"1212
},1313
{1414
"name": "HomeNotFound"1515
},1616
{1717
"name": "ParentNotLinked"1818
},1919
{20
"name": "EntryNotFound"21
},22
{2023
"name": "InvalidRecord"2124
},2225
{2326
"name": "RecordChanged"2427
},2528
{2629
"name": "DelegationUnavailable"2730
},2831
{2932
"name": "PdsUnavailable"3033
},3134
{3235
"name": "RequestConflict"3336
}3437
],3538
"input": {3639
"encoding": "application/json",3740
"schema": {3841
"properties": {3942
"blank": {4043
"maxGraphemes": 60,4144
"maxLength": 600,4245
"type": "string"4346
},4447
"category": {4548
"ref": "ai.newnal.illi.schedule.defs#category",4649
"type": "ref"4750
},4851
"clearImage": {4952
"type": "boolean"5053
},5154
"description": {5255
"maxGraphemes": 300,5356
"maxLength": 3000,5457
"type": "string"5558
},5659
"expectedCid": {5760
"format": "cid",5861
"type": "string"5962
},6063
"grade": {6164
"ref": "ai.newnal.illi.schedule.defs#grade",6265
"type": "ref"6366
},6467
"homeId": {6568
"format": "tid",6669
"type": "string"6770
},6871
"location": {6972
"maxGraphemes": 100,7073
"maxLength": 1000,7174
"type": "string"7275
},76
"occurrenceStartAt": {77
"description": "The occurrence scope this or following applies to (its startAt).",78
"format": "datetime",79
"type": "string"80
},7381
"recurrenceRule": {7482
"maxLength": 256,7583
"type": "string"7684
},7785
"relatedRecords": {7886
"items": {7987
"format": "at-uri",8088
"type": "string"8189
},8290
"maxLength": 10,8391
"type": "array"8492
},8593
"reminderTime": {8694
"maxLength": 5,8795
"type": "string"8896
},8997
"reminders": {9098
"items": {9199
"maxLength": 32,92100
"type": "string"93101
},94102
"maxLength": 10,95103
"type": "array"96104
},97105
"requestKey": {98106
"description": "Idempotency key chosen by the client; a replay with the same key and input returns the first result.",99107
"maxLength": 64,100108
"minLength": 1,101109
"pattern": "^[A-Za-z0-9._:-]+$",102110
"type": "string"103111
},104112
"rkey": {105113
"description": "Present when replacing an existing entry.",106114
"format": "record-key",107115
"type": "string"108116
},117
"scope": {118
"default": "all",119
"description": "When rkey names a recurring entry: all replaces it; this detaches the occurrence at occurrenceStartAt as a one-off entry with the new fields (the series skips that occurrence); following ends the series the day before occurrenceStartAt and starts a new entry from it with the new fields. The detached or new entry comes back with its own rkey.",120
"knownValues": [121
"all",122
"this",123
"following"124
],125
"type": "string"126
},109127
"slots": {110128
"items": {111129
"description": "The parent slot, 1 or 2.",112130
"maximum": 2,113131
"minimum": 1,114132
"type": "integer"115133
},116134
"maxLength": 2,117135
"minLength": 1,118136
"type": "array"119137
},138
"startTimes": {139
"description": "HH:MM in the entry's zone: a timed entry that rings several times a day (a medication morning and evening); the entry's own time of day is one of them and the rule then decides the dates only.",140
"items": {141
"maxLength": 5,142
"type": "string"143
},144
"maxLength": 24,145
"type": "array"146
},120147
"time": {121148
"ref": "ai.newnal.illi.schedule.defs#time",122149
"type": "ref"123150
},124151
"title": {125152
"description": "The completed sentence shown on the device.",126153
"maxGraphemes": 120,127154
"maxLength": 1200,128155
"type": "string"129156
}130157
},131158
"required": [132159
"homeId",133160
"slots",134161
"category",135162
"blank",136163
"title",137164
"time",138165
"reminders",139166
"grade",140167
"requestKey"141168
],142169
"type": "object"143170
}144171
},145172
"output": {146173
"encoding": "application/json",147174
"schema": {148175
"properties": {149176
"entries": {150177
"items": {151178
"ref": "ai.newnal.illi.schedule.defs#entryView",152179
"type": "ref"153180
},154181
"type": "array"155182
}156183
},157184
"required": [158185
"entries"159186
],160187
"type": "object"161188
}162189
},163190
"type": "procedure"164191
}165192
},166193
"id": "ai.newnal.illi.schedule.putEntry",167194
"lexicon": 1168195
}