跳转到内容

ak.schema.presence_preference.v1

← Schemas

Arkret Manual Presence Preference Account Data
ak.schema.presence_preference.v1 · file: schemas/presence-preference.schema.json

Closed decrypted plaintext shape for the principal-private ak.presence.preference account-data value. The sending client applies an unexpired preference to all of the principal's devices; services MUST NOT require its plaintext or project it into server-readable policy state.

* $ · object
Closed decrypted plaintext shape for the principal-private ak.presence.preference account-data value. The sending client applies an unexpired preference to all of the principal's devices; services MUST NOT require its plaintext or project it into server-readable policy state.
manual_state · string (enum)
Optional pinned broadcast state. offline is expressed by stopping broadcasts and TTL expiry; invisibility is expressed by ak.presence.visibility=nobody.
enum: "online" "idle" "dnd"
status_message · string
Optional NFC status-message override, at most 256 Unicode code points. U+0009 and U+000A are the only permitted control characters; all other C0/C1 controls are rejected. NFC normalization is a semantic validation step in addition to this schema.
pattern: ^[^\u0000-\u0008\u000B-\u001F\u007F-\u009F]*$
clears_at · string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestamp
Canonical Arkret-owned absolute instant. UTC Z form with exactly three millisecond digits. Whole seconds MUST use .000Z; offsets, missing/finer fractions, lowercase separators, leap seconds, and invalid Gregorian calendar dates are forbidden. Shape validation by this pattern is supplemented by semantic date validation.
pattern: ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\.[0-9]{3}Z$

Source