跳转到内容

ak.schema.call_invitation_operations.v1

← Schema 目录

Call invitation admission operations
ak.schema.call_invitation_operations.v1 · schemas/call-invitation-operations.schema.json

Closed transient invitation relation, holder-authority cut and token join context. Does not extend the encrypted Signal envelope. Conformance: ak.vector.consent.call_invitation_admission.v1.

必填标记属于当前 Schema 对象或分支。oneOf、anyOf、if / then / else 中的 required 不表示所有实例均必填。树状视图有递归深度限制;完整约束以 canonical 原件为准。

必填 $ · anyOf[6]

Closed transient invitation relation, holder-authority cut and token join context. Does not extend the encrypted Signal envelope. Conformance: ak.vector.consent.call_invitation_admission.v1.

anyOf · anyOf[0] · object · $ref #/$defs/send_request_body

此分支的 required:invitation, envelope

分支必填 invitation · object · $ref #/$defs/invitation_envelope

Producer-signed directional relation for one exact encrypted invitation and one holder. It is transient, not a Signal ID, Consent ledger, Call creator inference or participant authorization.

此分支的 required:inviter_actor_id, holder_account_id, scope_ref, call_id, media, envelope_digest, expires_at, proof

分支必填 inviter_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 holder_account_id · object · $ref ./common-ids.schema.json#/$defs/account_id

Complete protocol identity for a principal at one Station, including human, Organization and personal Agent accounts. It does not imply a human login, provisioning workflow, credential class or authorization. Equality is byte-for-byte equality of both canonical did_core_id components; neither component may be inferred from a DID Document, route, session audience, current service, handle, or local database key. Accounts with the same principal_id at different station_id values are permanently distinct. Principal equality MUST NOT establish account equivalence or any permission inheritance, merging, delegation, substitution or recovery relationship. Account-scoped authority requires independent authorization for the exact AccountId. Permanent loss of a Station does not permit its accounts or PCR lineages to migrate to or revive at another Station; Realm takeover and RealmCommit recovery do not waive this boundary. See models/common-fields.md section 4.2.

此分支的 required:principal_id, station_id

分支必填 principal_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 station_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 call_id · string
pattern: ^ak:call:[A-Za-z0-9_-]{44}$
分支必填 media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
分支必填 envelope_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 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$
分支必填 proof · object · $ref #/$defs/invitation_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
分支必填 envelope · object · $ref ./signal-envelope.schema.json

Encrypted-only broadcast signal envelope. Exact product payload type and target are inside encrypted_payload. This object is never a durable Event and never advances RealmCommit coverage or reducer state. The Signal key context is the locally reconstructed, independently verified closed endpoint instance defined by content-encryption.schema.json#/$defs/endpoint and zh/sync/signal.md section 1; neither that context nor its digest is carried on this envelope. Key derivation, durable nonce allocation and AEAD nonce replay share the exact group/epoch/endpoint domain; payload_sequence keeps its separate business domain.

此分支的 required:realm_id, scope_ref, sender_actor_id, authority_commit_id, signal_class, sent_at, expires_at, encrypted_payload, proof

oneOf · oneOf[0] · ?

此分支的 required:sender_device_id

oneOf · oneOf[1] · ?
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sender_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
sender_device_id · string · $ref ./common-ids.schema.json#/$defs/device_id

Closed sender discriminator: required exactly for an ordinary account-device sender and absent exactly for an Agent sender. null and sentinels are forbidden. Absence only selects the candidate Agent branch; source and recipient still verify accepted Agent classification and current runtime authority.

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}$
分支必填 authority_commit_id · string · $ref ./common-ids.schema.json#/$defs/realm_commit_id

Content-addressed identity of a closed unsigned RealmCommit body. The suffix uses the fixed v1 digest suite and the same canonical 33-octet token encoding as Event IDs.

pattern: ^ak:realm_commit:[A-Za-z0-9_-]{44}$
分支必填 signal_class · string (enum)
enum: "setup" "moderation" "session"
分支必填 sent_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$
分支必填 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$
分支必填 encrypted_payload · object

AEAD ciphertext. The AAD is the JCS bytes of the closed pre-encryption header projected from the envelope top level, this object's scheme/key_ref/purpose/aead_profile/epoch/nonce and the verified group state (zh/sync/signal.md section 1); it is rebuilt by the recipient and never carried as an aad_digest. Exact payload kind, product target, and sender sequence exist only in plaintext after recipient decryption. The scheme names the construction, never the algorithm: aead_profile carries the algorithm and MUST equal the active MLS ciphersuite the group at key_ref.group_state_ref actually negotiated (zh/conformance/encoding.md section 10.1), so key_ref carries no algorithm mirror. Activating a further ciphersuite therefore reaches Signal with no wire change.

此分支的 required:scheme, key_ref, purpose, aead_profile, epoch, nonce, ciphertext

分支必填 scheme · const "ak.signal_exporter_aead.v1"
enum: "ak.signal_exporter_aead.v1"
分支必填 key_ref · object

此分支的 required:group_state_ref

分支必填 group_state_ref · oneOf[2]

Accepted ak.mls.genesis / winning ak.mls.commit for the scope's MLS group, or an equivalent group state proof hash. It is what fixes which ciphersuite aead_profile must equal.

oneOf · oneOf[0] · string
pattern: ^ak:event:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · string
pattern: ^(sha256|blake3):[0-9a-f]{64}$
分支必填 purpose · const "ak.signal.v1"

AEAD purpose for this domain. It is a nonce-derivation and AAD input, so it keeps a Signal nonce from colliding with a content-encryption nonce under the same key and epoch.

