ai.newnal.illi.schedule.putEntry
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).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | schedule.illi.newnal.ai |
| Commit rev | 3n32nhohzem2b |
| Indexed |
Showing version bafyreicct6x56bybdpn6mlpfy2l5i5emwqh555zkht4hazdu5xhzmrzvae. Show the latest
Procedure
procedure · POSTInput
application/jsonmaxLength: 600maxGraphemes: 60
clearImage
booleandescription
stringmaxLength: 3000maxGraphemes: 300
expectedCid
string · cidlocation
stringmaxLength: 1000maxGraphemes: 100
occurrenceStartAt
string · datetimeThe occurrence scope this or following applies to (its startAt).
recurrenceRule
stringmaxLength: 256
reminderTime
stringmaxLength: 5
maxLength: 10
maxLength: 32
Idempotency key chosen by the client; a replay with the same key and input returns the first result.
minLength: 1maxLength: 64
rkey
string · record-keyPresent when replacing an existing entry.
scope
stringWhen 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.
default: "all"knownValues: all | this | following
minLength: 1maxLength: 2
The parent slot, 1 or 2.
minimum: 1maximum: 2
startTimes
arrayHH: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.
maxLength: 24
maxLength: 5
The completed sentence shown on the device.
maxLength: 1200maxGraphemes: 120
Output
application/jsonErrors
NotMember
No description in schema.
NotAdmin
No description in schema.
HomeNotFound
No description in schema.
ParentNotLinked
No description in schema.
EntryNotFound
No description in schema.
InvalidRecord
No description in schema.
RecordChanged
No description in schema.
DelegationUnavailable
No description in schema.
PdsUnavailable
No description in schema.
RequestConflict
No description in schema.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
ILLI's additions to one schedule entry of a parent (ai.newnal.mydata.profileScheduleActivities): the alarm grade, the image shown on the device's alarm card, the sentence template the guardian filled, and the group that ties the two records of an entry made for both parents. Record key = the schedule entry's record key, a dot, and the parent slot (3n2…abc.1): one record per parent record of a grouped entry. Written by the root admin's session into the root admin's repo of the family sphere (dev-
-
The history of schedule entries, with their time, place, description and category.