app.chavatar.settings

Rotation configuration for a user.

Repository @chavatar.app did:web:chavatar.app namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritychavatar.app
Indexed

Showing version bafyreiasfgkzj2p5bqhd3d5dfyscq6oap5pkzi74id5iau5sh42nywo67e. Show the latest

Record

record · key literal:self

Properties

avatars

requiredarray

Backward-compatible flat list of avatar items. Used as an always-active default when schedules is absent.

itemsref
Reference

enabled

requiredboolean

Whether avatar rotation feature is enabled.

TID of the avatar to display when no schedule matches the current time. Omit to skip rotation when no schedule is active.

  • maxLength: 13

Geographic and timezone context for schedule evaluation. Required when any schedule uses time-based or solar schedules.

Reference

interval

requiredstring

The interval at which avatar rotation should occur.

  • maxLength: 6
  • knownValues: 1h | 3h | 6h | 12h | 1d | 1w | 1mo

mode

requiredstring

The default rotation mode used when a schedule does not specify its own mode.

  • maxLength: 20
  • knownValues: sequential | random

#avatarItem

object

Properties

id

requiredstring
  • maxLength: 13

image

requiredref

#dateRange

object

A date range condition. The 'type' field is the discriminator.

Properties

endAt

string · datetime

Absolute end datetime (ISO 8601). Omit for open-ended. Applies when type='absolute'.

endDay

integer

End day of month (1-31). Required when type='annual'.

endMonth

integer

End month (1=Jan, 12=Dec). Required when type='annual'.

startAt

string · datetime

Absolute start datetime (ISO 8601). Required when type='absolute'.

startDay

integer

Start day of month (1-31). Required when type='annual'.

startMonth

integer

Start month (1=Jan, 12=Dec). Required when type='annual'.

type

requiredstring

Kind of date range. 'annual' recurs every year; 'absolute' is a one-time range.

  • knownValues: annual | absolute

#geoContext

object

Geographic and timezone context used for schedule evaluation and solar event calculation.

Properties

WGS84 geographic location. Required for sunrise/sunset/solar-noon time references.

timezone

string

IANA timezone identifier (e.g. 'Asia/Tokyo'). Required for timeWindow and daysOfWeek schedule evaluation.

#rotationList

object

An ordered list of avatar items with optional rotation mode and interval overrides.

Properties

avatars

requiredarray

Ordered list of avatar items.

itemsref
Reference

interval

string

Rotation 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: 6
  • knownValues: 1h | 3h | 6h | 12h | 1d | 1w | 1mo

mode

string

Rotation mode override. Falls back to the top-level settings.mode when absent.

  • maxLength: 20
  • knownValues: sequential | random

#rotationSchedule

object

A named rotation schedule with an optional activation condition.

Properties

id

requiredstring

TID-format unique identifier for this schedule.

  • maxLength: 13

kind

requiredstring

Schedule kind. 'default' is always active. 'period' uses date/day-of-week timing. 'timed' uses time-of-day windows.

  • maxLength: 16
  • knownValues: default | period | timed

list

ref

Avatar list for 'default' and 'period' kinds.

Reference

name

string

Display name for this schedule.

  • maxLength: 64

Activation timing for 'period' kind. Omit to make always active within the period kind.

Reference

windows

array

Time-of-day windows for 'timed' kind. The schedule is active when the current time falls within any window.

itemsref
Reference

#timeReference

object

A time reference for schedule boundaries. The 'type' field is the discriminator.

Properties

offsetMin

integer

Offset in minutes from the solar event. Negative values are before the event. Applies to sunrise/sunset/solar-noon.

time

string

Wall-clock time in 'HH:MM' format interpreted in geoContext.timezone. Required when type='fixed'.

type

requiredstring

Kind of time reference. 'fixed' requires the 'time' field; solar types use geoContext.location.

  • knownValues: fixed | sunrise | sunset | solar-noon

#timeWindow

object

A time window defined by start and end time references, with its own avatar list.

Properties

end

ref

Window end time reference. Omit for open-ended windows.

Reference

list

requiredref

Avatar list for this window.

Reference

start

requiredref

Window start time reference.

Reference

#timing

object

Activation timing for a period schedule. All fields are optional; specified conditions are evaluated with AND semantics.

Properties

Date range condition.

Reference

Active days of week. Omit to match all days.

itemsinteger

Day of week (0=Sunday, 6=Saturday).

ttlSec

integer

Seconds after dateRange.endAt before automatically reverting to the next active schedule.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Rotation schedules with optional activation timing, stored separately from rotation settings.