enum: "ak.signal.v1"
分支必填 aead_profile · string

canonical_id of an active row of artifacts/registry/mls-ciphersuite-registry.json. It MUST equal the ciphersuite the group at key_ref.group_state_ref actually negotiated; a reserved suite, an unregistered suite, or a mismatch MUST fail closed.

分支必填 epoch · string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimal

Canonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.

pattern: ^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{16}$
分支必填 ciphertext · string
pattern: ^[A-Za-z0-9_-]+$
分支必填 proof · $ref #/$defs/signal_proof · $ref #/$defs/signal_proof
anyOf · anyOf[1] · object · $ref #/$defs/send_response_body

此分支的 required:status

分支必填 status · const "deferred"
enum: "deferred"
anyOf · anyOf[2] · object · $ref #/$defs/admission_request_body

Only the authenticated holder hosting Station or exact currently authorized media issuer may request a verdict from the current holder PCR authority. Not a requester API. A new nonce and current evaluation are required for every actual release cut.

此分支的 required:invitation, envelope, admission_phase, audience_actor_id, subject_actor_id, subject_device_id, nonce

allOf · allOf[0] · ?
if · if · object

此分支的 required:admission_phase

分支必填 admission_phase · const "media_token"
enum: "media_token"
then · then · ?

此分支的 required:focus_id, desired_media

else · else · ?
分支必填 invitation · object · $ref #/$defs/invitation_envelope

Producer-signed directional relation for one exact encrypted invitation and one holder. It is transient, not a Signal ID, Consent ledger, Call creator inference or participant authorization.

此分支的 required:inviter_actor_id, holder_account_id, scope_ref, call_id, media, envelope_digest, expires_at, proof

分支必填 inviter_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 holder_account_id · object · $ref ./common-ids.schema.json#/$defs/account_id

Complete protocol identity for a principal at one Station, including human, Organization and personal Agent accounts. It does not imply a human login, provisioning workflow, credential class or authorization. Equality is byte-for-byte equality of both canonical did_core_id components; neither component may be inferred from a DID Document, route, session audience, current service, handle, or local database key. Accounts with the same principal_id at different station_id values are permanently distinct. Principal equality MUST NOT establish account equivalence or any permission inheritance, merging, delegation, substitution or recovery relationship. Account-scoped authority requires independent authorization for the exact AccountId. Permanent loss of a Station does not permit its accounts or PCR lineages to migrate to or revive at another Station; Realm takeover and RealmCommit recovery do not waive this boundary. See models/common-fields.md section 4.2.

此分支的 required:principal_id, station_id

分支必填 principal_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 station_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 call_id · string
pattern: ^ak:call:[A-Za-z0-9_-]{44}$
分支必填 media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
分支必填 envelope_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 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$
分支必填 proof · object · $ref #/$defs/invitation_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
分支必填 envelope · object · $ref ./signal-envelope.schema.json

Encrypted-only broadcast signal envelope. Exact product payload type and target are inside encrypted_payload. This object is never a durable Event and never advances RealmCommit coverage or reducer state. The Signal key context is the locally reconstructed, independently verified closed endpoint instance defined by content-encryption.schema.json#/$defs/endpoint and zh/sync/signal.md section 1; neither that context nor its digest is carried on this envelope. Key derivation, durable nonce allocation and AEAD nonce replay share the exact group/epoch/endpoint domain; payload_sequence keeps its separate business domain.

此分支的 required:realm_id, scope_ref, sender_actor_id, authority_commit_id, signal_class, sent_at, expires_at, encrypted_payload, proof

oneOf · oneOf[0] · ?

此分支的 required:sender_device_id

oneOf · oneOf[1] · ?
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sender_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
sender_device_id · string · $ref ./common-ids.schema.json#/$defs/device_id

Closed sender discriminator: required exactly for an ordinary account-device sender and absent exactly for an Agent sender. null and sentinels are forbidden. Absence only selects the candidate Agent branch; source and recipient still verify accepted Agent classification and current runtime authority.

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}$
分支必填 authority_commit_id · string · $ref ./common-ids.schema.json#/$defs/realm_commit_id

Content-addressed identity of a closed unsigned RealmCommit body. The suffix uses the fixed v1 digest suite and the same canonical 33-octet token encoding as Event IDs.

pattern: ^ak:realm_commit:[A-Za-z0-9_-]{44}$
分支必填 signal_class · string (enum)
enum: "setup" "moderation" "session"
分支必填 sent_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$
分支必填 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$
分支必填 encrypted_payload · object

AEAD ciphertext. The AAD is the JCS bytes of the closed pre-encryption header projected from the envelope top level, this object's scheme/key_ref/purpose/aead_profile/epoch/nonce and the verified group state (zh/sync/signal.md section 1); it is rebuilt by the recipient and never carried as an aad_digest. Exact payload kind, product target, and sender sequence exist only in plaintext after recipient decryption. The scheme names the construction, never the algorithm: aead_profile carries the algorithm and MUST equal the active MLS ciphersuite the group at key_ref.group_state_ref actually negotiated (zh/conformance/encoding.md section 10.1), so key_ref carries no algorithm mirror. Activating a further ciphersuite therefore reaches Signal with no wire change.

此分支的 required:scheme, key_ref, purpose, aead_profile, epoch, nonce, ciphertext

分支必填 scheme · const "ak.signal_exporter_aead.v1"
enum: "ak.signal_exporter_aead.v1"
分支必填 key_ref · object

此分支的 required:group_state_ref

分支必填 group_state_ref · oneOf[2]

