跳转到内容

ak.schema.draft_sync.v1

← Schemas

Arkret Draft Sync Account Data
ak.schema.draft_sync.v1 · file: schemas/draft-sync.schema.json

Encrypted account-data plaintext shape for ak.profile.draft_sync.v1.

* $ · object
Encrypted account-data plaintext shape for ak.profile.draft_sync.v1.
* target_ref · string · $ref ./event-payload.schema.json#/$defs/object_ref
pattern: ^((?:ak:realm:[A-Za-z0-9_-]{44}|ak:(circle|space|actor_profile|strand|message|morph|relation|view|event|grant|invite|call|report):[A-Za-z0-9_-]{44}|ak:(policy|blob):[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})|ak:blob:(sha256|blake3):[0-9a-f]{64}|did:[^\s]+|(sha256|blake3):[0-9a-f]{64})$
* kind · string (enum)
enum: "message" "strand_field"
* draft_slot · string
* content · object
* updated_hlc · string
* origin_device_id · string
pattern: ^ak:device:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
* retention_expires_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