app.chavatar.settings
Rotation configuration for a user.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | chavatar.app |
| Indexed |
Showing version bafyreiasfgkzj2p5bqhd3d5dfyscq6oap5pkzi74id5iau5sh42nywo67e. Show the latest
Record
record · key literal:selfProperties
Backward-compatible flat list of avatar items. Used as an always-active default when schedules is absent.
Whether avatar rotation feature is enabled.
fallbackAvatarId
stringTID of the avatar to display when no schedule matches the current time. Omit to skip rotation when no schedule is active.
maxLength: 13
geoContext
refGeographic and timezone context for schedule evaluation. Required when any schedule uses time-based or solar schedules.
The interval at which avatar rotation should occur.
maxLength: 6knownValues: 1h | 3h | 6h | 12h | 1d | 1w | 1mo
The default rotation mode used when a schedule does not specify its own mode.
maxLength: 20knownValues: sequential | random
#avatarItem
objectProperties
maxLength: 13
#dateRange
objectA date range condition. The 'type' field is the discriminator.
Properties
endAt
string · datetimeAbsolute end datetime (ISO 8601). Omit for open-ended. Applies when type='absolute'.
endDay
integerEnd day of month (1-31). Required when type='annual'.
endMonth
integerEnd month (1=Jan, 12=Dec). Required when type='annual'.
startAt
string · datetimeAbsolute start datetime (ISO 8601). Required when type='absolute'.
startDay
integerStart day of month (1-31). Required when type='annual'.
startMonth
integerStart month (1=Jan, 12=Dec). Required when type='annual'.
Kind of date range. 'annual' recurs every year; 'absolute' is a one-time range.
knownValues: annual | absolute
#geoContext
objectGeographic and timezone context used for schedule evaluation and solar event calculation.
#rotationList
objectAn ordered list of avatar items with optional rotation mode and interval overrides.
Properties
Ordered list of avatar items.
interval
stringRotation interval override for this list. Falls back to the top-level settings.interval when absent. Not applicable to TimeWindow lists (which use one-shot execution at window boundaries).
maxLength: 6knownValues: 1h | 3h | 6h | 12h | 1d | 1w | 1mo
mode
stringRotation mode override. Falls back to the top-level settings.mode when absent.
maxLength: 20knownValues: sequential | random
#rotationSchedule
objectA named rotation schedule with an optional activation condition.
Properties
TID-format unique identifier for this schedule.
maxLength: 13
Schedule kind. 'default' is always active. 'period' uses date/day-of-week timing. 'timed' uses time-of-day windows.
maxLength: 16knownValues: default | period | timed
list
refAvatar list for 'default' and 'period' kinds.
name
stringDisplay name for this schedule.
maxLength: 64
timing
refActivation timing for 'period' kind. Omit to make always active within the period kind.
windows
arrayTime-of-day windows for 'timed' kind. The schedule is active when the current time falls within any window.
#timeReference
objectA time reference for schedule boundaries. The 'type' field is the discriminator.
Properties
offsetMin
integerOffset in minutes from the solar event. Negative values are before the event. Applies to sunrise/sunset/solar-noon.
time
stringWall-clock time in 'HH:MM' format interpreted in geoContext.timezone. Required when type='fixed'.
Kind of time reference. 'fixed' requires the 'time' field; solar types use geoContext.location.
knownValues: fixed | sunrise | sunset | solar-noon
#timeWindow
objectA time window defined by start and end time references, with its own avatar list.
Properties
end
refWindow end time reference. Omit for open-ended windows.
Avatar list for this window.
Window start time reference.
#timing
objectActivation timing for a period schedule. All fields are optional; specified conditions are evaluated with AND semantics.
Properties
dateRange
refDate range condition.
daysOfWeek
arrayActive days of week. Omit to match all days.
Day of week (0=Sunday, 6=Saturday).
ttlSec
integerSeconds after dateRange.endAt before automatically reverting to the next active schedule.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.chavatar.schedules
recordRotation schedules with optional activation timing, stored separately from rotation settings.