Accepted ak.mls.genesis / winning ak.mls.commit for the scope's MLS group, or an equivalent group state proof hash. It is what fixes which ciphersuite aead_profile must equal.

oneOf · oneOf[0] · string
pattern: ^ak:event:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · string
pattern: ^(sha256|blake3):[0-9a-f]{64}$
分支必填 purpose · const "ak.signal.v1"

AEAD purpose for this domain. It is a nonce-derivation and AAD input, so it keeps a Signal nonce from colliding with a content-encryption nonce under the same key and epoch.

enum: "ak.signal.v1"
分支必填 aead_profile · string

canonical_id of an active row of artifacts/registry/mls-ciphersuite-registry.json. It MUST equal the ciphersuite the group at key_ref.group_state_ref actually negotiated; a reserved suite, an unregistered suite, or a mismatch MUST fail closed.

分支必填 epoch · string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimal

Canonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.

pattern: ^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{16}$
分支必填 ciphertext · string
pattern: ^[A-Za-z0-9_-]+$
分支必填 proof · $ref #/$defs/signal_proof · $ref #/$defs/signal_proof
分支必填 admission_phase · string (enum)
enum: "product_delivery" "media_token"
分支必填 audience_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 subject_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 subject_device_id · string · $ref ./common-ids.schema.json#/$defs/device_id
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}$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{22,64}$
focus_id · string · $ref ./string-profiles.schema.json#/$defs/media_focus_handle

Nonempty bounded non-typed identifier shape. Length is at most 256 Unicode code points and the ak: typed-ID namespace is excluded. This definition supplies lexical constraints only; each owning scoped profile separately defines semantic category, scope and authority boundaries.

pattern: ^(?!ak:)
desired_media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
anyOf · anyOf[3] · object · $ref #/$defs/admission_decision

Minimal audience/request/stage-bound verdict, consumed only as the direct response to the outstanding fresh authorized request. Signature/TTL alone never authorize another cut. No Consent ID, revision, value, PCR head, existence or history is disclosed.

此分支的 required:request_digest, admitted, authority_generation, evaluated_at, expires_at, proof

分支必填 request_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 admitted · boolean
分支必填 authority_generation · string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimal

Canonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.

pattern: ^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$
分支必填 evaluated_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$
分支必填 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$
分支必填 proof · object · $ref #/$defs/admission_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
anyOf · anyOf[4] · object · $ref #/$defs/delivery_view

Own-Station delivery material attached only after the holder product gate. Client independently reads complete holder-private Consent current before ringing. This material never replays as a media-token verdict.

此分支的 required:invitation, request, decision

分支必填 invitation · object · $ref #/$defs/invitation_envelope

Producer-signed directional relation for one exact encrypted invitation and one holder. It is transient, not a Signal ID, Consent ledger, Call creator inference or participant authorization.

此分支的 required:inviter_actor_id, holder_account_id, scope_ref, call_id, media, envelope_digest, expires_at, proof

分支必填 inviter_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 holder_account_id · object · $ref ./common-ids.schema.json#/$defs/account_id

Complete protocol identity for a principal at one Station, including human, Organization and personal Agent accounts. It does not imply a human login, provisioning workflow, credential class or authorization. Equality is byte-for-byte equality of both canonical did_core_id components; neither component may be inferred from a DID Document, route, session audience, current service, handle, or local database key. Accounts with the same principal_id at different station_id values are permanently distinct. Principal equality MUST NOT establish account equivalence or any permission inheritance, merging, delegation, substitution or recovery relationship. Account-scoped authority requires independent authorization for the exact AccountId. Permanent loss of a Station does not permit its accounts or PCR lineages to migrate to or revive at another Station; Realm takeover and RealmCommit recovery do not waive this boundary. See models/common-fields.md section 4.2.

此分支的 required:principal_id, station_id

分支必填 principal_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 station_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 call_id · string
pattern: ^ak:call:[A-Za-z0-9_-]{44}$
分支必填 media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
分支必填 envelope_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 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$
分支必填 proof · object · $ref #/$defs/invitation_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
分支必填 request · object · $ref #/$defs/admission_request_body

Only the authenticated holder hosting Station or exact currently authorized media issuer may request a verdict from the current holder PCR authority. Not a requester API. A new nonce and current evaluation are required for every actual release cut.

此分支的 required:invitation, envelope, admission_phase, audience_actor_id, subject_actor_id, subject_device_id, nonce

allOf · allOf[0] · ?
if · if · object

此分支的 required:admission_phase

分支必填 admission_phase · const "media_token"
enum: "media_token"
then · then · ?

此分支的 required:focus_id, desired_media

else · else · ?
分支必填 invitation · object · $ref #/$defs/invitation_envelope

Producer-signed directional relation for one exact encrypted invitation and one holder. It is transient, not a Signal ID, Consent ledger, Call creator inference or participant authorization.

此分支的 required:inviter_actor_id, holder_account_id, scope_ref, call_id, media, envelope_digest, expires_at, proof

分支必填 inviter_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 holder_account_id · object · $ref ./common-ids.schema.json#/$defs/account_id

Complete protocol identity for a principal at one Station, including human, Organization and personal Agent accounts. It does not imply a human login, provisioning workflow, credential class or authorization. Equality is byte-for-byte equality of both canonical did_core_id components; neither component may be inferred from a DID Document, route, session audience, current service, handle, or local database key. Accounts with the same principal_id at different station_id values are permanently distinct. Principal equality MUST NOT establish account equivalence or any permission inheritance, merging, delegation, substitution or recovery relationship. Account-scoped authority requires independent authorization for the exact AccountId. Permanent loss of a Station does not permit its accounts or PCR lineages to migrate to or revive at another Station; Realm takeover and RealmCommit recovery do not waive this boundary. See models/common-fields.md section 4.2.

