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
Kindprocedure
Authorityschedule.illi.newnal.ai
Commit rev3n32nhohzem2b
Indexed

Procedure

procedure · POST

Input

application/json

blank

requiredstring
  • maxLength: 600
  • maxGraphemes: 60

clearImage

boolean
  • maxLength: 3000
  • maxGraphemes: 300

expectedCid

string · cid

homeId

requiredstring · tid

location

string
  • maxLength: 1000
  • maxGraphemes: 100

occurrenceStartAt

string · datetime

The occurrence scope this or following applies to (its startAt).

  • maxLength: 256
  • maxLength: 10
itemsstring · at-uri
  • maxLength: 5

reminders

requiredarray
  • maxLength: 10
itemsstring
  • maxLength: 32

requestKey

requiredstring

Idempotency key chosen by the client; a replay with the same key and input returns the first result.

  • minLength: 1
  • maxLength: 64

rkey

string · record-key

Present when replacing an existing entry.

scope

string

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.

  • default: "all"
  • knownValues: all | this | following

slots

requiredarray
  • minLength: 1
  • maxLength: 2
itemsinteger

The parent slot, 1 or 2.

  • minimum: 1
  • maximum: 2

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.

  • maxLength: 24
itemsstring
  • maxLength: 5

title

requiredstring

The completed sentence shown on the device.

  • maxLength: 1200
  • maxGraphemes: 120

Output

application/json

entries

requiredarray

Errors

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 match

Lexicons 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.