此分支的 required:principal_id, station_id

分支必填 principal_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 station_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 call_id · string
pattern: ^ak:call:[A-Za-z0-9_-]{44}$
分支必填 media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
分支必填 envelope_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 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$
分支必填 proof · object · $ref #/$defs/invitation_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
分支必填 envelope · object · $ref ./signal-envelope.schema.json

Encrypted-only broadcast signal envelope. Exact product payload type and target are inside encrypted_payload. This object is never a durable Event and never advances RealmCommit coverage or reducer state. The Signal key context is the locally reconstructed, independently verified closed endpoint instance defined by content-encryption.schema.json#/$defs/endpoint and zh/sync/signal.md section 1; neither that context nor its digest is carried on this envelope. Key derivation, durable nonce allocation and AEAD nonce replay share the exact group/epoch/endpoint domain; payload_sequence keeps its separate business domain.

此分支的 required:realm_id, scope_ref, sender_actor_id, authority_commit_id, signal_class, sent_at, expires_at, encrypted_payload, proof

oneOf · oneOf[0] · ?

此分支的 required:sender_device_id

oneOf · oneOf[1] · ?
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sender_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
sender_device_id · string · $ref ./common-ids.schema.json#/$defs/device_id

Closed sender discriminator: required exactly for an ordinary account-device sender and absent exactly for an Agent sender. null and sentinels are forbidden. Absence only selects the candidate Agent branch; source and recipient still verify accepted Agent classification and current runtime authority.

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}$
分支必填 authority_commit_id · string · $ref ./common-ids.schema.json#/$defs/realm_commit_id

Content-addressed identity of a closed unsigned RealmCommit body. The suffix uses the fixed v1 digest suite and the same canonical 33-octet token encoding as Event IDs.

pattern: ^ak:realm_commit:[A-Za-z0-9_-]{44}$
分支必填 signal_class · string (enum)
enum: "setup" "moderation" "session"
分支必填 sent_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$
分支必填 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$
分支必填 encrypted_payload · object

AEAD ciphertext. The AAD is the JCS bytes of the closed pre-encryption header projected from the envelope top level, this object's scheme/key_ref/purpose/aead_profile/epoch/nonce and the verified group state (zh/sync/signal.md section 1); it is rebuilt by the recipient and never carried as an aad_digest. Exact payload kind, product target, and sender sequence exist only in plaintext after recipient decryption. The scheme names the construction, never the algorithm: aead_profile carries the algorithm and MUST equal the active MLS ciphersuite the group at key_ref.group_state_ref actually negotiated (zh/conformance/encoding.md section 10.1), so key_ref carries no algorithm mirror. Activating a further ciphersuite therefore reaches Signal with no wire change.

此分支的 required:scheme, key_ref, purpose, aead_profile, epoch, nonce, ciphertext

分支必填 scheme · const "ak.signal_exporter_aead.v1"
enum: "ak.signal_exporter_aead.v1"
分支必填 key_ref · object

此分支的 required:group_state_ref

分支必填 group_state_ref · oneOf[2]

Accepted ak.mls.genesis / winning ak.mls.commit for the scope's MLS group, or an equivalent group state proof hash. It is what fixes which ciphersuite aead_profile must equal.

oneOf · oneOf[0] · string
pattern: ^ak:event:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · string
pattern: ^(sha256|blake3):[0-9a-f]{64}$
分支必填 purpose · const "ak.signal.v1"

AEAD purpose for this domain. It is a nonce-derivation and AAD input, so it keeps a Signal nonce from colliding with a content-encryption nonce under the same key and epoch.

enum: "ak.signal.v1"
分支必填 aead_profile · string

canonical_id of an active row of artifacts/registry/mls-ciphersuite-registry.json. It MUST equal the ciphersuite the group at key_ref.group_state_ref actually negotiated; a reserved suite, an unregistered suite, or a mismatch MUST fail closed.

分支必填 epoch · string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimal

Canonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.

pattern: ^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{16}$
分支必填 ciphertext · string
pattern: ^[A-Za-z0-9_-]+$
分支必填 proof · $ref #/$defs/signal_proof · $ref #/$defs/signal_proof
分支必填 admission_phase · string (enum)
enum: "product_delivery" "media_token"
分支必填 audience_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 subject_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 subject_device_id · string · $ref ./common-ids.schema.json#/$defs/device_id
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}$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{22,64}$
focus_id · string · $ref ./string-profiles.schema.json#/$defs/media_focus_handle

Nonempty bounded non-typed identifier shape. Length is at most 256 Unicode code points and the ak: typed-ID namespace is excluded. This definition supplies lexical constraints only; each owning scoped profile separately defines semantic category, scope and authority boundaries.

pattern: ^(?!ak:)
desired_media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
分支必填 decision · object · $ref #/$defs/admission_decision

Minimal audience/request/stage-bound verdict, consumed only as the direct response to the outstanding fresh authorized request. Signature/TTL alone never authorize another cut. No Consent ID, revision, value, PCR head, existence or history is disclosed.

此分支的 required:request_digest, admitted, authority_generation, evaluated_at, expires_at, proof

分支必填 request_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 admitted · boolean
分支必填 authority_generation · string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimal

Canonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.

pattern: ^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$
分支必填 evaluated_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$
分支必填 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$
分支必填 proof · object · $ref #/$defs/admission_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
anyOf · anyOf[5] · oneOf[3] · $ref #/$defs/join_context
oneOf · oneOf[0] · object · $ref #/$defs/invitation_join_context

此分支的 required:kind, invitation, envelope

分支必填 kind · const "invitation"
enum: "invitation"
分支必填 invitation · object · $ref #/$defs/invitation_envelope

Producer-signed directional relation for one exact encrypted invitation and one holder. It is transient, not a Signal ID, Consent ledger, Call creator inference or participant authorization.

此分支的 required:inviter_actor_id, holder_account_id, scope_ref, call_id, media, envelope_digest, expires_at, proof

分支必填 inviter_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
分支必填 holder_account_id · object · $ref ./common-ids.schema.json#/$defs/account_id

Complete protocol identity for a principal at one Station, including human, Organization and personal Agent accounts. It does not imply a human login, provisioning workflow, credential class or authorization. Equality is byte-for-byte equality of both canonical did_core_id components; neither component may be inferred from a DID Document, route, session audience, current service, handle, or local database key. Accounts with the same principal_id at different station_id values are permanently distinct. Principal equality MUST NOT establish account equivalence or any permission inheritance, merging, delegation, substitution or recovery relationship. Account-scoped authority requires independent authorization for the exact AccountId. Permanent loss of a Station does not permit its accounts or PCR lineages to migrate to or revive at another Station; Realm takeover and RealmCommit recovery do not waive this boundary. See models/common-fields.md section 4.2.

此分支的 required:principal_id, station_id

分支必填 principal_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 station_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 call_id · string
pattern: ^ak:call:[A-Za-z0-9_-]{44}$
分支必填 media · object · $ref #/$defs/media

Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call.

此分支的 required:audio, video, screen

分支必填 audio · boolean
分支必填 video · boolean
分支必填 screen · boolean
分支必填 envelope_digest · string
pattern: ^sha256:[0-9a-f]{64}$
分支必填 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$
分支必填 proof · object · $ref #/$defs/invitation_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
分支必填 envelope · object · $ref ./signal-envelope.schema.json

Encrypted-only broadcast signal envelope. Exact product payload type and target are inside encrypted_payload. This object is never a durable Event and never advances RealmCommit coverage or reducer state. The Signal key context is the locally reconstructed, independently verified closed endpoint instance defined by content-encryption.schema.json#/$defs/endpoint and zh/sync/signal.md section 1; neither that context nor its digest is carried on this envelope. Key derivation, durable nonce allocation and AEAD nonce replay share the exact group/epoch/endpoint domain; payload_sequence keeps its separate business domain.

此分支的 required:realm_id, scope_ref, sender_actor_id, authority_commit_id, signal_class, sent_at, expires_at, encrypted_payload, proof

oneOf · oneOf[0] · ?

此分支的 required:sender_device_id

oneOf · oneOf[1] · ?
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 scope_ref · oneOf[4] · $ref ./event-envelope.schema.json#/$defs/scope_ref
oneOf · oneOf[0] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · object

Native controller-and-owned-Agents private scope. Its participants follow the signed private roster.

此分支的 required:kind, realm_id, sidecar_id

分支必填 kind · const "sidecar"
enum: "sidecar"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sidecar_id · string · $ref ./common-ids.schema.json#/$defs/sidecar_id
pattern: ^ak:sidecar:[A-Za-z0-9_-]{44}$
oneOf · oneOf[2] · object

Genesis scope for ak.realm.create only. It carries no realm_id because the receiver derives every Realm id, including Collaboration, Direct Conversation, human PCR, and Agent PCR, as retype(event_id, "realm") from this create Event (zh/models/realm-and-space.md section 2.5.0). The uniform omission also prevents the digest cycle.

此分支的 required:kind

分支必填 kind · const "realm_genesis"
enum: "realm_genesis"
oneOf · oneOf[3] · object

此分支的 required:kind, realm_id

分支必填 kind · const "realm_control"
enum: "realm_control"
分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 sender_actor_id · oneOf[3] · $ref ./common-ids.schema.json#/$defs/actor_id

Closed complete actor identity: account binds a principal permanently to one Station; service acts as itself; realm binds an Applet Bot/Ghost permanently to one owning Realm. Full tagged-object equality is required. No authority is inferred from a discriminator, shared principal, key, route or DID controller.

oneOf · oneOf[0] · object

此分支的 required:kind, account_id

分支必填 kind · const "account"
enum: "account"
分支必填 account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object

此分支的 required:kind, service_id

分支必填 kind · const "service"
enum: "service"
分支必填 service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
oneOf · oneOf[2] · object

此分支的 required:kind, realm_actor_id

分支必填 kind · const "realm"
enum: "realm"
分支必填 realm_actor_id · object · $ref ./common-ids.schema.json#/$defs/realm_actor_id

Stable Realm-owned Bot/Ghost identity. Both components are required for equality; governance handoff does not change either. No Station binding or AccountId is implied.

此分支的 required:realm_id, principal_id

分支必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

Retyped ak.realm.create Event token. It therefore carries the same fixed current-v1 0x01/SHA-256 content-address identity and is not selected by Realm state.

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
分支必填 principal_id · allOf[2]
allOf · allOf[0] · string · $ref ./common-ids.schema.json#/$defs/did_core_id

Canonical stable DID-derived identity core. The lowercase DID method name follows ak:did_core:, and the remaining method-adapter-defined core is opaque to generic consumers. The did:web v1 adapter uses the complete canonical method-specific-id, never a digest or truncated host. Principal-core and service-core equality is byte-for-byte equality of the complete did_core_id. Event actor and Realm membership equality instead use the complete closed ActorId, and account-scoped equality uses the complete AccountId; neither may be reduced to a principal core. A did_core_id is not a DID and cannot be resolved without a did or AuthenticatedServiceResolution.

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
allOf · allOf[1] · ?
pattern: ^ak:did_core:webvh:[^\s/?#]+$
sender_device_id · string · $ref ./common-ids.schema.json#/$defs/device_id

Closed sender discriminator: required exactly for an ordinary account-device sender and absent exactly for an Agent sender. null and sentinels are forbidden. Absence only selects the candidate Agent branch; source and recipient still verify accepted Agent classification and current runtime authority.

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}$
分支必填 authority_commit_id · string · $ref ./common-ids.schema.json#/$defs/realm_commit_id

Content-addressed identity of a closed unsigned RealmCommit body. The suffix uses the fixed v1 digest suite and the same canonical 33-octet token encoding as Event IDs.

pattern: ^ak:realm_commit:[A-Za-z0-9_-]{44}$
分支必填 signal_class · string (enum)
enum: "setup" "moderation" "session"
分支必填 sent_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$
分支必填 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$
分支必填 encrypted_payload · object

AEAD ciphertext. The AAD is the JCS bytes of the closed pre-encryption header projected from the envelope top level, this object's scheme/key_ref/purpose/aead_profile/epoch/nonce and the verified group state (zh/sync/signal.md section 1); it is rebuilt by the recipient and never carried as an aad_digest. Exact payload kind, product target, and sender sequence exist only in plaintext after recipient decryption. The scheme names the construction, never the algorithm: aead_profile carries the algorithm and MUST equal the active MLS ciphersuite the group at key_ref.group_state_ref actually negotiated (zh/conformance/encoding.md section 10.1), so key_ref carries no algorithm mirror. Activating a further ciphersuite therefore reaches Signal with no wire change.

此分支的 required:scheme, key_ref, purpose, aead_profile, epoch, nonce, ciphertext

分支必填 scheme · const "ak.signal_exporter_aead.v1"
enum: "ak.signal_exporter_aead.v1"
分支必填 key_ref · object

此分支的 required:group_state_ref

分支必填 group_state_ref · oneOf[2]

Accepted ak.mls.genesis / winning ak.mls.commit for the scope's MLS group, or an equivalent group state proof hash. It is what fixes which ciphersuite aead_profile must equal.

oneOf · oneOf[0] · string
pattern: ^ak:event:[A-Za-z0-9_-]{44}$
oneOf · oneOf[1] · string
pattern: ^(sha256|blake3):[0-9a-f]{64}$
分支必填 purpose · const "ak.signal.v1"

AEAD purpose for this domain. It is a nonce-derivation and AAD input, so it keeps a Signal nonce from colliding with a content-encryption nonce under the same key and epoch.

enum: "ak.signal.v1"
分支必填 aead_profile · string

canonical_id of an active row of artifacts/registry/mls-ciphersuite-registry.json. It MUST equal the ciphersuite the group at key_ref.group_state_ref actually negotiated; a reserved suite, an unregistered suite, or a mismatch MUST fail closed.

分支必填 epoch · string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimal

Canonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.

pattern: ^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{16}$
分支必填 ciphertext · string
pattern: ^[A-Za-z0-9_-]+$
分支必填 proof · $ref #/$defs/signal_proof · $ref #/$defs/signal_proof
oneOf · oneOf[1] · object · $ref #/$defs/voluntary_join_context

Explicit affirmative join intent signed by the requesting actor/device over the complete token RequestBody with this proof omitted. It cannot be selected by receipt of an invitation, background retry, push handler or automatic fallback.

此分支的 required:kind, expires_at, created_at, nonce, proof

分支必填 kind · const "voluntary"
enum: "voluntary"
分支必填 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$
分支必填 created_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$
分支必填 nonce · string
pattern: ^[A-Za-z0-9_-]{22,64}$
分支必填 proof · object · $ref #/$defs/voluntary_join_proof

此分支的 required:verification_method, jws

分支必填 verification_method · string
pattern: ^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$
分支必填 jws · string
pattern: ^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$
oneOf · oneOf[2] · object · $ref #/$defs/refresh_join_context

An authenticated request names the current accepted participant_id. The issuer independently resolves the exact full ActorId, real DeviceId, Realm, Call, focus and media from current accepted roster; this carrier alone grants no admission.

此分支的 required:kind, participant_id

分支必填 kind · const "refresh"
enum: "refresh"
分支必填 participant_id · string
pattern: ^ak:rtc_participant:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
完整 JSON(格式化展示)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://arkret.org/v1/schemas/call-invitation-operations.schema.json",
  "title": "Call invitation admission operations",
  "description": "Closed transient invitation relation, holder-authority cut and token join context. Does not extend the encrypted Signal envelope. Conformance: ak.vector.consent.call_invitation_admission.v1.",
  "anyOf": [
    {
      "$ref": "#/$defs/send_request_body"
    },
    {
      "$ref": "#/$defs/send_response_body"
    },
    {
      "$ref": "#/$defs/admission_request_body"
    },
    {
      "$ref": "#/$defs/admission_decision"
    },
    {
      "$ref": "#/$defs/delivery_view"
    },
    {
      "$ref": "#/$defs/join_context"
    }
  ],
  "$defs": {
    "media": {
      "type": "object",
      "required": [
        "audio",
        "video",
        "screen"
      ],
      "properties": {
        "audio": {
          "type": "boolean"
        },
        "video": {
          "type": "boolean"
        },
        "screen": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "description": "Exact normalized invitation media. Omitted screen in decrypted CallMediaSelection normalizes to false. At least one media flag is true; video or screen selects video_call, otherwise audio selects voice_call."
    },
    "invitation_envelope": {
      "type": "object",
      "required": [
        "inviter_actor_id",
        "holder_account_id",
        "scope_ref",
        "call_id",
        "media",
        "envelope_digest",
        "expires_at",
        "proof"
      ],
      "properties": {
        "inviter_actor_id": {
          "$ref": "./common-ids.schema.json#/$defs/actor_id"
        },
        "holder_account_id": {
          "$ref": "./common-ids.schema.json#/$defs/account_id"
        },
        "scope_ref": {
          "$ref": "./event-envelope.schema.json#/$defs/scope_ref"
        },
        "call_id": {
          "type": "string",
          "pattern": "^ak:call:[A-Za-z0-9_-]{44}$"
        },
        "media": {
          "$ref": "#/$defs/media"
        },
        "envelope_digest": {
          "type": "string",
          "pattern": "^sha256:[0-9a-f]{64}$"
        },
        "expires_at": {
          "$ref": "./time.schema.json#/$defs/timestamp"
        },
        "proof": {
          "$ref": "#/$defs/invitation_proof"
        }
      },
      "additionalProperties": false,
      "description": "Producer-signed directional relation for one exact encrypted invitation and one holder. It is transient, not a Signal ID, Consent ledger, Call creator inference or participant authorization.",
      "x-arkret-signature-domain": "ak.call.invitation.v1"
    },
    "send_request_body": {
      "type": "object",
      "required": [
        "invitation",
        "envelope"
      ],
      "properties": {
        "invitation": {
          "$ref": "#/$defs/invitation_envelope"
        },
        "envelope": {
          "$ref": "./signal-envelope.schema.json"
        }
      },
      "additionalProperties": false
    },
    "send_response_body": {
      "type": "object",
      "required": [
        "status"
      ],
      "properties": {
        "status": {
          "const": "deferred",
          "type": "string",
          "enum": [
            "deferred"
          ],
          "x-arkret-value-ownership": {
            "class": "owned_symbol",
            "authority": "call-invitation-operations.schema.json#/$defs/send_response_body/properties/status",
            "owner": "call-invitation-operations.schema.json#/$defs/send_response_body/properties/status",
            "values": [
              "deferred"
            ]
          }
        }
      },
      "additionalProperties": false,
      "x-arkret-name-role": "response_body"
    },
    "admission_request_body": {
      "type": "object",
      "required": [
        "invitation",
        "envelope",
        "admission_phase",
        "audience_actor_id",
        "subject_actor_id",
        "subject_device_id",
        "nonce"
      ],
      "properties": {
        "invitation": {
          "$ref": "#/$defs/invitation_envelope"
        },
        "envelope": {
          "$ref": "./signal-envelope.schema.json"
        },
        "admission_phase": {
          "enum": [
            "product_delivery",
            "media_token"
          ],
          "type": "string",
          "x-arkret-value-ownership": {
            "class": "owned_symbol",
            "authority": "call-invitation-operations.schema.json#/$defs/admission_request_body/properties/admission_phase",
            "owner": "call-invitation-operations.schema.json#/$defs/admission_request_body/properties/admission_phase",
            "values": [
              "product_delivery",
              "media_token"
            ]
          }
        },
        "audience_actor_id": {
          "$ref": "./common-ids.schema.json#/$defs/actor_id"
        },
        "subject_actor_id": {
          "$ref": "./common-ids.schema.json#/$defs/actor_id"
        },
        "subject_device_id": {
          "$ref": "./common-ids.schema.json#/$defs/device_id"
        },
        "nonce": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]{22,64}$"
        },
        "focus_id": {
          "$ref": "./string-profiles.schema.json#/$defs/media_focus_handle",
          "maxLength": 64
        },
        "desired_media": {
          "$ref": "#/$defs/media"
        }
      },
      "additionalProperties": false,
      "description": "Only the authenticated holder hosting Station or exact currently authorized media issuer may request a verdict from the current holder PCR authority. Not a requester API. A new nonce and current evaluation are required for every actual release cut.",
      "allOf": [
        {
          "if": {
            "properties": {
              "admission_phase": {
                "const": "media_token",
                "x-arkret-value-ownership": {
                  "class": "owned_symbol",
                  "authority": "call-invitation-operations.schema.json#/$defs/admission_request_body/allOf/0/if/properties/admission_phase",
                  "owner": "call-invitation-operations.schema.json#/$defs/admission_request_body/allOf/0/if/properties/admission_phase",
                  "values": [
                    "media_token"
                  ]
                }
              }
            },
            "required": [
              "admission_phase"
            ]
          },
          "then": {
            "required": [
              "focus_id",
              "desired_media"
            ]
          },
          "else": {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "focus_id"
                  ]
                },
                {
                  "required": [
                    "desired_media"
                  ]
                }
              ]
            }
          }
        }
      ]
    },
    "admission_decision": {
      "type": "object",
      "required": [
        "request_digest",
        "admitted",
        "authority_generation",
        "evaluated_at",
        "expires_at",
        "proof"
      ],
      "properties": {
        "request_digest": {
          "type": "string",
          "pattern": "^sha256:[0-9a-f]{64}$"
        },
        "admitted": {
          "type": "boolean"
        },
        "authority_generation": {
          "description": "Actual holder PCR governance tenure, independently verified from accepted inception and eligible authority continuity. Human stays at the account Station; same-Station endpoint/key changes do not advance this value. Never an authority-root delegation or device generation.",
          "$ref": "./decimal-integers.schema.json#/$defs/uint64_decimal"
        },
        "evaluated_at": {
          "$ref": "./time.schema.json#/$defs/timestamp"
        },
        "expires_at": {
          "$ref": "./time.schema.json#/$defs/timestamp"
        },
        "proof": {
          "$ref": "#/$defs/admission_proof"
        }
      },
      "additionalProperties": false,
      "description": "Minimal audience/request/stage-bound verdict, consumed only as the direct response to the outstanding fresh authorized request. Signature/TTL alone never authorize another cut. No Consent ID, revision, value, PCR head, existence or history is disclosed.",
      "x-arkret-signature-domain": "ak.call.invitation.admission.v1",
      "x-arkret-name-role": "decision"
    },
    "delivery_view": {
      "type": "object",
      "required": [
        "invitation",
        "request",
        "decision"
      ],
      "properties": {
        "invitation": {
          "$ref": "#/$defs/invitation_envelope"
        },
        "request": {
          "$ref": "#/$defs/admission_request_body"
        },
        "decision": {
          "$ref": "#/$defs/admission_decision"
        }
      },
      "additionalProperties": false,
      "description": "Own-Station delivery material attached only after the holder product gate. Client independently reads complete holder-private Consent current before ringing. This material never replays as a media-token verdict."
    },
    "join_context": {
      "oneOf": [
        {
          "$ref": "#/$defs/invitation_join_context"
        },
        {
          "$ref": "#/$defs/voluntary_join_context"
        },
        {
          "$ref": "#/$defs/refresh_join_context"
        }
      ]
    },
    "invitation_proof": {
      "type": "object",
      "required": [
        "verification_method",
        "jws"
      ],
      "properties": {
        "verification_method": {
          "type": "string",
          "pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
        },
        "jws": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]+\\.\\.[A-Za-z0-9_-]+$"
        }
      },
      "additionalProperties": false
    },
    "admission_proof": {
      "type": "object",
      "required": [
        "verification_method",
        "jws"
      ],
      "properties": {
        "verification_method": {
          "type": "string",
          "pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
        },
        "jws": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]+\\.\\.[A-Za-z0-9_-]+$"
        }
      },
      "additionalProperties": false
    },
    "invitation_join_context": {
      "type": "object",
      "required": [
        "kind",
        "invitation",
        "envelope"
      ],
      "properties": {
        "kind": {
          "const": "invitation",
          "type": "string",
          "enum": [
            "invitation"
          ],
          "x-arkret-value-ownership": {
            "class": "owned_symbol",
            "authority": "call-invitation-operations.schema.json#/$defs/invitation_join_context/properties/kind",
            "owner": "call-invitation-operations.schema.json#/$defs/invitation_join_context/properties/kind",
            "values": [
              "invitation"
            ]
          }
        },
        "invitation": {
          "$ref": "#/$defs/invitation_envelope"
        },
        "envelope": {
          "$ref": "./signal-envelope.schema.json"
        }
      },
      "additionalProperties": false
    },
    "voluntary_join_context": {
      "type": "object",
      "required": [
        "kind",
        "expires_at",
        "created_at",
        "nonce",
        "proof"
      ],
      "properties": {
        "kind": {
          "const": "voluntary",
          "type": "string",
          "enum": [
            "voluntary"
          ],
          "x-arkret-value-ownership": {
            "class": "owned_symbol",
            "authority": "call-invitation-operations.schema.json#/$defs/voluntary_join_context/properties/kind",
            "owner": "call-invitation-operations.schema.json#/$defs/voluntary_join_context/properties/kind",
            "values": [
              "voluntary"
            ]
          }
        },
        "expires_at": {
          "$ref": "./time.schema.json#/$defs/timestamp"
        },
        "created_at": {
          "$ref": "./time.schema.json#/$defs/timestamp"
        },
        "nonce": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]{22,64}$"
        },
        "proof": {
          "$ref": "#/$defs/voluntary_join_proof"
        }
      },
      "additionalProperties": false,
      "description": "Explicit affirmative join intent signed by the requesting actor/device over the complete token RequestBody with this proof omitted. It cannot be selected by receipt of an invitation, background retry, push handler or automatic fallback.",
      "x-arkret-signature-domain": "ak.call.voluntary_join.v1"
    },
    "voluntary_join_proof": {
      "type": "object",
      "required": [
        "verification_method",
        "jws"
      ],
      "properties": {
        "verification_method": {
          "type": "string",
          "pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
        },
        "jws": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]+\\.\\.[A-Za-z0-9_-]+$"
        }
      },
      "additionalProperties": false
    },
    "refresh_join_context": {
      "type": "object",
      "required": [
        "kind",
        "participant_id"
      ],
      "properties": {
        "kind": {
          "const": "refresh",
          "type": "string",
          "enum": [
            "refresh"
          ],
          "x-arkret-value-ownership": {
            "class": "owned_symbol",
            "authority": "call-invitation-operations.schema.json#/$defs/refresh_join_context/properties/kind",
            "owner": "call-invitation-operations.schema.json#/$defs/refresh_join_context/properties/kind",
            "values": [
              "refresh"
            ]
          }
        },
        "participant_id": {
          "type": "string",
          "pattern": "^ak:rtc_participant:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
        }
      },
      "additionalProperties": false,
      "description": "An authenticated request names the current accepted participant_id. The issuer independently resolves the exact full ActorId, real DeviceId, Realm, Call, focus and media from current accepted roster; this carrier alone grants no admission."
    }
  }
}

查看 canonical 原件:spec/v1/artifacts/schemas/call-invitation-operations.schema.json

Source