ak.schema.controller_account_gate_attestation_issue_response_body.v1
ak.schema.controller_account_gate_attestation_issue_response_body.v1 · schemas/agent-authority-evidence.schema.jsonPortable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
必填标记属于当前 Schema 对象或分支。oneOf、anyOf、if / then / else 中的 required 不表示所有实例均必填。树状视图有递归深度限制;完整约束以 canonical 原件为准。
可视树中没有匹配项。清除条件或查看下面的完整 JSON。
必填 $ · oneOf[4]
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
oneOf · oneOf[0] · object · $ref #/$defs/agent_authority_state_evidence
Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.
此分支的 required:schema, state_digest, attestation
const "ak.schema.agent_authority_state_evidence.v1""ak.schema.agent_authority_state_evidence.v1"state · object · $ref #/$defs/agent_authority_state
One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.
此分支的 required:authority_id, agent_id, source_commit_id, pcr_genesis_event, key_authorization_event, authorization, key_state_witness, agent_lifecycle_witness, commit_lineages, commits, authority_bundle, signer_dependencies, producer_bindings
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 pcr_genesis_event · object · $ref ./event-envelope.schema.json
Closed producer-signed Event. Shared persistent Events become final only when the current Realm governance Station issues a RealmCommit in the derived Realm or Sidecar stream.
此分支的 required:event_id, kind, scope_ref, actor_id, created_at, payload, producer_proof
allOf · allOf[0] · ?
?此分支的 required:external_ref
?此分支的 required:applet_id
allOf · allOf[1] · ?
?此分支的 required:applet_id
then · then · ?
if · if · anyOf[3]
anyOf · anyOf[0] · object
此分支的 required:actor_id, kind, scope_ref
分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.control.update" "ak.realm.actor.status.set" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update"分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[1] · object
此分支的 required:actor_id, kind, scope_ref
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[2] · object
此分支的 required:actor_id, kind, scope_ref, payload
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.key_backup.active_series""ak.key_backup.active_series"分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:authorization_ref
allOf · allOf[2] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_participant.v1""ak.authority.direct_conversation_participant.v1"then · then · object
此分支的 required:semantic_refs
?allOf · allOf[3] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_bootstrap_participant.v1""ak.authority.direct_conversation_bootstrap_participant.v1"then · then · object
此分支的 required:semantic_refs
??$ref #/$defs/registered_admission_shape · $ref #/$defs/registered_admission_shape$ref #/$defs/registered_execution_shape · $ref #/$defs/registered_execution_shapeallOf · allOf[7] · ?
if · if · object
此分支的 required:kind
const "ak.account_data.set""ak.account_data.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/account_data_set_payload
Payload for ak.account_data.set. Writes one holder-private account-data key; the value may be plaintext inside an already private envelope, encrypted account-data material, or a tombstone. Every key is a compare-and-set whole-value register per zh/models/account-data.md §5: expected_server_revision is the revision the writer believes is current (0 to create), and the accepted revision is expected_server_revision + 1. The object is closed: expected_commit_id is not an alias, and carrying both names is invalid before signature verification or storage.
此分支的 required:key, expected_server_revision
?此分支的 required:body
?此分支的 required:encrypted_payload
?此分支的 required:tombstone
allOf · allOf[0] · ?
if · if · object
此分支的 required:key, expected_server_revision
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:encrypted_payload, source_pending_event_id
allOf · allOf[1] · ?
?此分支的 required:source_pending_event_id
then · then · object
此分支的 required:encrypted_payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string?Caller-supplied opaque account-data value. Any JSON value.
objectconst truetrue$ref #/$defs/timestamp · $ref #/$defs/timestampintegerCompare-and-set precondition against the accepted per-key revision. A mismatch MUST be rejected with cas_conflict and MUST NOT be stored; the revision counter is a high-water mark that never goes backwards, so a stale offline retry cannot resurrect a superseded value. This is the Station-maintained monotone per-key counter of the server_revision_cas merge on the account-private face. It is a different mechanism from the shared face’s scalar expected_commit_id (RealmCommitId) and carries a different name so the two can never be compared against each other.
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$allOf · allOf[8] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_approve""ak.agent.action_approve"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_approve_payload
Controller-signed security command binding one complete pre-authored Event by content-derived EventId. The canonical Event bytes exist before approval, avoiding any digest or RealmCommit self-reference. Confirmation atomically consumes the nonce and authorizes only that exact Event.
此分支的 required:approval_id, agent_id, proposed_action, target, approved_event_id, approval_nonce, expires_at
string · $ref ./string-profiles.schema.json#/$defs/agent_confirmation_handleNonempty 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.
^(?!ak:)request_id · allOf[2]
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string? · $ref string-profiles.schema.json#/$defs/non_typed_identifier_floorLexical floor of every identifier value category that does NOT own the ak: namespace (opaque_correlation, document_local_symbol, external_system_identifier, registry_catalog_symbol, unregistered_object_identifier); see common-fields.md 2.1. The negative lookahead IS the floor: it mechanically proves the value cannot be an ak: typed id, which maxLength alone can never prove, while admitting every other value the field already accepted. It deliberately constrains nothing else - the per-field convergence direction (a registered typed kind, or a tighter opaque profile) is decided per object family, so a pattern-only floor composes with whatever profile the field already carries instead of pre-empting it.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_targetstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$$ref #/$defs/digest · $ref #/$defs/digeststringAt least 128 bits of controller-generated entropy; one immutable allocation per exact controller ActorId across all target Realms. The namespace is (controller ActorId, approval_nonce), without a Realm component. It cannot be released or reassigned.
^[A-Za-z0-9_-]{22,86}$$ref #/$defs/timestamp · $ref #/$defs/timestampInclusive confirmation deadline judged only against signed RealmCommit committed_at with zero tolerance: the covering commit of this confirmation and the covering commit of the approved Event MUST each have committed_at <= expires_at. Envelope created_at is display-only and is not compared; no Station-local current time is read.
allOf · allOf[9] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_reject""ak.agent.action_reject"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_reject_payload
Payload for ak.agent.action_reject. Controller rejection terminates one actor-private action request, named by request_id, without shared Realm side effects. A draft is not a rejection target: its workflow_state is controller-encrypted Account Data (zh/models/actor-private-effects.md section 3.2).
此分支的 required:rejection_id, request_id, agent_id, rejected_at
string · $ref ./string-profiles.schema.json#/$defs/agent_rejection_handleNonempty 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.
^(?!ak:)分支必填 request_id · allOf[2]
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string? · $ref string-profiles.schema.json#/$defs/non_typed_identifier_floorLexical floor of every identifier value category that does NOT own the ak: namespace (opaque_correlation, document_local_symbol, external_system_identifier, registry_catalog_symbol, unregistered_object_identifier); see common-fields.md 2.1. The negative lookahead IS the floor: it mechanically proves the value cannot be an ak: typed id, which maxLength alone can never prove, while admitting every other value the field already accepted. It deliberately constrains nothing else - the per-field convergence direction (a registered typed kind, or a tighter opaque profile) is decided per object family, so a pattern-only floor composes with whatever profile the field already carries instead of pre-empting it.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[10] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_request""ak.agent.action_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_request_payload
Payload for ak.agent.action_request. Actor-private request for controller approval before a shared Realm write is emitted.
此分支的 required:request_id, agent_id, controller_account_id, proposed_action, target, request_canonical_digest, expires_at, created_at
分支必填 request_id · allOf[2]
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string? · $ref string-profiles.schema.json#/$defs/non_typed_identifier_floorLexical floor of every identifier value category that does NOT own the ak: namespace (opaque_correlation, document_local_symbol, external_system_identifier, registry_catalog_symbol, unregistered_object_identifier); see common-fields.md 2.1. The negative lookahead IS the floor: it mechanically proves the value cannot be an ak: typed id, which maxLength alone can never prove, while admitting every other value the field already accepted. It deliberately constrains nothing else - the per-field convergence direction (a registered typed kind, or a tighter opaque profile) is decided per object family, so a pattern-only floor composes with whatever profile the field already carries instead of pre-empting it.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[11] · ?
if · if · object
此分支的 required:kind
const "ak.agent.draft.propose""ak.agent.draft.propose"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_draft_propose_payload
Payload for ak.agent.draft.propose. Acceptance creates one Station-private pending intent and never creates encrypted account data. content_handoff is HPKE ciphertext for current accepted controller devices; Station cannot decrypt it.
此分支的 required:draft_id, agent_id, controller_account_id, proposed_action, target, content_digest, content_handoff, expires_at, created_at
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest分支必填 content_handoff · object · $ref ./agent-draft-private.schema.json#/$defs/content_handoff
此分支的 required:scheme, recipients
const "ak.hpke_x25519_aead_chacha20poly1305.v1""ak.hpke_x25519_aead_chacha20poly1305.v1"分支必填 recipients · array<$ref #/$defs/content_handoff_recipient>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[12] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.authorize""ak.agent.key.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_authorize_payload
Payload for ak.agent.key.authorize. Binds one concrete agent signing key to an accountable principal, explicit agent_key_scope, audience, validity window, approval evidence, and both the service-surface and content-capability ceilings that later agent_key_proof sessions must narrow from.
此分支的 required:agent_id, key_id, verification_method, public_key, accountable_principal_id, agent_key_scope, audience, issued_at, approval_evidence
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/verification_method · $ref #/$defs/verification_method分支必填 public_key · object · $ref ./agent-operations.schema.json#/$defs/agent_runtime_public_key
Closed v1 Agent runtime signing-key profile. Ed25519 is the fully-specified JOSE algorithm identifier from RFC 9864; polymorphic algorithm identifiers are rejected.
此分支的 required:kty, kid, algorithm, key
const "OKP""OKP"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringconst "Ed25519""Ed25519"string^[A-Za-z0-9_-]{43}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_scope · $ref #/$defs/agent_key_scope分支必填 audience · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the key authorization is non-expiring and governed solely by revocation (ak.agent.key.revoke / lifecycle cascade).
$ref #/$defs/agent_key_approval_evidence · $ref #/$defs/agent_key_approval_evidencesupersedes · array<object>
Exact complete signed active authorization basis at first acceptance, sorted byte-lexicographically by (key_id, authorized_event_ref). Each original accepted authorization Event identifies its immutable add dot; the verifier independently checks its covering RealmCommit, relevant typed current revision and current active set in the same confirmation transaction. No separate expected_commit_id wire member exists for this family. Omit exactly when the active set is empty; after revoke, reattach follows the registered fresh pairing and activation fence. Same-key reauthorization requires a current active key and names every old dot. Remove observed old-key typed results atomically and add one replacement; stale basis fails closed, and historical rows or prior pairing receipts never restore a revoked key.
items · object
此分支的 required:key_id, authorized_event_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refOptional freshness source for revocation checking. When expires_at is absent, authorization lifetime is governed by the canonical revocation chain and lifecycle cascade; this field may identify the freshness source used for that check.
runtime_attestation · object
Optional runtime / workload attestation captured at pairing approval time. v1 enum includes self_asserted as baseline; future profiles MAY register TEE / SLSA / SPIFFE attestation kinds. Implementations encountering an unknown kind MUST fail closed.
此分支的 required:kind
string (enum)v1 enum. Future profiles MAY extend via accepted attestation taxonomy.
"self_asserted"stringstringstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$allOf · allOf[13] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.revoke""ak.agent.key.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_revoke_payload
Payload for ak.agent.key.revoke. The keyed-set projection current state subject is (agent_id, key_id); future protocol proofs from this key fail closed once this event is covered by an accepted RealmCommit. The authoring checkpoints is the current authority-committed state; the payload carries no checkpoint field.
此分支的 required:agent_id, key_id, revoked_by, revoked_at
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[14] · ?
if · if · object
此分支的 required:kind
const "ak.agent.provision""ak.agent.provision"then · then · object
payload · object · $ref ./agent-provision.schema.json
Controller-authored payload that creates one Agent provisioning fact. One accepted reducer transaction atomically writes FOUR typed current state from it -- the provisioning fact, the accountability endorsement, the controller-scoped selector binding and the principal_control_realm_id claim -- and MUST NOT expose a partially completed state. zh/identity/key-management.md sections 3.6 and 3.6.3, zh/identity/account-lifecycle.md, zh/conformance/conformance-profiles.md and zh/extensions/applet-integration.md all enumerate the same four; this description used to name only two, which reads as a licence for the accountability/selector two-Event fan-out that conformance-profiles.md explicitly forbids. The containing Event proof is the only signature; this payload carries no nested proof.
此分支的 required:schema, agent_id, controller_principal_id, principal_control_realm_id, controller_authorization_ref, agent_slug, accountability_scope, requested_scope_digest, selector_visibility, created_at, history_custody
allOf · allOf[0] · ?
if · if · object
此分支的 required:selector_visibility
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:selector_audience
?const "ak.schema.agent_provision.v1""ak.schema.agent_provision.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (arkret-agent-slug) · format=arkret-agent-slug · $ref ./string-profiles.schema.json#/$defs/agent_slugCanonical controller-scoped Agent Agent selector slug. Maximum 64 Unicode code points in prepared form.
^[^\s:@/#?\\]+$const "agent_operator"Canonical closed accountability scope.
"agent_operator"$ref #/$defs/digest · $ref #/$defs/digeststring (enum)"public" "restricted" "private"stringstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 history_custody · object · $ref ./content-encryption.schema.json#/$defs/custody
此分支的 required:custodian_actor_id, recovery_policy_ref, recipient_key_ref
分支必填 custodian_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_policy_ref · object · $ref ./key-backup.schema.json#/properties/recovery_policy_ref
Required whenever encryption.recipient_method is recovery_public_key, and optional as a signed recovery-strand hint otherwise. Binds the backup envelope to the active recovery policy version under which it was produced. Receivers MUST compare this tuple to the currently accepted recovery policy before using such an envelope; mismatch fails as recovery_policy_mismatch, but the field does not replace active-series, checkpoint, Realm/MLS authorization, or device-state checks. This is intentionally separate from source_commit_ref: it binds the recovery authorization surface, not only the device trust generation or control-stream position.
此分支的 required:policy_id, policy_version
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./key-backup.schema.json#/properties/encryption/properties/recipient_key_refFor recipient_method=recovery_public_key, this MUST resolve to the inline backup_hpke.key_agreement_ref of a non-revoked method signing entry in the envelope's referenced accepted recovery policy, and the selected hpke_suite MUST appear in that entry's hpke_suites. DID Document-only key agreements are not an authorization source. A method signing entry's verification_method is a signing-key ref and MUST be rejected here. For realm_actor_recovery it MUST equal the exact accepted native content_backup_recipient.key_agreement_ref selected by authorization_binding.recipient_ref; a current DID-only entry or Account policy is not authority.
allOf · allOf[15] · ?
if · if · object
此分支的 required:kind
const "ak.agent.sidecar.exchange.control""ak.agent.sidecar.exchange.control"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_sidecar_exchange_control_payload
Outer payload for ak.agent.sidecar.exchange.control. sidecar_id and source_context_ref route the Event inside a native Sidecar scope; encrypted_payload plaintext MUST validate as agent-sidecar-exchange-control.schema.json. Admission MUST require matching scope_ref.kind=sidecar and actor_id equal to the Sidecar controller.
此分支的 required:sidecar_id, source_context_ref, encrypted_payload
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$$ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref · $ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[16] · ?
if · if · object
此分支的 required:kind
const "ak.applet.bridge_error""ak.applet.bridge_error"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_bridge_error_payload
Payload for ak.applet.bridge_error. Durable Realm-history Event recording a bridge / external-network failure. Field table: zh/extensions/applet-schema.md §7. MUST bind realm_id, failed_transaction_ref, retriable, and visibility_scope; missing any required field MUST be rejected as schema_violation. MUST NOT inline unauthorized external plaintext.
此分支的 required:applet_id, realm_id, failed_transaction_ref, error_class, error_code, retriable, visibility_scope
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refReference to the failed transaction / source Event. MUST NOT inline unauthorized external plaintext.
string (enum)Closed error category for aggregation / alerting. See zh/extensions/applet-schema.md §7.
"external_network" "auth" "schema" "rate_limit" "policy"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringSpecific error code (e.g. external_rate_limited).
booleanstring (enum)Closed visibility scope enum for the error event. Clients MUST honor it and MUST NOT expose bridge-internal detail to unrelated members.
"realm_admins" "applet_controller" "realm_members"objectExternal network reference (protocol / network id). MUST NOT contain unauthorized external plaintext.
stringHuman-readable summary. MUST NOT leak unauthorized external plaintext.
integerSuggested retry delay; meaningful only when retriable=true.
allOf · allOf[17] · ?
if · if · object
此分支的 required:kind
const "ak.applet.discovery""ak.applet.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_discovery_state_payload
此分支的 required:resource_id, value
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 value · allOf[2]
$ref #/$defs/resource_discovery_state_value · $ref #/$defs/resource_discovery_state_valueallOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[18] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_registration_payload
Payload for ak.applet.registration. Durable Realm-history Event registering an Applet (bridge / bot service). Field vocabulary: zh/extensions/applet-integration.md §4 and zh/extensions/applet-schema.md §1. An Applet's capability to enter a Realm MUST be granted by that Realm's owner / admin / Realm-policy-authorized administrator actor and checked by the Station authorization capability. The formal Event is signed by that installing administrator and admitted by the target Station; payload.proof is the exact controller-signed package proof and is not an Event proof.
此分支的 required:applet_id, service_id, expected_commit_id, controller_principal_id, base_url, claimed_profiles, protocols, namespaces, receive_events, receive_signals, rate_limited, requested_scopes, registration_epoch, webhook_signature_policy, manifest, proof, created_at
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (uri) · format=uri^https://分支必填 claimed_profiles · array<$ref #/$defs/profile_id>
Canonical Applet implementation profiles copied from the accepted package. These durable claims are the authority source for profile-bound grant rules.
$ref #/$defs/profile_id · $ref #/$defs/profile_id分支必填 protocols · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string分支必填 namespaces · object · $ref applet-package.schema.json#/$defs/applet_namespaces
Realm/portal and handle routing claims only. Actor DID namespaces are not registered; identity and delegation are verified from accepted creation/current manager and actual grants.
此分支的 required:realms, handles
分支必填 realms · array<$ref #/$defs/namespace_entry>
…recursion truncated at depth 8; see source schema for full shape
分支必填 handles · array<$ref #/$defs/namespace_entry>
…recursion truncated at depth 8; see source schema for full shape
booleanbooleanboolean分支必填 requested_scopes · array<$ref #/$defs/non_empty_string>
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/digest · $ref #/$defs/digest分支必填 webhook_signature_policy · object · $ref applet-package.schema.json#/$defs/webhook_signature_policy
HTTP message signature verification policy for transaction push. key_ref is the Applet service DID URL used to verify the app/bridge->arkret inbound HTTP message signature. Verifiers MUST take its bare controller did, validate it with the registered method adapter, and require project(did) to equal service_id (did_core_id); direct DID/core-id string comparison is forbidden. The key is bound to the effective registration_epoch. accepted_signature_algorithms pins the acceptable RFC 9421 signature algorithms.
此分支的 required:key_ref, accepted_signature_algorithms, kind
$ref #/$defs/did_url · $ref #/$defs/did_urlDID URL under an Applet service did whose registered adapter projection equals service_id. For app/bridge->arkret inbound transaction push, Signature-Input keyid MUST equal this value. Node->Applet pushes verify the Arkret source service did/key binding selected by the Source-Service-ID did_core_id, not this field.
分支必填 accepted_signature_algorithms · array<$ref #/$defs/http_message_signature_algorithm>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringstring (enum)"http_message_signature"any分支必填 manifest · object
Closed package-derived manifest and the sole registration-epoch evidence carrier.
此分支的 required:claimed_profiles, limits, ghost_policy, delegation_policy, e2ee_policy, registration_epoch_evidence
分支必填 claimed_profiles · array<$ref #/$defs/profile_id>
…recursion truncated at depth 8; see source schema for full shape
分支必填 limits · object · $ref applet-package.schema.json#/$defs/limits
Service-side resource hints derived into the registration manifest.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 ghost_policy · object · $ref applet-package.schema.json#/$defs/ghost_policy
Ghost Actor support and accountability template. enabled defaults to false semantics; an explicit boolean is required.
此分支的 required:enabled
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 delegation_policy · object · $ref applet-package.schema.json#/$defs/delegation_policy
Delegated native-user acting request. Defaults to false; enabled MUST be explicit.
此分支的 required:enabled
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 e2ee_policy · object · $ref applet-package.schema.json#/$defs/e2ee_policy
MLS join request. Defaults to false; enabled MUST be explicit.
此分支的 required:enabled
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
widget · object · $ref applet-package.schema.json#/$defs/widget
Closed declaration for an Applet UI widget origin, CSP, scoped token capability scope, and consent gate.
此分支的 required:schema, widget_origin, csp, token_scope, consent_required
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 registration_epoch_evidence · object · $ref applet-registration-epoch-evidence.schema.json
Versioned Applet service DID evidence used to derive a stable registration epoch and Service signer evidence root. Only did:webvh and did:key are accepted; did:web current snapshots cannot support historical producer verification.
此分支的 required:did, document_digest, method_version_evidence, accepted_signing_keys
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 proof · object · $ref applet-package.schema.json#/$defs/detached_proof
Controller-DID detached-JWS proof shape, aligned with event-envelope.schema.json#/$defs/proof (the generic non-Event signed-object proof). Non-Event objects bind their canonical payload via payload_digest; Event proofs MUST instead use event_digest and event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
string (enum)"detached_jws"$ref #/$defs/did_url · $ref #/$defs/did_url$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestampstringaudience · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$any$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[19] · ?
if · if · object
此分支的 required:kind
const "ak.audit.accessed""ak.audit.accessed"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/audit_accessed_payload
Strict audit payload. watch_set_others belongs to one registered audit_paired_event unit. watch_audit_read is admitted only through the dedicated audited-read command and is not a reusable preaccepted read ticket. The target and writer are checked against the signed business Event or authenticated auditor and current effective scope. No caller-authored state head or result ID is carried.
此分支的 required:access_kind, writer_actor_id, target_ref, purpose, accessed_at
allOf · allOf[0] · ?
if · if · object
此分支的 required:access_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:target_actor_id, paired_event_id
allOf · allOf[1] · ?
if · if · object
此分支的 required:access_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:target_actor_id
allOf · allOf[2] · ?
if · if · object
此分支的 required:access_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:late_recovery_original_event_id
string (enum)"watch_set_others" "watch_audit_read" "e2ee_late_recovery" "policy_audit_read" "other"分支必填 writer_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
target_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/event_ref · $ref #/$defs/event_refRequired when access_kind=e2ee_late_recovery; identifies the original encrypted event recorded by this audit marker. The marker is not historical membership proof, an epoch-to-commit proof, a decrypt-success receipt, or authorization to reveal plaintext. Ordinary verified MLS pending-decrypt retry remains separate.
string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[20] · ?
if · if · object
此分支的 required:kind
const "ak.audit.erasure_receipt""ak.audit.erasure_receipt"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/erasure_receipt_payload
Signed attestation that an issuer completed, partially completed, or blocked a hard-erasure request within a declared storage boundary. It proves the issuer's deletion action and retained verification stub, not disappearance of independent third-party copies.
此分支的 required:schema, receipt_id, trigger, issuer_id, subject, scope, outcome, erased_classes, retained_stub_digest, completed_at, proofs
allOf · allOf[0] · ?
if · if · object
此分支的 required:outcome
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:legal_hold_ref
const "ak.schema.erasure_receipt.v1""ak.schema.erasure_receipt.v1"string^ak:receipt:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 trigger · oneOf[2] · $ref ./erasure-verification-stub.schema.json#/$defs/trigger
Exact authoritative fact that created this physical-erasure execution. Account erasure uses the account_status_record branch; other Event-authorized erasure uses the event branch.
oneOf · oneOf[0] · object
此分支的 required:kind, event_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, account_status_record_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 subject · oneOf[6] · $ref ./erasure-verification-stub.schema.json#/$defs/subject
$ref #/$defs/principal_subject · $ref #/$defs/principal_subject$ref #/$defs/realm_subject · $ref #/$defs/realm_subject$ref #/$defs/event_subject · $ref #/$defs/event_subject$ref #/$defs/blob_subject · $ref #/$defs/blob_subject$ref #/$defs/device_subject · $ref #/$defs/device_subject$ref #/$defs/account_private_state_subject · $ref #/$defs/account_private_state_subject分支必填 scope · object · $ref ./erasure-verification-stub.schema.json#/$defs/scope
Boundary in which deletion was attempted. This MUST be narrow enough for an auditor to tell which service/storage class made the claim.
此分支的 required:storage_boundary
string (enum)"canonical_log_minimization" "blob_store" "projection_store" "account_private_store" "search_index" "push_routes" "device_secret_store" "media_derivatives" "service_defined"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$target_refs · array<$ref #/$defs/subject_ref>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/policy_id · $ref #/$defs/policy_idstringstring (enum)"completed" "partially_completed" "blocked_by_legal_hold"分支必填 erased_classes · array<string (enum)>
string (enum)"canonical_payload_bytes" "blob_bytes" "projection_rows" "account_private_state" "push_routes" "device_secrets" "search_index_entries" "derived_plaintext" "media_derivatives"$ref #/$defs/digest · $ref #/$defs/digestHash of the retained verification stub after erasure: hash(canonical_json(retained_stub)). The stub verifies typed-reference structure, redundant digest consistency, receipt/stub binding, and linkage to retained external proof, RealmCommit, redaction-authorization, and legal-hold evidence. It does not independently verify erased canonical Event bytes.
retained_stub · object · $ref ./erasure-verification-stub.schema.json
Minimal retained verification stub bound by erasure-receipt.retained_stub_digest. It preserves event graph, proof, authority commit, redaction, legal-hold and receipt linkage evidence without retaining erased plaintext.
此分支的 required:stub_schema, subject, scope, receipt_id, trigger, completed_at
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.erasure_verification_stub.v1""ak.schema.erasure_verification_stub.v1"$ref #/$defs/subject · $ref #/$defs/subject$ref #/$defs/scope · $ref #/$defs/scope$ref #/$defs/digest · $ref #/$defs/digestOptional redundant digest for an Event subject; it is permitted only when subject.kind is event and MUST be absent for every other subject kind. Its suite and all 32 digest octets MUST exactly match the suite wire code and digest carried by subject.subject_ref. If omitted, the suite and digest are recovered from the Event ID. This field and the Event ID preserve consistency evidence; neither independently verifies erased canonical Event bytes.
retained_digests · array<$ref #/$defs/digest>
…recursion truncated at depth 8; see source schema for full shape
commit_inclusion · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/subject_ref · $ref #/$defs/subject_reflegal_hold_ref · oneOf[3]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^ak:receipt:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$$ref #/$defs/trigger · $ref #/$defs/triggerExact closed trigger copied byte-for-byte from the receipt.
$ref #/$defs/timestamp · $ref #/$defs/timestamplegal_hold_ref · oneOf[3]
null$ref #/$defs/policy_id · $ref #/$defs/policy_id$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp分支必填 proofs · array<object>
items · object
此分支的 required:verification_method, payload_digest, signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)Cross-Station erasure receipt fanout aggregate status tracked by the issuing server (models/realm-and-space.md §2.6.2). 'pending' = peers still within erasure_propagation_window_ms and not all acknowledged; 'complete' = every peer that ever held this Realm's content returned a receipt; 'incomplete' = at least one peer failed to acknowledge within erasure_propagation_window_ms. The issuing server MUST surface 'incomplete' to audit/UI and MUST NOT silently swallow it. Absent on receipts that do not drive fanout tracking.
"pending" "complete" "incomplete"peer_receipts · array<object>
Per-peer fanout acknowledgement records maintained by the issuing server: one entry per peer Station that ever held this Realm's content. Each entry records that peer's acknowledgement status and time, backing the aggregate fanout_status.
items · object
此分支的 required:peer_id, status
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[21] · ?
if · if · object
此分支的 required:kind
const "ak.call.create""ak.call.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/call_create_payload
Genesis payload for ak.call.create. call_id is omitted and derived by retyping the accepted Event id. Signaling, media tokens, Morph bindings, and state deltas MUST reference only an already accepted create.
此分支的 required:initial_state
string (enum)A known lifecycle discriminator. Admission permits scheduled/ringing/connecting only; active or terminal genesis is failed_precondition with call_state_transition_invalid rather than a structural schema violation.
"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"allOf · allOf[22] · ?
if · if · object
此分支的 required:kind
const "ak.call.recording.start""ak.call.recording.start"then · then · object
此分支的 required:authorization_ref
payload · object · $ref ./event-payload.schema.json#/$defs/call_recording_start_payload
Typed payload for ak.call.recording.start. recording_id is a stable opaque ASCII handle (1–128 bytes, [A-Za-z0-9._-]) that feeds the recording key exporter Context byte-for-byte and MUST NOT be normalized by receivers. capture_kind selects recording vs transcription so both lifecycles share one start event kind. See crypto-media/call-state.md §5 / §5.1.
此分支的 required:call_id, recording_id, recording_agent_id, capture_kind, mode, visible_notice, capture_metadata
allOf · allOf[0] · ?
if · if · object
此分支的 required:capture_kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
…recursion truncated at depth 8; see source schema for full shape
else · else · object
…recursion truncated at depth 8; see source schema for full shape
string^ak:call:[A-Za-z0-9_-]{44}$stringStable opaque recording / transcript lifecycle handle. Canonical byte-for-byte; receivers MUST NOT normalize (case-fold, NFC/NFKC, trim, re-encode) because it is a cross-implementation key-derivation input.
^[A-Za-z0-9._-]{1,128}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)Whether this start event opens a recording or a transcription segment. REQUIRED: it selects the target capture current state family (call_recording vs call_transcript) in the registered current state contract, so it MUST NOT be inferred from a missing-field default.
"recording" "transcript"string (enum)"audio" "audio_video"const trueAsserts the initiating client will display the capture-in-progress notice to all participants.
true分支必填 capture_metadata · object
Initial immutable capture evidence. retention.consent_confirmed=true closes the pre-capture consent gate before the FSM enters a capturing state. This wire payload MUST NOT carry recording_start_event_id or transcript_start_event_id: the accepted Event identity is derived only after digesting this payload, and the reducer stamps that identity into the projected result current state. Recording starts freeze the exact current accepted winning MLS state in key_ref; transcript starts retain their existing shape and do not carry this recording-only member.
此分支的 required:retention
key_ref · object · $ref ./blob.schema.json#/$defs/encrypted_attachment/properties/key_ref
此分支的 required:algorithm, group_state_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 retention · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/grant_idThe exact signed positive grant selected for this capture action. It is not an existence hint or an owner fallback; native admission must actually discharge this grant path while retaining global refusals.
^ak:grant:[A-Za-z0-9_-]{44}$allOf · allOf[23] · ?
if · if · object
此分支的 required:kind
const "ak.call.state""ak.call.state"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:payload
分支必填 payload · object
此分支的 required:recording_transition
…recursion truncated at depth 8; see source schema for full shape
then · then · anyOf[2]
anyOf · anyOf[0] · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[1] · object
此分支的 required:executed_by
…recursion truncated at depth 8; see source schema for full shape
payload · object · $ref ./event-payload.schema.json#/$defs/call_state_payload
Typed delta payload for ak.call.state. Every admitted field maps to one or two explicit registered current state effects; omitted axes produce no effect. The retained mute_override shape is not admitted in v1 because its call-only selector cannot represent independent legs.
此分支的 required:call_id
?此分支的 required:state_transition
?此分支的 required:focus
?此分支的 required:recording_transition
?此分支的 required:transcript_transition
?此分支的 required:roster_delta
?此分支的 required:moderation_delta
string^ak:call:[A-Za-z0-9_-]{44}$state_transition · object
此分支的 required:from, to
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"string (enum)"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"$ref #/$defs/call_capture_failure_reason_code · $ref #/$defs/call_capture_failure_reason_codeMachine reason for to="failed". Required when to="failed" and forbidden otherwise, so a failed call always carries a diagnostic and a non-failed transition cannot smuggle one.
focus · object
此分支的 required:mode
string (enum)"p2p" "mesh" "sfu" "mcu"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringrecording_transition · object
此分支的 required:recording_id, from, to
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9._-]{1,128}$string (enum)"recording" "stopped" "ready" "failed"string (enum)"stopped" "ready" "failed"capture_metadata · object
Ordinary capture outcome details. Result status is derived from to and stored with these details. Ready/failed require the exact confirmed stop Event for the same call, segment, capture authority and generation; they cannot modify permission or key access.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$transcript_transition · object
此分支的 required:recording_id, from, to
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9._-]{1,128}$string (enum)"transcribing" "stopped" "ready" "failed"string (enum)"stopped" "ready" "failed"capture_metadata · object
Ordinary capture outcome details. Result status is derived from to and stored with these details. Ready/failed require the exact confirmed stop Event for the same call, segment, capture authority and generation; they cannot modify permission or key access.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$roster_delta · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:operation, participant
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:operation, actor_id, device_id, expected_commit_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
moderation_delta · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:operation, removal
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:operation, actor_id, restored_by, restored_at, expected_commit_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
mute_override · object
此分支的 required:status, actor_id, device_id, changed_by, changed_at
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"active" "cleared"分支必填 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/device_id · $ref #/$defs/device_idbooleanbooleanstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringallOf · allOf[24] · ?
if · if · object
此分支的 required:kind
const "ak.capability.grant""ak.capability.grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_grant_payload
Canonical ak.capability.grant genesis payload. Both top-level grant_id and grant.id are forbidden because the durable GrantId is derived by retyping this Event's event_id. status, authority_depth and authority_root_ref are reducer-derived and forbidden in this closed authoring shape. issuer_id and a concrete subject are already exact ActorIds; no parallel Station sidecar is permitted. issuer_authority_refs is signed semantic lineage and cannot carry expected_commit_id, auth_state_digest or a Station-local commit basis; current authority is checked by the governing Station at acceptance. The Event envelope proof is the sole durable issuer signature.
此分支的 required:grant
分支必填 grant · object
此分支的 required:schema, issuer_id, subject, actions, resources, issued_at, issuer_authority_refs
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.capability.v1" · $ref ./capability-grant.schema.json#/properties/schema"ak.schema.capability.v1"string · $ref ./capability-grant.schema.json#/properties/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 issuer_id · oneOf[3] · $ref ./capability-grant.schema.json#/properties/issuer_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 subject · oneOf[2] · $ref ./capability-grant.schema.json#/properties/subject
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 actions · array<string> · $ref ./capability-grant.schema.json#/properties/actions
…recursion truncated at depth 8; see source schema for full shape
分支必填 resources · array<$ref ./resource-selector.schema.json> · $ref ./capability-grant.schema.json#/properties/resources
…recursion truncated at depth 8; see source schema for full shape
constraints · array<$ref ./grant-constraint.schema.json> · $ref ./capability-grant.schema.json#/properties/constraints
Constraints applied to this grant. Re-grant control MUST be expressed via constraint_kind='authority_control' and max_authority_depth (see capabilities.md §10). A top-level 'delegable' field is forbidden and MUST be rejected as schema_violation. With no authority_control constraint the grant cannot be re-granted (equivalent to max_authority_depth=0).
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./capability-grant.schema.json#/properties/issued_atCanonical 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.
^[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$分支必填 issuer_authority_refs · array<oneOf[3]> · $ref ./capability-grant.schema.json#/properties/issuer_authority_refs
The signed semantic authority lineage this grant was issued under. A root controller's grant anchors on the accepted Realm authority Event; any further grant anchors on grants its issuer already holds. These closed refs intentionally carry no producer-selected current-state revision, authorization-state digest, Station id or commit basis: the governing Station resolves their current typed results at acceptance, fails closed when current authority cannot be proved fresh, and records the accepting RealmCommit as the decision basis. Authorization is recomputed from these refs on every decision, so revoking an ancestor invalidates its descendants without a cascading write. The sole owned_agent ref is an explicit non-regrant exception; it pins ownership membership and continuously bounds the Agent by current controller authority.
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[25] · ?
if · if · object
此分支的 required:kind
const "ak.capability.relinquish""ak.capability.relinquish"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_relinquish_payload
ak.capability.relinquish — subject-only release of the actor own grant. The authority is the target grant subject's signature, never a capability: a narrowly-scoped holder that was never granted ak.capability.revoke must still be able to give up what it holds. The reducer target guard accepts actor == target.subject and nothing else, so this can never become an unauthorized revocation. Descendants of the released grant fail through their issuer_authority_refs at read time.
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[26] · ?
if · if · object
此分支的 required:kind
const "ak.capability.revoke""ak.capability.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_revoke_payload
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[27] · ?
if · if · object
此分支的 required:kind
const "ak.consent.replace""ak.consent.replace"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/consent_replace_payload
Complete holder-signed exact-peer replacement. Admission enforces unique scopes and canonical scope order. Empty is accepted current; never_written is rechecked atomically and cannot overwrite empty. No independent consent_id, any or server merge.
此分支的 required:peer, expected_current, permissions
$ref #/$defs/consent_peer · $ref #/$defs/consent_peer$ref #/$defs/consent_expected_current · $ref #/$defs/consent_expected_current分支必填 permissions · array<$ref #/$defs/consent_permission>
????$ref #/$defs/consent_permission · $ref #/$defs/consent_permissionallOf · allOf[28] · ?
if · if · object
此分支的 required:kind
const "ak.contact.accepted""ak.contact.accepted"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_accepted_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, contact_round_id, request_event_ref, request_acceptance_receipt_digest, granted_to_peer_scopes
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digest分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
$ref #/$defs/contact_scope · $ref #/$defs/contact_scopeallOf · allOf[29] · ?
if · if · object
此分支的 required:kind
const "ak.contact.rejected""ak.contact.rejected"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_rejected_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, request_event_ref, request_acceptance_receipt_digest
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[30] · ?
if · if · object
此分支的 required:kind
const "ak.contact.requested""ak.contact.requested"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_requested_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, granted_to_peer_scopes, introduction_evidence_digest
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
$ref #/$defs/contact_scope · $ref #/$defs/contact_scope$ref #/$defs/digest · $ref #/$defs/digestRequired digest of the exact private introduction_evidence carried by the request branch of ak.peer.contacts.command.submit.v1. Raw evidence is not written into the contact fact log.
stringallOf · allOf[31] · ?
if · if · object
此分支的 required:kind
const "ak.contact.scope.update""ak.contact.scope.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_scope_update_payload
Holder full-set replacement in a nonterminal established round. version advances the holder lifetime direction, retained scope instances retain their grant Event. Empty scopes remain accepted; pure narrowing does not wait for remote freshness.
此分支的 required:trust_domain_id, initial_contact_round_id, schema, peer, contact_round_id, version, predecessor_event_ref, granted_to_peer_scopes
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$const "ak.schema.contact_scope_update.v1""ak.schema.contact_scope_update.v1"$ref #/$defs/contact_peer · $ref #/$defs/contact_peerstring · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_id · $ref #/$defs/event_id$ref #/$defs/contact_scopes · $ref #/$defs/contact_scopesallOf · allOf[32] · ?
if · if · object
此分支的 required:kind
const "ak.contact.tombstone""ak.contact.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_tombstoned_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, initial_contact_round_id, version, predecessor_event_ref, peer, contact_round_id
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_ref · $ref #/$defs/event_ref分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[33] · ?
if · if · object
此分支的 required:kind
const "ak.device.authorize""ak.device.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_authorize_payload
Closed Device authorization. Ordinary Account branches retain their PCR rules. realm_managed_delegation is signed by the owning Realm actor current controller in realm_control; exact full ActorId is injected from the Event, never a payload mirror. Current control and Device row revisions are CAS preconditions. No generation is initialized by this branch.
此分支的 required:device_id, device_public_key_did, hpke_key, algorithms, device_key_algorithm, authorized_by, authorization_binding_kind, authorized_generation_ref, not_before, device_signature
allOf · allOf[0] · ?
if · if · object
此分支的 required:authorization_binding_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:pairing_challenge_transcript_digest
?allOf · allOf[1] · ?
if · if · object
此分支的 required:authorization_binding_kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:expires_at, scopes, applet_id, expected_control_commit_id, expected_device_commit_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
else · else · object
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringDevice HPKE public key used for secret/key envelope encryption. It is covered by the possession transcript and by the surrounding root anchor or accepted-device Event proof; services MUST NOT substitute it. For accepted_device pairing its authority is the target device_pairing_target_proof, which the approving device reads only after that attestation verifies.
分支必填 algorithms · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
Canonical sorted unique algorithm ids supported by this device. Enters device trust binding transcript together with device_public_key_did and hpke_key. For accepted_device pairing its authority is the target device_pairing_target_proof, not any service-supplied or staged copy.
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringconst "Ed25519""Ed25519"$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_refFor registration_anchor/pcr_recovery, the ordinary Account principal; for accepted_device, the approving DeviceId. For realm_managed_delegation, exactly actor_id.realm_actor_id.principal_id, verified through the accepted Realm control method.
string (enum)Ordinary Account branches retain PCR genesis, recovery and paired-device rules. realm_managed_delegation is exclusive to a Realm actor in its owning private realm_control stream, with current controller authority and exact active installation at every authorized business scope.
"registration_anchor" "pcr_recovery" "accepted_device" "realm_managed_delegation"integer · $ref ./recovery-session.schema.json#/$defs/pcr_generation_refExact current Account PCR or Realm actor generation, never DID version. registration_anchor=1; pcr_recovery equals sibling reanchor new generation; accepted_device equals Account current generation; realm_managed_delegation equals the actor-local current generation and signed CAS. The Device possession transcript covers it except accepted_device, where the approving Device Event proof covers it.
scopes · oneOf[2]
realm_managed_delegation MUST use the paired list; all other branches retain the string-list contract. No string codec represents managed scope authority. For native Human Account Device owner-transfer acceptance, omitted scopes retain the original no-explicit-ceiling semantics; an explicit string list MUST literally contain ak.realm.owner.transfer. Empty, unknown, wildcard or explicit null never authorizes this purpose. This checks Device-key use only, not prospective root authority; see capabilities.md section 3.2.
oneOf · oneOf[0] · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/applet_managed_device_scopes · $ref #/$defs/applet_managed_device_scopes$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestamp$ref #/$defs/signature_material · $ref #/$defs/signature_materialEd25519 possession proof: registration_anchor uses device_authorize_possession_transcript; pcr_recovery uses device_authorize_recovery_possession_transcript; realm_managed_delegation uses the complete device_authorize_realm_actor_possession_transcript and its separate domain; accepted_device retains device_pairing_target_proof. No signature is included in its own transcript.
$ref #/$defs/device_authorize_recovery_session_id · $ref #/$defs/device_authorize_recovery_session_idRequired by the pcr_recovery branch and omitted for registration_anchor, ordinary accepted_device pairing and realm_managed_delegation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only for accepted_device. SHA-256 typed digest of the complete canonical challenge descriptor authenticated by device_signature; the verifier persists the descriptor and rechecks the exact final AccountId and authorization core.
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$expected_device_commit_id · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullallOf · allOf[34] · ?
if · if · object
此分支的 required:kind
const "ak.device.push_route""ak.device.push_route"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/device_push_route_payload
Closed account-private push-route write. Active routes and revoked tombstones are mutually exclusive whole-value shapes and both carry the single server-revision CAS precondition. The account identity is one atomic AccountId; its Station is never repeated as a delivery field.
$ref #/$defs/device_push_route_active_shape · $ref #/$defs/device_push_route_active_shape$ref #/$defs/device_push_route_revoked_shape · $ref #/$defs/device_push_route_revoked_shapeallOf · allOf[35] · ?
if · if · object
此分支的 required:kind
const "ak.device.reanchor""ak.device.reanchor"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_reanchor_payload
Closed account-local PCR recovery payload. The account authority is selected by the exact AccountId and one monotonic local device-generation CAS. PCR realm/checkpoint identifiers remain local recovery state and are not an external principal identity selector.
此分支的 required:account_id, recovery_authority_kind, recovery_policy_id, recovery_policy_version, recovery_session_id, previous_device_generation, new_device_generation, replacement_authorize_payload_digest
allOf · allOf[0] · ?
if · if · object
此分支的 required:recovery_authority_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:did_root_evidence_digest
?分支必填 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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)"pcr_policy" "did_root"string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerstring^ak:recovery_session:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerintegerMust be the immediate monotonic successor of previous_device_generation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only when recovery_authority_kind=did_root; proves the optional factor enabled by the frozen PCR policy.
$ref #/$defs/digest · $ref #/$defs/digestcanonical_digest of the replacement ak.device.authorize payload object, using the Realm live digest suite.
allOf · allOf[36] · ?
if · if · object
此分支的 required:kind
const "ak.device.revoke""ak.device.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_revoke_payload
Payload for ak.device.revoke. Its exact Account or Realm actor subject is derived exclusively from the Event envelope actor_id; the payload MUST NOT mirror a principal_id. The revocation's control-plane authorization basis is the current authority-committed state (covered by the canonical Event bytes and producer_proof); its permanent cutoff is the accepted RealmCommit covering this Event. First durable canonical acceptance atomically creates ak.schema.device_revocation_state.v1 revocation_pending for the exact reducer-derived current device authorization and generation. The payload carries no checkpoint or generation field, and producers cannot self-report derived pending selectors.
此分支的 required:device_id, revoked_by, revoked_at, reason
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_ref$ref #/$defs/timestamp · $ref #/$defs/timestampstring^[a-z][a-z0-9_]{0,63}$$ref #/$defs/signature_material · $ref #/$defs/signature_materialallOf · allOf[37] · ?
if · if · object
此分支的 required:kind
const "ak.direct_conversation.bound""ak.direct_conversation.bound"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/direct_conversation_bound_payload
One immutable participant-signed confirmation of the founding coordinates and durable first exact-pair MLS completion. A different Event cannot add another confirmation. All fixed fields must match the original accepted founding unit and first exact-pair state; no binding_digest or extra state fields.
此分支的 required:pair_key, unordered_participant_ids, realm_id, main_strand_id, founding_unit_digest, authorization_basis, initial_exact_pair_group_state_ref, created_at
stringCanonical unordered pair key: SHA-256(UTF8(ak.direct-conversation.pair-key.v1 followed by LF) || JCS({participants:[p0,p1],trust_domain_id})) where p0/p1 are exact ActorIds sorted by their RFC 8785 JCS bytes. Receivers MUST recompute it exactly as contact-and-direct-conversation.md section 5.1 defines; handles, bare principal IDs and unresolved pairwise DIDs are forbidden inputs.
^sha256:[0-9a-f]{64}$分支必填 unordered_participant_ids · array<$ref ./common-ids.schema.json#/$defs/actor_id>
items · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idstringDigest of the accepted four Event atomic founding unit this binding endorses.
^sha256:[0-9a-f]{64}$$ref #/$defs/direct_conversation_authorization_basis · $ref #/$defs/direct_conversation_authorization_basis$ref #/$defs/event_ref · $ref #/$defs/event_refThe winning Add Commit Event that first establishes both exact participants in the scope's single immutable derived MLS group.
$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[38] · ?
if · if · object
此分支的 required:kind
const "ak.identity.accountability_grant""ak.identity.accountability_grant"then · then · object
payload · object · $ref ./accountability-grant.schema.json
Issuer-signed endorsement used to verify Actor Profile accountable_principal_ids entries. This is the payload contract for ak.identity.accountability_grant.
此分支的 required:schema, issuer_id, subject_id, accountability_scope, not_before, grant_status, proof
const "ak.schema.accountability_grant.v1""ak.schema.accountability_grant.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 accountability_scope · oneOf[2]
Non-empty duplicate-free closed set used only for display and accountability governance; never grants authorization. A string is the singleton-set wire form. Array order has no semantic meaning. Canonical authors emit singleton sets as strings and multi-value sets in ascending raw UTF-8 byte order; receivers accept every schema-valid ordering and normalize only for current state-subject derivation, domain equality, and projection union.
$ref #/$defs/scope · $ref #/$defs/scopeoneOf · oneOf[1] · array<$ref #/$defs/scope>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the accountability grant is non-expiring and governed by grant_status revocation and controller lifecycle cascade.
string (enum)"active" "revoked"分支必填 proof · object · $ref ./event-envelope.schema.json#/$defs/proof
Generic detached-JWS proof shape reused by non-Event schemas (snapshot signature, snapshot witness attestations, identity receipts, handle claims, etc.). MUST NOT be used as the shape of Event Envelope `producer_proof` — Event proofs reference $defs/event_proof and bind canonical Event bytes via `event_digest`. Non-Event signed objects MUST define an object-family signing-context constant and include it in the canonical proof binding object with payload_digest; the context constant is not a wire field in this generic shape. drift detection: `payload_digest#event_proof` in forbidden-wire-fields.json is the hard-reject mirror of this rule. New non-Event signed objects MAY $ref this shape; new signed Event-shaped objects MUST instead $ref event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
string (enum)Generic detached JWS proof over a canonical non-Event payload binding object that includes an object-family context constant.
"detached_jws"stringDID URL of the signing key for this non-Event detached proof. Same pattern as $defs/event_proof.verification_method; semantics are decoupled from Event proof (see $defs/event_proof for the Event-only shape).
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$$ref #/$defs/digest · $ref #/$defs/digestGeneric non-Event detached-proof hash. This $defs/proof shape is reused by non-Event schemas; Event.properties.producer_proof references $defs/event_proof and MUST use event_digest instead.
$ref #/$defs/timestamp · $ref #/$defs/timestampstringaudience · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)Optional role discriminator for non-Event proofs. HandleClaim core, status and revocation carriers make issuer_attestation, holder_acceptance, status_attestation and revocation_authorization load-bearing. governance_authorization marks a resource-governance-key authorization (directory withdraw/takedown-appeal, discovery-directory.md 8.7.1). Generic proof consumers ignore it unless their object-family contract makes it load-bearing.
"issuer_attestation" "holder_acceptance" "status_attestation" "revocation_authorization" "governance_authorization"string^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$allOf · allOf[39] · ?
if · if · object
此分支的 required:kind
const "ak.identity.resolution.update""ak.identity.resolution.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/identity_resolution_update_payload
Signed PCR resolution CAS payload. expected_commit_id is the exact accepted identity_resolution source revision in the full Account PCR; the old projection and method boundary are read from that source at the same transaction cut before independent method-native successor verification.
此分支的 required:expected_commit_id, next
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/resolution_commitment · $ref #/$defs/resolution_commitmentallOf · allOf[40] · ?
if · if · object
此分支的 required:kind
const "ak.invite.accept""ak.invite.accept"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_accept_payload
此分支的 required:invite_id, previous_state, invitee_account_id
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idanyallOf · allOf[41] · ?
if · if · object
此分支的 required:kind
const "ak.invite.cancel""ak.invite.cancel"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_cancel_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)"rejected" "revoked"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[42] · ?
if · if · object
此分支的 required:kind
const "ak.invite.create""ak.invite.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_create_payload
此分支的 required:invitee_account_id, introduction_evidence_digest, expires_at
分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/digest · $ref #/$defs/digestDigest of private invite delivery introduction_evidence. Raw locator tokens and receive-policy state MUST NOT appear in durable Realm events.
$ref #/$defs/timestamp · $ref #/$defs/timestampInvite expiry timestamp. Directed v1 invite creates MUST carry it; reducers MUST NOT infer indefinite validity.
anyallOf · allOf[43] · ?
if · if · object
此分支的 required:kind
const "ak.invite.revoke""ak.invite.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_revoke_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)Irreversible shared invalidation, confirmed by an authorized signed Event. Delivery failure is private; current capability, membership and abuse gates remain independent of diagnostic reason.
"revoked" "expired"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans. A policy revoke may diagnose invalidated_by_rate_limit; this never creates a distinct shared state.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[44] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind, payload
const "ak.key_backup.active_series""ak.key_backup.active_series"分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
payload · allOf[1] · $ref ./event-payload.schema.json#/$defs/key_backup_active_series_payload
Payload for ak.key_backup.active_series. The standalone ak.schema.key_backup_active_series.v1 schema carries the authoritative signed active-series record shape.
allOf · allOf[0] · object · $ref ./key-backup-active-series.schema.json
Signed principal-control record selecting the backup series for one actor and backup kind. Servers verify the accepted record; ordinary clients consume BackupActiveSeriesState from their Account Station instead of replaying PCR history. Native records are signed by the real current manager Service, while record.actor_id is the target Realm actor. Source refs name strictly earlier accepted native writers; no self Event/Commit ID enters this preimage. The outer native manager Event is independently signed. Native version/predecessor comparison is scoped by full actor, exact effective_scope and backup_kind; Device publishers cannot select series. Recovery enabled=false is not a backup/series gate.
此分支的 required:schema, actor_id, backup_kind, active_series_id, series_pointer_version, previous_series_ids, issued_at, signature_proof
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.key_backup_active_series.v1""ak.schema.key_backup_active_series.v1"分支必填 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/backup_kind · $ref #/$defs/backup_kind$ref #/$defs/backup_series_id · $ref #/$defs/backup_series_idintegerStrictly monotonic per (actor_id, backup_kind). The first record is 1 and every successor is previous+1; receivers reject rollback, gaps and same-version forks.
分支必填 previous_series_ids · array<$ref #/$defs/backup_series_id>
Retained old series used only for read-old-data or erasure transition. MUST NOT be treated as a primary recovery source.
…recursion truncated at depth 8; see source schema for full shape
source_commit_ref · object · $ref ./key-backup.schema.json#/properties/source_commit_ref
The only canonical optional source checkpoint for genesis and successor authoring. Its exact wire and public builder shape is source_commit_ref{realm_commit_id: RealmCommitId, device_generation_ref: u64 >= 1}. Producers MUST authenticate this member under the envelope signature when present and MUST NOT accept or serialize source_ref, a nested/full CommittedEventRef, a string generation, Seal data, or a frontier digest. This checkpoint is independent of series_sequence, supersedes_id, and supersedes_digest and never substitutes for the successor predecessor/CAS chain.
此分支的 required:realm_commit_id, device_generation_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp分支必填 signature_proof · object
此分支的 required:verification_method, signature_algorithm, signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
custodian_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$effective_scope · oneOf[1]
…recursion truncated at depth 8; see source schema for full shape
manager_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
recovery_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
recipient_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyallOf · allOf[45] · ?
if · if · object
此分支的 required:kind
const "ak.member.identity.update""ak.member.identity.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/member_identity_update_payload
Payload for ak.member.identity.update. Append-only replacement event for one Realm-scoped member display/subject projection segment. Service-visible metadata names the segment and the prior events it replaces; the segment body is plaintext or the original encrypted envelope and MUST contain the complete data for that segment. Handle lifecycle is excluded from this event and is governed by ak.schema.handle_claim.v1 issuer claims.
此分支的 required:realm_id, member_id, segment, identity_payload
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)v1 core defines a single full MemberIdentity segment. Narrower segments require a future schema/profile revision that extends this enum or defines a new payload schema; v1 receivers MUST reject unknown segment values.
"member_identity"replaces · array<object>
Prior ak.member.identity.update events in the same (realm_id, actor_id, segment) that this event supersedes for current profile projection. Referenced events remain immutable history.
items · object
此分支的 required:event_id, payload_digest
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 identity_payload · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:member_identity
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:encrypted_payload
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestOptional optimistic concurrency guard for the current effective set of this (realm_id, member_id, segment). When present, it MUST equal sha256 over RFC 8785 JCS of the array of the exact signed payload objects of every update in that effective set, ordered by carrying event_id ascending (the empty set is []), before applying this event (zh/sync/current-state.md section 2); a mismatch is member_identity_state_mismatch with zero writes. It is distinct from the locally derived identity_payload carrier digest and from a roster member_display_state_digest.
allOf · allOf[46] · ?
if · if · object
此分支的 required:kind
const "ak.member.state""ak.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/membership_payload
此分支的 required:member_id, membership
allOf · allOf[0] · ?
if · if · object
此分支的 required:membership
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:realm_id
allOf · allOf[1] · ?
?此分支的 required:membership_cause
then · then · object
此分支的 required:agent_controller_binding
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/membership_state · $ref #/$defs/membership_stategate_proofs · array<$ref #/$defs/join_gate_proof>
Closed join-policy gate proofs evaluated by governance/join-policy.md section 4 before accepting membership=join. At most one item per gate_id (a duplicate gate_id is schema_violation); only challenge_response and claim_required gates take an applicant-supplied proof, the other three kinds are replayed from accepted state. maxItems aligns with the gates 1..16 bound in join_policy_component; see zh/conformance/scalability-constraints.md.
$ref #/$defs/join_gate_proof · $ref #/$defs/join_gate_proofstringBounded human-readable audit note. It never supplies membership authority or proves cascade provenance.
string (enum) · $ref ./agent-membership-cascade.schema.json#/$defs/membership_lifecycle_causeClosed audit-only lifecycle cause. It never supplies authorization or proves reducer provenance.
"controller_membership_ended"agent_controller_binding · object · $ref ./agent-membership-cascade.schema.json#/$defs/agent_controller_membership_binding
Required by semantic admission for every Agent join and every controller-membership-ended cleanup. Non-Agent membership MUST reject it.
此分支的 required:controller_account_id, controller_membership_generation_ref
分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$invite_ref · oneOf[2]
$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/invite_id · $ref #/$defs/invite_idallOf · allOf[47] · ?
if · if · object
此分支的 required:kind
const "ak.message.create""ak.message.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_create_payload
Payload for ak.message.create. If content/encrypted_content contains an audience_mention AST node (for example @all or @here), reducer admission and notification dispatch MUST additionally enforce ak.message.mention.broadcast plus the audience policy / max_recipient / rate-limit rules in zh/models/strand-and-message.md §9.4.3. @here maps to audience="strand_engaged" and is not presence-filtered.
此分支的 required:strand_id, track_name
allOf · allOf[0] · oneOf[2]
?此分支的 required:content
?此分支的 required:encrypted_content
allOf · allOf[1] · ?
?此分支的 required:encrypted_content
???$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/track_name · $ref #/$defs/track_name$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatablob_refs · array<$ref #/$defs/object_ref>
$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/message_id · $ref #/$defs/message_idOptional creation convenience: the message this one replies to. The reducer records it as the message's reply linkage (lifting it onto the message content) and surfaces it as a replies_to relation in the message projection; it does not require a separate canonical ak.relation event. The materialized Message object itself carries no reply_to scalar. See strand-and-message.md §9.1.
$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenancepoll_response_heads · array<$ref #/$defs/poll_response_head>
Each entry binds a poll to the exact response Event being superseded.
$ref #/$defs/poll_response_head · $ref #/$defs/poll_response_headallOf · allOf[48] · ?
if · if · object
此分支的 required:kind
const "ak.message.redact""ak.message.redact"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_redact_payload
Payload for ak.message.redact, the object-scoped redact kind registered for Message. Message is the only object that enters state=redacted through its own kind rather than a cross-object ak.redaction, which is why message.schema.json materializes redaction_ref (models/common-fields.md 5.2). message_id is the single target carrier, so the object_redaction current state subject is always the Message typed ID.
此分支的 required:message_id
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the redacted message's parent Strand. Optional: when omitted, reducers MUST resolve from the existing message. When present, MUST equal that resolved track_name.
stringpreserve · array<string>
string$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[49] · ?
if · if · object
此分支的 required:kind
const "ak.message.revise""ak.message.revise"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_revise_payload
Payload for ak.message.revise. Revisions that introduce new direct mentions MAY generate mention notifications only when the implementation can compare against the previous accepted visible revision. Revisions that introduce an audience_mention AST node (including @all / @here mappings) MUST satisfy the same ak.message.mention.broadcast and policy gates as create.
此分支的 required:message_id
allOf · allOf[0] · oneOf[2]
?此分支的 required:content
?此分支的 required:encrypted_content
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the target Strand. Optional on revise/redact: when omitted, reducers MUST resolve from the existing message identified by message_id. When present, MUST equal that resolved track_name.
$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatastring$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[50] · ?
if · if · object
此分支的 required:kind
const "ak.mimi.room_binding""ak.mimi.room_binding"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mimi_room_binding_payload
Payload for ak.mimi.room_binding. Writes the mimi_room_binding current state whose subject is payload.mimi_room_uri (see event-kind-registry.json state_selector). Authoritative field set: zh/extensions/mimi-interop.md §3. The binding is a projection of an Arkret Realm/Strand discussion track into a MIMI room; it is not canonical truth. Creation / update / revocation MUST hold ak.policy.manage, ak.realm.admin, or an equivalent interop capability. E2EE MIMI rooms MUST bind mls_group_id and pass the active MLS key_access_revision gate.
此分支的 required:profile, mimi_room_uri, binding_scope, hub_provider_id, local_provider_role, status
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringInterop profile id, e.g. ak.profile.mimi_interop.v1.
string · $ref ./mimi-interop.schema.json#/$defs/mimi_room_uriCanonical MIMI room URI. It is the mimi_room_binding current state subject source, so it is a closed canonical form rather than a free URI: lowercase mimi:// scheme, host[:port] authority with no userinfo, lowercase A-label host, no leading-zero port, at least one non-empty path segment, no dot or dot-dot segment, no trailing slash, no query, no fragment, uppercase percent escapes, and no percent-encoding of unreserved octets (RFC 3986 section 6.2.2.2). A receiver MUST reject a non-canonical value with schema_violation and MUST NOT normalize it first, because two spellings of one room would otherwise each own a first accepted binding and the revoked terminal state could be bypassed by respelling. current state subject encoding is the uri subject kind of zh/conformance/encoding.md section 4. The pattern below expresses the structural half of the canonical form; two rules it cannot express portably -- the default port 443 MUST NOT be written explicitly, and a percent escape MUST NOT encode an unreserved octet -- are normative all the same and are closed by ak.vector.encoding.state_selector_uri.v1 plus the SDK typed validator, which every producer and receiver MUST apply in addition to this pattern. See zh/extensions/mimi-interop.md section 4.
^mimi://[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:/(?:[A-Za-z0-9\-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+)+$分支必填 binding_scope · object
Arkret Realm + Strand scope this MIMI room projects. strand_id MUST point at an accepted Strand with discussion track enabled inside realm_id; the MIMI room timeline only projects that Strand's discussion track.
此分支的 required:realm_id, strand_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idService DID explicitly delegated by Realm policy, Organization DID, or participant DID to host the hub role.
string (enum)"hub" "follower" "observer"follower_provider_ids · array<$ref #/$defs/did_core_id>
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring · $ref ./common-ids.schema.json#/$defs/mls_group_idRFC 9420 group_id as base64url_no_pad(SHA-256(UTF8("ak.mls.group_id.v1") || 0x00 || canonical_effective_scope_key_bytes(effective_scope))), so exactly 43 characters. Derived by the reducer and the SDK from the effective scope alone; actors never submit it. The v1 formula is the only one: the earlier reversible base64url of the scope key bytes MUST NOT be accepted alongside it. See zh/models/realm-and-space.md section 2.2.
^[A-Za-z0-9_-]{43}$$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringMIMI content profile, e.g. application/mimi-content.
integerAccepted ak.realm.policy_bundle revision this MIMI room binding projects. The facade compares it against the Realm's current committed policy revision and rejects a stale projection.
string (enum)Lifecycle state of the binding. Initial status MUST be proposed or accepted; legal transitions are defined in zh/extensions/mimi-interop.md §4.2. accepted bindings authorize projection; revoked bindings stop new MIMI writes; migrating stops new writes until a verified migration proof returns the binding to accepted or revoked.
"proposed" "accepted" "revoked" "migrating"string (enum)Required exactly for a migrating->accepted transition, paired with migration_proof. The signed Event asserts whether the migrating candidate topology became effective or the previous accepted topology was restored.
"completed" "rolled_back"$ref #/$defs/mimi_room_binding_migration_proof · $ref #/$defs/mimi_room_binding_migration_proof$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[51] · ?
if · if · object
此分支的 required:kind
const "ak.mls.commit""ak.mls.commit"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_commit_payload
此分支的 required:base_group_state_ref, previous_epoch, next_epoch, covers_key_access_revision, commit_base64url, governance_binding, group_info_ref, ratchet_tree_ref
$ref #/$defs/event_ref · $ref #/$defs/event_refstring · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^[A-Za-z0-9_-]+$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_bindingstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$recovery_binding · object · $ref ./content-encryption.schema.json#/$defs/recovery_binding
此分支的 required:replacement, authorization_event_ref, base_group_state_ref, expected_epoch, inventory_digest
$ref #/$defs/endpoint · $ref #/$defs/endpointstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^sha256:[0-9a-f]{64}$allOf · allOf[52] · ?
if · if · object
此分支的 required:kind
const "ak.mls.genesis""ak.mls.genesis"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_genesis_payload
此分支的 required:cipher_suite, group_info_ref, ratchet_tree_ref, creator_leaf_authority, governance_binding, created_at
allOf · allOf[0] · object
governance_binding · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringstringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$stringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_genesis_creator_leaf_authority · $ref #/$defs/mls_genesis_creator_leaf_authority$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_binding$ref #/$defs/timestamp · $ref #/$defs/timestampThe single frozen Genesis authoring timestamp. MUST equal the outer Event.created_at exactly. Cross-field equality is semantic admission, registered by ak.mls.genesis genesis_timestamp_contract in the canonical contract registry; JSON Schema shape validation alone is insufficient.
allOf · allOf[53] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision""ak.moderation.decision"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_payload
Payload for ak.moderation.decision. A committed moderation decision that writes a keyed_set_add effect onto the moderation_state current state whose subject is the canonical string of target_ref. Multiple active adds fold by hard_deny > quarantine > require_review > none. Runtime allow and soft_deny remain out-of-band outcomes. The actor MUST independently hold the registered ak.moderation.decision capability.
此分支的 required:target_ref, decision, issuer_id, request_canonical_digest
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target (event / object). Canonical string of this ref is the moderation_state current state subject.
string (enum)Committed moderation-state decision verb. allow and soft_deny are out-of-band runtime outcomes.
"hard_deny" "quarantine" "require_review"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$$ref #/$defs/digest · $ref #/$defs/digestJCS SHA-256 digest of the moderated request or Event preview. It is part of the projected element VALUE, not of the element tag: a keyed_set_add tag is exactly the canonical <event_id>:<write_index> dot, so no payload member ever enters set identity.
string (enum)Optional finer-grained §5.3 moderation_policy action family entry that the decision verb maps to (content-moderation.md §8.1).
"deny_join" "deny_restricted_join" "deny_invite" "deny_write" "deny_federation" "quarantine_message" "require_review" "redact_on_accept" "shadow_collapse"stringMachine-readable diagnostic. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes.
^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampallOf · allOf[54] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision.lift""ak.moderation.decision.lift"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_lift_payload
Payload for ak.moderation.decision.lift. The governance Station resolves decision_ref to the active decision for target_ref and applies the lift at exactly expected_commit_id.
此分支的 required:target_ref, decision_ref, expected_commit_id
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target whose moderation_state current state the lift mutates. Same current state subject as the original ak.moderation.decision.
$ref #/$defs/event_ref · $ref #/$defs/event_refReference to the prior ak.moderation.decision Event whose committed tag is being removed.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[55] · ?
if · if · object
此分支的 required:kind
const "ak.morph.archive""ak.morph.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[56] · ?
if · if · object
此分支的 required:kind
const "ak.morph.create""ak.morph.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_create_payload
Create payload uses the Morph object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.morph.stage.set.
此分支的 required:object
分支必填 object · allOf[3]
allOf · allOf[0] · object · $ref ./morph.schema.json
此分支的 required:schema, realm_id, schema_refs, morph_kind, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
??allOf · allOf[57] · ?
if · if · object
此分支的 required:kind
const "ak.morph.restore""ak.morph.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[58] · ?
if · if · object
此分支的 required:kind
const "ak.morph.stage.set""ak.morph.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_stage_set_payload
Payload class for ak.morph.stage.set. Mutates Morph.stage / Morph.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/morph.md §2.
此分支的 required:morph_id, stage
string^ak:morph:[A-Za-z0-9_-]{44}$string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[59] · ?
if · if · object
此分支的 required:kind
const "ak.morph.update""ak.morph.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_update_payload
Payload class for ak.morph.update. Patches ordinary Morph fields on the Morph identified by morph_id. morph_kind is create-locked by ak.morph.create and MUST NOT appear in patch; stage and stage_changed_at are single-sourced by ak.morph.stage.set.
此分支的 required:morph_id, patch
$ref #/$defs/morph_id · $ref #/$defs/morph_id分支必填 patch · allOf[2]
$ref #/$defs/patch · $ref #/$defs/patch?$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[60] · ?
if · if · object
此分支的 required:kind
const "ak.organization.moderation_policy""ak.organization.moderation_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/organization_moderation_policy_state_payload
Closed Organization moderation-policy state. organization_id is the Organization did_core_id and the sole registered current state subject; value carries the sole v1 Organization moderation-policy family.
此分支的 required:organization_id, value
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/organization_moderation_policy_document · $ref #/$defs/organization_moderation_policy_documentallOf · allOf[61] · ?
if · if · object
此分支的 required:kind
const "ak.pin.add""ak.pin.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_add_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[62] · ?
if · if · object
此分支的 required:kind
const "ak.pin.remove""ak.pin.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_remove_payload
此分支的 required:pin_scope, target_ref
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[63] · ?
if · if · object
此分支的 required:kind
const "ak.pin.reorder""ak.pin.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_reorder_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[64] · ?
if · if · object
此分支的 required:kind
const "ak.policy.action""ak.policy.action"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_action_state_payload
Closed policy action-log payload. Exactly one policy_id or action_id is present and selects one of two tagged policy_action current state subject branches; the two namespaces never coalesce. value carries the sole v1 approval-action document family.
此分支的 required:value
?此分支的 required:policy_id
?此分支的 required:action_id
string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./string-profiles.schema.json#/$defs/realm_action_nameNonempty 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.
^(?!ak:)$ref #/$defs/policy_action_document · $ref #/$defs/policy_action_documentallOf · allOf[65] · ?
if · if · object
此分支的 required:kind
const "ak.policy.set""ak.policy.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_set_state_payload
Closed Policy definition state payload. policy_id is the stable policy current state subject. value.schema selects exactly one of the two v1 Policy document families directly in this schema; unknown families fail schema validation.
此分支的 required:policy_id, value
if · if · object
此分支的 required:value
分支必填 value · object
此分支的 required:schema, policy_kind
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:expected_commit_id
?string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
nullstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 value · oneOf[2]
oneOf · oneOf[0] · object · $ref ./policy.schema.json
此分支的 required:id, schema, policy_kind, rules, default_effect, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object · $ref ./recovery-policy.schema.json
Normative grammar for an account's PCR recovery policy. Bound through signed control events to one exact AccountId and its local unique PCR lineage; receivers reject recovery and pcr_recovery device authorization whose proof family or optional DID-root factor is not allowed by the currently accepted policy.
此分支的 required:schema, policy_id, account_id, version, supersedes_id, trust_domain, issued_at, signature_proof, methods
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[66] · ?
if · if · object
此分支的 required:kind
const "ak.profile.create""ak.profile.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_create_payload
Initial actor profile payload. payload.object is the closed authoring region of actor-profile.schema.json, not the materialized object; see that definition for which members the reducer produces and why.
此分支的 required:object
分支必填 object · object · $ref ./actor-profile.schema.json#/$defs/actor_profile_definition
Closed Profile owner: ordinary principal_id branch or Realm actor_id branch, mutually exclusive. Realm owners are exact full actors and may not carry Account handles or Agent/accountability fields. Profile identity is Event-derived and owner/actor_kind are create-locked.
此分支的 required:actor_kind, display_name
?此分支的 required:principal_id
oneOf · oneOf[1] · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)Closed Actor classification. agent is reserved exclusively for a controller-provisioned Agent; Applet-created or Applet-hosted automation uses bot; Ghost Actor is provenance rather than an actor_kind and uses integration for an external account/integration mirror or bot for an external bot mirror. MUST NOT include device: a device is an endpoint rather than an Actor principal. actor_kind alone grants no authority; authorization still requires the normative DID, provisioning/registration, Grant and Constraint evidence. See zh/models/actor.md.
"user" "organization" "team" "agent" "bot" "service" "integration"string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_128NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$string (arkret-canonical-handle) · format=arkret-canonical-handle · $ref string-profiles.schema.json#/$defs/canonical_handleCanonical <prepared-localpart>:<lowercase-A-label-domain> handle or realm alias. The prepared localpart maximum is 128 Unicode code points; the domain maximum is 253 ASCII octets.
^(?!ak:)[^\s:@/#?\\]+:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)+$string (arkret-agent-slug) · format=arkret-agent-slug · $ref string-profiles.schema.json#/$defs/agent_slugCanonical controller-scoped Agent Agent selector slug. Maximum 64 Unicode code points in prepared form.
^[^\s:@/#?\\]+$string^ak:blob:(?:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|(?:sha256|blake3):[0-9a-f]{64})$accountable_principal_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
profile_fields · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
encrypted_private_fields · object · $ref ./encrypted-envelope.schema.json
Closed recoverable application ciphertext. encryption_scheme selects the registered construction, content_type selects decrypted business content. No implicit standard-MLS or plaintext fallback.
此分支的 required:version, content_type, encryption_scheme, encryption_context, ciphertext
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[67] · ?
if · if · object
此分支的 required:kind
const "ak.profile.realm_override""ak.profile.realm_override"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/profile_realm_override_payload
Realm-scoped actor profile override payload for ak.profile.realm_override. actor_profile_id is the Actor Profile being overridden; target_realm_id is the Realm where the override applies. resolution, principal_id and actor_kind are forbidden here for the same reasons they are forbidden on the generic profile write surface -- a per-Realm override is still not a place to rebind identity; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, target_realm_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[6]
$ref #/$defs/patch · $ref #/$defs/patch?????$ref #/$defs/digest · $ref #/$defs/digestOptional guard over the folded current override: sha256 over RFC 8785 JCS of the display object obtained by applying every accepted assertion patch of this target in accepted commit order to {} ({} when there is none), zh/sync/current-state.md section 2. A mismatch rejects with zero writes.
allOf · allOf[68] · ?
if · if · object
此分支的 required:kind
const "ak.profile.update""ak.profile.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_update_payload
Actor Profile patch payload. resolution and every resolution.* descendant path are reducer-managed projections of the PCR resolution current state. principal_id and actor_kind are create-locked by ak.profile.create: zh/discovery/profiles-presence.md section 2.3 decides which principal a profile is for at create, and nothing said an update could not move it, so this surface could rebind a profile to another principal or retype a user as an agent. All three are forbidden here; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_id分支必填 patch · allOf[6]
$ref #/$defs/patch · $ref #/$defs/patch????allOf · allOf[5] · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$allOf · allOf[69] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.add""ak.reaction.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
?此分支的 required:encrypted_payload
?$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[70] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.remove""ak.reaction.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
?此分支的 required:encrypted_payload
?$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[71] · ?
if · if · object
此分支的 required:kind
const "ak.read_cursor.advance""ak.read_cursor.advance"then · then · object
payload · object · $ref ./read-cursor.schema.json
Actor-private multi-device read cursor. Stored in encrypted account data or actor-private stream; NEVER published into a shared Realm Event history. Bound to (actor_id, realm_id, read_scope, position, HLC, device_id) per zh/discovery/read-receipts.md §6.6. Multi-device merge is causal-first per §6.5: the position that causally dominates wins regardless of HLC; HLC max decides only causally concurrent positions, and device_id only breaks equal HLCs. The object carries NO typed id and NO update timestamp. A cursor is never updated in place: its identity is the (actor_id, realm_id, read_scope) tuple, each advance is a freshly authored ak.read_cursor.advance Event (event-kind-registry id_source=not_an_object_id), and the time of that update is that Event envelope created_at. There is no read_cursor typed ID kind, no id-addressed read surface, and capability selectors address read cursors only as read_cursor:<realm>:*. Derived views that need a time (read-cursor-operations.schema.json#/$defs/read_marker_response_body, the ak.read_cursor.update device-message content ak.schema.read_cursor_update.v1) take updated_at from the winning advance envelope.
此分支的 required:schema, actor_id, device_id, realm_id, read_scope, position
const "ak.schema.read_cursor.v1""ak.schema.read_cursor.v1"分支必填 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringOriginating device. Required for multi-device convergence: when two devices race on the same (actor_id, realm_id, read_scope) the receiver first picks the later position when both position Events are committed on the same CommitStreamRef; only when neither dominates (different streams or the same Event) does it pick the greater HLC, and device_id provides a deterministic actor_id-scoped tiebreaker when those HLCs are equal. device_id MUST NOT be used to select a position that another position dominates.
^ak:device:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/read_scope · $ref #/$defs/read_scope$ref #/$defs/position · $ref #/$defs/positionallOf · allOf[72] · ?
if · if · object
此分支的 required:kind
const "ak.realm.alias""ak.realm.alias"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/realm_alias_payload
Closed payload for ak.realm.alias, the ONLY wire carrier of a Realm alias. A declaration writes the complete canonical alias; {tombstone:true} is a durable value tombstone that removes the alias from effective resolution without erasing the current state history. realm-genesis.schema.json and realm-profile.schema.json are closed and have no alias property, and ak.realm.create / ak.realm.profile payloads MUST NOT carry one.
$ref #/$defs/realm_alias_declaration · $ref #/$defs/realm_alias_declaration$ref #/$defs/realm_alias_tombstone · $ref #/$defs/realm_alias_tombstoneallOf · allOf[73] · ?
if · if · object
此分支的 required:kind
const "ak.realm.archive""ak.realm.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[74] · ?
if · if · object
此分支的 required:kind
const "ak.realm.asset_privacy_policy""ak.realm.asset_privacy_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_asset_privacy_policy_payload
Closed whole-value payload for ak.realm.asset_privacy_policy.
此分支的 required:value
分支必填 value · object
string (enum)"direct" "provider_proxy" "ohttp_relay" "client_mirror"allowed_modes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
booleanfalseupload_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
download_proxy_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
ohttp_gateway_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
max_plaintext_metadata · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
booleanallOf · allOf[75] · ?
if · if · object
此分支的 required:kind
const "ak.realm.authority.reset""ak.realm.authority.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_authority_reset_payload
ak.realm.authority.reset — invalidate every capability grant that descends from this Realm's authority root in one accepted Event. It increments authority_generation only: controller_actor_id and controller_epoch are preserved verbatim, so the reset is not a controller change and never moves the root. Every realm_root grant ref carries the generation it was issued under, so advancing the generation is exactly what makes a whole delegated authority tree stop evaluating; ak.realm.owner.transfer preserves the generation and therefore leaves every child grant valid. The current controller is the only possible author: the compare-and-set below requires the frozen pre-state digest, so this is a deliberate act by the holder of root control, never an automatic takeover of a lost authority.
此分支的 required:realm_id, expected_state_digest
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite. The successor generation is uniquely computed from the pre-state this digest freezes, so no counter is carried on the wire.
^sha256:[0-9a-f]{64}$allOf · allOf[76] · ?
if · if · object
此分支的 required:kind
const "ak.realm.create""ak.realm.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_create_payload
Minimal identity and security-root payload for ak.realm.create. User-visible, mutable, policy and reducer-derived Realm state is carried only by registered bootstrap facets. Every genesis, including Principal Control Realm and Agent PCR, requires a canonical 32-octet genesis_salt.
此分支的 required:object
分支必填 object · object · $ref ./realm-genesis.schema.json
Human PCR accepted registration genesis binds the complete Account and its account Station permanently under ak.profile.principal_control_realm.v1 pcr_governance_policy. A Human genesis governor mismatch, authority transition or foreign current governor rejects without effects; provenance is independently verified and is not a caller-supplied flag. Other proven subject branches retain their existing rules.
此分支的 required:schema, purpose, genesis_salt, trust_domain, security_class, governance_station_id, initial_join_rule, initial_history_access, initial_encryption_backup_strategy, initial_discoverability
allOf · allOf[0] · ?
Only a Human principal_control Event may carry the descriptor. Other purposes forbid it here; the enclosing Event requires it exactly for the Human executor-absent branch and forbids it for delegated Organization genesis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Only identity-control Realm genesis carries initial_resolution, and every such genesis carries it. Collaboration/direct-conversation Realms MUST omit it.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
Human Principal Control Realm genesis uses the independently closed human-principal DID method set.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[3] · ?
Agent PCR genesis commits the already accepted did:webvh inception head. The later PCR service binding update is continuous from this head and does not participate in the create Event preimage.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.realm_genesis.v1""ak.schema.realm_genesis.v1"string (enum)"collaboration" "direct_conversation" "principal_control" "agent_control"stringCanonical unpadded Base64URL encoding of exactly 32 CSPRNG octets. It distinguishes event-derived creation intents and has no replay, ordering, authorization, freshness, or winner semantics.
^[A-Za-z0-9_-]{43}$$ref #/$defs/founding_device_descriptor · $ref #/$defs/founding_device_descriptorHuman Principal Control Realm genesis only. The Human pcr_genesis_unit requires it; delegated Organization, Agent and business Realm genesis MUST omit it. Payload-only validation cannot distinguish Human and Organization principal_control: the enclosing Event executor branch and native unit enforce the exact requirement.
initial_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./realm.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string (enum) · $ref ./realm.schema.json#/properties/security_classOptional security class. 'high_assurance' forbids federation_policy=open and SHOULD use stricter resolver/E2EE/audit defaults. Omitted = 'standard'.
"standard" "high_assurance"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum) · $ref ./realm.schema.json#/properties/default_join_rule"public" "invite" "knock" "restricted" "knock_restricted" "closed"string (enum) · $ref ./realm.schema.json#/properties/history_accessScope-local authorized historical range; both values are supported by recoverable application encryption. Same Actor endpoint replacement preserves its original authorized floor.
"since_join" "all_history_for_current_members"const "ak.encryption_backup.epoch_content_roots.v1" · $ref ./content-encryption.schema.json#/$defs/encryption_backup_strategy"ak.encryption_backup.epoch_content_roots.v1"string (enum) · $ref ./realm.schema.json#/properties/default_discoverability"public" "listed" "restricted" "unlisted" "invite_only" "secret"allOf · allOf[77] · ?
if · if · object
此分支的 required:kind
const "ak.realm.destroy""ak.realm.destroy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_destroy_payload
此分支的 required:reason
stringstring · $ref ./realm.schema.json#/properties/retention_policy_id^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$booleantrueallOf · allOf[78] · ?
if · if · object
此分支的 required:kind
const "ak.realm.discovery""ak.realm.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_discovery_payload
Closed whole-value payload for ak.realm.discovery. Preview field selection is owned exclusively by ak.realm.preview_policy.
此分支的 required:value
分支必填 value · object
此分支的 required:discoverability
string (enum)"public" "listed" "restricted" "unlisted" "invite_only" "secret"directory_visibility · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allowed_discoverers · array<object>
…recursion truncated at depth 8; see source schema for full shape
directory_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
anti_enumeration · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[79] · ?
if · if · object
此分支的 required:kind
const "ak.realm.freeze""ak.realm.freeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[80] · ?
if · if · object
此分支的 required:kind
const "ak.realm.governance_station.change""ak.realm.governance_station.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_governance_station_change_payload
Admission requires verified transfer eligibility under the PCR profile pcr_governance_policy; Human PCR rejects without effects even with valid signatures. The payload has no subject-role override.
此分支的 required:expected_governance_generation, expected_realm_stream_commit_id, new_governance_station_id
string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$allOf · allOf[81] · ?
if · if · object
此分支的 required:kind
const "ak.realm.history_access""ak.realm.history_access"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/history_access_payload
Realm history-access FSM transition. The atomic create unit uses from=null exactly once and chooses either closed initial state. After create the only legal state-changing edge is all_history_for_current_members to since_join; widening and every other new transition are permanently rejected. Exact same-transition/same-basis replay is an idempotent duplicate/no-op.
此分支的 required:from, to
分支必填 from · oneOf[2]
null$ref #/$defs/history_access_value · $ref #/$defs/history_access_value$ref #/$defs/history_access_value · $ref #/$defs/history_access_valuestringallOf · allOf[82] · ?
if · if · object
此分支的 required:kind
const "ak.realm.join_rule""ak.realm.join_rule"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_join_rule_payload
Closed whole-value payload for ak.realm.join_rule.
此分支的 required:value
string (enum)"public" "invite" "knock" "restricted" "knock_restricted" "closed"allOf · allOf[83] · ?
if · if · object
此分支的 required:kind
const "ak.realm.link""ak.realm.link"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_link_payload
此分支的 required:target_realm_id, link_kind, status
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string (enum)"governed_by" "discoverable_from" "join_gate_from" "confidential_extension_of" "mirror_of" "split_from" "replaces"$ref #/$defs/hierarchy_link_status · $ref #/$defs/hierarchy_link_statusstring (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/digest · $ref #/$defs/digestevidence_refs · array<$ref #/$defs/event_ref>
$ref #/$defs/event_ref · $ref #/$defs/event_refstringallOf · allOf[84] · ?
if · if · object
此分支的 required:kind
const "ak.realm.media_service""ak.realm.media_service"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_media_service_payload
此分支的 required:value
分支必填 value · object
此分支的 required:service_id, foci
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$modes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
stringICE / TURN credential endpoint. Part of the section 2.1 integrity binding.
^https://[^\s]+$分支必填 foci · array<$ref #/$defs/media_service_focus>
Non-empty multi-focus list. A descriptor carrying a single flat sfu_endpoint, or no foci at all, MUST fail closed with media_service_foci_required; a server MUST NOT normalize or infer one in the realtime path.
…recursion truncated at depth 8; see source schema for full shape
string (enum)"p2p" "sfu" "mcu"allowed_call_modes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
booleanallOf · allOf[85] · ?
if · if · object
此分支的 required:kind
const "ak.realm.organization""ak.realm.organization"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_organization_payload
Organization-side endorsement or revocation for a Realm relationship. Reducer validation MUST require realm_id to match the top-level Event.realm_id, organization_id to identify an Organization principal in accepted registration state, the Realm-side writer to hold ak.realm.admin, and authorization to verify against current organization DID control evidence or a delegated service whose purpose covers this relationship and control_scopes. The stable organization_id is not itself resolvable DID material.
此分支的 required:statement_id, realm_id, organization_id, relationship, status, control_scopes, issued_at, authorization
allOf · allOf[0] · ?
if · if · object
此分支的 required:status
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:revokes_statement_id
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idStable Organization principal identity that endorses, governs, sponsors, certifies, or revokes the Realm relationship. This did_core_id is bound to current Organization DID evidence through accepted registration/resolution state; it is not itself resolvable.
string (enum)Relationship being asserted or revoked for this organization and Realm.
"owner" "governance" "sponsor" "directory_certifier"string (enum)"active" "revoked"分支必填 control_scopes · array<string (enum)>
Machine-readable scopes covered by the organization's consent. A scope here is an endorsement boundary only; actual Realm control still requires the corresponding Realm policy, governance-Station authority, capability, or service-binding Event.
string (enum)"official_badge" "realm_admin" "realm_authority" "moderation_policy" "retention_policy" "directory_listing" "plaintext_visible_service"$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampAdministrative review/renewal hint only. It does not auto-transition account status; a later AccountStatusRecord is required and remains subject to sequence and terminal rules.
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refOptional DID-document delegation URL, policy object, governance decision, or attestation reference used to evaluate the statement.
分支必填 authorization · object
Organization-side authorization proof. This is independent of the Realm-side ak.realm.admin authorization required to write the event into Realm history.
此分支的 required:issuer_id, issuer_role, verification_method, signed_at, proof
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idStable Organization or delegated-service principal identity that issued this statement. The issuer_id is a did_core_id; verification_method and accepted registration/delegation state carry the DID evidence required to verify the issuer.
string (enum)"organization" "governance_service" "account_authority" "threshold_quorum"$ref #/$defs/verification_method · $ref #/$defs/verification_method$ref #/$defs/object_ref · $ref #/$defs/object_refRequired when issuer_role is governance_service or account_authority. It MUST resolve to a live organization DID delegation whose purpose covers ak.realm.organization and the requested relationship/control_scopes.
executed_by · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/signature_material · $ref #/$defs/signature_materialSignature, threshold transcript, or governance-service attestation over the canonical organization statement binding statement_id, realm_id, organization_id, relationship, status, control_scopes, issued_at, validity window, and statement replacement/revocation fields.
allOf · allOf[86] · ?
if · if · object
此分支的 required:kind
const "ak.realm.owner.transfer""ak.realm.owner.transfer"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_owner_transfer_payload
ak.realm.owner.transfer — rotate the controller binding of the Realm authority-root current state. It changes controller_actor_id and increments controller_epoch only: authority_generation, the current state ref and every existing grant are untouched, so the whole authority tree issued by the previous controller stays valid. This is not a reparent — the root never moves.
此分支的 required:realm_id, expected_state_digest, patch, successor_acceptance
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite.
^sha256:[0-9a-f]{64}$分支必填 patch · object
The authority-root member selected by the author. The reducer also increments controller_epoch from the CAS-frozen pre-state; every other member is preserved verbatim.
此分支的 required:controller_actor_id
分支必填 controller_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 successor_acceptance · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_owner_transfer_acceptance_signature
Independent successor acceptance over realm_owner_transfer_acceptance_transcript, never over itself or the final EventId. The current controller then signs the complete Event including this carrier. The receiver independently resolves the patch-selected successor current accepted Device key and limited key-purpose ceiling; outer author Device evidence is insufficient.
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[87] · ?
if · if · object
此分支的 required:kind
const "ak.realm.plaintext_visible_services""ak.realm.plaintext_visible_services"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/plaintext_visible_services_payload
此分支的 required:services
分支必填 services · array<object>
items · object
此分支的 required:service_id, service_kind, purposes, data_classes, visibility
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[88] · ?
if · if · object
此分支的 required:kind
const "ak.realm.policy_bundle""ak.realm.policy_bundle"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_policy_bundle_payload
Enabled Realm policy component set, written wholesale into the realm_policy_bundle commit-ordered projection current state: every revision restates the complete enabled component set and the Realm object's derived policy fields re-derive from the latest accepted bundle. policy_revision starts at 1 and every later authoritative reducer admission MUST equal previous.policy_revision + 1: rollback uses top-level policy_revision_rollback; a forward gap uses failed_precondition with reason_code policy_revision_gap and produces zero current-state writes. policy_revision MUST cover policy_revision (see contract-registry event-kind row and models/realm-and-space.md section 2.3).
此分支的 required:policy_revision
integerStrictly monotonic bundle revision; rollback or gaps are rejected.
string (enum) · $ref ./realm.schema.json#/properties/federation_policyThe sole producer carrier of the effective Realm federation policy. High-assurance Realm reducers require closed, restricted, or quarantine and reject open.
"open" "restricted" "closed" "quarantine"booleanWhether a media service listed in plaintext_visible_services may decrypt call media. Defaults to false when absent. It is one of three conditions that MUST all hold (ak.realm.media_service declaration + plaintext_visible_services grant + this toggle). Because it changes who may receive media keys, it enters the media scope key_access_revision; a generation that does not cover the current value cannot authorize media decryption. See crypto-media/media-service-binding.md section 8.2.
$ref #/$defs/join_policy_component · $ref #/$defs/join_policy_componenthandle_issuer_policies · array<object>
Ordered Realm handle-issuer trust policy used by primary-handle resolution. Earlier entries have higher tie-break priority; every issuer is domain-scoped.
items · object
此分支的 required:issuer_id, authorized_handle_domains, issuer_class
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
agent_participation · object · $ref ./realm.schema.json#/properties/agent_participation
Realm five-bit Agent participation ceiling. It may only tighten the target-service safety ceiling and is itself the parent of Strand ceilings.
此分支的 required:agent
分支必填 agent · object · $ref ./principal-operations.schema.json#/$defs/participation_bits
此分支的 required:message_creation_allowed, reaction_addition_allowed, reaction_removal_allowed, third_party_mention_delivery_allowed, acting_on_behalf_allowed
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
account_deactivation · object
此分支的 required:member_action
string (enum)How this Realm disposes of a principal's membership when the account enters deactivated. Defaults to leave_self_initiated when the component is absent. Unrecognized values fail closed to retain_membership with a policy parse warning and MUST NOT silently fall back to the default. The single authority for the closed enum and its disposition semantics is identity/account-lifecycle.md section 7.1.
"leave_self_initiated" "retain_membership" "leave_all"integer · $ref ./realm.schema.json#/properties/max_authority_lifetime_msMaximum fixed child-chain lifetime only for actions explicitly required to be finite by their risk/constraint contract. Defaults to 24 hours for those actions. Each explicit finite root authorization uses the accepting RealmCommit.committed_at plus its effective lifetime; finite parent source windows cannot be renewed by redelegation. It does not impose expiry on unbounded ordinary chat/read/organizer authorization.
86400000preauth · object
此分支的 required:consent_required
booleanWhen true, every invite into this Realm MUST pass the holder consent admission gate in identity/consent-model.md section 6.1 before the invite Event is submitted. It MUST NOT be read as permission for a cross-Realm authority-commit precondition.
invite_link_limits · object · $ref ./realm-invite-link.schema.json#/$defs/limits
此分支的 required:max_lifetime_seconds, max_use_count_per_link
integer2592000integer1000allOf · allOf[89] · ?
if · if · object
此分支的 required:kind
const "ak.realm.preview_policy""ak.realm.preview_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/preview_policy_payload
此分支的 required:value
分支必填 value · object
此分支的 required:mode, audiences, fields
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"none" "directory_card" "stripped_state" "history_stub" "history_snippet"分支必填 audiences · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
分支必填 fields · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
history · object
此分支的 required:range, content
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
token · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[90] · ?
if · if · object
此分支的 required:kind
const "ak.realm.profile""ak.realm.profile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_profile_payload
此分支的 required:schema, title
const "ak.schema.realm_profile.v1""ak.schema.realm_profile.v1"string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref ./string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$string (arkret-short-text) · format=arkret-short-text · $ref ./string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$allOf · allOf[91] · ?
if · if · object
此分支的 required:kind
const "ak.scope.read_receipt_policy""ak.scope.read_receipt_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/read_receipt_policy_payload
string (enum)"required" "optional" "disabled"string (enum)"public" "members" "private"$ref #/$defs/read_receipt_policy_scope_ref · $ref #/$defs/read_receipt_policy_scope_refallOf · allOf[92] · ?
if · if · object
此分支的 required:kind
const "ak.realm.restore""ak.realm.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[93] · ?
if · if · object
此分支的 required:kind
const "ak.realm.schema""ak.realm.schema"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_schema_payload
Closed whole-value payload for ak.realm.schema. value.schema_refs is the complete replacement set of activated schema ids; it is not merged with any previous set. Every member MUST be a registered ak.schema.*.vN id, and the core member ak.schema.realm.v1 MUST be present in every update, so the set can never drop self-contained Realm validation. The Realm structural role is carried only by the signed ak.schema.realm_genesis.v1 purpose and is not writable here; policy and deployment profiles have their own carriers.
此分支的 required:value
分支必填 value · object
此分支的 required:schema_refs
分支必填 schema_refs · array<string>
Complete replacement set of activated schema ids. Members MUST be registered ak.schema.*.vN ids; unknown or unregistered ids fail closed. ak.schema.realm.v1 MUST be a member of every accepted value.
…recursion truncated at depth 8; see source schema for full shape
objectallOf · allOf[94] · ?
if · if · object
此分支的 required:kind
const "ak.realm.search_policy""ak.realm.search_policy"then · then · object
payload · object · $ref ./search-service.schema.json#/$defs/search_policy
此分支的 required:enabled_profile_refs, allowed_service_ids, data_classes
分支必填 enabled_profile_refs · array<string (enum)>
string (enum)"ak.profile.search.client_index.v1" "ak.profile.search.blind_index.v1" "ak.profile.search.forward_private.v1"分支必填 allowed_service_ids · array<$ref ./common-ids.schema.json#/$defs/did_core_id>
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 data_classes · array<string (enum)>
string (enum)"encrypted_index" "blind_tokens" "plaintext" "reversible_summary"integerstring (enum)"fail_closed" "drop_stale"string (enum)Machine-readable search leakage class. ak.profile.search.blind_index.v1 uses deterministic_token; ak.profile.search.forward_private.v1 requires forward_private; access_hiding is reserved for explicit PIR/ORAM-backed profiles.
"deterministic_token" "forward_private" "access_hiding""deterministic_token"integerMaximum intended interval between search token generations for profiles that rotate index keys or OPRF blinds.
allOf · allOf[95] · ?
if · if · object
此分支的 required:kind
const "ak.realm.set_default_strand""ak.realm.set_default_strand"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_set_default_strand_payload
Payload for ak.realm.set_default_strand. Sets / changes the Realm's authoritative default discussion Strand pointer. Reducer projects strand_id into the Realm projection default_strand_id (single authoritative pointer; avoids multi-default dirty state). Reducer MUST verify strand_id references a projected, non-tombstoned Strand in this Realm; a dangling reference MUST be rejected with failed_precondition. The Strand projection is_default is a derived marker (strand_id == realm.default_strand_id), never independent storage. expected_default_strand_id compiles to a current state expected_commit_id precondition for optimistic concurrency (CAS). Absent and explicit null are normalized to the same null value before comparison, so omission asserts expected_commit_id null and is only valid while the current state is still in its initial no-default state; once a default is set the field MUST be present, otherwise the reducer MUST reject with failed_precondition and MUST NOT overwrite unconditionally.
此分支的 required:realm_id, strand_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idexpected_default_strand_id · oneOf[2]
Optimistic-concurrency guard compared as a whole value after absent and explicit null are normalized to null. The reducer accepts the write only if the Realm's current default_strand_id equals this value (null asserts no default is currently set). Omission therefore asserts expected_commit_id null and MUST fail once a default exists. Mismatch MUST be rejected (failed_precondition).
$ref #/$defs/strand_id · $ref #/$defs/strand_idnullstringallOf · allOf[96] · ?
if · if · object
此分支的 required:kind
const "ak.realm.tombstone""ak.realm.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_tombstone_payload
此分支的 required:reason, successor_realm_id
stringstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[97] · ?
if · if · object
此分支的 required:kind
const "ak.realm.unfreeze""ak.realm.unfreeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[98] · ?
if · if · object
此分支的 required:kind
const "ak.redaction""ak.redaction"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/cross_object_redaction_payload
Payload for the cross-object ak.redaction. Shares the object_redaction current state family with ak.message.redact but carries a target set that mechanically excludes Message: message_id is not a member and target_ref cannot spell ak:message:. target_ref is the single target carrier; its lexical space covers both object targets and ak:event: targets, so the current state subject is well defined without a coalesce.
此分支的 required:target_ref
$ref #/$defs/cross_object_redaction_target_ref · $ref #/$defs/cross_object_redaction_target_refstringpreserve · array<string>
stringallOf · allOf[99] · ?
if · if · object
此分支的 required:kind
const "ak.relation.create""ak.relation.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_create_payload
Create or replace the Relation current value at one registered primary conflict domain. primary_conflict_domain is the signed current-state subject and MUST exactly match payload.relation's registered relation_kind/from_ref/to_ref shape. payload.relation is the closed six-field relation_definition authoring region; its optional relation.rank is the only create-time rank carrier, and materialized Relation members are forbidden. expected_commit_id is null only when the domain has never been written; after a tombstone, a new event-derived RelationId MAY replace that tombstoned value only at its exact revision. An active current value cannot be replaced by create.
此分支的 required:primary_conflict_domain, expected_commit_id, relation
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"tuple" "from"stringThe current Relation's create-locked relation_kind. It MUST resolve to a directly writable relation-kind-registry.json shape whose registered primary_conflict_domain equals domain_kind; a derived_projection shape is rejected with schema_violation (reason=relation_kind_contains_derived / relation_kind_watches_derived).
$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpoint$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpointPresent exactly when domain_kind=tuple. A from domain already identifies the single current Relation for the from_ref, so carrying to_ref there would create a second spelling of the subject.
分支必填 expected_commit_id · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$null$ref #/$defs/relation_create_object · $ref #/$defs/relation_create_objectallOf · allOf[100] · ?
if · if · object
此分支的 required:kind
const "ak.relation.tombstone""ak.relation.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_tombstone_payload
Payload for ak.relation.tombstone. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. The transition is irreversible for that RelationId. When supplied, reason is retained on the Event and is not copied into the materialized Relation object.
此分支的 required:primary_conflict_domain, expected_commit_id, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"tuple" "from"stringThe current Relation's create-locked relation_kind. It MUST resolve to a directly writable relation-kind-registry.json shape whose registered primary_conflict_domain equals domain_kind; a derived_projection shape is rejected with schema_violation (reason=relation_kind_contains_derived / relation_kind_watches_derived).
$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpoint$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpointPresent exactly when domain_kind=tuple. A from domain already identifies the single current Relation for the from_ref, so carrying to_ref there would create a second spelling of the subject.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/relation_id · $ref #/$defs/relation_idstringallOf · allOf[101] · ?
if · if · object
此分支的 required:kind
const "ak.relation.update""ak.relation.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_update_payload
Relation patch payload. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. relation_kind/from_ref/to_ref are create-locked because they define the subject; changing them requires an explicit tombstone followed by create. effective_scope and every effective_scope.* descendant path remain reducer-managed.
此分支的 required:primary_conflict_domain, expected_commit_id, patch, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"tuple" "from"stringThe current Relation's create-locked relation_kind. It MUST resolve to a directly writable relation-kind-registry.json shape whose registered primary_conflict_domain equals domain_kind; a derived_projection shape is rejected with schema_violation (reason=relation_kind_contains_derived / relation_kind_watches_derived).
$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpoint$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpointPresent exactly when domain_kind=tuple. A from domain already identifies the single current Relation for the from_ref, so carrying to_ref there would create a second spelling of the subject.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[5]
$ref #/$defs/patch · $ref #/$defs/patch????$ref #/$defs/relation_id · $ref #/$defs/relation_idallOf · allOf[102] · ?
if · if · object
此分支的 required:kind
const "ak.rsvp.set""ak.rsvp.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/rsvp_set_payload
此分支的 required:event_ref, occurrence, entry
$ref #/$defs/strand_id · $ref #/$defs/strand_idCalendar event Strand id; encoded as a ak:strand: typed id.
分支必填 occurrence · oneOf[3]
JSON null for the whole series, or the canonical recurrence instance key: YYYY-MM-DD for all-day events and YYYY-MM-DDTHH:MM:SS[Zone] for timed events. The date component MUST be a real proleptic-Gregorian date, not merely match the digit pattern. The producer MUST canonicalize before signing; receivers MUST reject non-canonical keys instead of rewriting them.
nullstring (date) · format=date · $ref ./time.schema.json#/$defs/local_dateProleptic Gregorian calendar date with no time, offset, or zone. Not an absolute instant: it resolves to an instant only through an explicitly carried IANA time zone plus TZDB version. Shape validation by this pattern is supplemented by semantic date validation.
^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$string^[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]\[[A-Za-z][A-Za-z0-9_+-]*(?:/[A-Za-z0-9_+-]+)*\]$$ref #/$defs/rsvp_entry · $ref #/$defs/rsvp_entryallOf · allOf[103] · ?
if · if · object
此分支的 required:kind
const "ak.schema.define""ak.schema.define"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/schema_define_state_payload
Schema definition payload. value is a JSON Schema 2020-12 document validated by the executable ak.validator.json_schema_2020_12_definition.v1 profile; value.$id is the stable definition current state subject.
此分支的 required:value
分支必填 value · object
此分支的 required:$schema, $id
const "https://json-schema.org/draft/2020-12/schema""https://json-schema.org/draft/2020-12/schema"string^ak\.schema\.[a-z0-9_]+(?:\.[a-z0-9_]+)*\.v[0-9]+$allOf · allOf[104] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.deactivate""ak.self.agent.deactivate"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_deactivate_payload
Payload for the single terminal ak.self.agent.deactivate Event. The lifecycle current state is addressed only by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. At the accepted RealmCommit covering this Event, every verifier mechanically AND-gates all subordinate Agent runtime-key authorizations, sessions, pairing handles, capability grants, KeyPackages, presence and future submissions on lifecycle=active. Historical child Events remain auditable; explicit child revokes are not prerequisites and are reserved for targeted revocation while the Agent is non-terminal. The lifecycle state witness is sufficient transition evidence for every derived ineffective child.
此分支的 required:transition, previous_status, status_changed_at
const "deactivate""deactivate"string (enum)Controller lifecycle intent at deactivation time. Generic Agent status has only lifecycle, readiness and presence; pairing-poll runtime_state is operation-local and never appears here (key-management.md §3.6.1).
"active" "paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[105] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.pause""ak.self.agent.pause"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_pause_payload
Payload for ak.self.agent.pause. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject and moves from active to paused; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state; the reducer accepts the transition only under the accepted current authority-committed results.
此分支的 required:transition, previous_status, status_changed_at
const "pause""pause"const "active""active"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[106] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.resume""ak.self.agent.resume"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_resume_payload
Payload for ak.self.agent.resume. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state, and reducers re-check controller, agent, key, capability, Realm policy, and accountability grant against the accepted current authority-committed results before returning the agent to active. Sidecar desired membership is derived afterward and is not carried in this payload.
此分支的 required:transition, previous_status, status_changed_at
const "resume""resume"const "paused""paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[107] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.context.attach""ak.sidecar.context.attach"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_context_attach_payload
Controller-signed versioned attachment of a source Realm context to an existing native Sidecar. It creates no Strand or Relation protocol object.
此分支的 required:sidecar_id, source_context_ref, version
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$分支必填 source_context_ref · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:kind, strand_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, relation_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integer$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[108] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.create""ak.sidecar.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_create_payload
Controller-signed personal Sidecar creation in the Human PCR at its owning Station. Only the associated source project is carried in the payload.
此分支的 required:source_realm_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[109] · ?
if · if · object
此分支的 required:kind
const "ak.space.archive""ak.space.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[110] · ?
if · if · object
此分支的 required:kind
const "ak.space.create""ak.space.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_create_payload
Create payload uses the full Space object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance.
此分支的 required:object
分支必填 object · allOf[2]
allOf · allOf[0] · object · $ref ./space.schema.json
A structural grouping inside its Realm.
此分支的 required:schema, realm_id, kind, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
?allOf · allOf[111] · ?
if · if · object
此分支的 required:kind
const "ak.space.parent""ak.space.parent"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_parent_payload
Reparent one Space. All three members are required. parent_space_id is nullable and explicit null is the one spelling of "no parent" on this payload, so the space_parent register stays total and an omitted member can never mean the root by accident; the Space create object spells the same fact by absence and the genesis write normalizes it. expected_parent_space_id is the declared prior parent this producer read, not an optional compare-and-set: zh/models/realm-and-space.md section 3.5 registers it as a pre_state requirement on the space_parent family, and making it optional would give one Event kind two admission semantics selected by a member's presence.
此分支的 required:space_id, parent_space_id, expected_parent_space_id
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 parent_space_id · oneOf[2]
$ref #/$defs/space_id · $ref #/$defs/space_idnull分支必填 expected_parent_space_id · oneOf[2]
$ref #/$defs/space_id · $ref #/$defs/space_idnullallOf · allOf[112] · ?
if · if · object
此分支的 required:kind
const "ak.space.restore""ak.space.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[113] · ?
if · if · object
此分支的 required:kind
const "ak.space.tombstone""ak.space.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_object_tombstone_payload
Payload for ak.space.tombstone. Realm tombstone uses its separate Realm lifecycle payload; Space tombstone targets payload.space_id.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/space_id · $ref #/$defs/space_id$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[114] · ?
if · if · object
此分支的 required:kind
const "ak.space.update""ak.space.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_patch_payload
Space metadata update. The patch names at least one registered metadata path.
此分支的 required:space_id, patch
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 patch · allOf[8]
$ref #/$defs/patch · $ref #/$defs/patch???????$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[115] · ?
if · if · object
此分支的 required:kind
const "ak.strand.archive""ak.strand.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[116] · ?
if · if · object
此分支的 required:kind
const "ak.strand.create""ak.strand.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_create_payload
Create payload uses the Strand object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.strand.stage.set.
此分支的 required:object
分支必填 object · allOf[4]
allOf · allOf[0] · object · $ref ./strand.schema.json
此分支的 required:schema, realm_id, tracks, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
???allOf · allOf[117] · ?
if · if · object
此分支的 required:kind
const "ak.strand.move""ak.strand.move"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_move_payload
此分支的 required:board_space_id, strand_id, target_space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_idBoard Space that owns the position edge; deduplication key (board_space_id, strand_id) MUST be unique among active edges.
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idSource List Space (optional; reducer infers from current active edge if omitted).
$ref #/$defs/list_space_id · $ref #/$defs/list_space_idTarget List Space after move. This is the ONLY payload-level field for the destination; the reducer compiles it into the current-value projection value as 'list_space_id' on the current state at ak:result:strand_position:<board_space_id>:<strand_id>. Writers MUST NOT put 'list_space_id' directly on the ak.strand.move payload (additionalProperties=false enforces this) — there is exactly one destination input field on the wire.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
$ref #/$defs/list_space_id · $ref #/$defs/list_space_id$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[118] · ?
if · if · object
此分支的 required:kind
const "ak.strand.reorder""ak.strand.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_reorder_payload
此分支的 required:board_space_id, strand_id, space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_id$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idList Space within which the reorder happens.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
$ref #/$defs/list_space_id · $ref #/$defs/list_space_id$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[119] · ?
if · if · object
此分支的 required:kind
const "ak.strand.restore""ak.strand.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[120] · ?
if · if · object
此分支的 required:kind
const "ak.strand.stage.set""ak.strand.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_stage_set_payload
Payload class for ak.strand.stage.set. Mutates Strand.stage / Strand.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/strand-and-message.md §3.2.
此分支的 required:strand_id, stage
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[121] · ?
if · if · object
此分支的 required:kind
const "ak.strand.tracks.update""ak.strand.tracks.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_tracks_update_payload
Closed configuration-only payload for ak.strand.tracks.update; content writes use ak.strand.update.
此分支的 required:strand_id, patch
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[122] · ?
if · if · object
此分支的 required:kind
const "ak.strand.update""ak.strand.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_patch_payload
Payload class for ak.strand.update. Patches ordinary Strand fields on the Strand identified by strand_id.
此分支的 required:strand_id, patch
allOf · allOf[0] · ?
if · if · object
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:expected_state_digest
$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 patch · $ref #/$defs/patch · $ref #/$defs/patch
Only the two exact Synthesis content paths may reach tracks; replacing tracks, a track entry or configuration is forbidden.
topic · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[123] · ?
if · if · object
此分支的 required:kind
const "ak.strand.watch.set""ak.strand.watch.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_watch_set_payload
Payload for ak.strand.watch.set. Writes the (strand_id, watcher_actor_id) watch current state. The new current state value is computed from payload.level + payload.level_public: when level is null the effect is set null (clear, equivalent to mentions_only); when level is a string the effect is set { level, level_public? }. Reducer invariants: (1) watcher_actor_id MUST equal envelope.actor_id unless writer holds ak.strand.watch.set.others; (2) when watcher_actor_id != envelope.actor_id (.others write), level MUST be one of {mentions_only, participating, all} and level_public MUST be omitted or false — writing muted or level_public=true on behalf of another actor MUST failed_precondition; (3) .others writes MUST have exactly one ak.audit.accessed Event as the second slot of the registered audit_paired_event unit pointing to the watch Event with semantic_refs[role=audit_pair], and its payload access_kind=watch_set_others must bind writer_actor_id, target_actor_id, target_ref=strand_id and paired_event_id. The Station validates current watch state and atomically commits both Events; no caller-authored result head is carried. See models/strand-and-message.md §8.4.
此分支的 required:strand_id, watcher_actor_id, level
allOf · allOf[0] · ?
level_public MUST be omitted when level is null (clearing a current state does not carry a public-level setting).
if · if · object
此分支的 required:level
…recursion truncated at depth 8; see source schema for full shape
?$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 watcher_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
enum (5)Watch level. Required. null clears the current state (equivalent to mentions_only / no record); in that case level_public MUST be omitted.
"mentions_only" "participating" "all" "muted" nullbooleanOpt-in publication of the level value to non-self projection consumers. Default false. muted MUST NOT be exposed even with level_public=true. MUST be omitted when level is null.
expected_value · oneOf[2]
Ordinary watch predicate evaluated only against the signed causal basis. null asserts an unwritten basis; a concrete value must match the selected exact base head. It does not serialize independent offline writes or pick a winner.
nulloneOf · oneOf[1] · object
此分支的 required:level
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[124] · ?
if · if · object
此分支的 required:kind
const "ak.view.create""ak.view.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_create_payload
Payload for ak.view.create. zh/models/views.md section 3.2 gives the three View kinds three different author loads over one current state family; one shared def with an anyOf of the three branches and no event_kind discriminator admitted every shape on every kind -- an ak.view.update could carry an unconstrained definition object, and an ak.view.create could carry {view_id, patch}. Each kind now binds exactly one closed payload.
此分支的 required:object
分支必填 object · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
$ref #/$defs/kind_configuration_exclusivity · $ref #/$defs/kind_configuration_exclusivity$ref #/properties/kind · $ref #/properties/kind$ref #/properties/renderer · $ref #/properties/renderer$ref #/properties/title · $ref #/properties/title$ref #/properties/visibility · $ref #/properties/visibility$ref #/properties/query · $ref #/properties/query$ref #/properties/visible_fields · $ref #/properties/visible_fields$ref #/properties/layout · $ref #/properties/layout$ref #/properties/collection · $ref #/properties/collection$ref #/properties/timeline · $ref #/properties/timeline$ref #/properties/graph · $ref #/properties/graph$ref #/properties/document · $ref #/properties/document$ref #/properties/dashboard · $ref #/properties/dashboardanyallOf · allOf[125] · ?
if · if · object
此分支的 required:kind
const "ak.view.reconcile""ak.view.reconcile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_reconcile_payload
Payload for ak.view.reconcile. view_id is the view current state subject -- zh/models/views.md section 3.2 is normative that all three View kinds write ONE family, so the family is named for the View, not for this payload. definition is the complete author-editable definition (view.schema.json #/$defs/view_definition), not an author-overwritable copy of the materialized object: identity, Realm, schema, creation metadata and lifecycle state are retained from the target pre-state, and update provenance is derived from this Event. Reconcile is neither create object snapshot nor update patch: it replaces the definition wholesale.
此分支的 required:view_id, definition
string^ak:view:[A-Za-z0-9_-]{44}$分支必填 definition · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
$ref #/$defs/kind_configuration_exclusivity · $ref #/$defs/kind_configuration_exclusivity$ref #/properties/kind · $ref #/properties/kind$ref #/properties/renderer · $ref #/properties/renderer$ref #/properties/title · $ref #/properties/title$ref #/properties/visibility · $ref #/properties/visibility$ref #/properties/query · $ref #/properties/query$ref #/properties/visible_fields · $ref #/properties/visible_fields$ref #/properties/layout · $ref #/properties/layout$ref #/properties/collection · $ref #/properties/collection$ref #/properties/timeline · $ref #/properties/timeline$ref #/properties/graph · $ref #/properties/graph$ref #/properties/document · $ref #/properties/document$ref #/properties/dashboard · $ref #/properties/dashboardanyallOf · allOf[126] · ?
if · if · object
此分支的 required:kind
const "ak.view.update""ak.view.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_update_payload
Payload for ak.view.update: the incremental patch surface, and the only shared-View removal path (zh/models/views.md section 3.1). It MUST NOT carry an object snapshot or a whole definition -- those are create and reconcile -- and view_id is required because it is the current state subject.
此分支的 required:view_id, patch
string^ak:view:[A-Za-z0-9_-]{44}$$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestSigned frozen pre-state guard. It names the exact committed current value this patch was authored against: the single value the target current state holds at the position the write is applied, per the accepted order of its own stream. A mismatch fails the Event; it MUST NOT be resolved by choosing an older historical candidate that does match. contract-registry.json registers nothing for it because the v1 state_projection grammar has no expected_prestate member, so it is an admission rule beside the projection rather than part of it.
allOf · allOf[127] · ?
if · if · object
此分支的 required:kind
const "ak.agent.interaction.set""ak.agent.interaction.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_interaction_set_payload
Realm-scoped controller-only Agent interaction mode. Signed plaintext control, not membership or private participation selection. CAS and authority admission are defined in zh/models/agent-interaction.md section 1.
此分支的 required:agent_account_id, controller_account_id, interaction_mode
分支必填 agent_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)"private" "public"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$scope_ref · object
const "realm""realm"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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[128] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_create_payload
此分支的 required:schema, actor_id, applet_id, service_id, actor_role, request_id, creation_scope, registration_ref, creation_authorization_ref, initial_resolution, method_history_evidence, control_method_kid, expires_at, control_signature, recovery
allOf · allOf[0] · ?
if · if · object
此分支的 required:actor_role
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:external_ref
?const "ak.schema.realm_actor_create.v1""ak.schema.realm_actor_create.v1"分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)"bot" "ghost"string^[A-Za-z0-9_-]{22,128}$分支必填 creation_scope · oneOf[1] · $ref ./applet-install-plan.schema.json#/$defs/effective_scope
oneOf · oneOf[0] · object
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 initial_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$$ref #/$defs/ghost_external_tuple · $ref #/$defs/ghost_external_tuple分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery · object
此分支的 required:kind, enabled, content_backup_recipient
const "manager_native""manager_native"const truetrue分支必填 content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[129] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.update""ak.realm.actor.control.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_update_payload
此分支的 required:expected_commit_id, next_resolution, method_history_evidence, next_control_method_kid, next_method_signature
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$分支必填 next_method_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_control_acceptance_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[130] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.status.set""ak.realm.actor.status.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_status_set_payload
此分支的 required:target_actor_id, gate, expected_commit_id, state
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string (enum)"governance" "owner"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string (enum)"active" "paused" "retired"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[131] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.devices.reset""ak.realm.actor.devices.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_devices_reset_payload
此分支的 required:expected_commit_id, expected_generation, new_generation
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[132] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.manager.change""ak.realm.actor.manager.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_manager_change_payload
The next archive recipient MUST be fresh and independent. Before signing the new Service acceptance, the new manager MUST durably import all retained-root old recipient private keys, original declarations and complete custody indices covered by content_backup_handover_digest. Digest equality or an acceptance signature alone is not physical custody. Switching preserves owner paused until every required scope has a fresh series and complete retained coverage. content_backup_inventory_digest MUST match the complete physically retained all-scope archive inventory rederived under the same paused full-Actor namespace lock at acceptance. Native first-PUT, series and recipient changes increment the persisted archive_revision, while identical replay does not. The private handover manifest includes that exact inventory digest; neither local ACK journal nor new Service self-reported count proves completeness.
此分支的 required:expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, new_service_id, new_registration_ref, management_authorization_ref, new_service_signature, next_resolution, method_history_evidence, next_content_backup_recipient, content_backup_inventory_digest, content_backup_handover_digest
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 new_service_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_manager_acceptance_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$const "ak.hpke_x25519_aead_chacha20poly1305.v1""ak.hpke_x25519_aead_chacha20poly1305.v1"string^[A-Za-z0-9_-]{43}(?![\s\S])string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[133] · ?
if · if · object
此分支的 required:scope_ref
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$then · then · allOf[1]
此分支的 required:applet_id
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.create" "ak.realm.actor.control.update" "ak.realm.actor.status.set" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update" "ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset" "ak.realm.actor.recovery.set" "ak.key_backup.active_series"allOf · allOf[134] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
此分支的 required:applet_id, authorization_ref
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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[135] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.control.update" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change"then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
const "realm""realm"allOf · allOf[136] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.status.set"then · then · ?
if · if · object
payload · object
此分支的 required:gate
const "owner""owner"then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
else · else · object
此分支的 required:authorization_ref
actor_id · allOf[2]
allOf · allOf[0] · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[137] · ?
if · if · allOf[2]
allOf · allOf[0] · object
此分支的 required:kind
string (enum)"ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update"allOf · allOf[1] · object
此分支的 required:actor_id
分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[138] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.begin""ak.realm.actor.recovery.begin"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_begin_payload
此分支的 required:target_actor_id, request_id, manager_ref, recovery_ref, expected_control_commit_id, expected_owner_status_commit_id, expected_governance_status_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, replaces_recovery_ref, next_resolution, method_history_evidence, next_control_method_kid, expires_at, control_signature
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9_-]{22,128}$分支必填 manager_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integer分支必填 recovery_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerinteger分支必填 replaces_recovery_ref · oneOf[2]
oneOf · oneOf[0] · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
null分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)$ref #/$defs/webvh_recovery_plan · $ref #/$defs/webvh_recovery_planstring · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$const "ak.hpke_x25519_aead_chacha20poly1305.v1""ak.hpke_x25519_aead_chacha20poly1305.v1"string^[A-Za-z0-9_-]{43}(?![\s\S])string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_recovery_acceptance_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[139] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.reset""ak.realm.actor.control.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_reset_payload
此分支的 required:target_actor_id, recovery_begin_ref, expected_recovery_commit_id, expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, published_method_history_evidence
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_begin_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 published_method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[140] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_set_payload
此分支的 required:target_actor_id, expected_recovery_commit_id, expected_manager_commit_id, enabled
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$booleanscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[141] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"then · then · object
此分支的 required:applet_id
actor_id · allOf[2]
allOf · allOf[0] · 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "service""service"string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[142] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
此分支的 required:applet_id, authorization_ref
actor_id · allOf[2]
allOf · allOf[0] · 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "account""account"allOf · allOf[143] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
scope_ref · object
const "realm""realm"allOf · allOf[144] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.create""ak.realm_invite_link.create"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/create_payload
此分支的 required:public_key, expires_at, max_use_count
$ref #/$defs/link_public_key · $ref #/$defs/link_public_keystring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$integerallOf · allOf[145] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.revoke""ak.realm_invite_link.revoke"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/revoke_payload
此分支的 required:realm_invite_link_id
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_idallOf · allOf[146] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.accept""ak.realm_invite_link.accept"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/accept_payload
此分支的 required:realm_invite_link_id, subject_account_id, request_id, link_proof
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_id分支必填 subject_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring · $ref ./realm-join-intake.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$$ref #/$defs/proof · $ref #/$defs/proofallOf · allOf[147] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_grant""ak.mls.history_grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_grant_payload
Original signed grant references an accepted ak.mls.history_request authored by its exact recipient endpoint. The complete recipient, recipient_hpke_key_base64url, history_cut and expires_at equal that request; endpoint authorization remains inside recipient. Issuer disclosure and recipient read authority are independently native-verified, not asserted by an opaque payload reference. HPKE info and aad equal JCS({recipient,recipient_hpke_key_base64url,recipient_key_event_ref,history_cut,expires_at,selector}). sealed_key_base64url is canonical unpadded base64url(enc[32] || ciphertext || tag[16]), exactly 64 or 80 decoded bytes for a 16/32-byte key. Default RFC9180 suite is X25519/HKDF-SHA256/ChaCha20Poly1305, mode Base, seq=0; no wire nonce.
此分支的 required:recipient, recipient_hpke_key_base64url, recipient_key_event_ref, history_cut, expires_at, entries
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 entries · array<object>
items · object
此分支的 required:selector, sealed_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[148] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_request""ak.mls.history_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_request_payload
Exact recipient-native-endpoint signed history request. Endpoint authorization is recipient.authorization_event_ref. Scope read authority is independently verified at the accepting RealmCommit cut and again for new grant issuance/delivery; this object is not a permission grant. Its endpoint key is the native verified MLS leaf key and may differ from the independently verified Event producer key. No top-level authorization_event_ref exists.
此分支的 required:recipient, recipient_hpke_key_base64url, history_cut, expires_at
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$allOf · allOf[149] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_recovery""ak.mls.history_recovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_recovery_payload
此分支的 required:state, pcr_cut, coverage_head_digest, restored_event_count, cleanup_completed, inventory_blob_ref, replacement
allOf · allOf[0] · ?
if · if · object
此分支的 required:state
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:cleanup_blob_ref, cleanup_inventory_digest
…recursion truncated at depth 8; see source schema for full shape
else · else · object
…recursion truncated at depth 8; see source schema for full shape
string (enum)"pending" "ready"分支必填 pcr_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring^sha256:[0-9a-f]{64}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^sha256:[0-9a-f]{64}$booleanstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/endpoint · $ref #/$defs/endpointallOf · allOf[150] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · ?
?此分支的 required:executed_by, authorization_ref
then · then · object
?此分支的 required:custodian_actor_id, custody_authorization_ref
else · else · object
?allOf · allOf[151] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.member.state""ak.sidecar.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_member_state_payload
Opt-in at the owning Account Station. The predecessor is absent on the first join and names the latest accepted change for the same Sidecar and Agent thereafter.
此分支的 required:agent_account_id, membership
分支必填 agent_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum) · $ref #/$defs/membership_state"join" "leave"$ref #/$defs/event_ref · $ref #/$defs/event_refconst trueController permission to write encrypted replies on this exact private Sidecar. Absent means read-only.
truestring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string (enum)Standard ak.* Event kinds MUST appear in artifacts/registry/event-kind-registry.json. State convergence is defined by the registered pure reducer over kind + payload; producers do not submit current state writes.
"ak.account_data.set" "ak.agent.action_approve" "ak.agent.action_reject" "ak.agent.action_request" "ak.agent.draft.propose" "ak.agent.interaction.set" "ak.agent.key.authorize" "ak.agent.key.revoke" "ak.agent.provision" "ak.agent.sidecar.exchange.control" "ak.applet.bridge_error" "ak.applet.discovery" "ak.applet.registration" "ak.audit.accessed" "ak.audit.erasure_receipt" "ak.call.create" "ak.call.recording.start" "ak.call.state" "ak.capability.grant" "ak.capability.relinquish" "ak.capability.revoke" "ak.consent.replace" "ak.contact.accepted" "ak.contact.rejected" "ak.contact.requested" "ak.contact.scope.update" "ak.contact.tombstone" "ak.device.authorize" "ak.device.push_route" "ak.device.reanchor" "ak.device.revoke" "ak.direct_conversation.bound" "ak.identity.accountability_grant" "ak.identity.resolution.update" "ak.invite.accept" "ak.invite.cancel" "ak.invite.create" "ak.invite.revoke" "ak.key_backup.active_series" "ak.member.identity.update" "ak.member.state" "ak.message.create" "ak.message.redact" "ak.message.revise" "ak.mimi.room_binding" "ak.mls.commit" "ak.mls.genesis" "ak.moderation.decision" "ak.moderation.decision.lift" "ak.morph.archive" "ak.morph.create" "ak.morph.restore" "ak.morph.stage.set" "ak.morph.update" "ak.organization.moderation_policy" "ak.pin.add" "ak.pin.remove" "ak.pin.reorder" "ak.policy.action" "ak.policy.set" "ak.profile.create" "ak.profile.realm_override" "ak.profile.update" "ak.reaction.add" "ak.reaction.remove" "ak.read_cursor.advance" "ak.realm.actor.control.reset" "ak.realm.actor.control.update" "ak.realm.actor.create" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.realm.actor.recovery.begin" "ak.realm.actor.recovery.set" "ak.realm.actor.status.set" "ak.realm.alias" "ak.realm.archive" "ak.realm.asset_privacy_policy" "ak.realm.authority.reset" "ak.realm.create" "ak.realm.destroy" "ak.realm.discovery" "ak.realm.freeze" "ak.realm.governance_station.change" "ak.realm.history_access" "ak.realm.join_rule" "ak.realm.link" "ak.realm.media_service" "ak.realm.organization" "ak.realm.owner.transfer" "ak.realm.plaintext_visible_services" "ak.realm.policy_bundle" "ak.realm.preview_policy" "ak.realm.profile" "ak.realm.restore" "ak.realm.schema" "ak.realm.search_policy" "ak.realm.set_default_strand" "ak.realm.tombstone" "ak.realm.unfreeze" "ak.redaction" "ak.relation.create" "ak.relation.tombstone" "ak.relation.update" "ak.rsvp.set" "ak.schema.define" "ak.scope.read_receipt_policy" "ak.self.agent.deactivate" "ak.self.agent.pause" "ak.self.agent.resume" "ak.sidecar.context.attach" "ak.sidecar.member.state" "ak.sidecar.create" "ak.space.archive" "ak.space.create" "ak.space.parent" "ak.space.restore" "ak.space.tombstone" "ak.space.update" "ak.strand.archive" "ak.strand.create" "ak.strand.move" "ak.strand.reorder" "ak.strand.restore" "ak.strand.stage.set" "ak.strand.tracks.update" "ak.strand.update" "ak.strand.watch.set" "ak.view.create" "ak.view.reconcile" "ak.view.update" "ak.realm_invite_link.create" "ak.realm_invite_link.revoke" "ak.realm_invite_link.accept"^ak\.[a-z0-9_]+(\.[a-z0-9_]+)*$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/scope_ref · $ref #/$defs/scope_refRequired producer-signed security scope. The closed union is ordinary existing realm or native sidecar scope plus the create-only realm_genesis exception. It enters proof.event_digest and E2EE AAD. Reducers independently derive the exact scope from schema-validated payload and accepted references; missing dependencies, nonexistent scope, realm_id mismatch, omitted sidecar_id, substituting Realm scope for Sidecar scope, or any unequal field is fail closed. Sidecar domain Event kinds remain Extension-owned; recognizing this native security shape does not make Kernel interpret the Sidecar reducer. Exact product targets remain inside recipient-visible ciphertext.
分支必填 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$?^ak:did_core:webvh:[^\s/?#]+$executed_by · 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$?^ak:did_core:webvh:[^\s/?#]+$authorization_ref · oneOf[6]
Optional. Required when executed_by is present. It identifies an accepted Grant, delegation Event, DID-document delegation, or one of the closed profile-specific authority constants. The current governance Station evaluates the reference against the target stream's committed state.
$ref #/$defs/grant_ref · $ref #/$defs/grant_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/did_delegation_ref · $ref #/$defs/did_delegation_ref$ref #/$defs/direct_conversation_participant_authority_ref · $ref #/$defs/direct_conversation_participant_authority_ref$ref #/$defs/direct_conversation_bootstrap_authority_ref · $ref #/$defs/direct_conversation_bootstrap_authority_ref$ref #/$defs/membership_compensation_delegation_ref · $ref #/$defs/membership_compensation_delegation_ref$ref #/$defs/applet_id · $ref #/$defs/applet_idOptional signed Applet provenance. Required by ak.profile.applet_* when the Event is introduced by an Applet, Ghost Actor, bridge, or delegated applet path. Enters canonical event bytes and therefore is covered by proof.event_digest. When present, authorization_ref MUST also be present and resolve to a real active registration/capability grant binding this applet_id, registration_epoch, action and resource per zh/extensions/applet-integration.md sections 4, 8 and 11. Service-actor self-signature proves provenance but is not an authorization substitute. Capability-gated actions require a grant covering action/resource. For subject_only operations the referenced grant binds only the exact active install and cannot replace the subject signature, FSM or independent action authority. Service self-authored Events use ActorId.service; the install grant subject MUST be the same exact ActorId.service as its producer; hosting Station and effective scope are verified separately without coercing a Service into an account variant.
$ref #/$defs/external_ref · $ref #/$defs/external_refOptional signed external provenance reference for Applet / bridge-originated Events. It is covered by event_digest and MUST NOT be carried only in unsigned when used for loop prevention, audit, or external-message idempotency. Must not contain unauthorized external plaintext.
$ref #/$defs/canonical_event_timestamp · $ref #/$defs/canonical_event_timestampsemantic_refs · array<$ref #/$defs/semantic_ref>
Optional semantic refs with role. Omit when there are no semantic references; an explicitly empty array is not canonical. Admission selectors determine any required references. PCR policy recovery has no DID-root anchor reference; its policy/session/replacement-key authority is verified separately.
$ref #/$defs/semantic_ref · $ref #/$defs/semantic_refobject$ref #/$defs/event_proof · $ref #/$defs/event_proofThe Event's sole portable producer proof. Storage receipts are separate objects and never authorize this Event. producer_proof and unsigned remain outside the canonical Event digest. Exact retries preserve the verified producer proof.
分支必填 key_authorization_event · object · $ref ./event-envelope.schema.json
Closed producer-signed Event. Shared persistent Events become final only when the current Realm governance Station issues a RealmCommit in the derived Realm or Sidecar stream.
此分支的 required:event_id, kind, scope_ref, actor_id, created_at, payload, producer_proof
allOf · allOf[0] · ?
?此分支的 required:external_ref
?此分支的 required:applet_id
allOf · allOf[1] · ?
?此分支的 required:applet_id
then · then · ?
if · if · anyOf[3]
anyOf · anyOf[0] · object
此分支的 required:actor_id, kind, scope_ref
分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.control.update" "ak.realm.actor.status.set" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update"分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[1] · object
此分支的 required:actor_id, kind, scope_ref
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[2] · object
此分支的 required:actor_id, kind, scope_ref, payload
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.key_backup.active_series""ak.key_backup.active_series"分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:authorization_ref
allOf · allOf[2] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_participant.v1""ak.authority.direct_conversation_participant.v1"then · then · object
此分支的 required:semantic_refs
?allOf · allOf[3] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_bootstrap_participant.v1""ak.authority.direct_conversation_bootstrap_participant.v1"then · then · object
此分支的 required:semantic_refs
??$ref #/$defs/registered_admission_shape · $ref #/$defs/registered_admission_shape$ref #/$defs/registered_execution_shape · $ref #/$defs/registered_execution_shapeallOf · allOf[7] · ?
if · if · object
此分支的 required:kind
const "ak.account_data.set""ak.account_data.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/account_data_set_payload
Payload for ak.account_data.set. Writes one holder-private account-data key; the value may be plaintext inside an already private envelope, encrypted account-data material, or a tombstone. Every key is a compare-and-set whole-value register per zh/models/account-data.md §5: expected_server_revision is the revision the writer believes is current (0 to create), and the accepted revision is expected_server_revision + 1. The object is closed: expected_commit_id is not an alias, and carrying both names is invalid before signature verification or storage.
此分支的 required:key, expected_server_revision
?此分支的 required:body
?此分支的 required:encrypted_payload
?此分支的 required:tombstone
allOf · allOf[0] · ?
if · if · object
此分支的 required:key, expected_server_revision
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:encrypted_payload, source_pending_event_id
allOf · allOf[1] · ?
?此分支的 required:source_pending_event_id
then · then · object
此分支的 required:encrypted_payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string?Caller-supplied opaque account-data value. Any JSON value.
objectconst truetrue$ref #/$defs/timestamp · $ref #/$defs/timestampintegerCompare-and-set precondition against the accepted per-key revision. A mismatch MUST be rejected with cas_conflict and MUST NOT be stored; the revision counter is a high-water mark that never goes backwards, so a stale offline retry cannot resurrect a superseded value. This is the Station-maintained monotone per-key counter of the server_revision_cas merge on the account-private face. It is a different mechanism from the shared face’s scalar expected_commit_id (RealmCommitId) and carries a different name so the two can never be compared against each other.
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$allOf · allOf[8] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_approve""ak.agent.action_approve"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_approve_payload
Controller-signed security command binding one complete pre-authored Event by content-derived EventId. The canonical Event bytes exist before approval, avoiding any digest or RealmCommit self-reference. Confirmation atomically consumes the nonce and authorizes only that exact Event.
此分支的 required:approval_id, agent_id, proposed_action, target, approved_event_id, approval_nonce, expires_at
string · $ref ./string-profiles.schema.json#/$defs/agent_confirmation_handleNonempty 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.
^(?!ak:)request_id · allOf[2]
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string? · $ref string-profiles.schema.json#/$defs/non_typed_identifier_floorLexical floor of every identifier value category that does NOT own the ak: namespace (opaque_correlation, document_local_symbol, external_system_identifier, registry_catalog_symbol, unregistered_object_identifier); see common-fields.md 2.1. The negative lookahead IS the floor: it mechanically proves the value cannot be an ak: typed id, which maxLength alone can never prove, while admitting every other value the field already accepted. It deliberately constrains nothing else - the per-field convergence direction (a registered typed kind, or a tighter opaque profile) is decided per object family, so a pattern-only floor composes with whatever profile the field already carries instead of pre-empting it.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_targetstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$$ref #/$defs/digest · $ref #/$defs/digeststringAt least 128 bits of controller-generated entropy; one immutable allocation per exact controller ActorId across all target Realms. The namespace is (controller ActorId, approval_nonce), without a Realm component. It cannot be released or reassigned.
^[A-Za-z0-9_-]{22,86}$$ref #/$defs/timestamp · $ref #/$defs/timestampInclusive confirmation deadline judged only against signed RealmCommit committed_at with zero tolerance: the covering commit of this confirmation and the covering commit of the approved Event MUST each have committed_at <= expires_at. Envelope created_at is display-only and is not compared; no Station-local current time is read.
allOf · allOf[9] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_reject""ak.agent.action_reject"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_reject_payload
Payload for ak.agent.action_reject. Controller rejection terminates one actor-private action request, named by request_id, without shared Realm side effects. A draft is not a rejection target: its workflow_state is controller-encrypted Account Data (zh/models/actor-private-effects.md section 3.2).
此分支的 required:rejection_id, request_id, agent_id, rejected_at
string · $ref ./string-profiles.schema.json#/$defs/agent_rejection_handleNonempty 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.
^(?!ak:)分支必填 request_id · allOf[2]
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string? · $ref string-profiles.schema.json#/$defs/non_typed_identifier_floorLexical floor of every identifier value category that does NOT own the ak: namespace (opaque_correlation, document_local_symbol, external_system_identifier, registry_catalog_symbol, unregistered_object_identifier); see common-fields.md 2.1. The negative lookahead IS the floor: it mechanically proves the value cannot be an ak: typed id, which maxLength alone can never prove, while admitting every other value the field already accepted. It deliberately constrains nothing else - the per-field convergence direction (a registered typed kind, or a tighter opaque profile) is decided per object family, so a pattern-only floor composes with whatever profile the field already carries instead of pre-empting it.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[10] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_request""ak.agent.action_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_request_payload
Payload for ak.agent.action_request. Actor-private request for controller approval before a shared Realm write is emitted.
此分支的 required:request_id, agent_id, controller_account_id, proposed_action, target, request_canonical_digest, expires_at, created_at
分支必填 request_id · allOf[2]
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string? · $ref string-profiles.schema.json#/$defs/non_typed_identifier_floorLexical floor of every identifier value category that does NOT own the ak: namespace (opaque_correlation, document_local_symbol, external_system_identifier, registry_catalog_symbol, unregistered_object_identifier); see common-fields.md 2.1. The negative lookahead IS the floor: it mechanically proves the value cannot be an ak: typed id, which maxLength alone can never prove, while admitting every other value the field already accepted. It deliberately constrains nothing else - the per-field convergence direction (a registered typed kind, or a tighter opaque profile) is decided per object family, so a pattern-only floor composes with whatever profile the field already carries instead of pre-empting it.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[11] · ?
if · if · object
此分支的 required:kind
const "ak.agent.draft.propose""ak.agent.draft.propose"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_draft_propose_payload
Payload for ak.agent.draft.propose. Acceptance creates one Station-private pending intent and never creates encrypted account data. content_handoff is HPKE ciphertext for current accepted controller devices; Station cannot decrypt it.
此分支的 required:draft_id, agent_id, controller_account_id, proposed_action, target, content_digest, content_handoff, expires_at, created_at
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest分支必填 content_handoff · object · $ref ./agent-draft-private.schema.json#/$defs/content_handoff
此分支的 required:scheme, recipients
const "ak.hpke_x25519_aead_chacha20poly1305.v1""ak.hpke_x25519_aead_chacha20poly1305.v1"分支必填 recipients · array<$ref #/$defs/content_handoff_recipient>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[12] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.authorize""ak.agent.key.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_authorize_payload
Payload for ak.agent.key.authorize. Binds one concrete agent signing key to an accountable principal, explicit agent_key_scope, audience, validity window, approval evidence, and both the service-surface and content-capability ceilings that later agent_key_proof sessions must narrow from.
此分支的 required:agent_id, key_id, verification_method, public_key, accountable_principal_id, agent_key_scope, audience, issued_at, approval_evidence
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/verification_method · $ref #/$defs/verification_method分支必填 public_key · object · $ref ./agent-operations.schema.json#/$defs/agent_runtime_public_key
Closed v1 Agent runtime signing-key profile. Ed25519 is the fully-specified JOSE algorithm identifier from RFC 9864; polymorphic algorithm identifiers are rejected.
此分支的 required:kty, kid, algorithm, key
const "OKP""OKP"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringconst "Ed25519""Ed25519"string^[A-Za-z0-9_-]{43}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_scope · $ref #/$defs/agent_key_scope分支必填 audience · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the key authorization is non-expiring and governed solely by revocation (ak.agent.key.revoke / lifecycle cascade).
$ref #/$defs/agent_key_approval_evidence · $ref #/$defs/agent_key_approval_evidencesupersedes · array<object>
Exact complete signed active authorization basis at first acceptance, sorted byte-lexicographically by (key_id, authorized_event_ref). Each original accepted authorization Event identifies its immutable add dot; the verifier independently checks its covering RealmCommit, relevant typed current revision and current active set in the same confirmation transaction. No separate expected_commit_id wire member exists for this family. Omit exactly when the active set is empty; after revoke, reattach follows the registered fresh pairing and activation fence. Same-key reauthorization requires a current active key and names every old dot. Remove observed old-key typed results atomically and add one replacement; stale basis fails closed, and historical rows or prior pairing receipts never restore a revoked key.
items · object
此分支的 required:key_id, authorized_event_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refOptional freshness source for revocation checking. When expires_at is absent, authorization lifetime is governed by the canonical revocation chain and lifecycle cascade; this field may identify the freshness source used for that check.
runtime_attestation · object
Optional runtime / workload attestation captured at pairing approval time. v1 enum includes self_asserted as baseline; future profiles MAY register TEE / SLSA / SPIFFE attestation kinds. Implementations encountering an unknown kind MUST fail closed.
此分支的 required:kind
string (enum)v1 enum. Future profiles MAY extend via accepted attestation taxonomy.
"self_asserted"stringstringstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$allOf · allOf[13] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.revoke""ak.agent.key.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_revoke_payload
Payload for ak.agent.key.revoke. The keyed-set projection current state subject is (agent_id, key_id); future protocol proofs from this key fail closed once this event is covered by an accepted RealmCommit. The authoring checkpoints is the current authority-committed state; the payload carries no checkpoint field.
此分支的 required:agent_id, key_id, revoked_by, revoked_at
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[14] · ?
if · if · object
此分支的 required:kind
const "ak.agent.provision""ak.agent.provision"then · then · object
payload · object · $ref ./agent-provision.schema.json
Controller-authored payload that creates one Agent provisioning fact. One accepted reducer transaction atomically writes FOUR typed current state from it -- the provisioning fact, the accountability endorsement, the controller-scoped selector binding and the principal_control_realm_id claim -- and MUST NOT expose a partially completed state. zh/identity/key-management.md sections 3.6 and 3.6.3, zh/identity/account-lifecycle.md, zh/conformance/conformance-profiles.md and zh/extensions/applet-integration.md all enumerate the same four; this description used to name only two, which reads as a licence for the accountability/selector two-Event fan-out that conformance-profiles.md explicitly forbids. The containing Event proof is the only signature; this payload carries no nested proof.
此分支的 required:schema, agent_id, controller_principal_id, principal_control_realm_id, controller_authorization_ref, agent_slug, accountability_scope, requested_scope_digest, selector_visibility, created_at, history_custody
allOf · allOf[0] · ?
if · if · object
此分支的 required:selector_visibility
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:selector_audience
?const "ak.schema.agent_provision.v1""ak.schema.agent_provision.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (arkret-agent-slug) · format=arkret-agent-slug · $ref ./string-profiles.schema.json#/$defs/agent_slugCanonical controller-scoped Agent Agent selector slug. Maximum 64 Unicode code points in prepared form.
^[^\s:@/#?\\]+$const "agent_operator"Canonical closed accountability scope.
"agent_operator"$ref #/$defs/digest · $ref #/$defs/digeststring (enum)"public" "restricted" "private"stringstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 history_custody · object · $ref ./content-encryption.schema.json#/$defs/custody
此分支的 required:custodian_actor_id, recovery_policy_ref, recipient_key_ref
分支必填 custodian_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_policy_ref · object · $ref ./key-backup.schema.json#/properties/recovery_policy_ref
Required whenever encryption.recipient_method is recovery_public_key, and optional as a signed recovery-strand hint otherwise. Binds the backup envelope to the active recovery policy version under which it was produced. Receivers MUST compare this tuple to the currently accepted recovery policy before using such an envelope; mismatch fails as recovery_policy_mismatch, but the field does not replace active-series, checkpoint, Realm/MLS authorization, or device-state checks. This is intentionally separate from source_commit_ref: it binds the recovery authorization surface, not only the device trust generation or control-stream position.
此分支的 required:policy_id, policy_version
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./key-backup.schema.json#/properties/encryption/properties/recipient_key_refFor recipient_method=recovery_public_key, this MUST resolve to the inline backup_hpke.key_agreement_ref of a non-revoked method signing entry in the envelope's referenced accepted recovery policy, and the selected hpke_suite MUST appear in that entry's hpke_suites. DID Document-only key agreements are not an authorization source. A method signing entry's verification_method is a signing-key ref and MUST be rejected here. For realm_actor_recovery it MUST equal the exact accepted native content_backup_recipient.key_agreement_ref selected by authorization_binding.recipient_ref; a current DID-only entry or Account policy is not authority.
allOf · allOf[15] · ?
if · if · object
此分支的 required:kind
const "ak.agent.sidecar.exchange.control""ak.agent.sidecar.exchange.control"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_sidecar_exchange_control_payload
Outer payload for ak.agent.sidecar.exchange.control. sidecar_id and source_context_ref route the Event inside a native Sidecar scope; encrypted_payload plaintext MUST validate as agent-sidecar-exchange-control.schema.json. Admission MUST require matching scope_ref.kind=sidecar and actor_id equal to the Sidecar controller.
此分支的 required:sidecar_id, source_context_ref, encrypted_payload
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$$ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref · $ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[16] · ?
if · if · object
此分支的 required:kind
const "ak.applet.bridge_error""ak.applet.bridge_error"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_bridge_error_payload
Payload for ak.applet.bridge_error. Durable Realm-history Event recording a bridge / external-network failure. Field table: zh/extensions/applet-schema.md §7. MUST bind realm_id, failed_transaction_ref, retriable, and visibility_scope; missing any required field MUST be rejected as schema_violation. MUST NOT inline unauthorized external plaintext.
此分支的 required:applet_id, realm_id, failed_transaction_ref, error_class, error_code, retriable, visibility_scope
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refReference to the failed transaction / source Event. MUST NOT inline unauthorized external plaintext.
string (enum)Closed error category for aggregation / alerting. See zh/extensions/applet-schema.md §7.
"external_network" "auth" "schema" "rate_limit" "policy"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringSpecific error code (e.g. external_rate_limited).
booleanstring (enum)Closed visibility scope enum for the error event. Clients MUST honor it and MUST NOT expose bridge-internal detail to unrelated members.
"realm_admins" "applet_controller" "realm_members"objectExternal network reference (protocol / network id). MUST NOT contain unauthorized external plaintext.
stringHuman-readable summary. MUST NOT leak unauthorized external plaintext.
integerSuggested retry delay; meaningful only when retriable=true.
allOf · allOf[17] · ?
if · if · object
此分支的 required:kind
const "ak.applet.discovery""ak.applet.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_discovery_state_payload
此分支的 required:resource_id, value
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 value · allOf[2]
$ref #/$defs/resource_discovery_state_value · $ref #/$defs/resource_discovery_state_valueallOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[18] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_registration_payload
Payload for ak.applet.registration. Durable Realm-history Event registering an Applet (bridge / bot service). Field vocabulary: zh/extensions/applet-integration.md §4 and zh/extensions/applet-schema.md §1. An Applet's capability to enter a Realm MUST be granted by that Realm's owner / admin / Realm-policy-authorized administrator actor and checked by the Station authorization capability. The formal Event is signed by that installing administrator and admitted by the target Station; payload.proof is the exact controller-signed package proof and is not an Event proof.
此分支的 required:applet_id, service_id, expected_commit_id, controller_principal_id, base_url, claimed_profiles, protocols, namespaces, receive_events, receive_signals, rate_limited, requested_scopes, registration_epoch, webhook_signature_policy, manifest, proof, created_at
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (uri) · format=uri^https://分支必填 claimed_profiles · array<$ref #/$defs/profile_id>
Canonical Applet implementation profiles copied from the accepted package. These durable claims are the authority source for profile-bound grant rules.
$ref #/$defs/profile_id · $ref #/$defs/profile_id分支必填 protocols · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string分支必填 namespaces · object · $ref applet-package.schema.json#/$defs/applet_namespaces
Realm/portal and handle routing claims only. Actor DID namespaces are not registered; identity and delegation are verified from accepted creation/current manager and actual grants.
此分支的 required:realms, handles
分支必填 realms · array<$ref #/$defs/namespace_entry>
…recursion truncated at depth 8; see source schema for full shape
分支必填 handles · array<$ref #/$defs/namespace_entry>
…recursion truncated at depth 8; see source schema for full shape
booleanbooleanboolean分支必填 requested_scopes · array<$ref #/$defs/non_empty_string>
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/digest · $ref #/$defs/digest分支必填 webhook_signature_policy · object · $ref applet-package.schema.json#/$defs/webhook_signature_policy
HTTP message signature verification policy for transaction push. key_ref is the Applet service DID URL used to verify the app/bridge->arkret inbound HTTP message signature. Verifiers MUST take its bare controller did, validate it with the registered method adapter, and require project(did) to equal service_id (did_core_id); direct DID/core-id string comparison is forbidden. The key is bound to the effective registration_epoch. accepted_signature_algorithms pins the acceptable RFC 9421 signature algorithms.
此分支的 required:key_ref, accepted_signature_algorithms, kind
$ref #/$defs/did_url · $ref #/$defs/did_urlDID URL under an Applet service did whose registered adapter projection equals service_id. For app/bridge->arkret inbound transaction push, Signature-Input keyid MUST equal this value. Node->Applet pushes verify the Arkret source service did/key binding selected by the Source-Service-ID did_core_id, not this field.
分支必填 accepted_signature_algorithms · array<$ref #/$defs/http_message_signature_algorithm>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringstring (enum)"http_message_signature"any分支必填 manifest · object
Closed package-derived manifest and the sole registration-epoch evidence carrier.
此分支的 required:claimed_profiles, limits, ghost_policy, delegation_policy, e2ee_policy, registration_epoch_evidence
分支必填 claimed_profiles · array<$ref #/$defs/profile_id>
…recursion truncated at depth 8; see source schema for full shape
分支必填 limits · object · $ref applet-package.schema.json#/$defs/limits
Service-side resource hints derived into the registration manifest.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 ghost_policy · object · $ref applet-package.schema.json#/$defs/ghost_policy
Ghost Actor support and accountability template. enabled defaults to false semantics; an explicit boolean is required.
此分支的 required:enabled
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 delegation_policy · object · $ref applet-package.schema.json#/$defs/delegation_policy
Delegated native-user acting request. Defaults to false; enabled MUST be explicit.
此分支的 required:enabled
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 e2ee_policy · object · $ref applet-package.schema.json#/$defs/e2ee_policy
MLS join request. Defaults to false; enabled MUST be explicit.
此分支的 required:enabled
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
widget · object · $ref applet-package.schema.json#/$defs/widget
Closed declaration for an Applet UI widget origin, CSP, scoped token capability scope, and consent gate.
此分支的 required:schema, widget_origin, csp, token_scope, consent_required
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 registration_epoch_evidence · object · $ref applet-registration-epoch-evidence.schema.json
Versioned Applet service DID evidence used to derive a stable registration epoch and Service signer evidence root. Only did:webvh and did:key are accepted; did:web current snapshots cannot support historical producer verification.
此分支的 required:did, document_digest, method_version_evidence, accepted_signing_keys
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 proof · object · $ref applet-package.schema.json#/$defs/detached_proof
Controller-DID detached-JWS proof shape, aligned with event-envelope.schema.json#/$defs/proof (the generic non-Event signed-object proof). Non-Event objects bind their canonical payload via payload_digest; Event proofs MUST instead use event_digest and event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
string (enum)"detached_jws"$ref #/$defs/did_url · $ref #/$defs/did_url$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestampstringaudience · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$any$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[19] · ?
if · if · object
此分支的 required:kind
const "ak.audit.accessed""ak.audit.accessed"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/audit_accessed_payload
Strict audit payload. watch_set_others belongs to one registered audit_paired_event unit. watch_audit_read is admitted only through the dedicated audited-read command and is not a reusable preaccepted read ticket. The target and writer are checked against the signed business Event or authenticated auditor and current effective scope. No caller-authored state head or result ID is carried.
此分支的 required:access_kind, writer_actor_id, target_ref, purpose, accessed_at
allOf · allOf[0] · ?
if · if · object
此分支的 required:access_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:target_actor_id, paired_event_id
allOf · allOf[1] · ?
if · if · object
此分支的 required:access_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:target_actor_id
allOf · allOf[2] · ?
if · if · object
此分支的 required:access_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:late_recovery_original_event_id
string (enum)"watch_set_others" "watch_audit_read" "e2ee_late_recovery" "policy_audit_read" "other"分支必填 writer_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
target_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/event_ref · $ref #/$defs/event_refRequired when access_kind=e2ee_late_recovery; identifies the original encrypted event recorded by this audit marker. The marker is not historical membership proof, an epoch-to-commit proof, a decrypt-success receipt, or authorization to reveal plaintext. Ordinary verified MLS pending-decrypt retry remains separate.
string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[20] · ?
if · if · object
此分支的 required:kind
const "ak.audit.erasure_receipt""ak.audit.erasure_receipt"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/erasure_receipt_payload
Signed attestation that an issuer completed, partially completed, or blocked a hard-erasure request within a declared storage boundary. It proves the issuer's deletion action and retained verification stub, not disappearance of independent third-party copies.
此分支的 required:schema, receipt_id, trigger, issuer_id, subject, scope, outcome, erased_classes, retained_stub_digest, completed_at, proofs
allOf · allOf[0] · ?
if · if · object
此分支的 required:outcome
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:legal_hold_ref
const "ak.schema.erasure_receipt.v1""ak.schema.erasure_receipt.v1"string^ak:receipt:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 trigger · oneOf[2] · $ref ./erasure-verification-stub.schema.json#/$defs/trigger
Exact authoritative fact that created this physical-erasure execution. Account erasure uses the account_status_record branch; other Event-authorized erasure uses the event branch.
oneOf · oneOf[0] · object
此分支的 required:kind, event_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, account_status_record_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 subject · oneOf[6] · $ref ./erasure-verification-stub.schema.json#/$defs/subject
$ref #/$defs/principal_subject · $ref #/$defs/principal_subject$ref #/$defs/realm_subject · $ref #/$defs/realm_subject$ref #/$defs/event_subject · $ref #/$defs/event_subject$ref #/$defs/blob_subject · $ref #/$defs/blob_subject$ref #/$defs/device_subject · $ref #/$defs/device_subject$ref #/$defs/account_private_state_subject · $ref #/$defs/account_private_state_subject分支必填 scope · object · $ref ./erasure-verification-stub.schema.json#/$defs/scope
Boundary in which deletion was attempted. This MUST be narrow enough for an auditor to tell which service/storage class made the claim.
此分支的 required:storage_boundary
string (enum)"canonical_log_minimization" "blob_store" "projection_store" "account_private_store" "search_index" "push_routes" "device_secret_store" "media_derivatives" "service_defined"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$target_refs · array<$ref #/$defs/subject_ref>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/policy_id · $ref #/$defs/policy_idstringstring (enum)"completed" "partially_completed" "blocked_by_legal_hold"分支必填 erased_classes · array<string (enum)>
string (enum)"canonical_payload_bytes" "blob_bytes" "projection_rows" "account_private_state" "push_routes" "device_secrets" "search_index_entries" "derived_plaintext" "media_derivatives"$ref #/$defs/digest · $ref #/$defs/digestHash of the retained verification stub after erasure: hash(canonical_json(retained_stub)). The stub verifies typed-reference structure, redundant digest consistency, receipt/stub binding, and linkage to retained external proof, RealmCommit, redaction-authorization, and legal-hold evidence. It does not independently verify erased canonical Event bytes.
retained_stub · object · $ref ./erasure-verification-stub.schema.json
Minimal retained verification stub bound by erasure-receipt.retained_stub_digest. It preserves event graph, proof, authority commit, redaction, legal-hold and receipt linkage evidence without retaining erased plaintext.
此分支的 required:stub_schema, subject, scope, receipt_id, trigger, completed_at
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.erasure_verification_stub.v1""ak.schema.erasure_verification_stub.v1"$ref #/$defs/subject · $ref #/$defs/subject$ref #/$defs/scope · $ref #/$defs/scope$ref #/$defs/digest · $ref #/$defs/digestOptional redundant digest for an Event subject; it is permitted only when subject.kind is event and MUST be absent for every other subject kind. Its suite and all 32 digest octets MUST exactly match the suite wire code and digest carried by subject.subject_ref. If omitted, the suite and digest are recovered from the Event ID. This field and the Event ID preserve consistency evidence; neither independently verifies erased canonical Event bytes.
retained_digests · array<$ref #/$defs/digest>
…recursion truncated at depth 8; see source schema for full shape
commit_inclusion · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/subject_ref · $ref #/$defs/subject_reflegal_hold_ref · oneOf[3]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^ak:receipt:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$$ref #/$defs/trigger · $ref #/$defs/triggerExact closed trigger copied byte-for-byte from the receipt.
$ref #/$defs/timestamp · $ref #/$defs/timestamplegal_hold_ref · oneOf[3]
null$ref #/$defs/policy_id · $ref #/$defs/policy_id$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp分支必填 proofs · array<object>
items · object
此分支的 required:verification_method, payload_digest, signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)Cross-Station erasure receipt fanout aggregate status tracked by the issuing server (models/realm-and-space.md §2.6.2). 'pending' = peers still within erasure_propagation_window_ms and not all acknowledged; 'complete' = every peer that ever held this Realm's content returned a receipt; 'incomplete' = at least one peer failed to acknowledge within erasure_propagation_window_ms. The issuing server MUST surface 'incomplete' to audit/UI and MUST NOT silently swallow it. Absent on receipts that do not drive fanout tracking.
"pending" "complete" "incomplete"peer_receipts · array<object>
Per-peer fanout acknowledgement records maintained by the issuing server: one entry per peer Station that ever held this Realm's content. Each entry records that peer's acknowledgement status and time, backing the aggregate fanout_status.
items · object
此分支的 required:peer_id, status
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[21] · ?
if · if · object
此分支的 required:kind
const "ak.call.create""ak.call.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/call_create_payload
Genesis payload for ak.call.create. call_id is omitted and derived by retyping the accepted Event id. Signaling, media tokens, Morph bindings, and state deltas MUST reference only an already accepted create.
此分支的 required:initial_state
string (enum)A known lifecycle discriminator. Admission permits scheduled/ringing/connecting only; active or terminal genesis is failed_precondition with call_state_transition_invalid rather than a structural schema violation.
"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"allOf · allOf[22] · ?
if · if · object
此分支的 required:kind
const "ak.call.recording.start""ak.call.recording.start"then · then · object
此分支的 required:authorization_ref
payload · object · $ref ./event-payload.schema.json#/$defs/call_recording_start_payload
Typed payload for ak.call.recording.start. recording_id is a stable opaque ASCII handle (1–128 bytes, [A-Za-z0-9._-]) that feeds the recording key exporter Context byte-for-byte and MUST NOT be normalized by receivers. capture_kind selects recording vs transcription so both lifecycles share one start event kind. See crypto-media/call-state.md §5 / §5.1.
此分支的 required:call_id, recording_id, recording_agent_id, capture_kind, mode, visible_notice, capture_metadata
allOf · allOf[0] · ?
if · if · object
此分支的 required:capture_kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
…recursion truncated at depth 8; see source schema for full shape
else · else · object
…recursion truncated at depth 8; see source schema for full shape
string^ak:call:[A-Za-z0-9_-]{44}$stringStable opaque recording / transcript lifecycle handle. Canonical byte-for-byte; receivers MUST NOT normalize (case-fold, NFC/NFKC, trim, re-encode) because it is a cross-implementation key-derivation input.
^[A-Za-z0-9._-]{1,128}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)Whether this start event opens a recording or a transcription segment. REQUIRED: it selects the target capture current state family (call_recording vs call_transcript) in the registered current state contract, so it MUST NOT be inferred from a missing-field default.
"recording" "transcript"string (enum)"audio" "audio_video"const trueAsserts the initiating client will display the capture-in-progress notice to all participants.
true分支必填 capture_metadata · object
Initial immutable capture evidence. retention.consent_confirmed=true closes the pre-capture consent gate before the FSM enters a capturing state. This wire payload MUST NOT carry recording_start_event_id or transcript_start_event_id: the accepted Event identity is derived only after digesting this payload, and the reducer stamps that identity into the projected result current state. Recording starts freeze the exact current accepted winning MLS state in key_ref; transcript starts retain their existing shape and do not carry this recording-only member.
此分支的 required:retention
key_ref · object · $ref ./blob.schema.json#/$defs/encrypted_attachment/properties/key_ref
此分支的 required:algorithm, group_state_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 retention · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/grant_idThe exact signed positive grant selected for this capture action. It is not an existence hint or an owner fallback; native admission must actually discharge this grant path while retaining global refusals.
^ak:grant:[A-Za-z0-9_-]{44}$allOf · allOf[23] · ?
if · if · object
此分支的 required:kind
const "ak.call.state""ak.call.state"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:payload
分支必填 payload · object
此分支的 required:recording_transition
…recursion truncated at depth 8; see source schema for full shape
then · then · anyOf[2]
anyOf · anyOf[0] · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[1] · object
此分支的 required:executed_by
…recursion truncated at depth 8; see source schema for full shape
payload · object · $ref ./event-payload.schema.json#/$defs/call_state_payload
Typed delta payload for ak.call.state. Every admitted field maps to one or two explicit registered current state effects; omitted axes produce no effect. The retained mute_override shape is not admitted in v1 because its call-only selector cannot represent independent legs.
此分支的 required:call_id
?此分支的 required:state_transition
?此分支的 required:focus
?此分支的 required:recording_transition
?此分支的 required:transcript_transition
?此分支的 required:roster_delta
?此分支的 required:moderation_delta
string^ak:call:[A-Za-z0-9_-]{44}$state_transition · object
此分支的 required:from, to
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"string (enum)"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"$ref #/$defs/call_capture_failure_reason_code · $ref #/$defs/call_capture_failure_reason_codeMachine reason for to="failed". Required when to="failed" and forbidden otherwise, so a failed call always carries a diagnostic and a non-failed transition cannot smuggle one.
focus · object
此分支的 required:mode
string (enum)"p2p" "mesh" "sfu" "mcu"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringrecording_transition · object
此分支的 required:recording_id, from, to
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9._-]{1,128}$string (enum)"recording" "stopped" "ready" "failed"string (enum)"stopped" "ready" "failed"capture_metadata · object
Ordinary capture outcome details. Result status is derived from to and stored with these details. Ready/failed require the exact confirmed stop Event for the same call, segment, capture authority and generation; they cannot modify permission or key access.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$transcript_transition · object
此分支的 required:recording_id, from, to
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9._-]{1,128}$string (enum)"transcribing" "stopped" "ready" "failed"string (enum)"stopped" "ready" "failed"capture_metadata · object
Ordinary capture outcome details. Result status is derived from to and stored with these details. Ready/failed require the exact confirmed stop Event for the same call, segment, capture authority and generation; they cannot modify permission or key access.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$roster_delta · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:operation, participant
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:operation, actor_id, device_id, expected_commit_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
moderation_delta · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:operation, removal
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:operation, actor_id, restored_by, restored_at, expected_commit_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
mute_override · object
此分支的 required:status, actor_id, device_id, changed_by, changed_at
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"active" "cleared"分支必填 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/device_id · $ref #/$defs/device_idbooleanbooleanstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringallOf · allOf[24] · ?
if · if · object
此分支的 required:kind
const "ak.capability.grant""ak.capability.grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_grant_payload
Canonical ak.capability.grant genesis payload. Both top-level grant_id and grant.id are forbidden because the durable GrantId is derived by retyping this Event's event_id. status, authority_depth and authority_root_ref are reducer-derived and forbidden in this closed authoring shape. issuer_id and a concrete subject are already exact ActorIds; no parallel Station sidecar is permitted. issuer_authority_refs is signed semantic lineage and cannot carry expected_commit_id, auth_state_digest or a Station-local commit basis; current authority is checked by the governing Station at acceptance. The Event envelope proof is the sole durable issuer signature.
此分支的 required:grant
分支必填 grant · object
此分支的 required:schema, issuer_id, subject, actions, resources, issued_at, issuer_authority_refs
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.capability.v1" · $ref ./capability-grant.schema.json#/properties/schema"ak.schema.capability.v1"string · $ref ./capability-grant.schema.json#/properties/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 issuer_id · oneOf[3] · $ref ./capability-grant.schema.json#/properties/issuer_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 subject · oneOf[2] · $ref ./capability-grant.schema.json#/properties/subject
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 actions · array<string> · $ref ./capability-grant.schema.json#/properties/actions
…recursion truncated at depth 8; see source schema for full shape
分支必填 resources · array<$ref ./resource-selector.schema.json> · $ref ./capability-grant.schema.json#/properties/resources
…recursion truncated at depth 8; see source schema for full shape
constraints · array<$ref ./grant-constraint.schema.json> · $ref ./capability-grant.schema.json#/properties/constraints
Constraints applied to this grant. Re-grant control MUST be expressed via constraint_kind='authority_control' and max_authority_depth (see capabilities.md §10). A top-level 'delegable' field is forbidden and MUST be rejected as schema_violation. With no authority_control constraint the grant cannot be re-granted (equivalent to max_authority_depth=0).
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./capability-grant.schema.json#/properties/issued_atCanonical 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.
^[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$分支必填 issuer_authority_refs · array<oneOf[3]> · $ref ./capability-grant.schema.json#/properties/issuer_authority_refs
The signed semantic authority lineage this grant was issued under. A root controller's grant anchors on the accepted Realm authority Event; any further grant anchors on grants its issuer already holds. These closed refs intentionally carry no producer-selected current-state revision, authorization-state digest, Station id or commit basis: the governing Station resolves their current typed results at acceptance, fails closed when current authority cannot be proved fresh, and records the accepting RealmCommit as the decision basis. Authorization is recomputed from these refs on every decision, so revoking an ancestor invalidates its descendants without a cascading write. The sole owned_agent ref is an explicit non-regrant exception; it pins ownership membership and continuously bounds the Agent by current controller authority.
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[25] · ?
if · if · object
此分支的 required:kind
const "ak.capability.relinquish""ak.capability.relinquish"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_relinquish_payload
ak.capability.relinquish — subject-only release of the actor own grant. The authority is the target grant subject's signature, never a capability: a narrowly-scoped holder that was never granted ak.capability.revoke must still be able to give up what it holds. The reducer target guard accepts actor == target.subject and nothing else, so this can never become an unauthorized revocation. Descendants of the released grant fail through their issuer_authority_refs at read time.
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[26] · ?
if · if · object
此分支的 required:kind
const "ak.capability.revoke""ak.capability.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_revoke_payload
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[27] · ?
if · if · object
此分支的 required:kind
const "ak.consent.replace""ak.consent.replace"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/consent_replace_payload
Complete holder-signed exact-peer replacement. Admission enforces unique scopes and canonical scope order. Empty is accepted current; never_written is rechecked atomically and cannot overwrite empty. No independent consent_id, any or server merge.
此分支的 required:peer, expected_current, permissions
$ref #/$defs/consent_peer · $ref #/$defs/consent_peer$ref #/$defs/consent_expected_current · $ref #/$defs/consent_expected_current分支必填 permissions · array<$ref #/$defs/consent_permission>
????$ref #/$defs/consent_permission · $ref #/$defs/consent_permissionallOf · allOf[28] · ?
if · if · object
此分支的 required:kind
const "ak.contact.accepted""ak.contact.accepted"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_accepted_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, contact_round_id, request_event_ref, request_acceptance_receipt_digest, granted_to_peer_scopes
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digest分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
$ref #/$defs/contact_scope · $ref #/$defs/contact_scopeallOf · allOf[29] · ?
if · if · object
此分支的 required:kind
const "ak.contact.rejected""ak.contact.rejected"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_rejected_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, request_event_ref, request_acceptance_receipt_digest
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[30] · ?
if · if · object
此分支的 required:kind
const "ak.contact.requested""ak.contact.requested"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_requested_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, granted_to_peer_scopes, introduction_evidence_digest
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
$ref #/$defs/contact_scope · $ref #/$defs/contact_scope$ref #/$defs/digest · $ref #/$defs/digestRequired digest of the exact private introduction_evidence carried by the request branch of ak.peer.contacts.command.submit.v1. Raw evidence is not written into the contact fact log.
stringallOf · allOf[31] · ?
if · if · object
此分支的 required:kind
const "ak.contact.scope.update""ak.contact.scope.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_scope_update_payload
Holder full-set replacement in a nonterminal established round. version advances the holder lifetime direction, retained scope instances retain their grant Event. Empty scopes remain accepted; pure narrowing does not wait for remote freshness.
此分支的 required:trust_domain_id, initial_contact_round_id, schema, peer, contact_round_id, version, predecessor_event_ref, granted_to_peer_scopes
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$const "ak.schema.contact_scope_update.v1""ak.schema.contact_scope_update.v1"$ref #/$defs/contact_peer · $ref #/$defs/contact_peerstring · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_id · $ref #/$defs/event_id$ref #/$defs/contact_scopes · $ref #/$defs/contact_scopesallOf · allOf[32] · ?
if · if · object
此分支的 required:kind
const "ak.contact.tombstone""ak.contact.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_tombstoned_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, initial_contact_round_id, version, predecessor_event_ref, peer, contact_round_id
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_ref · $ref #/$defs/event_ref分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
oneOf · oneOf[0] · object
此分支的 required:kind, account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, actor_id, controller_account_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[33] · ?
if · if · object
此分支的 required:kind
const "ak.device.authorize""ak.device.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_authorize_payload
Closed Device authorization. Ordinary Account branches retain their PCR rules. realm_managed_delegation is signed by the owning Realm actor current controller in realm_control; exact full ActorId is injected from the Event, never a payload mirror. Current control and Device row revisions are CAS preconditions. No generation is initialized by this branch.
此分支的 required:device_id, device_public_key_did, hpke_key, algorithms, device_key_algorithm, authorized_by, authorization_binding_kind, authorized_generation_ref, not_before, device_signature
allOf · allOf[0] · ?
if · if · object
此分支的 required:authorization_binding_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:pairing_challenge_transcript_digest
?allOf · allOf[1] · ?
if · if · object
此分支的 required:authorization_binding_kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:expires_at, scopes, applet_id, expected_control_commit_id, expected_device_commit_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
else · else · object
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringDevice HPKE public key used for secret/key envelope encryption. It is covered by the possession transcript and by the surrounding root anchor or accepted-device Event proof; services MUST NOT substitute it. For accepted_device pairing its authority is the target device_pairing_target_proof, which the approving device reads only after that attestation verifies.
分支必填 algorithms · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
Canonical sorted unique algorithm ids supported by this device. Enters device trust binding transcript together with device_public_key_did and hpke_key. For accepted_device pairing its authority is the target device_pairing_target_proof, not any service-supplied or staged copy.
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringconst "Ed25519""Ed25519"$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_refFor registration_anchor/pcr_recovery, the ordinary Account principal; for accepted_device, the approving DeviceId. For realm_managed_delegation, exactly actor_id.realm_actor_id.principal_id, verified through the accepted Realm control method.
string (enum)Ordinary Account branches retain PCR genesis, recovery and paired-device rules. realm_managed_delegation is exclusive to a Realm actor in its owning private realm_control stream, with current controller authority and exact active installation at every authorized business scope.
"registration_anchor" "pcr_recovery" "accepted_device" "realm_managed_delegation"integer · $ref ./recovery-session.schema.json#/$defs/pcr_generation_refExact current Account PCR or Realm actor generation, never DID version. registration_anchor=1; pcr_recovery equals sibling reanchor new generation; accepted_device equals Account current generation; realm_managed_delegation equals the actor-local current generation and signed CAS. The Device possession transcript covers it except accepted_device, where the approving Device Event proof covers it.
scopes · oneOf[2]
realm_managed_delegation MUST use the paired list; all other branches retain the string-list contract. No string codec represents managed scope authority. For native Human Account Device owner-transfer acceptance, omitted scopes retain the original no-explicit-ceiling semantics; an explicit string list MUST literally contain ak.realm.owner.transfer. Empty, unknown, wildcard or explicit null never authorizes this purpose. This checks Device-key use only, not prospective root authority; see capabilities.md section 3.2.
oneOf · oneOf[0] · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/applet_managed_device_scopes · $ref #/$defs/applet_managed_device_scopes$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestamp$ref #/$defs/signature_material · $ref #/$defs/signature_materialEd25519 possession proof: registration_anchor uses device_authorize_possession_transcript; pcr_recovery uses device_authorize_recovery_possession_transcript; realm_managed_delegation uses the complete device_authorize_realm_actor_possession_transcript and its separate domain; accepted_device retains device_pairing_target_proof. No signature is included in its own transcript.
$ref #/$defs/device_authorize_recovery_session_id · $ref #/$defs/device_authorize_recovery_session_idRequired by the pcr_recovery branch and omitted for registration_anchor, ordinary accepted_device pairing and realm_managed_delegation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only for accepted_device. SHA-256 typed digest of the complete canonical challenge descriptor authenticated by device_signature; the verifier persists the descriptor and rechecks the exact final AccountId and authorization core.
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$expected_device_commit_id · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullallOf · allOf[34] · ?
if · if · object
此分支的 required:kind
const "ak.device.push_route""ak.device.push_route"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/device_push_route_payload
Closed account-private push-route write. Active routes and revoked tombstones are mutually exclusive whole-value shapes and both carry the single server-revision CAS precondition. The account identity is one atomic AccountId; its Station is never repeated as a delivery field.
$ref #/$defs/device_push_route_active_shape · $ref #/$defs/device_push_route_active_shape$ref #/$defs/device_push_route_revoked_shape · $ref #/$defs/device_push_route_revoked_shapeallOf · allOf[35] · ?
if · if · object
此分支的 required:kind
const "ak.device.reanchor""ak.device.reanchor"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_reanchor_payload
Closed account-local PCR recovery payload. The account authority is selected by the exact AccountId and one monotonic local device-generation CAS. PCR realm/checkpoint identifiers remain local recovery state and are not an external principal identity selector.
此分支的 required:account_id, recovery_authority_kind, recovery_policy_id, recovery_policy_version, recovery_session_id, previous_device_generation, new_device_generation, replacement_authorize_payload_digest
allOf · allOf[0] · ?
if · if · object
此分支的 required:recovery_authority_kind
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:did_root_evidence_digest
?分支必填 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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)"pcr_policy" "did_root"string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerstring^ak:recovery_session:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerintegerMust be the immediate monotonic successor of previous_device_generation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only when recovery_authority_kind=did_root; proves the optional factor enabled by the frozen PCR policy.
$ref #/$defs/digest · $ref #/$defs/digestcanonical_digest of the replacement ak.device.authorize payload object, using the Realm live digest suite.
allOf · allOf[36] · ?
if · if · object
此分支的 required:kind
const "ak.device.revoke""ak.device.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_revoke_payload
Payload for ak.device.revoke. Its exact Account or Realm actor subject is derived exclusively from the Event envelope actor_id; the payload MUST NOT mirror a principal_id. The revocation's control-plane authorization basis is the current authority-committed state (covered by the canonical Event bytes and producer_proof); its permanent cutoff is the accepted RealmCommit covering this Event. First durable canonical acceptance atomically creates ak.schema.device_revocation_state.v1 revocation_pending for the exact reducer-derived current device authorization and generation. The payload carries no checkpoint or generation field, and producers cannot self-report derived pending selectors.
此分支的 required:device_id, revoked_by, revoked_at, reason
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_ref$ref #/$defs/timestamp · $ref #/$defs/timestampstring^[a-z][a-z0-9_]{0,63}$$ref #/$defs/signature_material · $ref #/$defs/signature_materialallOf · allOf[37] · ?
if · if · object
此分支的 required:kind
const "ak.direct_conversation.bound""ak.direct_conversation.bound"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/direct_conversation_bound_payload
One immutable participant-signed confirmation of the founding coordinates and durable first exact-pair MLS completion. A different Event cannot add another confirmation. All fixed fields must match the original accepted founding unit and first exact-pair state; no binding_digest or extra state fields.
此分支的 required:pair_key, unordered_participant_ids, realm_id, main_strand_id, founding_unit_digest, authorization_basis, initial_exact_pair_group_state_ref, created_at
stringCanonical unordered pair key: SHA-256(UTF8(ak.direct-conversation.pair-key.v1 followed by LF) || JCS({participants:[p0,p1],trust_domain_id})) where p0/p1 are exact ActorIds sorted by their RFC 8785 JCS bytes. Receivers MUST recompute it exactly as contact-and-direct-conversation.md section 5.1 defines; handles, bare principal IDs and unresolved pairwise DIDs are forbidden inputs.
^sha256:[0-9a-f]{64}$分支必填 unordered_participant_ids · array<$ref ./common-ids.schema.json#/$defs/actor_id>
items · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idstringDigest of the accepted four Event atomic founding unit this binding endorses.
^sha256:[0-9a-f]{64}$$ref #/$defs/direct_conversation_authorization_basis · $ref #/$defs/direct_conversation_authorization_basis$ref #/$defs/event_ref · $ref #/$defs/event_refThe winning Add Commit Event that first establishes both exact participants in the scope's single immutable derived MLS group.
$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[38] · ?
if · if · object
此分支的 required:kind
const "ak.identity.accountability_grant""ak.identity.accountability_grant"then · then · object
payload · object · $ref ./accountability-grant.schema.json
Issuer-signed endorsement used to verify Actor Profile accountable_principal_ids entries. This is the payload contract for ak.identity.accountability_grant.
此分支的 required:schema, issuer_id, subject_id, accountability_scope, not_before, grant_status, proof
const "ak.schema.accountability_grant.v1""ak.schema.accountability_grant.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 accountability_scope · oneOf[2]
Non-empty duplicate-free closed set used only for display and accountability governance; never grants authorization. A string is the singleton-set wire form. Array order has no semantic meaning. Canonical authors emit singleton sets as strings and multi-value sets in ascending raw UTF-8 byte order; receivers accept every schema-valid ordering and normalize only for current state-subject derivation, domain equality, and projection union.
$ref #/$defs/scope · $ref #/$defs/scopeoneOf · oneOf[1] · array<$ref #/$defs/scope>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the accountability grant is non-expiring and governed by grant_status revocation and controller lifecycle cascade.
string (enum)"active" "revoked"分支必填 proof · object · $ref ./event-envelope.schema.json#/$defs/proof
Generic detached-JWS proof shape reused by non-Event schemas (snapshot signature, snapshot witness attestations, identity receipts, handle claims, etc.). MUST NOT be used as the shape of Event Envelope `producer_proof` — Event proofs reference $defs/event_proof and bind canonical Event bytes via `event_digest`. Non-Event signed objects MUST define an object-family signing-context constant and include it in the canonical proof binding object with payload_digest; the context constant is not a wire field in this generic shape. drift detection: `payload_digest#event_proof` in forbidden-wire-fields.json is the hard-reject mirror of this rule. New non-Event signed objects MAY $ref this shape; new signed Event-shaped objects MUST instead $ref event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
string (enum)Generic detached JWS proof over a canonical non-Event payload binding object that includes an object-family context constant.
"detached_jws"stringDID URL of the signing key for this non-Event detached proof. Same pattern as $defs/event_proof.verification_method; semantics are decoupled from Event proof (see $defs/event_proof for the Event-only shape).
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$$ref #/$defs/digest · $ref #/$defs/digestGeneric non-Event detached-proof hash. This $defs/proof shape is reused by non-Event schemas; Event.properties.producer_proof references $defs/event_proof and MUST use event_digest instead.
$ref #/$defs/timestamp · $ref #/$defs/timestampstringaudience · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)Optional role discriminator for non-Event proofs. HandleClaim core, status and revocation carriers make issuer_attestation, holder_acceptance, status_attestation and revocation_authorization load-bearing. governance_authorization marks a resource-governance-key authorization (directory withdraw/takedown-appeal, discovery-directory.md 8.7.1). Generic proof consumers ignore it unless their object-family contract makes it load-bearing.
"issuer_attestation" "holder_acceptance" "status_attestation" "revocation_authorization" "governance_authorization"string^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$allOf · allOf[39] · ?
if · if · object
此分支的 required:kind
const "ak.identity.resolution.update""ak.identity.resolution.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/identity_resolution_update_payload
Signed PCR resolution CAS payload. expected_commit_id is the exact accepted identity_resolution source revision in the full Account PCR; the old projection and method boundary are read from that source at the same transaction cut before independent method-native successor verification.
此分支的 required:expected_commit_id, next
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/resolution_commitment · $ref #/$defs/resolution_commitmentallOf · allOf[40] · ?
if · if · object
此分支的 required:kind
const "ak.invite.accept""ak.invite.accept"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_accept_payload
此分支的 required:invite_id, previous_state, invitee_account_id
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idanyallOf · allOf[41] · ?
if · if · object
此分支的 required:kind
const "ak.invite.cancel""ak.invite.cancel"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_cancel_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)"rejected" "revoked"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[42] · ?
if · if · object
此分支的 required:kind
const "ak.invite.create""ak.invite.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_create_payload
此分支的 required:invitee_account_id, introduction_evidence_digest, expires_at
分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/digest · $ref #/$defs/digestDigest of private invite delivery introduction_evidence. Raw locator tokens and receive-policy state MUST NOT appear in durable Realm events.
$ref #/$defs/timestamp · $ref #/$defs/timestampInvite expiry timestamp. Directed v1 invite creates MUST carry it; reducers MUST NOT infer indefinite validity.
anyallOf · allOf[43] · ?
if · if · object
此分支的 required:kind
const "ak.invite.revoke""ak.invite.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_revoke_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)Irreversible shared invalidation, confirmed by an authorized signed Event. Delivery failure is private; current capability, membership and abuse gates remain independent of diagnostic reason.
"revoked" "expired"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans. A policy revoke may diagnose invalidated_by_rate_limit; this never creates a distinct shared state.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[44] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind, payload
const "ak.key_backup.active_series""ak.key_backup.active_series"分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
payload · allOf[1] · $ref ./event-payload.schema.json#/$defs/key_backup_active_series_payload
Payload for ak.key_backup.active_series. The standalone ak.schema.key_backup_active_series.v1 schema carries the authoritative signed active-series record shape.
allOf · allOf[0] · object · $ref ./key-backup-active-series.schema.json
Signed principal-control record selecting the backup series for one actor and backup kind. Servers verify the accepted record; ordinary clients consume BackupActiveSeriesState from their Account Station instead of replaying PCR history. Native records are signed by the real current manager Service, while record.actor_id is the target Realm actor. Source refs name strictly earlier accepted native writers; no self Event/Commit ID enters this preimage. The outer native manager Event is independently signed. Native version/predecessor comparison is scoped by full actor, exact effective_scope and backup_kind; Device publishers cannot select series. Recovery enabled=false is not a backup/series gate.
此分支的 required:schema, actor_id, backup_kind, active_series_id, series_pointer_version, previous_series_ids, issued_at, signature_proof
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.key_backup_active_series.v1""ak.schema.key_backup_active_series.v1"分支必填 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/backup_kind · $ref #/$defs/backup_kind$ref #/$defs/backup_series_id · $ref #/$defs/backup_series_idintegerStrictly monotonic per (actor_id, backup_kind). The first record is 1 and every successor is previous+1; receivers reject rollback, gaps and same-version forks.
分支必填 previous_series_ids · array<$ref #/$defs/backup_series_id>
Retained old series used only for read-old-data or erasure transition. MUST NOT be treated as a primary recovery source.
…recursion truncated at depth 8; see source schema for full shape
source_commit_ref · object · $ref ./key-backup.schema.json#/properties/source_commit_ref
The only canonical optional source checkpoint for genesis and successor authoring. Its exact wire and public builder shape is source_commit_ref{realm_commit_id: RealmCommitId, device_generation_ref: u64 >= 1}. Producers MUST authenticate this member under the envelope signature when present and MUST NOT accept or serialize source_ref, a nested/full CommittedEventRef, a string generation, Seal data, or a frontier digest. This checkpoint is independent of series_sequence, supersedes_id, and supersedes_digest and never substitutes for the successor predecessor/CAS chain.
此分支的 required:realm_commit_id, device_generation_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp分支必填 signature_proof · object
此分支的 required:verification_method, signature_algorithm, signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
custodian_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$effective_scope · oneOf[1]
…recursion truncated at depth 8; see source schema for full shape
manager_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
recovery_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
recipient_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyallOf · allOf[45] · ?
if · if · object
此分支的 required:kind
const "ak.member.identity.update""ak.member.identity.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/member_identity_update_payload
Payload for ak.member.identity.update. Append-only replacement event for one Realm-scoped member display/subject projection segment. Service-visible metadata names the segment and the prior events it replaces; the segment body is plaintext or the original encrypted envelope and MUST contain the complete data for that segment. Handle lifecycle is excluded from this event and is governed by ak.schema.handle_claim.v1 issuer claims.
此分支的 required:realm_id, member_id, segment, identity_payload
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)v1 core defines a single full MemberIdentity segment. Narrower segments require a future schema/profile revision that extends this enum or defines a new payload schema; v1 receivers MUST reject unknown segment values.
"member_identity"replaces · array<object>
Prior ak.member.identity.update events in the same (realm_id, actor_id, segment) that this event supersedes for current profile projection. Referenced events remain immutable history.
items · object
此分支的 required:event_id, payload_digest
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 identity_payload · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:member_identity
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:encrypted_payload
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestOptional optimistic concurrency guard for the current effective set of this (realm_id, member_id, segment). When present, it MUST equal sha256 over RFC 8785 JCS of the array of the exact signed payload objects of every update in that effective set, ordered by carrying event_id ascending (the empty set is []), before applying this event (zh/sync/current-state.md section 2); a mismatch is member_identity_state_mismatch with zero writes. It is distinct from the locally derived identity_payload carrier digest and from a roster member_display_state_digest.
allOf · allOf[46] · ?
if · if · object
此分支的 required:kind
const "ak.member.state""ak.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/membership_payload
此分支的 required:member_id, membership
allOf · allOf[0] · ?
if · if · object
此分支的 required:membership
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:realm_id
allOf · allOf[1] · ?
?此分支的 required:membership_cause
then · then · object
此分支的 required:agent_controller_binding
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/membership_state · $ref #/$defs/membership_stategate_proofs · array<$ref #/$defs/join_gate_proof>
Closed join-policy gate proofs evaluated by governance/join-policy.md section 4 before accepting membership=join. At most one item per gate_id (a duplicate gate_id is schema_violation); only challenge_response and claim_required gates take an applicant-supplied proof, the other three kinds are replayed from accepted state. maxItems aligns with the gates 1..16 bound in join_policy_component; see zh/conformance/scalability-constraints.md.
$ref #/$defs/join_gate_proof · $ref #/$defs/join_gate_proofstringBounded human-readable audit note. It never supplies membership authority or proves cascade provenance.
string (enum) · $ref ./agent-membership-cascade.schema.json#/$defs/membership_lifecycle_causeClosed audit-only lifecycle cause. It never supplies authorization or proves reducer provenance.
"controller_membership_ended"agent_controller_binding · object · $ref ./agent-membership-cascade.schema.json#/$defs/agent_controller_membership_binding
Required by semantic admission for every Agent join and every controller-membership-ended cleanup. Non-Agent membership MUST reject it.
此分支的 required:controller_account_id, controller_membership_generation_ref
分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$invite_ref · oneOf[2]
$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/invite_id · $ref #/$defs/invite_idallOf · allOf[47] · ?
if · if · object
此分支的 required:kind
const "ak.message.create""ak.message.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_create_payload
Payload for ak.message.create. If content/encrypted_content contains an audience_mention AST node (for example @all or @here), reducer admission and notification dispatch MUST additionally enforce ak.message.mention.broadcast plus the audience policy / max_recipient / rate-limit rules in zh/models/strand-and-message.md §9.4.3. @here maps to audience="strand_engaged" and is not presence-filtered.
此分支的 required:strand_id, track_name
allOf · allOf[0] · oneOf[2]
?此分支的 required:content
?此分支的 required:encrypted_content
allOf · allOf[1] · ?
?此分支的 required:encrypted_content
???$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/track_name · $ref #/$defs/track_name$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatablob_refs · array<$ref #/$defs/object_ref>
$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/message_id · $ref #/$defs/message_idOptional creation convenience: the message this one replies to. The reducer records it as the message's reply linkage (lifting it onto the message content) and surfaces it as a replies_to relation in the message projection; it does not require a separate canonical ak.relation event. The materialized Message object itself carries no reply_to scalar. See strand-and-message.md §9.1.
$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenancepoll_response_heads · array<$ref #/$defs/poll_response_head>
Each entry binds a poll to the exact response Event being superseded.
$ref #/$defs/poll_response_head · $ref #/$defs/poll_response_headallOf · allOf[48] · ?
if · if · object
此分支的 required:kind
const "ak.message.redact""ak.message.redact"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_redact_payload
Payload for ak.message.redact, the object-scoped redact kind registered for Message. Message is the only object that enters state=redacted through its own kind rather than a cross-object ak.redaction, which is why message.schema.json materializes redaction_ref (models/common-fields.md 5.2). message_id is the single target carrier, so the object_redaction current state subject is always the Message typed ID.
此分支的 required:message_id
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the redacted message's parent Strand. Optional: when omitted, reducers MUST resolve from the existing message. When present, MUST equal that resolved track_name.
stringpreserve · array<string>
string$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[49] · ?
if · if · object
此分支的 required:kind
const "ak.message.revise""ak.message.revise"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_revise_payload
Payload for ak.message.revise. Revisions that introduce new direct mentions MAY generate mention notifications only when the implementation can compare against the previous accepted visible revision. Revisions that introduce an audience_mention AST node (including @all / @here mappings) MUST satisfy the same ak.message.mention.broadcast and policy gates as create.
此分支的 required:message_id
allOf · allOf[0] · oneOf[2]
?此分支的 required:content
?此分支的 required:encrypted_content
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the target Strand. Optional on revise/redact: when omitted, reducers MUST resolve from the existing message identified by message_id. When present, MUST equal that resolved track_name.
$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatastring$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[50] · ?
if · if · object
此分支的 required:kind
const "ak.mimi.room_binding""ak.mimi.room_binding"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mimi_room_binding_payload
Payload for ak.mimi.room_binding. Writes the mimi_room_binding current state whose subject is payload.mimi_room_uri (see event-kind-registry.json state_selector). Authoritative field set: zh/extensions/mimi-interop.md §3. The binding is a projection of an Arkret Realm/Strand discussion track into a MIMI room; it is not canonical truth. Creation / update / revocation MUST hold ak.policy.manage, ak.realm.admin, or an equivalent interop capability. E2EE MIMI rooms MUST bind mls_group_id and pass the active MLS key_access_revision gate.
此分支的 required:profile, mimi_room_uri, binding_scope, hub_provider_id, local_provider_role, status
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringInterop profile id, e.g. ak.profile.mimi_interop.v1.
string · $ref ./mimi-interop.schema.json#/$defs/mimi_room_uriCanonical MIMI room URI. It is the mimi_room_binding current state subject source, so it is a closed canonical form rather than a free URI: lowercase mimi:// scheme, host[:port] authority with no userinfo, lowercase A-label host, no leading-zero port, at least one non-empty path segment, no dot or dot-dot segment, no trailing slash, no query, no fragment, uppercase percent escapes, and no percent-encoding of unreserved octets (RFC 3986 section 6.2.2.2). A receiver MUST reject a non-canonical value with schema_violation and MUST NOT normalize it first, because two spellings of one room would otherwise each own a first accepted binding and the revoked terminal state could be bypassed by respelling. current state subject encoding is the uri subject kind of zh/conformance/encoding.md section 4. The pattern below expresses the structural half of the canonical form; two rules it cannot express portably -- the default port 443 MUST NOT be written explicitly, and a percent escape MUST NOT encode an unreserved octet -- are normative all the same and are closed by ak.vector.encoding.state_selector_uri.v1 plus the SDK typed validator, which every producer and receiver MUST apply in addition to this pattern. See zh/extensions/mimi-interop.md section 4.
^mimi://[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:/(?:[A-Za-z0-9\-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+)+$分支必填 binding_scope · object
Arkret Realm + Strand scope this MIMI room projects. strand_id MUST point at an accepted Strand with discussion track enabled inside realm_id; the MIMI room timeline only projects that Strand's discussion track.
此分支的 required:realm_id, strand_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idService DID explicitly delegated by Realm policy, Organization DID, or participant DID to host the hub role.
string (enum)"hub" "follower" "observer"follower_provider_ids · array<$ref #/$defs/did_core_id>
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring · $ref ./common-ids.schema.json#/$defs/mls_group_idRFC 9420 group_id as base64url_no_pad(SHA-256(UTF8("ak.mls.group_id.v1") || 0x00 || canonical_effective_scope_key_bytes(effective_scope))), so exactly 43 characters. Derived by the reducer and the SDK from the effective scope alone; actors never submit it. The v1 formula is the only one: the earlier reversible base64url of the scope key bytes MUST NOT be accepted alongside it. See zh/models/realm-and-space.md section 2.2.
^[A-Za-z0-9_-]{43}$$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringMIMI content profile, e.g. application/mimi-content.
integerAccepted ak.realm.policy_bundle revision this MIMI room binding projects. The facade compares it against the Realm's current committed policy revision and rejects a stale projection.
string (enum)Lifecycle state of the binding. Initial status MUST be proposed or accepted; legal transitions are defined in zh/extensions/mimi-interop.md §4.2. accepted bindings authorize projection; revoked bindings stop new MIMI writes; migrating stops new writes until a verified migration proof returns the binding to accepted or revoked.
"proposed" "accepted" "revoked" "migrating"string (enum)Required exactly for a migrating->accepted transition, paired with migration_proof. The signed Event asserts whether the migrating candidate topology became effective or the previous accepted topology was restored.
"completed" "rolled_back"$ref #/$defs/mimi_room_binding_migration_proof · $ref #/$defs/mimi_room_binding_migration_proof$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[51] · ?
if · if · object
此分支的 required:kind
const "ak.mls.commit""ak.mls.commit"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_commit_payload
此分支的 required:base_group_state_ref, previous_epoch, next_epoch, covers_key_access_revision, commit_base64url, governance_binding, group_info_ref, ratchet_tree_ref
$ref #/$defs/event_ref · $ref #/$defs/event_refstring · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^[A-Za-z0-9_-]+$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_bindingstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$recovery_binding · object · $ref ./content-encryption.schema.json#/$defs/recovery_binding
此分支的 required:replacement, authorization_event_ref, base_group_state_ref, expected_epoch, inventory_digest
$ref #/$defs/endpoint · $ref #/$defs/endpointstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^sha256:[0-9a-f]{64}$allOf · allOf[52] · ?
if · if · object
此分支的 required:kind
const "ak.mls.genesis""ak.mls.genesis"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_genesis_payload
此分支的 required:cipher_suite, group_info_ref, ratchet_tree_ref, creator_leaf_authority, governance_binding, created_at
allOf · allOf[0] · object
governance_binding · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringstringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$stringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_genesis_creator_leaf_authority · $ref #/$defs/mls_genesis_creator_leaf_authority$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_binding$ref #/$defs/timestamp · $ref #/$defs/timestampThe single frozen Genesis authoring timestamp. MUST equal the outer Event.created_at exactly. Cross-field equality is semantic admission, registered by ak.mls.genesis genesis_timestamp_contract in the canonical contract registry; JSON Schema shape validation alone is insufficient.
allOf · allOf[53] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision""ak.moderation.decision"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_payload
Payload for ak.moderation.decision. A committed moderation decision that writes a keyed_set_add effect onto the moderation_state current state whose subject is the canonical string of target_ref. Multiple active adds fold by hard_deny > quarantine > require_review > none. Runtime allow and soft_deny remain out-of-band outcomes. The actor MUST independently hold the registered ak.moderation.decision capability.
此分支的 required:target_ref, decision, issuer_id, request_canonical_digest
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target (event / object). Canonical string of this ref is the moderation_state current state subject.
string (enum)Committed moderation-state decision verb. allow and soft_deny are out-of-band runtime outcomes.
"hard_deny" "quarantine" "require_review"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$$ref #/$defs/digest · $ref #/$defs/digestJCS SHA-256 digest of the moderated request or Event preview. It is part of the projected element VALUE, not of the element tag: a keyed_set_add tag is exactly the canonical <event_id>:<write_index> dot, so no payload member ever enters set identity.
string (enum)Optional finer-grained §5.3 moderation_policy action family entry that the decision verb maps to (content-moderation.md §8.1).
"deny_join" "deny_restricted_join" "deny_invite" "deny_write" "deny_federation" "quarantine_message" "require_review" "redact_on_accept" "shadow_collapse"stringMachine-readable diagnostic. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes.
^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampallOf · allOf[54] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision.lift""ak.moderation.decision.lift"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_lift_payload
Payload for ak.moderation.decision.lift. The governance Station resolves decision_ref to the active decision for target_ref and applies the lift at exactly expected_commit_id.
此分支的 required:target_ref, decision_ref, expected_commit_id
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target whose moderation_state current state the lift mutates. Same current state subject as the original ak.moderation.decision.
$ref #/$defs/event_ref · $ref #/$defs/event_refReference to the prior ak.moderation.decision Event whose committed tag is being removed.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[55] · ?
if · if · object
此分支的 required:kind
const "ak.morph.archive""ak.morph.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[56] · ?
if · if · object
此分支的 required:kind
const "ak.morph.create""ak.morph.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_create_payload
Create payload uses the Morph object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.morph.stage.set.
此分支的 required:object
分支必填 object · allOf[3]
allOf · allOf[0] · object · $ref ./morph.schema.json
此分支的 required:schema, realm_id, schema_refs, morph_kind, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
??allOf · allOf[57] · ?
if · if · object
此分支的 required:kind
const "ak.morph.restore""ak.morph.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[58] · ?
if · if · object
此分支的 required:kind
const "ak.morph.stage.set""ak.morph.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_stage_set_payload
Payload class for ak.morph.stage.set. Mutates Morph.stage / Morph.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/morph.md §2.
此分支的 required:morph_id, stage
string^ak:morph:[A-Za-z0-9_-]{44}$string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[59] · ?
if · if · object
此分支的 required:kind
const "ak.morph.update""ak.morph.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_update_payload
Payload class for ak.morph.update. Patches ordinary Morph fields on the Morph identified by morph_id. morph_kind is create-locked by ak.morph.create and MUST NOT appear in patch; stage and stage_changed_at are single-sourced by ak.morph.stage.set.
此分支的 required:morph_id, patch
$ref #/$defs/morph_id · $ref #/$defs/morph_id分支必填 patch · allOf[2]
$ref #/$defs/patch · $ref #/$defs/patch?$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[60] · ?
if · if · object
此分支的 required:kind
const "ak.organization.moderation_policy""ak.organization.moderation_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/organization_moderation_policy_state_payload
Closed Organization moderation-policy state. organization_id is the Organization did_core_id and the sole registered current state subject; value carries the sole v1 Organization moderation-policy family.
此分支的 required:organization_id, value
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/organization_moderation_policy_document · $ref #/$defs/organization_moderation_policy_documentallOf · allOf[61] · ?
if · if · object
此分支的 required:kind
const "ak.pin.add""ak.pin.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_add_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[62] · ?
if · if · object
此分支的 required:kind
const "ak.pin.remove""ak.pin.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_remove_payload
此分支的 required:pin_scope, target_ref
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[63] · ?
if · if · object
此分支的 required:kind
const "ak.pin.reorder""ak.pin.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_reorder_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[64] · ?
if · if · object
此分支的 required:kind
const "ak.policy.action""ak.policy.action"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_action_state_payload
Closed policy action-log payload. Exactly one policy_id or action_id is present and selects one of two tagged policy_action current state subject branches; the two namespaces never coalesce. value carries the sole v1 approval-action document family.
此分支的 required:value
?此分支的 required:policy_id
?此分支的 required:action_id
string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./string-profiles.schema.json#/$defs/realm_action_nameNonempty 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.
^(?!ak:)$ref #/$defs/policy_action_document · $ref #/$defs/policy_action_documentallOf · allOf[65] · ?
if · if · object
此分支的 required:kind
const "ak.policy.set""ak.policy.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_set_state_payload
Closed Policy definition state payload. policy_id is the stable policy current state subject. value.schema selects exactly one of the two v1 Policy document families directly in this schema; unknown families fail schema validation.
此分支的 required:policy_id, value
if · if · object
此分支的 required:value
分支必填 value · object
此分支的 required:schema, policy_kind
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:expected_commit_id
?string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
nullstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 value · oneOf[2]
oneOf · oneOf[0] · object · $ref ./policy.schema.json
此分支的 required:id, schema, policy_kind, rules, default_effect, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object · $ref ./recovery-policy.schema.json
Normative grammar for an account's PCR recovery policy. Bound through signed control events to one exact AccountId and its local unique PCR lineage; receivers reject recovery and pcr_recovery device authorization whose proof family or optional DID-root factor is not allowed by the currently accepted policy.
此分支的 required:schema, policy_id, account_id, version, supersedes_id, trust_domain, issued_at, signature_proof, methods
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[66] · ?
if · if · object
此分支的 required:kind
const "ak.profile.create""ak.profile.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_create_payload
Initial actor profile payload. payload.object is the closed authoring region of actor-profile.schema.json, not the materialized object; see that definition for which members the reducer produces and why.
此分支的 required:object
分支必填 object · object · $ref ./actor-profile.schema.json#/$defs/actor_profile_definition
Closed Profile owner: ordinary principal_id branch or Realm actor_id branch, mutually exclusive. Realm owners are exact full actors and may not carry Account handles or Agent/accountability fields. Profile identity is Event-derived and owner/actor_kind are create-locked.
此分支的 required:actor_kind, display_name
?此分支的 required:principal_id
oneOf · oneOf[1] · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)Closed Actor classification. agent is reserved exclusively for a controller-provisioned Agent; Applet-created or Applet-hosted automation uses bot; Ghost Actor is provenance rather than an actor_kind and uses integration for an external account/integration mirror or bot for an external bot mirror. MUST NOT include device: a device is an endpoint rather than an Actor principal. actor_kind alone grants no authority; authorization still requires the normative DID, provisioning/registration, Grant and Constraint evidence. See zh/models/actor.md.
"user" "organization" "team" "agent" "bot" "service" "integration"string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_128NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$string (arkret-canonical-handle) · format=arkret-canonical-handle · $ref string-profiles.schema.json#/$defs/canonical_handleCanonical <prepared-localpart>:<lowercase-A-label-domain> handle or realm alias. The prepared localpart maximum is 128 Unicode code points; the domain maximum is 253 ASCII octets.
^(?!ak:)[^\s:@/#?\\]+:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)+$string (arkret-agent-slug) · format=arkret-agent-slug · $ref string-profiles.schema.json#/$defs/agent_slugCanonical controller-scoped Agent Agent selector slug. Maximum 64 Unicode code points in prepared form.
^[^\s:@/#?\\]+$string^ak:blob:(?:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|(?:sha256|blake3):[0-9a-f]{64})$accountable_principal_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
profile_fields · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
encrypted_private_fields · object · $ref ./encrypted-envelope.schema.json
Closed recoverable application ciphertext. encryption_scheme selects the registered construction, content_type selects decrypted business content. No implicit standard-MLS or plaintext fallback.
此分支的 required:version, content_type, encryption_scheme, encryption_context, ciphertext
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[67] · ?
if · if · object
此分支的 required:kind
const "ak.profile.realm_override""ak.profile.realm_override"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/profile_realm_override_payload
Realm-scoped actor profile override payload for ak.profile.realm_override. actor_profile_id is the Actor Profile being overridden; target_realm_id is the Realm where the override applies. resolution, principal_id and actor_kind are forbidden here for the same reasons they are forbidden on the generic profile write surface -- a per-Realm override is still not a place to rebind identity; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, target_realm_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[6]
$ref #/$defs/patch · $ref #/$defs/patch?????$ref #/$defs/digest · $ref #/$defs/digestOptional guard over the folded current override: sha256 over RFC 8785 JCS of the display object obtained by applying every accepted assertion patch of this target in accepted commit order to {} ({} when there is none), zh/sync/current-state.md section 2. A mismatch rejects with zero writes.
allOf · allOf[68] · ?
if · if · object
此分支的 required:kind
const "ak.profile.update""ak.profile.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_update_payload
Actor Profile patch payload. resolution and every resolution.* descendant path are reducer-managed projections of the PCR resolution current state. principal_id and actor_kind are create-locked by ak.profile.create: zh/discovery/profiles-presence.md section 2.3 decides which principal a profile is for at create, and nothing said an update could not move it, so this surface could rebind a profile to another principal or retype a user as an agent. All three are forbidden here; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_id分支必填 patch · allOf[6]
$ref #/$defs/patch · $ref #/$defs/patch????allOf · allOf[5] · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$allOf · allOf[69] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.add""ak.reaction.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
?此分支的 required:encrypted_payload
?$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[70] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.remove""ak.reaction.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
?此分支的 required:encrypted_payload
?$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[71] · ?
if · if · object
此分支的 required:kind
const "ak.read_cursor.advance""ak.read_cursor.advance"then · then · object
payload · object · $ref ./read-cursor.schema.json
Actor-private multi-device read cursor. Stored in encrypted account data or actor-private stream; NEVER published into a shared Realm Event history. Bound to (actor_id, realm_id, read_scope, position, HLC, device_id) per zh/discovery/read-receipts.md §6.6. Multi-device merge is causal-first per §6.5: the position that causally dominates wins regardless of HLC; HLC max decides only causally concurrent positions, and device_id only breaks equal HLCs. The object carries NO typed id and NO update timestamp. A cursor is never updated in place: its identity is the (actor_id, realm_id, read_scope) tuple, each advance is a freshly authored ak.read_cursor.advance Event (event-kind-registry id_source=not_an_object_id), and the time of that update is that Event envelope created_at. There is no read_cursor typed ID kind, no id-addressed read surface, and capability selectors address read cursors only as read_cursor:<realm>:*. Derived views that need a time (read-cursor-operations.schema.json#/$defs/read_marker_response_body, the ak.read_cursor.update device-message content ak.schema.read_cursor_update.v1) take updated_at from the winning advance envelope.
此分支的 required:schema, actor_id, device_id, realm_id, read_scope, position
const "ak.schema.read_cursor.v1""ak.schema.read_cursor.v1"分支必填 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringOriginating device. Required for multi-device convergence: when two devices race on the same (actor_id, realm_id, read_scope) the receiver first picks the later position when both position Events are committed on the same CommitStreamRef; only when neither dominates (different streams or the same Event) does it pick the greater HLC, and device_id provides a deterministic actor_id-scoped tiebreaker when those HLCs are equal. device_id MUST NOT be used to select a position that another position dominates.
^ak:device:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/read_scope · $ref #/$defs/read_scope$ref #/$defs/position · $ref #/$defs/positionallOf · allOf[72] · ?
if · if · object
此分支的 required:kind
const "ak.realm.alias""ak.realm.alias"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/realm_alias_payload
Closed payload for ak.realm.alias, the ONLY wire carrier of a Realm alias. A declaration writes the complete canonical alias; {tombstone:true} is a durable value tombstone that removes the alias from effective resolution without erasing the current state history. realm-genesis.schema.json and realm-profile.schema.json are closed and have no alias property, and ak.realm.create / ak.realm.profile payloads MUST NOT carry one.
$ref #/$defs/realm_alias_declaration · $ref #/$defs/realm_alias_declaration$ref #/$defs/realm_alias_tombstone · $ref #/$defs/realm_alias_tombstoneallOf · allOf[73] · ?
if · if · object
此分支的 required:kind
const "ak.realm.archive""ak.realm.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[74] · ?
if · if · object
此分支的 required:kind
const "ak.realm.asset_privacy_policy""ak.realm.asset_privacy_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_asset_privacy_policy_payload
Closed whole-value payload for ak.realm.asset_privacy_policy.
此分支的 required:value
分支必填 value · object
string (enum)"direct" "provider_proxy" "ohttp_relay" "client_mirror"allowed_modes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
booleanfalseupload_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
download_proxy_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
ohttp_gateway_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
max_plaintext_metadata · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
booleanallOf · allOf[75] · ?
if · if · object
此分支的 required:kind
const "ak.realm.authority.reset""ak.realm.authority.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_authority_reset_payload
ak.realm.authority.reset — invalidate every capability grant that descends from this Realm's authority root in one accepted Event. It increments authority_generation only: controller_actor_id and controller_epoch are preserved verbatim, so the reset is not a controller change and never moves the root. Every realm_root grant ref carries the generation it was issued under, so advancing the generation is exactly what makes a whole delegated authority tree stop evaluating; ak.realm.owner.transfer preserves the generation and therefore leaves every child grant valid. The current controller is the only possible author: the compare-and-set below requires the frozen pre-state digest, so this is a deliberate act by the holder of root control, never an automatic takeover of a lost authority.
此分支的 required:realm_id, expected_state_digest
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite. The successor generation is uniquely computed from the pre-state this digest freezes, so no counter is carried on the wire.
^sha256:[0-9a-f]{64}$allOf · allOf[76] · ?
if · if · object
此分支的 required:kind
const "ak.realm.create""ak.realm.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_create_payload
Minimal identity and security-root payload for ak.realm.create. User-visible, mutable, policy and reducer-derived Realm state is carried only by registered bootstrap facets. Every genesis, including Principal Control Realm and Agent PCR, requires a canonical 32-octet genesis_salt.
此分支的 required:object
分支必填 object · object · $ref ./realm-genesis.schema.json
Human PCR accepted registration genesis binds the complete Account and its account Station permanently under ak.profile.principal_control_realm.v1 pcr_governance_policy. A Human genesis governor mismatch, authority transition or foreign current governor rejects without effects; provenance is independently verified and is not a caller-supplied flag. Other proven subject branches retain their existing rules.
此分支的 required:schema, purpose, genesis_salt, trust_domain, security_class, governance_station_id, initial_join_rule, initial_history_access, initial_encryption_backup_strategy, initial_discoverability
allOf · allOf[0] · ?
Only a Human principal_control Event may carry the descriptor. Other purposes forbid it here; the enclosing Event requires it exactly for the Human executor-absent branch and forbids it for delegated Organization genesis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Only identity-control Realm genesis carries initial_resolution, and every such genesis carries it. Collaboration/direct-conversation Realms MUST omit it.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
Human Principal Control Realm genesis uses the independently closed human-principal DID method set.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[3] · ?
Agent PCR genesis commits the already accepted did:webvh inception head. The later PCR service binding update is continuous from this head and does not participate in the create Event preimage.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.realm_genesis.v1""ak.schema.realm_genesis.v1"string (enum)"collaboration" "direct_conversation" "principal_control" "agent_control"stringCanonical unpadded Base64URL encoding of exactly 32 CSPRNG octets. It distinguishes event-derived creation intents and has no replay, ordering, authorization, freshness, or winner semantics.
^[A-Za-z0-9_-]{43}$$ref #/$defs/founding_device_descriptor · $ref #/$defs/founding_device_descriptorHuman Principal Control Realm genesis only. The Human pcr_genesis_unit requires it; delegated Organization, Agent and business Realm genesis MUST omit it. Payload-only validation cannot distinguish Human and Organization principal_control: the enclosing Event executor branch and native unit enforce the exact requirement.
initial_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./realm.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string (enum) · $ref ./realm.schema.json#/properties/security_classOptional security class. 'high_assurance' forbids federation_policy=open and SHOULD use stricter resolver/E2EE/audit defaults. Omitted = 'standard'.
"standard" "high_assurance"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum) · $ref ./realm.schema.json#/properties/default_join_rule"public" "invite" "knock" "restricted" "knock_restricted" "closed"string (enum) · $ref ./realm.schema.json#/properties/history_accessScope-local authorized historical range; both values are supported by recoverable application encryption. Same Actor endpoint replacement preserves its original authorized floor.
"since_join" "all_history_for_current_members"const "ak.encryption_backup.epoch_content_roots.v1" · $ref ./content-encryption.schema.json#/$defs/encryption_backup_strategy"ak.encryption_backup.epoch_content_roots.v1"string (enum) · $ref ./realm.schema.json#/properties/default_discoverability"public" "listed" "restricted" "unlisted" "invite_only" "secret"allOf · allOf[77] · ?
if · if · object
此分支的 required:kind
const "ak.realm.destroy""ak.realm.destroy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_destroy_payload
此分支的 required:reason
stringstring · $ref ./realm.schema.json#/properties/retention_policy_id^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$booleantrueallOf · allOf[78] · ?
if · if · object
此分支的 required:kind
const "ak.realm.discovery""ak.realm.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_discovery_payload
Closed whole-value payload for ak.realm.discovery. Preview field selection is owned exclusively by ak.realm.preview_policy.
此分支的 required:value
分支必填 value · object
此分支的 required:discoverability
string (enum)"public" "listed" "restricted" "unlisted" "invite_only" "secret"directory_visibility · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allowed_discoverers · array<object>
…recursion truncated at depth 8; see source schema for full shape
directory_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
anti_enumeration · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[79] · ?
if · if · object
此分支的 required:kind
const "ak.realm.freeze""ak.realm.freeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[80] · ?
if · if · object
此分支的 required:kind
const "ak.realm.governance_station.change""ak.realm.governance_station.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_governance_station_change_payload
Admission requires verified transfer eligibility under the PCR profile pcr_governance_policy; Human PCR rejects without effects even with valid signatures. The payload has no subject-role override.
此分支的 required:expected_governance_generation, expected_realm_stream_commit_id, new_governance_station_id
string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$allOf · allOf[81] · ?
if · if · object
此分支的 required:kind
const "ak.realm.history_access""ak.realm.history_access"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/history_access_payload
Realm history-access FSM transition. The atomic create unit uses from=null exactly once and chooses either closed initial state. After create the only legal state-changing edge is all_history_for_current_members to since_join; widening and every other new transition are permanently rejected. Exact same-transition/same-basis replay is an idempotent duplicate/no-op.
此分支的 required:from, to
分支必填 from · oneOf[2]
null$ref #/$defs/history_access_value · $ref #/$defs/history_access_value$ref #/$defs/history_access_value · $ref #/$defs/history_access_valuestringallOf · allOf[82] · ?
if · if · object
此分支的 required:kind
const "ak.realm.join_rule""ak.realm.join_rule"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_join_rule_payload
Closed whole-value payload for ak.realm.join_rule.
此分支的 required:value
string (enum)"public" "invite" "knock" "restricted" "knock_restricted" "closed"allOf · allOf[83] · ?
if · if · object
此分支的 required:kind
const "ak.realm.link""ak.realm.link"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_link_payload
此分支的 required:target_realm_id, link_kind, status
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string (enum)"governed_by" "discoverable_from" "join_gate_from" "confidential_extension_of" "mirror_of" "split_from" "replaces"$ref #/$defs/hierarchy_link_status · $ref #/$defs/hierarchy_link_statusstring (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/digest · $ref #/$defs/digestevidence_refs · array<$ref #/$defs/event_ref>
$ref #/$defs/event_ref · $ref #/$defs/event_refstringallOf · allOf[84] · ?
if · if · object
此分支的 required:kind
const "ak.realm.media_service""ak.realm.media_service"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_media_service_payload
此分支的 required:value
分支必填 value · object
此分支的 required:service_id, foci
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$modes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
stringICE / TURN credential endpoint. Part of the section 2.1 integrity binding.
^https://[^\s]+$分支必填 foci · array<$ref #/$defs/media_service_focus>
Non-empty multi-focus list. A descriptor carrying a single flat sfu_endpoint, or no foci at all, MUST fail closed with media_service_foci_required; a server MUST NOT normalize or infer one in the realtime path.
…recursion truncated at depth 8; see source schema for full shape
string (enum)"p2p" "sfu" "mcu"allowed_call_modes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
booleanallOf · allOf[85] · ?
if · if · object
此分支的 required:kind
const "ak.realm.organization""ak.realm.organization"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_organization_payload
Organization-side endorsement or revocation for a Realm relationship. Reducer validation MUST require realm_id to match the top-level Event.realm_id, organization_id to identify an Organization principal in accepted registration state, the Realm-side writer to hold ak.realm.admin, and authorization to verify against current organization DID control evidence or a delegated service whose purpose covers this relationship and control_scopes. The stable organization_id is not itself resolvable DID material.
此分支的 required:statement_id, realm_id, organization_id, relationship, status, control_scopes, issued_at, authorization
allOf · allOf[0] · ?
if · if · object
此分支的 required:status
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:revokes_statement_id
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idStable Organization principal identity that endorses, governs, sponsors, certifies, or revokes the Realm relationship. This did_core_id is bound to current Organization DID evidence through accepted registration/resolution state; it is not itself resolvable.
string (enum)Relationship being asserted or revoked for this organization and Realm.
"owner" "governance" "sponsor" "directory_certifier"string (enum)"active" "revoked"分支必填 control_scopes · array<string (enum)>
Machine-readable scopes covered by the organization's consent. A scope here is an endorsement boundary only; actual Realm control still requires the corresponding Realm policy, governance-Station authority, capability, or service-binding Event.
string (enum)"official_badge" "realm_admin" "realm_authority" "moderation_policy" "retention_policy" "directory_listing" "plaintext_visible_service"$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampAdministrative review/renewal hint only. It does not auto-transition account status; a later AccountStatusRecord is required and remains subject to sequence and terminal rules.
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refOptional DID-document delegation URL, policy object, governance decision, or attestation reference used to evaluate the statement.
分支必填 authorization · object
Organization-side authorization proof. This is independent of the Realm-side ak.realm.admin authorization required to write the event into Realm history.
此分支的 required:issuer_id, issuer_role, verification_method, signed_at, proof
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idStable Organization or delegated-service principal identity that issued this statement. The issuer_id is a did_core_id; verification_method and accepted registration/delegation state carry the DID evidence required to verify the issuer.
string (enum)"organization" "governance_service" "account_authority" "threshold_quorum"$ref #/$defs/verification_method · $ref #/$defs/verification_method$ref #/$defs/object_ref · $ref #/$defs/object_refRequired when issuer_role is governance_service or account_authority. It MUST resolve to a live organization DID delegation whose purpose covers ak.realm.organization and the requested relationship/control_scopes.
executed_by · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/signature_material · $ref #/$defs/signature_materialSignature, threshold transcript, or governance-service attestation over the canonical organization statement binding statement_id, realm_id, organization_id, relationship, status, control_scopes, issued_at, validity window, and statement replacement/revocation fields.
allOf · allOf[86] · ?
if · if · object
此分支的 required:kind
const "ak.realm.owner.transfer""ak.realm.owner.transfer"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_owner_transfer_payload
ak.realm.owner.transfer — rotate the controller binding of the Realm authority-root current state. It changes controller_actor_id and increments controller_epoch only: authority_generation, the current state ref and every existing grant are untouched, so the whole authority tree issued by the previous controller stays valid. This is not a reparent — the root never moves.
此分支的 required:realm_id, expected_state_digest, patch, successor_acceptance
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite.
^sha256:[0-9a-f]{64}$分支必填 patch · object
The authority-root member selected by the author. The reducer also increments controller_epoch from the CAS-frozen pre-state; every other member is preserved verbatim.
此分支的 required:controller_actor_id
分支必填 controller_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 successor_acceptance · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_owner_transfer_acceptance_signature
Independent successor acceptance over realm_owner_transfer_acceptance_transcript, never over itself or the final EventId. The current controller then signs the complete Event including this carrier. The receiver independently resolves the patch-selected successor current accepted Device key and limited key-purpose ceiling; outer author Device evidence is insufficient.
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[87] · ?
if · if · object
此分支的 required:kind
const "ak.realm.plaintext_visible_services""ak.realm.plaintext_visible_services"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/plaintext_visible_services_payload
此分支的 required:services
分支必填 services · array<object>
items · object
此分支的 required:service_id, service_kind, purposes, data_classes, visibility
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[88] · ?
if · if · object
此分支的 required:kind
const "ak.realm.policy_bundle""ak.realm.policy_bundle"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_policy_bundle_payload
Enabled Realm policy component set, written wholesale into the realm_policy_bundle commit-ordered projection current state: every revision restates the complete enabled component set and the Realm object's derived policy fields re-derive from the latest accepted bundle. policy_revision starts at 1 and every later authoritative reducer admission MUST equal previous.policy_revision + 1: rollback uses top-level policy_revision_rollback; a forward gap uses failed_precondition with reason_code policy_revision_gap and produces zero current-state writes. policy_revision MUST cover policy_revision (see contract-registry event-kind row and models/realm-and-space.md section 2.3).
此分支的 required:policy_revision
integerStrictly monotonic bundle revision; rollback or gaps are rejected.
string (enum) · $ref ./realm.schema.json#/properties/federation_policyThe sole producer carrier of the effective Realm federation policy. High-assurance Realm reducers require closed, restricted, or quarantine and reject open.
"open" "restricted" "closed" "quarantine"booleanWhether a media service listed in plaintext_visible_services may decrypt call media. Defaults to false when absent. It is one of three conditions that MUST all hold (ak.realm.media_service declaration + plaintext_visible_services grant + this toggle). Because it changes who may receive media keys, it enters the media scope key_access_revision; a generation that does not cover the current value cannot authorize media decryption. See crypto-media/media-service-binding.md section 8.2.
$ref #/$defs/join_policy_component · $ref #/$defs/join_policy_componenthandle_issuer_policies · array<object>
Ordered Realm handle-issuer trust policy used by primary-handle resolution. Earlier entries have higher tie-break priority; every issuer is domain-scoped.
items · object
此分支的 required:issuer_id, authorized_handle_domains, issuer_class
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
agent_participation · object · $ref ./realm.schema.json#/properties/agent_participation
Realm five-bit Agent participation ceiling. It may only tighten the target-service safety ceiling and is itself the parent of Strand ceilings.
此分支的 required:agent
分支必填 agent · object · $ref ./principal-operations.schema.json#/$defs/participation_bits
此分支的 required:message_creation_allowed, reaction_addition_allowed, reaction_removal_allowed, third_party_mention_delivery_allowed, acting_on_behalf_allowed
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
account_deactivation · object
此分支的 required:member_action
string (enum)How this Realm disposes of a principal's membership when the account enters deactivated. Defaults to leave_self_initiated when the component is absent. Unrecognized values fail closed to retain_membership with a policy parse warning and MUST NOT silently fall back to the default. The single authority for the closed enum and its disposition semantics is identity/account-lifecycle.md section 7.1.
"leave_self_initiated" "retain_membership" "leave_all"integer · $ref ./realm.schema.json#/properties/max_authority_lifetime_msMaximum fixed child-chain lifetime only for actions explicitly required to be finite by their risk/constraint contract. Defaults to 24 hours for those actions. Each explicit finite root authorization uses the accepting RealmCommit.committed_at plus its effective lifetime; finite parent source windows cannot be renewed by redelegation. It does not impose expiry on unbounded ordinary chat/read/organizer authorization.
86400000preauth · object
此分支的 required:consent_required
booleanWhen true, every invite into this Realm MUST pass the holder consent admission gate in identity/consent-model.md section 6.1 before the invite Event is submitted. It MUST NOT be read as permission for a cross-Realm authority-commit precondition.
invite_link_limits · object · $ref ./realm-invite-link.schema.json#/$defs/limits
此分支的 required:max_lifetime_seconds, max_use_count_per_link
integer2592000integer1000allOf · allOf[89] · ?
if · if · object
此分支的 required:kind
const "ak.realm.preview_policy""ak.realm.preview_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/preview_policy_payload
此分支的 required:value
分支必填 value · object
此分支的 required:mode, audiences, fields
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"none" "directory_card" "stripped_state" "history_stub" "history_snippet"分支必填 audiences · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
分支必填 fields · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
history · object
此分支的 required:range, content
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
token · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[90] · ?
if · if · object
此分支的 required:kind
const "ak.realm.profile""ak.realm.profile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_profile_payload
此分支的 required:schema, title
const "ak.schema.realm_profile.v1""ak.schema.realm_profile.v1"string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref ./string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$string (arkret-short-text) · format=arkret-short-text · $ref ./string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$allOf · allOf[91] · ?
if · if · object
此分支的 required:kind
const "ak.scope.read_receipt_policy""ak.scope.read_receipt_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/read_receipt_policy_payload
string (enum)"required" "optional" "disabled"string (enum)"public" "members" "private"$ref #/$defs/read_receipt_policy_scope_ref · $ref #/$defs/read_receipt_policy_scope_refallOf · allOf[92] · ?
if · if · object
此分支的 required:kind
const "ak.realm.restore""ak.realm.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[93] · ?
if · if · object
此分支的 required:kind
const "ak.realm.schema""ak.realm.schema"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_schema_payload
Closed whole-value payload for ak.realm.schema. value.schema_refs is the complete replacement set of activated schema ids; it is not merged with any previous set. Every member MUST be a registered ak.schema.*.vN id, and the core member ak.schema.realm.v1 MUST be present in every update, so the set can never drop self-contained Realm validation. The Realm structural role is carried only by the signed ak.schema.realm_genesis.v1 purpose and is not writable here; policy and deployment profiles have their own carriers.
此分支的 required:value
分支必填 value · object
此分支的 required:schema_refs
分支必填 schema_refs · array<string>
Complete replacement set of activated schema ids. Members MUST be registered ak.schema.*.vN ids; unknown or unregistered ids fail closed. ak.schema.realm.v1 MUST be a member of every accepted value.
…recursion truncated at depth 8; see source schema for full shape
objectallOf · allOf[94] · ?
if · if · object
此分支的 required:kind
const "ak.realm.search_policy""ak.realm.search_policy"then · then · object
payload · object · $ref ./search-service.schema.json#/$defs/search_policy
此分支的 required:enabled_profile_refs, allowed_service_ids, data_classes
分支必填 enabled_profile_refs · array<string (enum)>
string (enum)"ak.profile.search.client_index.v1" "ak.profile.search.blind_index.v1" "ak.profile.search.forward_private.v1"分支必填 allowed_service_ids · array<$ref ./common-ids.schema.json#/$defs/did_core_id>
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 data_classes · array<string (enum)>
string (enum)"encrypted_index" "blind_tokens" "plaintext" "reversible_summary"integerstring (enum)"fail_closed" "drop_stale"string (enum)Machine-readable search leakage class. ak.profile.search.blind_index.v1 uses deterministic_token; ak.profile.search.forward_private.v1 requires forward_private; access_hiding is reserved for explicit PIR/ORAM-backed profiles.
"deterministic_token" "forward_private" "access_hiding""deterministic_token"integerMaximum intended interval between search token generations for profiles that rotate index keys or OPRF blinds.
allOf · allOf[95] · ?
if · if · object
此分支的 required:kind
const "ak.realm.set_default_strand""ak.realm.set_default_strand"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_set_default_strand_payload
Payload for ak.realm.set_default_strand. Sets / changes the Realm's authoritative default discussion Strand pointer. Reducer projects strand_id into the Realm projection default_strand_id (single authoritative pointer; avoids multi-default dirty state). Reducer MUST verify strand_id references a projected, non-tombstoned Strand in this Realm; a dangling reference MUST be rejected with failed_precondition. The Strand projection is_default is a derived marker (strand_id == realm.default_strand_id), never independent storage. expected_default_strand_id compiles to a current state expected_commit_id precondition for optimistic concurrency (CAS). Absent and explicit null are normalized to the same null value before comparison, so omission asserts expected_commit_id null and is only valid while the current state is still in its initial no-default state; once a default is set the field MUST be present, otherwise the reducer MUST reject with failed_precondition and MUST NOT overwrite unconditionally.
此分支的 required:realm_id, strand_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idexpected_default_strand_id · oneOf[2]
Optimistic-concurrency guard compared as a whole value after absent and explicit null are normalized to null. The reducer accepts the write only if the Realm's current default_strand_id equals this value (null asserts no default is currently set). Omission therefore asserts expected_commit_id null and MUST fail once a default exists. Mismatch MUST be rejected (failed_precondition).
$ref #/$defs/strand_id · $ref #/$defs/strand_idnullstringallOf · allOf[96] · ?
if · if · object
此分支的 required:kind
const "ak.realm.tombstone""ak.realm.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_tombstone_payload
此分支的 required:reason, successor_realm_id
stringstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[97] · ?
if · if · object
此分支的 required:kind
const "ak.realm.unfreeze""ak.realm.unfreeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[98] · ?
if · if · object
此分支的 required:kind
const "ak.redaction""ak.redaction"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/cross_object_redaction_payload
Payload for the cross-object ak.redaction. Shares the object_redaction current state family with ak.message.redact but carries a target set that mechanically excludes Message: message_id is not a member and target_ref cannot spell ak:message:. target_ref is the single target carrier; its lexical space covers both object targets and ak:event: targets, so the current state subject is well defined without a coalesce.
此分支的 required:target_ref
$ref #/$defs/cross_object_redaction_target_ref · $ref #/$defs/cross_object_redaction_target_refstringpreserve · array<string>
stringallOf · allOf[99] · ?
if · if · object
此分支的 required:kind
const "ak.relation.create""ak.relation.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_create_payload
Create or replace the Relation current value at one registered primary conflict domain. primary_conflict_domain is the signed current-state subject and MUST exactly match payload.relation's registered relation_kind/from_ref/to_ref shape. payload.relation is the closed six-field relation_definition authoring region; its optional relation.rank is the only create-time rank carrier, and materialized Relation members are forbidden. expected_commit_id is null only when the domain has never been written; after a tombstone, a new event-derived RelationId MAY replace that tombstoned value only at its exact revision. An active current value cannot be replaced by create.
此分支的 required:primary_conflict_domain, expected_commit_id, relation
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"tuple" "from"stringThe current Relation's create-locked relation_kind. It MUST resolve to a directly writable relation-kind-registry.json shape whose registered primary_conflict_domain equals domain_kind; a derived_projection shape is rejected with schema_violation (reason=relation_kind_contains_derived / relation_kind_watches_derived).
$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpoint$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpointPresent exactly when domain_kind=tuple. A from domain already identifies the single current Relation for the from_ref, so carrying to_ref there would create a second spelling of the subject.
分支必填 expected_commit_id · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$null$ref #/$defs/relation_create_object · $ref #/$defs/relation_create_objectallOf · allOf[100] · ?
if · if · object
此分支的 required:kind
const "ak.relation.tombstone""ak.relation.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_tombstone_payload
Payload for ak.relation.tombstone. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. The transition is irreversible for that RelationId. When supplied, reason is retained on the Event and is not copied into the materialized Relation object.
此分支的 required:primary_conflict_domain, expected_commit_id, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"tuple" "from"stringThe current Relation's create-locked relation_kind. It MUST resolve to a directly writable relation-kind-registry.json shape whose registered primary_conflict_domain equals domain_kind; a derived_projection shape is rejected with schema_violation (reason=relation_kind_contains_derived / relation_kind_watches_derived).
$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpoint$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpointPresent exactly when domain_kind=tuple. A from domain already identifies the single current Relation for the from_ref, so carrying to_ref there would create a second spelling of the subject.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/relation_id · $ref #/$defs/relation_idstringallOf · allOf[101] · ?
if · if · object
此分支的 required:kind
const "ak.relation.update""ak.relation.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_update_payload
Relation patch payload. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. relation_kind/from_ref/to_ref are create-locked because they define the subject; changing them requires an explicit tombstone followed by create. effective_scope and every effective_scope.* descendant path remain reducer-managed.
此分支的 required:primary_conflict_domain, expected_commit_id, patch, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"tuple" "from"stringThe current Relation's create-locked relation_kind. It MUST resolve to a directly writable relation-kind-registry.json shape whose registered primary_conflict_domain equals domain_kind; a derived_projection shape is rejected with schema_violation (reason=relation_kind_contains_derived / relation_kind_watches_derived).
$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpoint$ref #/$defs/relation_endpoint · $ref #/$defs/relation_endpointPresent exactly when domain_kind=tuple. A from domain already identifies the single current Relation for the from_ref, so carrying to_ref there would create a second spelling of the subject.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[5]
$ref #/$defs/patch · $ref #/$defs/patch????$ref #/$defs/relation_id · $ref #/$defs/relation_idallOf · allOf[102] · ?
if · if · object
此分支的 required:kind
const "ak.rsvp.set""ak.rsvp.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/rsvp_set_payload
此分支的 required:event_ref, occurrence, entry
$ref #/$defs/strand_id · $ref #/$defs/strand_idCalendar event Strand id; encoded as a ak:strand: typed id.
分支必填 occurrence · oneOf[3]
JSON null for the whole series, or the canonical recurrence instance key: YYYY-MM-DD for all-day events and YYYY-MM-DDTHH:MM:SS[Zone] for timed events. The date component MUST be a real proleptic-Gregorian date, not merely match the digit pattern. The producer MUST canonicalize before signing; receivers MUST reject non-canonical keys instead of rewriting them.
nullstring (date) · format=date · $ref ./time.schema.json#/$defs/local_dateProleptic Gregorian calendar date with no time, offset, or zone. Not an absolute instant: it resolves to an instant only through an explicitly carried IANA time zone plus TZDB version. Shape validation by this pattern is supplemented by semantic date validation.
^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$string^[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]\[[A-Za-z][A-Za-z0-9_+-]*(?:/[A-Za-z0-9_+-]+)*\]$$ref #/$defs/rsvp_entry · $ref #/$defs/rsvp_entryallOf · allOf[103] · ?
if · if · object
此分支的 required:kind
const "ak.schema.define""ak.schema.define"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/schema_define_state_payload
Schema definition payload. value is a JSON Schema 2020-12 document validated by the executable ak.validator.json_schema_2020_12_definition.v1 profile; value.$id is the stable definition current state subject.
此分支的 required:value
分支必填 value · object
此分支的 required:$schema, $id
const "https://json-schema.org/draft/2020-12/schema""https://json-schema.org/draft/2020-12/schema"string^ak\.schema\.[a-z0-9_]+(?:\.[a-z0-9_]+)*\.v[0-9]+$allOf · allOf[104] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.deactivate""ak.self.agent.deactivate"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_deactivate_payload
Payload for the single terminal ak.self.agent.deactivate Event. The lifecycle current state is addressed only by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. At the accepted RealmCommit covering this Event, every verifier mechanically AND-gates all subordinate Agent runtime-key authorizations, sessions, pairing handles, capability grants, KeyPackages, presence and future submissions on lifecycle=active. Historical child Events remain auditable; explicit child revokes are not prerequisites and are reserved for targeted revocation while the Agent is non-terminal. The lifecycle state witness is sufficient transition evidence for every derived ineffective child.
此分支的 required:transition, previous_status, status_changed_at
const "deactivate""deactivate"string (enum)Controller lifecycle intent at deactivation time. Generic Agent status has only lifecycle, readiness and presence; pairing-poll runtime_state is operation-local and never appears here (key-management.md §3.6.1).
"active" "paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[105] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.pause""ak.self.agent.pause"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_pause_payload
Payload for ak.self.agent.pause. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject and moves from active to paused; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state; the reducer accepts the transition only under the accepted current authority-committed results.
此分支的 required:transition, previous_status, status_changed_at
const "pause""pause"const "active""active"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[106] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.resume""ak.self.agent.resume"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_resume_payload
Payload for ak.self.agent.resume. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state, and reducers re-check controller, agent, key, capability, Realm policy, and accountability grant against the accepted current authority-committed results before returning the agent to active. Sidecar desired membership is derived afterward and is not carried in this payload.
此分支的 required:transition, previous_status, status_changed_at
const "resume""resume"const "paused""paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[107] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.context.attach""ak.sidecar.context.attach"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_context_attach_payload
Controller-signed versioned attachment of a source Realm context to an existing native Sidecar. It creates no Strand or Relation protocol object.
此分支的 required:sidecar_id, source_context_ref, version
allOf · allOf[0] · ?
if · if · object
此分支的 required:version
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:predecessor_event_ref
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$分支必填 source_context_ref · oneOf[2]
oneOf · oneOf[0] · object
此分支的 required:kind, strand_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, relation_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integer$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[108] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.create""ak.sidecar.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_create_payload
Controller-signed personal Sidecar creation in the Human PCR at its owning Station. Only the associated source project is carried in the payload.
此分支的 required:source_realm_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[109] · ?
if · if · object
此分支的 required:kind
const "ak.space.archive""ak.space.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[110] · ?
if · if · object
此分支的 required:kind
const "ak.space.create""ak.space.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_create_payload
Create payload uses the full Space object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance.
此分支的 required:object
分支必填 object · allOf[2]
allOf · allOf[0] · object · $ref ./space.schema.json
A structural grouping inside its Realm.
此分支的 required:schema, realm_id, kind, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
?allOf · allOf[111] · ?
if · if · object
此分支的 required:kind
const "ak.space.parent""ak.space.parent"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_parent_payload
Reparent one Space. All three members are required. parent_space_id is nullable and explicit null is the one spelling of "no parent" on this payload, so the space_parent register stays total and an omitted member can never mean the root by accident; the Space create object spells the same fact by absence and the genesis write normalizes it. expected_parent_space_id is the declared prior parent this producer read, not an optional compare-and-set: zh/models/realm-and-space.md section 3.5 registers it as a pre_state requirement on the space_parent family, and making it optional would give one Event kind two admission semantics selected by a member's presence.
此分支的 required:space_id, parent_space_id, expected_parent_space_id
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 parent_space_id · oneOf[2]
$ref #/$defs/space_id · $ref #/$defs/space_idnull分支必填 expected_parent_space_id · oneOf[2]
$ref #/$defs/space_id · $ref #/$defs/space_idnullallOf · allOf[112] · ?
if · if · object
此分支的 required:kind
const "ak.space.restore""ak.space.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[113] · ?
if · if · object
此分支的 required:kind
const "ak.space.tombstone""ak.space.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_object_tombstone_payload
Payload for ak.space.tombstone. Realm tombstone uses its separate Realm lifecycle payload; Space tombstone targets payload.space_id.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/space_id · $ref #/$defs/space_id$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[114] · ?
if · if · object
此分支的 required:kind
const "ak.space.update""ak.space.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_patch_payload
Space metadata update. The patch names at least one registered metadata path.
此分支的 required:space_id, patch
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 patch · allOf[8]
$ref #/$defs/patch · $ref #/$defs/patch???????$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[115] · ?
if · if · object
此分支的 required:kind
const "ak.strand.archive""ak.strand.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[116] · ?
if · if · object
此分支的 required:kind
const "ak.strand.create""ak.strand.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_create_payload
Create payload uses the Strand object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.strand.stage.set.
此分支的 required:object
分支必填 object · allOf[4]
allOf · allOf[0] · object · $ref ./strand.schema.json
此分支的 required:schema, realm_id, tracks, created_by, created_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
???allOf · allOf[117] · ?
if · if · object
此分支的 required:kind
const "ak.strand.move""ak.strand.move"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_move_payload
此分支的 required:board_space_id, strand_id, target_space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_idBoard Space that owns the position edge; deduplication key (board_space_id, strand_id) MUST be unique among active edges.
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idSource List Space (optional; reducer infers from current active edge if omitted).
$ref #/$defs/list_space_id · $ref #/$defs/list_space_idTarget List Space after move. This is the ONLY payload-level field for the destination; the reducer compiles it into the current-value projection value as 'list_space_id' on the current state at ak:result:strand_position:<board_space_id>:<strand_id>. Writers MUST NOT put 'list_space_id' directly on the ak.strand.move payload (additionalProperties=false enforces this) — there is exactly one destination input field on the wire.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
$ref #/$defs/list_space_id · $ref #/$defs/list_space_id$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[118] · ?
if · if · object
此分支的 required:kind
const "ak.strand.reorder""ak.strand.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_reorder_payload
此分支的 required:board_space_id, strand_id, space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_id$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idList Space within which the reorder happens.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
$ref #/$defs/list_space_id · $ref #/$defs/list_space_id$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[119] · ?
if · if · object
此分支的 required:kind
const "ak.strand.restore""ak.strand.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[120] · ?
if · if · object
此分支的 required:kind
const "ak.strand.stage.set""ak.strand.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_stage_set_payload
Payload class for ak.strand.stage.set. Mutates Strand.stage / Strand.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/strand-and-message.md §3.2.
此分支的 required:strand_id, stage
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[121] · ?
if · if · object
此分支的 required:kind
const "ak.strand.tracks.update""ak.strand.tracks.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_tracks_update_payload
Closed configuration-only payload for ak.strand.tracks.update; content writes use ak.strand.update.
此分支的 required:strand_id, patch
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[122] · ?
if · if · object
此分支的 required:kind
const "ak.strand.update""ak.strand.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_patch_payload
Payload class for ak.strand.update. Patches ordinary Strand fields on the Strand identified by strand_id.
此分支的 required:strand_id, patch
allOf · allOf[0] · ?
if · if · object
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:expected_state_digest
$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 patch · $ref #/$defs/patch · $ref #/$defs/patch
Only the two exact Synthesis content paths may reach tracks; replacing tracks, a track entry or configuration is forbidden.
topic · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[123] · ?
if · if · object
此分支的 required:kind
const "ak.strand.watch.set""ak.strand.watch.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_watch_set_payload
Payload for ak.strand.watch.set. Writes the (strand_id, watcher_actor_id) watch current state. The new current state value is computed from payload.level + payload.level_public: when level is null the effect is set null (clear, equivalent to mentions_only); when level is a string the effect is set { level, level_public? }. Reducer invariants: (1) watcher_actor_id MUST equal envelope.actor_id unless writer holds ak.strand.watch.set.others; (2) when watcher_actor_id != envelope.actor_id (.others write), level MUST be one of {mentions_only, participating, all} and level_public MUST be omitted or false — writing muted or level_public=true on behalf of another actor MUST failed_precondition; (3) .others writes MUST have exactly one ak.audit.accessed Event as the second slot of the registered audit_paired_event unit pointing to the watch Event with semantic_refs[role=audit_pair], and its payload access_kind=watch_set_others must bind writer_actor_id, target_actor_id, target_ref=strand_id and paired_event_id. The Station validates current watch state and atomically commits both Events; no caller-authored result head is carried. See models/strand-and-message.md §8.4.
此分支的 required:strand_id, watcher_actor_id, level
allOf · allOf[0] · ?
level_public MUST be omitted when level is null (clearing a current state does not carry a public-level setting).
if · if · object
此分支的 required:level
…recursion truncated at depth 8; see source schema for full shape
?$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 watcher_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
enum (5)Watch level. Required. null clears the current state (equivalent to mentions_only / no record); in that case level_public MUST be omitted.
"mentions_only" "participating" "all" "muted" nullbooleanOpt-in publication of the level value to non-self projection consumers. Default false. muted MUST NOT be exposed even with level_public=true. MUST be omitted when level is null.
expected_value · oneOf[2]
Ordinary watch predicate evaluated only against the signed causal basis. null asserts an unwritten basis; a concrete value must match the selected exact base head. It does not serialize independent offline writes or pick a winner.
nulloneOf · oneOf[1] · object
此分支的 required:level
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[124] · ?
if · if · object
此分支的 required:kind
const "ak.view.create""ak.view.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_create_payload
Payload for ak.view.create. zh/models/views.md section 3.2 gives the three View kinds three different author loads over one current state family; one shared def with an anyOf of the three branches and no event_kind discriminator admitted every shape on every kind -- an ak.view.update could carry an unconstrained definition object, and an ak.view.create could carry {view_id, patch}. Each kind now binds exactly one closed payload.
此分支的 required:object
分支必填 object · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
$ref #/$defs/kind_configuration_exclusivity · $ref #/$defs/kind_configuration_exclusivity$ref #/properties/kind · $ref #/properties/kind$ref #/properties/renderer · $ref #/properties/renderer$ref #/properties/title · $ref #/properties/title$ref #/properties/visibility · $ref #/properties/visibility$ref #/properties/query · $ref #/properties/query$ref #/properties/visible_fields · $ref #/properties/visible_fields$ref #/properties/layout · $ref #/properties/layout$ref #/properties/collection · $ref #/properties/collection$ref #/properties/timeline · $ref #/properties/timeline$ref #/properties/graph · $ref #/properties/graph$ref #/properties/document · $ref #/properties/document$ref #/properties/dashboard · $ref #/properties/dashboardanyallOf · allOf[125] · ?
if · if · object
此分支的 required:kind
const "ak.view.reconcile""ak.view.reconcile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_reconcile_payload
Payload for ak.view.reconcile. view_id is the view current state subject -- zh/models/views.md section 3.2 is normative that all three View kinds write ONE family, so the family is named for the View, not for this payload. definition is the complete author-editable definition (view.schema.json #/$defs/view_definition), not an author-overwritable copy of the materialized object: identity, Realm, schema, creation metadata and lifecycle state are retained from the target pre-state, and update provenance is derived from this Event. Reconcile is neither create object snapshot nor update patch: it replaces the definition wholesale.
此分支的 required:view_id, definition
string^ak:view:[A-Za-z0-9_-]{44}$分支必填 definition · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
$ref #/$defs/kind_configuration_exclusivity · $ref #/$defs/kind_configuration_exclusivity$ref #/properties/kind · $ref #/properties/kind$ref #/properties/renderer · $ref #/properties/renderer$ref #/properties/title · $ref #/properties/title$ref #/properties/visibility · $ref #/properties/visibility$ref #/properties/query · $ref #/properties/query$ref #/properties/visible_fields · $ref #/properties/visible_fields$ref #/properties/layout · $ref #/properties/layout$ref #/properties/collection · $ref #/properties/collection$ref #/properties/timeline · $ref #/properties/timeline$ref #/properties/graph · $ref #/properties/graph$ref #/properties/document · $ref #/properties/document$ref #/properties/dashboard · $ref #/properties/dashboardanyallOf · allOf[126] · ?
if · if · object
此分支的 required:kind
const "ak.view.update""ak.view.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_update_payload
Payload for ak.view.update: the incremental patch surface, and the only shared-View removal path (zh/models/views.md section 3.1). It MUST NOT carry an object snapshot or a whole definition -- those are create and reconcile -- and view_id is required because it is the current state subject.
此分支的 required:view_id, patch
string^ak:view:[A-Za-z0-9_-]{44}$$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestSigned frozen pre-state guard. It names the exact committed current value this patch was authored against: the single value the target current state holds at the position the write is applied, per the accepted order of its own stream. A mismatch fails the Event; it MUST NOT be resolved by choosing an older historical candidate that does match. contract-registry.json registers nothing for it because the v1 state_projection grammar has no expected_prestate member, so it is an admission rule beside the projection rather than part of it.
allOf · allOf[127] · ?
if · if · object
此分支的 required:kind
const "ak.agent.interaction.set""ak.agent.interaction.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_interaction_set_payload
Realm-scoped controller-only Agent interaction mode. Signed plaintext control, not membership or private participation selection. CAS and authority admission are defined in zh/models/agent-interaction.md section 1.
此分支的 required:agent_account_id, controller_account_id, interaction_mode
分支必填 agent_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)"private" "public"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$scope_ref · object
const "realm""realm"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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[128] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_create_payload
此分支的 required:schema, actor_id, applet_id, service_id, actor_role, request_id, creation_scope, registration_ref, creation_authorization_ref, initial_resolution, method_history_evidence, control_method_kid, expires_at, control_signature, recovery
allOf · allOf[0] · ?
if · if · object
此分支的 required:actor_role
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:external_ref
?const "ak.schema.realm_actor_create.v1""ak.schema.realm_actor_create.v1"分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)"bot" "ghost"string^[A-Za-z0-9_-]{22,128}$分支必填 creation_scope · oneOf[1] · $ref ./applet-install-plan.schema.json#/$defs/effective_scope
oneOf · oneOf[0] · object
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 initial_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$$ref #/$defs/ghost_external_tuple · $ref #/$defs/ghost_external_tuple分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery · object
此分支的 required:kind, enabled, content_backup_recipient
const "manager_native""manager_native"const truetrue分支必填 content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[129] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.update""ak.realm.actor.control.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_update_payload
此分支的 required:expected_commit_id, next_resolution, method_history_evidence, next_control_method_kid, next_method_signature
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$分支必填 next_method_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_control_acceptance_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[130] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.status.set""ak.realm.actor.status.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_status_set_payload
此分支的 required:target_actor_id, gate, expected_commit_id, state
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string (enum)"governance" "owner"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string (enum)"active" "paused" "retired"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[131] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.devices.reset""ak.realm.actor.devices.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_devices_reset_payload
此分支的 required:expected_commit_id, expected_generation, new_generation
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[132] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.manager.change""ak.realm.actor.manager.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_manager_change_payload
The next archive recipient MUST be fresh and independent. Before signing the new Service acceptance, the new manager MUST durably import all retained-root old recipient private keys, original declarations and complete custody indices covered by content_backup_handover_digest. Digest equality or an acceptance signature alone is not physical custody. Switching preserves owner paused until every required scope has a fresh series and complete retained coverage. content_backup_inventory_digest MUST match the complete physically retained all-scope archive inventory rederived under the same paused full-Actor namespace lock at acceptance. Native first-PUT, series and recipient changes increment the persisted archive_revision, while identical replay does not. The private handover manifest includes that exact inventory digest; neither local ACK journal nor new Service self-reported count proves completeness.
此分支的 required:expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, new_service_id, new_registration_ref, management_authorization_ref, new_service_signature, next_resolution, method_history_evidence, next_content_backup_recipient, content_backup_inventory_digest, content_backup_handover_digest
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 new_service_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_manager_acceptance_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$const "ak.hpke_x25519_aead_chacha20poly1305.v1""ak.hpke_x25519_aead_chacha20poly1305.v1"string^[A-Za-z0-9_-]{43}(?![\s\S])string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[133] · ?
if · if · object
此分支的 required:scope_ref
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$then · then · allOf[1]
此分支的 required:applet_id
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
分支必填 actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 payload · object
此分支的 required:actor_id
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.create" "ak.realm.actor.control.update" "ak.realm.actor.status.set" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update" "ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset" "ak.realm.actor.recovery.set" "ak.key_backup.active_series"allOf · allOf[134] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
此分支的 required:applet_id, authorization_ref
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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[135] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.control.update" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change"then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
const "realm""realm"allOf · allOf[136] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.status.set"then · then · ?
if · if · object
payload · object
此分支的 required:gate
const "owner""owner"then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
else · else · object
此分支的 required:authorization_ref
actor_id · allOf[2]
allOf · allOf[0] · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[137] · ?
if · if · allOf[2]
allOf · allOf[0] · object
此分支的 required:kind
string (enum)"ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update"allOf · allOf[1] · object
此分支的 required:actor_id
分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[138] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.begin""ak.realm.actor.recovery.begin"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_begin_payload
此分支的 required:target_actor_id, request_id, manager_ref, recovery_ref, expected_control_commit_id, expected_owner_status_commit_id, expected_governance_status_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, replaces_recovery_ref, next_resolution, method_history_evidence, next_control_method_kid, expires_at, control_signature
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9_-]{22,128}$分支必填 manager_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integer分支必填 recovery_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerinteger分支必填 replaces_recovery_ref · oneOf[2]
oneOf · oneOf[0] · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
null分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
string · $ref ./common-ids.schema.json#/$defs/didCanonical bare DID used for registration, DID method resolution and owner-published current resolution. It contains no path, query or fragment and MUST project through the registered method adapter to exactly one did_core_id.
^did:[a-z0-9]+:[^\s/?#]+$stringstring^(?!ak:)$ref #/$defs/webvh_recovery_plan · $ref #/$defs/webvh_recovery_planstring · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$const "ak.hpke_x25519_aead_chacha20poly1305.v1""ak.hpke_x25519_aead_chacha20poly1305.v1"string^[A-Za-z0-9_-]{43}(?![\s\S])string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_recovery_acceptance_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[139] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.reset""ak.realm.actor.control.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_reset_payload
此分支的 required:target_actor_id, recovery_begin_ref, expected_recovery_commit_id, expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, published_method_history_evidence
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_begin_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 published_method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
const "webvh_log""webvh_log"$ref #/$defs/method_evidence_boundary · $ref #/$defs/method_evidence_boundary分支必填 evidence · object · $ref ./did-binding-contracts.schema.json#/$defs/evidence_receipt
Canonical evidence receipt. evidence_digest = "sha256:" + lowercase_hex(SHA-256(RFC8785_JCS(evidence_receipt))). The receipt MUST be retained so an auditor can recompute the digest; a method without proofs degrades to an empty method_proofs array (a document-bound receipt), never to an implementation-invented placeholder. Unknown method or proof kinds fail closed.
此分支的 required:kind, method, document_digest, method_proofs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 log_entries · array<object>
Exact ordered native did:webvh entry objects from inception through the selected terminal entry. The adapter applies the registered did:webvh parameter-name and proof rules and rejects gaps, duplicates, surplus entries after boundary.to_version_id, or a first entry other than inception.
…recursion truncated at depth 8; see source schema for full shape
分支必填 witness_records · array<object>
Exact native did-witness.json record objects needed by log_entries. Records are keyed uniquely by versionId; missing, duplicate, invalid or surplus records fail closed. The array is empty exactly when the verified log activates no witness policy.
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[140] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_set_payload
此分支的 required:target_actor_id, expected_recovery_commit_id, expected_manager_commit_id, enabled
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$booleanscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[141] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"then · then · object
此分支的 required:applet_id
actor_id · allOf[2]
allOf · allOf[0] · 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "service""service"string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[142] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
此分支的 required:applet_id, authorization_ref
actor_id · allOf[2]
allOf · allOf[0] · 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "account""account"allOf · allOf[143] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
scope_ref · object
const "realm""realm"allOf · allOf[144] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.create""ak.realm_invite_link.create"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/create_payload
此分支的 required:public_key, expires_at, max_use_count
$ref #/$defs/link_public_key · $ref #/$defs/link_public_keystring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$integerallOf · allOf[145] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.revoke""ak.realm_invite_link.revoke"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/revoke_payload
此分支的 required:realm_invite_link_id
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_idallOf · allOf[146] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.accept""ak.realm_invite_link.accept"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/accept_payload
此分支的 required:realm_invite_link_id, subject_account_id, request_id, link_proof
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_id分支必填 subject_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring · $ref ./realm-join-intake.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$$ref #/$defs/proof · $ref #/$defs/proofallOf · allOf[147] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_grant""ak.mls.history_grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_grant_payload
Original signed grant references an accepted ak.mls.history_request authored by its exact recipient endpoint. The complete recipient, recipient_hpke_key_base64url, history_cut and expires_at equal that request; endpoint authorization remains inside recipient. Issuer disclosure and recipient read authority are independently native-verified, not asserted by an opaque payload reference. HPKE info and aad equal JCS({recipient,recipient_hpke_key_base64url,recipient_key_event_ref,history_cut,expires_at,selector}). sealed_key_base64url is canonical unpadded base64url(enc[32] || ciphertext || tag[16]), exactly 64 or 80 decoded bytes for a 16/32-byte key. Default RFC9180 suite is X25519/HKDF-SHA256/ChaCha20Poly1305, mode Base, seq=0; no wire nonce.
此分支的 required:recipient, recipient_hpke_key_base64url, recipient_key_event_ref, history_cut, expires_at, entries
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 entries · array<object>
items · object
此分支的 required:selector, sealed_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[148] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_request""ak.mls.history_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_request_payload
Exact recipient-native-endpoint signed history request. Endpoint authorization is recipient.authorization_event_ref. Scope read authority is independently verified at the accepting RealmCommit cut and again for new grant issuance/delivery; this object is not a permission grant. Its endpoint key is the native verified MLS leaf key and may differ from the independently verified Event producer key. No top-level authorization_event_ref exists.
此分支的 required:recipient, recipient_hpke_key_base64url, history_cut, expires_at
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$allOf · allOf[149] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_recovery""ak.mls.history_recovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_recovery_payload
此分支的 required:state, pcr_cut, coverage_head_digest, restored_event_count, cleanup_completed, inventory_blob_ref, replacement
allOf · allOf[0] · ?
if · if · object
此分支的 required:state
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:cleanup_blob_ref, cleanup_inventory_digest
…recursion truncated at depth 8; see source schema for full shape
else · else · object
…recursion truncated at depth 8; see source schema for full shape
string (enum)"pending" "ready"分支必填 pcr_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integerstring^sha256:[0-9a-f]{64}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^sha256:[0-9a-f]{64}$booleanstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/endpoint · $ref #/$defs/endpointallOf · allOf[150] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · ?
?此分支的 required:executed_by, authorization_ref
then · then · object
?此分支的 required:custodian_actor_id, custody_authorization_ref
else · else · object
?allOf · allOf[151] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.member.state""ak.sidecar.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_member_state_payload
Opt-in at the owning Account Station. The predecessor is absent on the first join and names the latest accepted change for the same Sidecar and Agent thereafter.
此分支的 required:agent_account_id, membership
分支必填 agent_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
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum) · $ref #/$defs/membership_state"join" "leave"$ref #/$defs/event_ref · $ref #/$defs/event_refconst trueController permission to write encrypted replies on this exact private Sidecar. Absent means read-only.
truestring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string (enum)Standard ak.* Event kinds MUST appear in artifacts/registry/event-kind-registry.json. State convergence is defined by the registered pure reducer over kind + payload; producers do not submit current state writes.
"ak.account_data.set" "ak.agent.action_approve" "ak.agent.action_reject" "ak.agent.action_request" "ak.agent.draft.propose" "ak.agent.interaction.set" "ak.agent.key.authorize" "ak.agent.key.revoke" "ak.agent.provision" "ak.agent.sidecar.exchange.control" "ak.applet.bridge_error" "ak.applet.discovery" "ak.applet.registration" "ak.audit.accessed" "ak.audit.erasure_receipt" "ak.call.create" "ak.call.recording.start" "ak.call.state" "ak.capability.grant" "ak.capability.relinquish" "ak.capability.revoke" "ak.consent.replace" "ak.contact.accepted" "ak.contact.rejected" "ak.contact.requested" "ak.contact.scope.update" "ak.contact.tombstone" "ak.device.authorize" "ak.device.push_route" "ak.device.reanchor" "ak.device.revoke" "ak.direct_conversation.bound" "ak.identity.accountability_grant" "ak.identity.resolution.update" "ak.invite.accept" "ak.invite.cancel" "ak.invite.create" "ak.invite.revoke" "ak.key_backup.active_series" "ak.member.identity.update" "ak.member.state" "ak.message.create" "ak.message.redact" "ak.message.revise" "ak.mimi.room_binding" "ak.mls.commit" "ak.mls.genesis" "ak.moderation.decision" "ak.moderation.decision.lift" "ak.morph.archive" "ak.morph.create" "ak.morph.restore" "ak.morph.stage.set" "ak.morph.update" "ak.organization.moderation_policy" "ak.pin.add" "ak.pin.remove" "ak.pin.reorder" "ak.policy.action" "ak.policy.set" "ak.profile.create" "ak.profile.realm_override" "ak.profile.update" "ak.reaction.add" "ak.reaction.remove" "ak.read_cursor.advance" "ak.realm.actor.control.reset" "ak.realm.actor.control.update" "ak.realm.actor.create" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.realm.actor.recovery.begin" "ak.realm.actor.recovery.set" "ak.realm.actor.status.set" "ak.realm.alias" "ak.realm.archive" "ak.realm.asset_privacy_policy" "ak.realm.authority.reset" "ak.realm.create" "ak.realm.destroy" "ak.realm.discovery" "ak.realm.freeze" "ak.realm.governance_station.change" "ak.realm.history_access" "ak.realm.join_rule" "ak.realm.link" "ak.realm.media_service" "ak.realm.organization" "ak.realm.owner.transfer" "ak.realm.plaintext_visible_services" "ak.realm.policy_bundle" "ak.realm.preview_policy" "ak.realm.profile" "ak.realm.restore" "ak.realm.schema" "ak.realm.search_policy" "ak.realm.set_default_strand" "ak.realm.tombstone" "ak.realm.unfreeze" "ak.redaction" "ak.relation.create" "ak.relation.tombstone" "ak.relation.update" "ak.rsvp.set" "ak.schema.define" "ak.scope.read_receipt_policy" "ak.self.agent.deactivate" "ak.self.agent.pause" "ak.self.agent.resume" "ak.sidecar.context.attach" "ak.sidecar.member.state" "ak.sidecar.create" "ak.space.archive" "ak.space.create" "ak.space.parent" "ak.space.restore" "ak.space.tombstone" "ak.space.update" "ak.strand.archive" "ak.strand.create" "ak.strand.move" "ak.strand.reorder" "ak.strand.restore" "ak.strand.stage.set" "ak.strand.tracks.update" "ak.strand.update" "ak.strand.watch.set" "ak.view.create" "ak.view.reconcile" "ak.view.update" "ak.realm_invite_link.create" "ak.realm_invite_link.revoke" "ak.realm_invite_link.accept"^ak\.[a-z0-9_]+(\.[a-z0-9_]+)*$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/scope_ref · $ref #/$defs/scope_refRequired producer-signed security scope. The closed union is ordinary existing realm or native sidecar scope plus the create-only realm_genesis exception. It enters proof.event_digest and E2EE AAD. Reducers independently derive the exact scope from schema-validated payload and accepted references; missing dependencies, nonexistent scope, realm_id mismatch, omitted sidecar_id, substituting Realm scope for Sidecar scope, or any unequal field is fail closed. Sidecar domain Event kinds remain Extension-owned; recognizing this native security shape does not make Kernel interpret the Sidecar reducer. Exact product targets remain inside recipient-visible ciphertext.
分支必填 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$?^ak:did_core:webvh:[^\s/?#]+$executed_by · 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$?^ak:did_core:webvh:[^\s/?#]+$authorization_ref · oneOf[6]
Optional. Required when executed_by is present. It identifies an accepted Grant, delegation Event, DID-document delegation, or one of the closed profile-specific authority constants. The current governance Station evaluates the reference against the target stream's committed state.
$ref #/$defs/grant_ref · $ref #/$defs/grant_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/did_delegation_ref · $ref #/$defs/did_delegation_ref$ref #/$defs/direct_conversation_participant_authority_ref · $ref #/$defs/direct_conversation_participant_authority_ref$ref #/$defs/direct_conversation_bootstrap_authority_ref · $ref #/$defs/direct_conversation_bootstrap_authority_ref$ref #/$defs/membership_compensation_delegation_ref · $ref #/$defs/membership_compensation_delegation_ref$ref #/$defs/applet_id · $ref #/$defs/applet_idOptional signed Applet provenance. Required by ak.profile.applet_* when the Event is introduced by an Applet, Ghost Actor, bridge, or delegated applet path. Enters canonical event bytes and therefore is covered by proof.event_digest. When present, authorization_ref MUST also be present and resolve to a real active registration/capability grant binding this applet_id, registration_epoch, action and resource per zh/extensions/applet-integration.md sections 4, 8 and 11. Service-actor self-signature proves provenance but is not an authorization substitute. Capability-gated actions require a grant covering action/resource. For subject_only operations the referenced grant binds only the exact active install and cannot replace the subject signature, FSM or independent action authority. Service self-authored Events use ActorId.service; the install grant subject MUST be the same exact ActorId.service as its producer; hosting Station and effective scope are verified separately without coercing a Service into an account variant.
$ref #/$defs/external_ref · $ref #/$defs/external_refOptional signed external provenance reference for Applet / bridge-originated Events. It is covered by event_digest and MUST NOT be carried only in unsigned when used for loop prevention, audit, or external-message idempotency. Must not contain unauthorized external plaintext.
$ref #/$defs/canonical_event_timestamp · $ref #/$defs/canonical_event_timestampsemantic_refs · array<$ref #/$defs/semantic_ref>
Optional semantic refs with role. Omit when there are no semantic references; an explicitly empty array is not canonical. Admission selectors determine any required references. PCR policy recovery has no DID-root anchor reference; its policy/session/replacement-key authority is verified separately.
$ref #/$defs/semantic_ref · $ref #/$defs/semantic_refobject$ref #/$defs/event_proof · $ref #/$defs/event_proofThe Event's sole portable producer proof. Storage receipts are separate objects and never authorize this Event. producer_proof and unsigned remain outside the canonical Event digest. Exact retries preserve the verified producer proof.
分支必填 authorization · object · $ref #/$defs/agent_key_authorization
Projection of the key authenticated by one complete ak.agent.key.authorize Event. It is never a second wire certificate and never an authority source: the consumer separately verifies the Event producer proof and the authority-signed RealmCommit that covers it.
此分支的 required:agent_id, agent_key_id, verification_method, public_key, public_key_digest, controller_principal_id, accepted_commit_id, accepted_at, issued_at
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./event-payload.schema.json#/$defs/agent_key_idStable non-typed signing-key selector within the exact Agent. The same terminal governs authorize, revoke, supersedes, current authorization, authority evidence and current selector. Preserve the literal DID URL or local token vocabulary; require 1 to 256 Unicode code points and exclude the ak: typed-ID namespace. Prefer the DID URL verification method id when it fits this bound; verification_method remains its independent DID URL carrier. The selector alone grants no authority.
^(?!ak:)(?:did:[a-z0-9]+:[^\s#]+#[^\s#]+|[a-zA-Z0-9._:-]{1,256})(?![\s\S])string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$分支必填 public_key · object · $ref ./agent-operations.schema.json#/$defs/agent_runtime_public_key
Closed v1 Agent runtime signing-key profile. Ed25519 is the fully-specified JOSE algorithm identifier from RFC 9864; polymorphic algorithm identifiers are rejected.
此分支的 required:kty, kid, algorithm, key
const "OKP""OKP"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringconst "Ed25519""Ed25519"string^[A-Za-z0-9_-]{43}$string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256 over the decoded 32 raw Ed25519 octets. It is never a hash of the PublicKey DTO, a JWK, a multibase form or a hex string.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 key_state_witness · object · $ref #/$defs/agent_key_state_witness
Signed RealmCommit plus the closed agent_key current state it covers. v1 has no state_root, leaf digest, index, count or Merkle inclusion proof: the Commit itself is the commitment.
此分支的 required:commit_id, commit, current_state
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 commit · object · $ref ./realm-commit.schema.json
The only shared Realm acceptance, ordering, finality and replication record. Every visibility scope has an authority-signed predecessor chain.
此分支的 required:commit_id, realm_id, stream_ref, stream_position, previous_commit_ref, event_ref, governance_generation, authority_ref, committed_at, signature
allOf · allOf[0] · ?
if · if · object
此分支的 required:stream_position
const 00then · then · object
nullelse · else · object
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/stream_ref · $ref #/$defs/stream_refinteger分支必填 previous_commit_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$分支必填 authority_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_authority_handoff_idContent-addressed identity of one closed old-to-new Realm authority handoff.
^ak:realm_authority_handoff:[A-Za-z0-9_-]{44}$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string · $ref ./account-operations.schema.json#/$defs/sha256_digestFixed SHA256(JCS(original immutable producer signer fact)), before Commit identity/signature. The fact excludes its target Commit coordinate. Human, Service, realm_device and private realm_control facts retain their exact original verification sources through replay and handoff.
^sha256:[0-9a-f]{64}$分支必填 signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_commit_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
oneOf · oneOf[0] · object · $ref #/$defs/agent_authority_state_evidence
Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.
此分支的 required:schema, state_digest, attestation
const "ak.schema.agent_authority_state_evidence.v1""ak.schema.agent_authority_state_evidence.v1"state · object · $ref #/$defs/agent_authority_state
One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.
此分支的 required:authority_id, agent_id, source_commit_id, pcr_genesis_event, key_authorization_event, authorization, key_state_witness, agent_lifecycle_witness, commit_lineages, commits, authority_bundle, signer_dependencies, producer_bindings
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$分支必填 attestation · object · $ref #/$defs/agent_authority_state_attestation
The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.
此分支的 required:authority_id, verification_method, state_digest, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object · $ref #/$defs/controller_account_gate_attestation_issue_request_body
Deployment-authenticated request an Agent Authority sends to obtain the Account Authority-owned controller gate. Caller identity comes only from the authenticated deployment relationship: the body carries no service resolution carrier, and a self-asserted DID, URL, bearer subject, public key or account-active boolean is a schema violation rather than an identity source.
此分支的 required:request_id, principal_id, agent_authority_id
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$oneOf · oneOf[3] · object · $ref #/$defs/controller_account_gate_attestation_issue_response_body
Byte-stable issuance result. A replay of the same request_id and canonical intent returns these original bytes; a different intent under the same request_id is a duplicate_conflict with zero issuance.
此分支的 required:request_id, controller_account_gate_attestation
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 controller_account_gate_attestation · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "ak.realm_commit_signature.v1""ak.realm_commit_signature.v1"分支必填 current_state · object · $ref ./current-state.schema.json#/$defs/current_agent_key
Registered reducer projection of one Agent signing key. It is the single state source a portable state witness may quote; a service-private key table is not an alternative.
此分支的 required:selector, source_stream_ref, revision, value
分支必填 selector · object
Composite subject derived from (agent_id, agent_key_id). Producers MUST NOT spell it by string concatenation.
此分支的 required:kind, agent_id, agent_key_id
const "agent_key""agent_key"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./event-payload.schema.json#/$defs/agent_key_idStable non-typed signing-key selector within the exact Agent. The same terminal governs authorize, revoke, supersedes, current authorization, authority evidence and current selector. Preserve the literal DID URL or local token vocabulary; require 1 to 256 Unicode code points and exclude the ak: typed-ID namespace. Prefer the DID URL verification method id when it fits this bound; verification_method remains its independent DID URL carrier. The selector alone grants no authority.
^(?!ak:)(?:did:[a-z0-9]+:[^\s#]+#[^\s#]+|[a-zA-Z0-9._:-]{1,256})(?![\s\S])分支必填 source_stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
oneOf · oneOf[0] · object
此分支的 required:kind, realm_id
const "realm""realm"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$oneOf · oneOf[1] · object
此分支的 required:kind, realm_id, sidecar_id
const "sidecar""sidecar"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$oneOf · oneOf[2] · object
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/revision · $ref #/$defs/revision$ref #/$defs/agent_key_value · $ref #/$defs/agent_key_value分支必填 agent_lifecycle_witness · object · $ref #/$defs/agent_lifecycle_witness
Signed RealmCommit, the closed agent_status current state it covers, the accepted status Event and its closed provenance branch. The receiver recomputes the lifecycle result and its transition from the signed Event before trusting any of them.
此分支的 required:commit_id, commit, current_state, accepted_status_event, provenance
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 commit · object · $ref ./realm-commit.schema.json
The only shared Realm acceptance, ordering, finality and replication record. Every visibility scope has an authority-signed predecessor chain.
此分支的 required:commit_id, realm_id, stream_ref, stream_position, previous_commit_ref, event_ref, governance_generation, authority_ref, committed_at, signature
allOf · allOf[0] · ?
if · if · object
此分支的 required:stream_position
const 00then · then · object
nullelse · else · object
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/stream_ref · $ref #/$defs/stream_refinteger分支必填 previous_commit_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$分支必填 authority_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_authority_handoff_idContent-addressed identity of one closed old-to-new Realm authority handoff.
^ak:realm_authority_handoff:[A-Za-z0-9_-]{44}$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string · $ref ./account-operations.schema.json#/$defs/sha256_digestFixed SHA256(JCS(original immutable producer signer fact)), before Commit identity/signature. The fact excludes its target Commit coordinate. Human, Service, realm_device and private realm_control facts retain their exact original verification sources through replay and handoff.
^sha256:[0-9a-f]{64}$分支必填 signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_commit_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
oneOf · oneOf[0] · object · $ref #/$defs/agent_authority_state_evidence
Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.
此分支的 required:schema, state_digest, attestation
const "ak.schema.agent_authority_state_evidence.v1""ak.schema.agent_authority_state_evidence.v1"state · object · $ref #/$defs/agent_authority_state
One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.
此分支的 required:authority_id, agent_id, source_commit_id, pcr_genesis_event, key_authorization_event, authorization, key_state_witness, agent_lifecycle_witness, commit_lineages, commits, authority_bundle, signer_dependencies, producer_bindings
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$分支必填 attestation · object · $ref #/$defs/agent_authority_state_attestation
The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.
此分支的 required:authority_id, verification_method, state_digest, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object · $ref #/$defs/controller_account_gate_attestation_issue_request_body
Deployment-authenticated request an Agent Authority sends to obtain the Account Authority-owned controller gate. Caller identity comes only from the authenticated deployment relationship: the body carries no service resolution carrier, and a self-asserted DID, URL, bearer subject, public key or account-active boolean is a schema violation rather than an identity source.
此分支的 required:request_id, principal_id, agent_authority_id
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$oneOf · oneOf[3] · object · $ref #/$defs/controller_account_gate_attestation_issue_response_body
Byte-stable issuance result. A replay of the same request_id and canonical intent returns these original bytes; a different intent under the same request_id is a duplicate_conflict with zero issuance.
此分支的 required:request_id, controller_account_gate_attestation
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 controller_account_gate_attestation · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "ak.realm_commit_signature.v1""ak.realm_commit_signature.v1"分支必填 current_state · object · $ref ./current-state.schema.json#/$defs/current_agent_status
Registered Agent lifecycle projection. The first active value has exactly one provenance: the delegated PCR genesis ak.realm.create conditional write of zh/models/realm-and-space.md section 2.5.1.
此分支的 required:selector, source_stream_ref, revision, value
分支必填 selector · object
此分支的 required:kind, agent_id
const "agent_status""agent_status"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 source_stream_ref · oneOf[3] · $ref ./realm-commit.schema.json#/$defs/stream_ref
Closed independent stream selector: Realm, Sidecar or private realm_control. realm_control is not a business, membership, capability or MLS scope.
oneOf · oneOf[0] · object
此分支的 required:kind, realm_id
const "realm""realm"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$oneOf · oneOf[1] · object
此分支的 required:kind, realm_id, sidecar_id
const "sidecar""sidecar"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$oneOf · oneOf[2] · object
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/revision · $ref #/$defs/revisionstring (enum)"uninitialized" "active" "paused" "deactivated"分支必填 accepted_status_event · object · $ref ./event-envelope.schema.json
Closed producer-signed Event. Shared persistent Events become final only when the current Realm governance Station issues a RealmCommit in the derived Realm or Sidecar stream.
此分支的 required:event_id, kind, scope_ref, actor_id, created_at, payload, producer_proof
allOf · allOf[0] · ?
?此分支的 required:external_ref
?此分支的 required:applet_id
allOf · allOf[1] · ?
?此分支的 required:applet_id
then · then · ?
if · if · anyOf[3]
anyOf · anyOf[0] · object
此分支的 required:actor_id, kind, scope_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[1] · object
此分支的 required:actor_id, kind, scope_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[2] · object
此分支的 required:actor_id, kind, scope_ref, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:authorization_ref
allOf · allOf[2] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_participant.v1""ak.authority.direct_conversation_participant.v1"then · then · object
此分支的 required:semantic_refs
?allOf · allOf[3] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_bootstrap_participant.v1""ak.authority.direct_conversation_bootstrap_participant.v1"then · then · object
此分支的 required:semantic_refs
??$ref #/$defs/registered_admission_shape · $ref #/$defs/registered_admission_shape$ref #/$defs/registered_execution_shape · $ref #/$defs/registered_execution_shapeallOf · allOf[7] · ?
if · if · object
此分支的 required:kind
const "ak.account_data.set""ak.account_data.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/account_data_set_payload
Payload for ak.account_data.set. Writes one holder-private account-data key; the value may be plaintext inside an already private envelope, encrypted account-data material, or a tombstone. Every key is a compare-and-set whole-value register per zh/models/account-data.md §5: expected_server_revision is the revision the writer believes is current (0 to create), and the accepted revision is expected_server_revision + 1. The object is closed: expected_commit_id is not an alias, and carrying both names is invalid before signature verification or storage.
此分支的 required:key, expected_server_revision
?此分支的 required:body
?此分支的 required:encrypted_payload
?此分支的 required:tombstone
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string?Caller-supplied opaque account-data value. Any JSON value.
objectconst truetrue$ref #/$defs/timestamp · $ref #/$defs/timestampintegerCompare-and-set precondition against the accepted per-key revision. A mismatch MUST be rejected with cas_conflict and MUST NOT be stored; the revision counter is a high-water mark that never goes backwards, so a stale offline retry cannot resurrect a superseded value. This is the Station-maintained monotone per-key counter of the server_revision_cas merge on the account-private face. It is a different mechanism from the shared face’s scalar expected_commit_id (RealmCommitId) and carries a different name so the two can never be compared against each other.
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$allOf · allOf[8] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_approve""ak.agent.action_approve"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_approve_payload
Controller-signed security command binding one complete pre-authored Event by content-derived EventId. The canonical Event bytes exist before approval, avoiding any digest or RealmCommit self-reference. Confirmation atomically consumes the nonce and authorizes only that exact Event.
此分支的 required:approval_id, agent_id, proposed_action, target, approved_event_id, approval_nonce, expires_at
string · $ref ./string-profiles.schema.json#/$defs/agent_confirmation_handleNonempty 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.
^(?!ak:)request_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_targetstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$$ref #/$defs/digest · $ref #/$defs/digeststringAt least 128 bits of controller-generated entropy; one immutable allocation per exact controller ActorId across all target Realms. The namespace is (controller ActorId, approval_nonce), without a Realm component. It cannot be released or reassigned.
^[A-Za-z0-9_-]{22,86}$$ref #/$defs/timestamp · $ref #/$defs/timestampInclusive confirmation deadline judged only against signed RealmCommit committed_at with zero tolerance: the covering commit of this confirmation and the covering commit of the approved Event MUST each have committed_at <= expires_at. Envelope created_at is display-only and is not compared; no Station-local current time is read.
allOf · allOf[9] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_reject""ak.agent.action_reject"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_reject_payload
Payload for ak.agent.action_reject. Controller rejection terminates one actor-private action request, named by request_id, without shared Realm side effects. A draft is not a rejection target: its workflow_state is controller-encrypted Account Data (zh/models/actor-private-effects.md section 3.2).
此分支的 required:rejection_id, request_id, agent_id, rejected_at
string · $ref ./string-profiles.schema.json#/$defs/agent_rejection_handleNonempty 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.
^(?!ak:)分支必填 request_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[10] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_request""ak.agent.action_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_request_payload
Payload for ak.agent.action_request. Actor-private request for controller approval before a shared Realm write is emitted.
此分支的 required:request_id, agent_id, controller_account_id, proposed_action, target, request_canonical_digest, expires_at, created_at
分支必填 request_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[11] · ?
if · if · object
此分支的 required:kind
const "ak.agent.draft.propose""ak.agent.draft.propose"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_draft_propose_payload
Payload for ak.agent.draft.propose. Acceptance creates one Station-private pending intent and never creates encrypted account data. content_handoff is HPKE ciphertext for current accepted controller devices; Station cannot decrypt it.
此分支的 required:draft_id, agent_id, controller_account_id, proposed_action, target, content_digest, content_handoff, expires_at, created_at
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest分支必填 content_handoff · object · $ref ./agent-draft-private.schema.json#/$defs/content_handoff
此分支的 required:scheme, recipients
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[12] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.authorize""ak.agent.key.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_authorize_payload
Payload for ak.agent.key.authorize. Binds one concrete agent signing key to an accountable principal, explicit agent_key_scope, audience, validity window, approval evidence, and both the service-surface and content-capability ceilings that later agent_key_proof sessions must narrow from.
此分支的 required:agent_id, key_id, verification_method, public_key, accountable_principal_id, agent_key_scope, audience, issued_at, approval_evidence
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/verification_method · $ref #/$defs/verification_method分支必填 public_key · object · $ref ./agent-operations.schema.json#/$defs/agent_runtime_public_key
Closed v1 Agent runtime signing-key profile. Ed25519 is the fully-specified JOSE algorithm identifier from RFC 9864; polymorphic algorithm identifiers are rejected.
此分支的 required:kty, kid, algorithm, key
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_scope · $ref #/$defs/agent_key_scope分支必填 audience · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the key authorization is non-expiring and governed solely by revocation (ak.agent.key.revoke / lifecycle cascade).
$ref #/$defs/agent_key_approval_evidence · $ref #/$defs/agent_key_approval_evidencesupersedes · array<object>
Exact complete signed active authorization basis at first acceptance, sorted byte-lexicographically by (key_id, authorized_event_ref). Each original accepted authorization Event identifies its immutable add dot; the verifier independently checks its covering RealmCommit, relevant typed current revision and current active set in the same confirmation transaction. No separate expected_commit_id wire member exists for this family. Omit exactly when the active set is empty; after revoke, reattach follows the registered fresh pairing and activation fence. Same-key reauthorization requires a current active key and names every old dot. Remove observed old-key typed results atomically and add one replacement; stale basis fails closed, and historical rows or prior pairing receipts never restore a revoked key.
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refOptional freshness source for revocation checking. When expires_at is absent, authorization lifetime is governed by the canonical revocation chain and lifecycle cascade; this field may identify the freshness source used for that check.
runtime_attestation · object
Optional runtime / workload attestation captured at pairing approval time. v1 enum includes self_asserted as baseline; future profiles MAY register TEE / SLSA / SPIFFE attestation kinds. Implementations encountering an unknown kind MUST fail closed.
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[13] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.revoke""ak.agent.key.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_revoke_payload
Payload for ak.agent.key.revoke. The keyed-set projection current state subject is (agent_id, key_id); future protocol proofs from this key fail closed once this event is covered by an accepted RealmCommit. The authoring checkpoints is the current authority-committed state; the payload carries no checkpoint field.
此分支的 required:agent_id, key_id, revoked_by, revoked_at
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[14] · ?
if · if · object
此分支的 required:kind
const "ak.agent.provision""ak.agent.provision"then · then · object
payload · object · $ref ./agent-provision.schema.json
Controller-authored payload that creates one Agent provisioning fact. One accepted reducer transaction atomically writes FOUR typed current state from it -- the provisioning fact, the accountability endorsement, the controller-scoped selector binding and the principal_control_realm_id claim -- and MUST NOT expose a partially completed state. zh/identity/key-management.md sections 3.6 and 3.6.3, zh/identity/account-lifecycle.md, zh/conformance/conformance-profiles.md and zh/extensions/applet-integration.md all enumerate the same four; this description used to name only two, which reads as a licence for the accountability/selector two-Event fan-out that conformance-profiles.md explicitly forbids. The containing Event proof is the only signature; this payload carries no nested proof.
此分支的 required:schema, agent_id, controller_principal_id, principal_control_realm_id, controller_authorization_ref, agent_slug, accountability_scope, requested_scope_digest, selector_visibility, created_at, history_custody
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.agent_provision.v1""ak.schema.agent_provision.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (arkret-agent-slug) · format=arkret-agent-slug · $ref ./string-profiles.schema.json#/$defs/agent_slugCanonical controller-scoped Agent Agent selector slug. Maximum 64 Unicode code points in prepared form.
^[^\s:@/#?\\]+$const "agent_operator"Canonical closed accountability scope.
"agent_operator"$ref #/$defs/digest · $ref #/$defs/digeststring (enum)"public" "restricted" "private"stringstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 history_custody · object · $ref ./content-encryption.schema.json#/$defs/custody
此分支的 required:custodian_actor_id, recovery_policy_ref, recipient_key_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[15] · ?
if · if · object
此分支的 required:kind
const "ak.agent.sidecar.exchange.control""ak.agent.sidecar.exchange.control"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_sidecar_exchange_control_payload
Outer payload for ak.agent.sidecar.exchange.control. sidecar_id and source_context_ref route the Event inside a native Sidecar scope; encrypted_payload plaintext MUST validate as agent-sidecar-exchange-control.schema.json. Admission MUST require matching scope_ref.kind=sidecar and actor_id equal to the Sidecar controller.
此分支的 required:sidecar_id, source_context_ref, encrypted_payload
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$$ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref · $ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[16] · ?
if · if · object
此分支的 required:kind
const "ak.applet.bridge_error""ak.applet.bridge_error"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_bridge_error_payload
Payload for ak.applet.bridge_error. Durable Realm-history Event recording a bridge / external-network failure. Field table: zh/extensions/applet-schema.md §7. MUST bind realm_id, failed_transaction_ref, retriable, and visibility_scope; missing any required field MUST be rejected as schema_violation. MUST NOT inline unauthorized external plaintext.
此分支的 required:applet_id, realm_id, failed_transaction_ref, error_class, error_code, retriable, visibility_scope
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refReference to the failed transaction / source Event. MUST NOT inline unauthorized external plaintext.
string (enum)Closed error category for aggregation / alerting. See zh/extensions/applet-schema.md §7.
"external_network" "auth" "schema" "rate_limit" "policy"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringSpecific error code (e.g. external_rate_limited).
booleanstring (enum)Closed visibility scope enum for the error event. Clients MUST honor it and MUST NOT expose bridge-internal detail to unrelated members.
"realm_admins" "applet_controller" "realm_members"objectExternal network reference (protocol / network id). MUST NOT contain unauthorized external plaintext.
stringHuman-readable summary. MUST NOT leak unauthorized external plaintext.
integerSuggested retry delay; meaningful only when retriable=true.
allOf · allOf[17] · ?
if · if · object
此分支的 required:kind
const "ak.applet.discovery""ak.applet.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_discovery_state_payload
此分支的 required:resource_id, value
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 value · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[18] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_registration_payload
Payload for ak.applet.registration. Durable Realm-history Event registering an Applet (bridge / bot service). Field vocabulary: zh/extensions/applet-integration.md §4 and zh/extensions/applet-schema.md §1. An Applet's capability to enter a Realm MUST be granted by that Realm's owner / admin / Realm-policy-authorized administrator actor and checked by the Station authorization capability. The formal Event is signed by that installing administrator and admitted by the target Station; payload.proof is the exact controller-signed package proof and is not an Event proof.
此分支的 required:applet_id, service_id, expected_commit_id, controller_principal_id, base_url, claimed_profiles, protocols, namespaces, receive_events, receive_signals, rate_limited, requested_scopes, registration_epoch, webhook_signature_policy, manifest, proof, created_at
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (uri) · format=uri^https://分支必填 claimed_profiles · array<$ref #/$defs/profile_id>
Canonical Applet implementation profiles copied from the accepted package. These durable claims are the authority source for profile-bound grant rules.
…recursion truncated at depth 8; see source schema for full shape
分支必填 protocols · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
…recursion truncated at depth 8; see source schema for full shape
分支必填 namespaces · object · $ref applet-package.schema.json#/$defs/applet_namespaces
Realm/portal and handle routing claims only. Actor DID namespaces are not registered; identity and delegation are verified from accepted creation/current manager and actual grants.
此分支的 required:realms, handles
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
booleanbooleanboolean分支必填 requested_scopes · array<$ref #/$defs/non_empty_string>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digest分支必填 webhook_signature_policy · object · $ref applet-package.schema.json#/$defs/webhook_signature_policy
HTTP message signature verification policy for transaction push. key_ref is the Applet service DID URL used to verify the app/bridge->arkret inbound HTTP message signature. Verifiers MUST take its bare controller did, validate it with the registered method adapter, and require project(did) to equal service_id (did_core_id); direct DID/core-id string comparison is forbidden. The key is bound to the effective registration_epoch. accepted_signature_algorithms pins the acceptable RFC 9421 signature algorithms.
此分支的 required:key_ref, accepted_signature_algorithms, kind
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 manifest · object
Closed package-derived manifest and the sole registration-epoch evidence carrier.
此分支的 required:claimed_profiles, limits, ghost_policy, delegation_policy, e2ee_policy, registration_epoch_evidence
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 proof · object · $ref applet-package.schema.json#/$defs/detached_proof
Controller-DID detached-JWS proof shape, aligned with event-envelope.schema.json#/$defs/proof (the generic non-Event signed-object proof). Non-Event objects bind their canonical payload via payload_digest; Event proofs MUST instead use event_digest and event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[19] · ?
if · if · object
此分支的 required:kind
const "ak.audit.accessed""ak.audit.accessed"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/audit_accessed_payload
Strict audit payload. watch_set_others belongs to one registered audit_paired_event unit. watch_audit_read is admitted only through the dedicated audited-read command and is not a reusable preaccepted read ticket. The target and writer are checked against the signed business Event or authenticated auditor and current effective scope. No caller-authored state head or result ID is carried.
此分支的 required:access_kind, writer_actor_id, target_ref, purpose, accessed_at
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"watch_set_others" "watch_audit_read" "e2ee_late_recovery" "policy_audit_read" "other"分支必填 writer_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
target_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/event_ref · $ref #/$defs/event_refRequired when access_kind=e2ee_late_recovery; identifies the original encrypted event recorded by this audit marker. The marker is not historical membership proof, an epoch-to-commit proof, a decrypt-success receipt, or authorization to reveal plaintext. Ordinary verified MLS pending-decrypt retry remains separate.
string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[20] · ?
if · if · object
此分支的 required:kind
const "ak.audit.erasure_receipt""ak.audit.erasure_receipt"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/erasure_receipt_payload
Signed attestation that an issuer completed, partially completed, or blocked a hard-erasure request within a declared storage boundary. It proves the issuer's deletion action and retained verification stub, not disappearance of independent third-party copies.
此分支的 required:schema, receipt_id, trigger, issuer_id, subject, scope, outcome, erased_classes, retained_stub_digest, completed_at, proofs
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.erasure_receipt.v1""ak.schema.erasure_receipt.v1"string^ak:receipt:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 trigger · oneOf[2] · $ref ./erasure-verification-stub.schema.json#/$defs/trigger
Exact authoritative fact that created this physical-erasure execution. Account erasure uses the account_status_record branch; other Event-authorized erasure uses the event branch.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 subject · oneOf[6] · $ref ./erasure-verification-stub.schema.json#/$defs/subject
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 scope · object · $ref ./erasure-verification-stub.schema.json#/$defs/scope
Boundary in which deletion was attempted. This MUST be narrow enough for an auditor to tell which service/storage class made the claim.
此分支的 required:storage_boundary
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"completed" "partially_completed" "blocked_by_legal_hold"分支必填 erased_classes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestHash of the retained verification stub after erasure: hash(canonical_json(retained_stub)). The stub verifies typed-reference structure, redundant digest consistency, receipt/stub binding, and linkage to retained external proof, RealmCommit, redaction-authorization, and legal-hold evidence. It does not independently verify erased canonical Event bytes.
retained_stub · object · $ref ./erasure-verification-stub.schema.json
Minimal retained verification stub bound by erasure-receipt.retained_stub_digest. It preserves event graph, proof, authority commit, redaction, legal-hold and receipt linkage evidence without retaining erased plaintext.
此分支的 required:stub_schema, subject, scope, receipt_id, trigger, completed_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
legal_hold_ref · oneOf[3]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp分支必填 proofs · array<object>
…recursion truncated at depth 8; see source schema for full shape
string (enum)Cross-Station erasure receipt fanout aggregate status tracked by the issuing server (models/realm-and-space.md §2.6.2). 'pending' = peers still within erasure_propagation_window_ms and not all acknowledged; 'complete' = every peer that ever held this Realm's content returned a receipt; 'incomplete' = at least one peer failed to acknowledge within erasure_propagation_window_ms. The issuing server MUST surface 'incomplete' to audit/UI and MUST NOT silently swallow it. Absent on receipts that do not drive fanout tracking.
"pending" "complete" "incomplete"peer_receipts · array<object>
Per-peer fanout acknowledgement records maintained by the issuing server: one entry per peer Station that ever held this Realm's content. Each entry records that peer's acknowledgement status and time, backing the aggregate fanout_status.
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[21] · ?
if · if · object
此分支的 required:kind
const "ak.call.create""ak.call.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/call_create_payload
Genesis payload for ak.call.create. call_id is omitted and derived by retyping the accepted Event id. Signaling, media tokens, Morph bindings, and state deltas MUST reference only an already accepted create.
此分支的 required:initial_state
string (enum)A known lifecycle discriminator. Admission permits scheduled/ringing/connecting only; active or terminal genesis is failed_precondition with call_state_transition_invalid rather than a structural schema violation.
"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"allOf · allOf[22] · ?
if · if · object
此分支的 required:kind
const "ak.call.recording.start""ak.call.recording.start"then · then · object
此分支的 required:authorization_ref
payload · object · $ref ./event-payload.schema.json#/$defs/call_recording_start_payload
Typed payload for ak.call.recording.start. recording_id is a stable opaque ASCII handle (1–128 bytes, [A-Za-z0-9._-]) that feeds the recording key exporter Context byte-for-byte and MUST NOT be normalized by receivers. capture_kind selects recording vs transcription so both lifecycles share one start event kind. See crypto-media/call-state.md §5 / §5.1.
此分支的 required:call_id, recording_id, recording_agent_id, capture_kind, mode, visible_notice, capture_metadata
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^ak:call:[A-Za-z0-9_-]{44}$stringStable opaque recording / transcript lifecycle handle. Canonical byte-for-byte; receivers MUST NOT normalize (case-fold, NFC/NFKC, trim, re-encode) because it is a cross-implementation key-derivation input.
^[A-Za-z0-9._-]{1,128}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)Whether this start event opens a recording or a transcription segment. REQUIRED: it selects the target capture current state family (call_recording vs call_transcript) in the registered current state contract, so it MUST NOT be inferred from a missing-field default.
"recording" "transcript"string (enum)"audio" "audio_video"const trueAsserts the initiating client will display the capture-in-progress notice to all participants.
true分支必填 capture_metadata · object
Initial immutable capture evidence. retention.consent_confirmed=true closes the pre-capture consent gate before the FSM enters a capturing state. This wire payload MUST NOT carry recording_start_event_id or transcript_start_event_id: the accepted Event identity is derived only after digesting this payload, and the reducer stamps that identity into the projected result current state. Recording starts freeze the exact current accepted winning MLS state in key_ref; transcript starts retain their existing shape and do not carry this recording-only member.
此分支的 required:retention
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/grant_idThe exact signed positive grant selected for this capture action. It is not an existence hint or an owner fallback; native admission must actually discharge this grant path while retaining global refusals.
^ak:grant:[A-Za-z0-9_-]{44}$allOf · allOf[23] · ?
if · if · object
此分支的 required:kind
const "ak.call.state""ak.call.state"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:payload
…recursion truncated at depth 8; see source schema for full shape
then · then · anyOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
payload · object · $ref ./event-payload.schema.json#/$defs/call_state_payload
Typed delta payload for ak.call.state. Every admitted field maps to one or two explicit registered current state effects; omitted axes produce no effect. The retained mute_override shape is not admitted in v1 because its call-only selector cannot represent independent legs.
此分支的 required:call_id
?此分支的 required:state_transition
?此分支的 required:focus
?此分支的 required:recording_transition
?此分支的 required:transcript_transition
?此分支的 required:roster_delta
?此分支的 required:moderation_delta
string^ak:call:[A-Za-z0-9_-]{44}$state_transition · object
此分支的 required:from, to
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
focus · object
此分支的 required:mode
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
recording_transition · object
此分支的 required:recording_id, from, to
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
transcript_transition · object
此分支的 required:recording_id, from, to
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
roster_delta · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
moderation_delta · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
mute_override · object
此分支的 required:status, actor_id, device_id, changed_by, changed_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[24] · ?
if · if · object
此分支的 required:kind
const "ak.capability.grant""ak.capability.grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_grant_payload
Canonical ak.capability.grant genesis payload. Both top-level grant_id and grant.id are forbidden because the durable GrantId is derived by retyping this Event's event_id. status, authority_depth and authority_root_ref are reducer-derived and forbidden in this closed authoring shape. issuer_id and a concrete subject are already exact ActorIds; no parallel Station sidecar is permitted. issuer_authority_refs is signed semantic lineage and cannot carry expected_commit_id, auth_state_digest or a Station-local commit basis; current authority is checked by the governing Station at acceptance. The Event envelope proof is the sole durable issuer signature.
此分支的 required:grant
分支必填 grant · object
此分支的 required:schema, issuer_id, subject, actions, resources, issued_at, issuer_authority_refs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[25] · ?
if · if · object
此分支的 required:kind
const "ak.capability.relinquish""ak.capability.relinquish"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_relinquish_payload
ak.capability.relinquish — subject-only release of the actor own grant. The authority is the target grant subject's signature, never a capability: a narrowly-scoped holder that was never granted ak.capability.revoke must still be able to give up what it holds. The reducer target guard accepts actor == target.subject and nothing else, so this can never become an unauthorized revocation. Descendants of the released grant fail through their issuer_authority_refs at read time.
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[26] · ?
if · if · object
此分支的 required:kind
const "ak.capability.revoke""ak.capability.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_revoke_payload
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[27] · ?
if · if · object
此分支的 required:kind
const "ak.consent.replace""ak.consent.replace"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/consent_replace_payload
Complete holder-signed exact-peer replacement. Admission enforces unique scopes and canonical scope order. Empty is accepted current; never_written is rechecked atomically and cannot overwrite empty. No independent consent_id, any or server merge.
此分支的 required:peer, expected_current, permissions
$ref #/$defs/consent_peer · $ref #/$defs/consent_peer$ref #/$defs/consent_expected_current · $ref #/$defs/consent_expected_current分支必填 permissions · array<$ref #/$defs/consent_permission>
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[28] · ?
if · if · object
此分支的 required:kind
const "ak.contact.accepted""ak.contact.accepted"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_accepted_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, contact_round_id, request_event_ref, request_acceptance_receipt_digest, granted_to_peer_scopes
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digest分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[29] · ?
if · if · object
此分支的 required:kind
const "ak.contact.rejected""ak.contact.rejected"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_rejected_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, request_event_ref, request_acceptance_receipt_digest
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[30] · ?
if · if · object
此分支的 required:kind
const "ak.contact.requested""ak.contact.requested"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_requested_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, granted_to_peer_scopes, introduction_evidence_digest
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestRequired digest of the exact private introduction_evidence carried by the request branch of ak.peer.contacts.command.submit.v1. Raw evidence is not written into the contact fact log.
stringallOf · allOf[31] · ?
if · if · object
此分支的 required:kind
const "ak.contact.scope.update""ak.contact.scope.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_scope_update_payload
Holder full-set replacement in a nonterminal established round. version advances the holder lifetime direction, retained scope instances retain their grant Event. Empty scopes remain accepted; pure narrowing does not wait for remote freshness.
此分支的 required:trust_domain_id, initial_contact_round_id, schema, peer, contact_round_id, version, predecessor_event_ref, granted_to_peer_scopes
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$const "ak.schema.contact_scope_update.v1""ak.schema.contact_scope_update.v1"$ref #/$defs/contact_peer · $ref #/$defs/contact_peerstring · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_id · $ref #/$defs/event_id$ref #/$defs/contact_scopes · $ref #/$defs/contact_scopesallOf · allOf[32] · ?
if · if · object
此分支的 required:kind
const "ak.contact.tombstone""ak.contact.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_tombstoned_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, initial_contact_round_id, version, predecessor_event_ref, peer, contact_round_id
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_ref · $ref #/$defs/event_ref分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[33] · ?
if · if · object
此分支的 required:kind
const "ak.device.authorize""ak.device.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_authorize_payload
Closed Device authorization. Ordinary Account branches retain their PCR rules. realm_managed_delegation is signed by the owning Realm actor current controller in realm_control; exact full ActorId is injected from the Event, never a payload mirror. Current control and Device row revisions are CAS preconditions. No generation is initialized by this branch.
此分支的 required:device_id, device_public_key_did, hpke_key, algorithms, device_key_algorithm, authorized_by, authorization_binding_kind, authorized_generation_ref, not_before, device_signature
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringDevice HPKE public key used for secret/key envelope encryption. It is covered by the possession transcript and by the surrounding root anchor or accepted-device Event proof; services MUST NOT substitute it. For accepted_device pairing its authority is the target device_pairing_target_proof, which the approving device reads only after that attestation verifies.
分支必填 algorithms · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
Canonical sorted unique algorithm ids supported by this device. Enters device trust binding transcript together with device_public_key_did and hpke_key. For accepted_device pairing its authority is the target device_pairing_target_proof, not any service-supplied or staged copy.
…recursion truncated at depth 8; see source schema for full shape
const "Ed25519""Ed25519"$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_refFor registration_anchor/pcr_recovery, the ordinary Account principal; for accepted_device, the approving DeviceId. For realm_managed_delegation, exactly actor_id.realm_actor_id.principal_id, verified through the accepted Realm control method.
string (enum)Ordinary Account branches retain PCR genesis, recovery and paired-device rules. realm_managed_delegation is exclusive to a Realm actor in its owning private realm_control stream, with current controller authority and exact active installation at every authorized business scope.
"registration_anchor" "pcr_recovery" "accepted_device" "realm_managed_delegation"integer · $ref ./recovery-session.schema.json#/$defs/pcr_generation_refExact current Account PCR or Realm actor generation, never DID version. registration_anchor=1; pcr_recovery equals sibling reanchor new generation; accepted_device equals Account current generation; realm_managed_delegation equals the actor-local current generation and signed CAS. The Device possession transcript covers it except accepted_device, where the approving Device Event proof covers it.
scopes · oneOf[2]
realm_managed_delegation MUST use the paired list; all other branches retain the string-list contract. No string codec represents managed scope authority. For native Human Account Device owner-transfer acceptance, omitted scopes retain the original no-explicit-ceiling semantics; an explicit string list MUST literally contain ak.realm.owner.transfer. Empty, unknown, wildcard or explicit null never authorizes this purpose. This checks Device-key use only, not prospective root authority; see capabilities.md section 3.2.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestamp$ref #/$defs/signature_material · $ref #/$defs/signature_materialEd25519 possession proof: registration_anchor uses device_authorize_possession_transcript; pcr_recovery uses device_authorize_recovery_possession_transcript; realm_managed_delegation uses the complete device_authorize_realm_actor_possession_transcript and its separate domain; accepted_device retains device_pairing_target_proof. No signature is included in its own transcript.
$ref #/$defs/device_authorize_recovery_session_id · $ref #/$defs/device_authorize_recovery_session_idRequired by the pcr_recovery branch and omitted for registration_anchor, ordinary accepted_device pairing and realm_managed_delegation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only for accepted_device. SHA-256 typed digest of the complete canonical challenge descriptor authenticated by device_signature; the verifier persists the descriptor and rechecks the exact final AccountId and authorization core.
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$expected_device_commit_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[34] · ?
if · if · object
此分支的 required:kind
const "ak.device.push_route""ak.device.push_route"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/device_push_route_payload
Closed account-private push-route write. Active routes and revoked tombstones are mutually exclusive whole-value shapes and both carry the single server-revision CAS precondition. The account identity is one atomic AccountId; its Station is never repeated as a delivery field.
$ref #/$defs/device_push_route_active_shape · $ref #/$defs/device_push_route_active_shape$ref #/$defs/device_push_route_revoked_shape · $ref #/$defs/device_push_route_revoked_shapeallOf · allOf[35] · ?
if · if · object
此分支的 required:kind
const "ak.device.reanchor""ak.device.reanchor"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_reanchor_payload
Closed account-local PCR recovery payload. The account authority is selected by the exact AccountId and one monotonic local device-generation CAS. PCR realm/checkpoint identifiers remain local recovery state and are not an external principal identity selector.
此分支的 required:account_id, recovery_authority_kind, recovery_policy_id, recovery_policy_version, recovery_session_id, previous_device_generation, new_device_generation, replacement_authorize_payload_digest
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"pcr_policy" "did_root"string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerstring^ak:recovery_session:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerintegerMust be the immediate monotonic successor of previous_device_generation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only when recovery_authority_kind=did_root; proves the optional factor enabled by the frozen PCR policy.
$ref #/$defs/digest · $ref #/$defs/digestcanonical_digest of the replacement ak.device.authorize payload object, using the Realm live digest suite.
allOf · allOf[36] · ?
if · if · object
此分支的 required:kind
const "ak.device.revoke""ak.device.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_revoke_payload
Payload for ak.device.revoke. Its exact Account or Realm actor subject is derived exclusively from the Event envelope actor_id; the payload MUST NOT mirror a principal_id. The revocation's control-plane authorization basis is the current authority-committed state (covered by the canonical Event bytes and producer_proof); its permanent cutoff is the accepted RealmCommit covering this Event. First durable canonical acceptance atomically creates ak.schema.device_revocation_state.v1 revocation_pending for the exact reducer-derived current device authorization and generation. The payload carries no checkpoint or generation field, and producers cannot self-report derived pending selectors.
此分支的 required:device_id, revoked_by, revoked_at, reason
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_ref$ref #/$defs/timestamp · $ref #/$defs/timestampstring^[a-z][a-z0-9_]{0,63}$$ref #/$defs/signature_material · $ref #/$defs/signature_materialallOf · allOf[37] · ?
if · if · object
此分支的 required:kind
const "ak.direct_conversation.bound""ak.direct_conversation.bound"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/direct_conversation_bound_payload
One immutable participant-signed confirmation of the founding coordinates and durable first exact-pair MLS completion. A different Event cannot add another confirmation. All fixed fields must match the original accepted founding unit and first exact-pair state; no binding_digest or extra state fields.
此分支的 required:pair_key, unordered_participant_ids, realm_id, main_strand_id, founding_unit_digest, authorization_basis, initial_exact_pair_group_state_ref, created_at
stringCanonical unordered pair key: SHA-256(UTF8(ak.direct-conversation.pair-key.v1 followed by LF) || JCS({participants:[p0,p1],trust_domain_id})) where p0/p1 are exact ActorIds sorted by their RFC 8785 JCS bytes. Receivers MUST recompute it exactly as contact-and-direct-conversation.md section 5.1 defines; handles, bare principal IDs and unresolved pairwise DIDs are forbidden inputs.
^sha256:[0-9a-f]{64}$分支必填 unordered_participant_ids · array<$ref ./common-ids.schema.json#/$defs/actor_id>
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idstringDigest of the accepted four Event atomic founding unit this binding endorses.
^sha256:[0-9a-f]{64}$$ref #/$defs/direct_conversation_authorization_basis · $ref #/$defs/direct_conversation_authorization_basis$ref #/$defs/event_ref · $ref #/$defs/event_refThe winning Add Commit Event that first establishes both exact participants in the scope's single immutable derived MLS group.
$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[38] · ?
if · if · object
此分支的 required:kind
const "ak.identity.accountability_grant""ak.identity.accountability_grant"then · then · object
payload · object · $ref ./accountability-grant.schema.json
Issuer-signed endorsement used to verify Actor Profile accountable_principal_ids entries. This is the payload contract for ak.identity.accountability_grant.
此分支的 required:schema, issuer_id, subject_id, accountability_scope, not_before, grant_status, proof
const "ak.schema.accountability_grant.v1""ak.schema.accountability_grant.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 accountability_scope · oneOf[2]
Non-empty duplicate-free closed set used only for display and accountability governance; never grants authorization. A string is the singleton-set wire form. Array order has no semantic meaning. Canonical authors emit singleton sets as strings and multi-value sets in ascending raw UTF-8 byte order; receivers accept every schema-valid ordering and normalize only for current state-subject derivation, domain equality, and projection union.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the accountability grant is non-expiring and governed by grant_status revocation and controller lifecycle cascade.
string (enum)"active" "revoked"分支必填 proof · object · $ref ./event-envelope.schema.json#/$defs/proof
Generic detached-JWS proof shape reused by non-Event schemas (snapshot signature, snapshot witness attestations, identity receipts, handle claims, etc.). MUST NOT be used as the shape of Event Envelope `producer_proof` — Event proofs reference $defs/event_proof and bind canonical Event bytes via `event_digest`. Non-Event signed objects MUST define an object-family signing-context constant and include it in the canonical proof binding object with payload_digest; the context constant is not a wire field in this generic shape. drift detection: `payload_digest#event_proof` in forbidden-wire-fields.json is the hard-reject mirror of this rule. New non-Event signed objects MAY $ref this shape; new signed Event-shaped objects MUST instead $ref event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[39] · ?
if · if · object
此分支的 required:kind
const "ak.identity.resolution.update""ak.identity.resolution.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/identity_resolution_update_payload
Signed PCR resolution CAS payload. expected_commit_id is the exact accepted identity_resolution source revision in the full Account PCR; the old projection and method boundary are read from that source at the same transaction cut before independent method-native successor verification.
此分支的 required:expected_commit_id, next
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/resolution_commitment · $ref #/$defs/resolution_commitmentallOf · allOf[40] · ?
if · if · object
此分支的 required:kind
const "ak.invite.accept""ak.invite.accept"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_accept_payload
此分支的 required:invite_id, previous_state, invitee_account_id
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyallOf · allOf[41] · ?
if · if · object
此分支的 required:kind
const "ak.invite.cancel""ak.invite.cancel"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_cancel_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"rejected" "revoked"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[42] · ?
if · if · object
此分支的 required:kind
const "ak.invite.create""ak.invite.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_create_payload
此分支的 required:invitee_account_id, introduction_evidence_digest, expires_at
分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestDigest of private invite delivery introduction_evidence. Raw locator tokens and receive-policy state MUST NOT appear in durable Realm events.
$ref #/$defs/timestamp · $ref #/$defs/timestampInvite expiry timestamp. Directed v1 invite creates MUST carry it; reducers MUST NOT infer indefinite validity.
anyallOf · allOf[43] · ?
if · if · object
此分支的 required:kind
const "ak.invite.revoke""ak.invite.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_revoke_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)Irreversible shared invalidation, confirmed by an authorized signed Event. Delivery failure is private; current capability, membership and abuse gates remain independent of diagnostic reason.
"revoked" "expired"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans. A policy revoke may diagnose invalidated_by_rate_limit; this never creates a distinct shared state.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[44] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
payload · allOf[1] · $ref ./event-payload.schema.json#/$defs/key_backup_active_series_payload
Payload for ak.key_backup.active_series. The standalone ak.schema.key_backup_active_series.v1 schema carries the authoritative signed active-series record shape.
allOf · allOf[0] · object · $ref ./key-backup-active-series.schema.json
Signed principal-control record selecting the backup series for one actor and backup kind. Servers verify the accepted record; ordinary clients consume BackupActiveSeriesState from their Account Station instead of replaying PCR history. Native records are signed by the real current manager Service, while record.actor_id is the target Realm actor. Source refs name strictly earlier accepted native writers; no self Event/Commit ID enters this preimage. The outer native manager Event is independently signed. Native version/predecessor comparison is scoped by full actor, exact effective_scope and backup_kind; Device publishers cannot select series. Recovery enabled=false is not a backup/series gate.
此分支的 required:schema, actor_id, backup_kind, active_series_id, series_pointer_version, previous_series_ids, issued_at, signature_proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[45] · ?
if · if · object
此分支的 required:kind
const "ak.member.identity.update""ak.member.identity.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/member_identity_update_payload
Payload for ak.member.identity.update. Append-only replacement event for one Realm-scoped member display/subject projection segment. Service-visible metadata names the segment and the prior events it replaces; the segment body is plaintext or the original encrypted envelope and MUST contain the complete data for that segment. Handle lifecycle is excluded from this event and is governed by ak.schema.handle_claim.v1 issuer claims.
此分支的 required:realm_id, member_id, segment, identity_payload
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)v1 core defines a single full MemberIdentity segment. Narrower segments require a future schema/profile revision that extends this enum or defines a new payload schema; v1 receivers MUST reject unknown segment values.
"member_identity"replaces · array<object>
Prior ak.member.identity.update events in the same (realm_id, actor_id, segment) that this event supersedes for current profile projection. Referenced events remain immutable history.
…recursion truncated at depth 8; see source schema for full shape
分支必填 identity_payload · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestOptional optimistic concurrency guard for the current effective set of this (realm_id, member_id, segment). When present, it MUST equal sha256 over RFC 8785 JCS of the array of the exact signed payload objects of every update in that effective set, ordered by carrying event_id ascending (the empty set is []), before applying this event (zh/sync/current-state.md section 2); a mismatch is member_identity_state_mismatch with zero writes. It is distinct from the locally derived identity_payload carrier digest and from a roster member_display_state_digest.
allOf · allOf[46] · ?
if · if · object
此分支的 required:kind
const "ak.member.state""ak.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/membership_payload
此分支的 required:member_id, membership
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/membership_state · $ref #/$defs/membership_stategate_proofs · array<$ref #/$defs/join_gate_proof>
Closed join-policy gate proofs evaluated by governance/join-policy.md section 4 before accepting membership=join. At most one item per gate_id (a duplicate gate_id is schema_violation); only challenge_response and claim_required gates take an applicant-supplied proof, the other three kinds are replayed from accepted state. maxItems aligns with the gates 1..16 bound in join_policy_component; see zh/conformance/scalability-constraints.md.
…recursion truncated at depth 8; see source schema for full shape
stringBounded human-readable audit note. It never supplies membership authority or proves cascade provenance.
string (enum) · $ref ./agent-membership-cascade.schema.json#/$defs/membership_lifecycle_causeClosed audit-only lifecycle cause. It never supplies authorization or proves reducer provenance.
"controller_membership_ended"agent_controller_binding · object · $ref ./agent-membership-cascade.schema.json#/$defs/agent_controller_membership_binding
Required by semantic admission for every Agent join and every controller-membership-ended cleanup. Non-Agent membership MUST reject it.
此分支的 required:controller_account_id, controller_membership_generation_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
invite_ref · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[47] · ?
if · if · object
此分支的 required:kind
const "ak.message.create""ak.message.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_create_payload
Payload for ak.message.create. If content/encrypted_content contains an audience_mention AST node (for example @all or @here), reducer admission and notification dispatch MUST additionally enforce ak.message.mention.broadcast plus the audience policy / max_recipient / rate-limit rules in zh/models/strand-and-message.md §9.4.3. @here maps to audience="strand_engaged" and is not presence-filtered.
此分支的 required:strand_id, track_name
allOf · allOf[0] · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
??$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/track_name · $ref #/$defs/track_name$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatablob_refs · array<$ref #/$defs/object_ref>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/message_id · $ref #/$defs/message_idOptional creation convenience: the message this one replies to. The reducer records it as the message's reply linkage (lifting it onto the message content) and surfaces it as a replies_to relation in the message projection; it does not require a separate canonical ak.relation event. The materialized Message object itself carries no reply_to scalar. See strand-and-message.md §9.1.
$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenancepoll_response_heads · array<$ref #/$defs/poll_response_head>
Each entry binds a poll to the exact response Event being superseded.
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[48] · ?
if · if · object
此分支的 required:kind
const "ak.message.redact""ak.message.redact"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_redact_payload
Payload for ak.message.redact, the object-scoped redact kind registered for Message. Message is the only object that enters state=redacted through its own kind rather than a cross-object ak.redaction, which is why message.schema.json materializes redaction_ref (models/common-fields.md 5.2). message_id is the single target carrier, so the object_redaction current state subject is always the Message typed ID.
此分支的 required:message_id
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the redacted message's parent Strand. Optional: when omitted, reducers MUST resolve from the existing message. When present, MUST equal that resolved track_name.
stringpreserve · array<string>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[49] · ?
if · if · object
此分支的 required:kind
const "ak.message.revise""ak.message.revise"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_revise_payload
Payload for ak.message.revise. Revisions that introduce new direct mentions MAY generate mention notifications only when the implementation can compare against the previous accepted visible revision. Revisions that introduce an audience_mention AST node (including @all / @here mappings) MUST satisfy the same ak.message.mention.broadcast and policy gates as create.
此分支的 required:message_id
allOf · allOf[0] · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the target Strand. Optional on revise/redact: when omitted, reducers MUST resolve from the existing message identified by message_id. When present, MUST equal that resolved track_name.
$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatastring$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[50] · ?
if · if · object
此分支的 required:kind
const "ak.mimi.room_binding""ak.mimi.room_binding"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mimi_room_binding_payload
Payload for ak.mimi.room_binding. Writes the mimi_room_binding current state whose subject is payload.mimi_room_uri (see event-kind-registry.json state_selector). Authoritative field set: zh/extensions/mimi-interop.md §3. The binding is a projection of an Arkret Realm/Strand discussion track into a MIMI room; it is not canonical truth. Creation / update / revocation MUST hold ak.policy.manage, ak.realm.admin, or an equivalent interop capability. E2EE MIMI rooms MUST bind mls_group_id and pass the active MLS key_access_revision gate.
此分支的 required:profile, mimi_room_uri, binding_scope, hub_provider_id, local_provider_role, status
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringInterop profile id, e.g. ak.profile.mimi_interop.v1.
string · $ref ./mimi-interop.schema.json#/$defs/mimi_room_uriCanonical MIMI room URI. It is the mimi_room_binding current state subject source, so it is a closed canonical form rather than a free URI: lowercase mimi:// scheme, host[:port] authority with no userinfo, lowercase A-label host, no leading-zero port, at least one non-empty path segment, no dot or dot-dot segment, no trailing slash, no query, no fragment, uppercase percent escapes, and no percent-encoding of unreserved octets (RFC 3986 section 6.2.2.2). A receiver MUST reject a non-canonical value with schema_violation and MUST NOT normalize it first, because two spellings of one room would otherwise each own a first accepted binding and the revoked terminal state could be bypassed by respelling. current state subject encoding is the uri subject kind of zh/conformance/encoding.md section 4. The pattern below expresses the structural half of the canonical form; two rules it cannot express portably -- the default port 443 MUST NOT be written explicitly, and a percent escape MUST NOT encode an unreserved octet -- are normative all the same and are closed by ak.vector.encoding.state_selector_uri.v1 plus the SDK typed validator, which every producer and receiver MUST apply in addition to this pattern. See zh/extensions/mimi-interop.md section 4.
^mimi://[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:/(?:[A-Za-z0-9\-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+)+$分支必填 binding_scope · object
Arkret Realm + Strand scope this MIMI room projects. strand_id MUST point at an accepted Strand with discussion track enabled inside realm_id; the MIMI room timeline only projects that Strand's discussion track.
此分支的 required:realm_id, strand_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idService DID explicitly delegated by Realm policy, Organization DID, or participant DID to host the hub role.
string (enum)"hub" "follower" "observer"follower_provider_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/mls_group_idRFC 9420 group_id as base64url_no_pad(SHA-256(UTF8("ak.mls.group_id.v1") || 0x00 || canonical_effective_scope_key_bytes(effective_scope))), so exactly 43 characters. Derived by the reducer and the SDK from the effective scope alone; actors never submit it. The v1 formula is the only one: the earlier reversible base64url of the scope key bytes MUST NOT be accepted alongside it. See zh/models/realm-and-space.md section 2.2.
^[A-Za-z0-9_-]{43}$$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringMIMI content profile, e.g. application/mimi-content.
integerAccepted ak.realm.policy_bundle revision this MIMI room binding projects. The facade compares it against the Realm's current committed policy revision and rejects a stale projection.
string (enum)Lifecycle state of the binding. Initial status MUST be proposed or accepted; legal transitions are defined in zh/extensions/mimi-interop.md §4.2. accepted bindings authorize projection; revoked bindings stop new MIMI writes; migrating stops new writes until a verified migration proof returns the binding to accepted or revoked.
"proposed" "accepted" "revoked" "migrating"string (enum)Required exactly for a migrating->accepted transition, paired with migration_proof. The signed Event asserts whether the migrating candidate topology became effective or the previous accepted topology was restored.
"completed" "rolled_back"$ref #/$defs/mimi_room_binding_migration_proof · $ref #/$defs/mimi_room_binding_migration_proof$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[51] · ?
if · if · object
此分支的 required:kind
const "ak.mls.commit""ak.mls.commit"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_commit_payload
此分支的 required:base_group_state_ref, previous_epoch, next_epoch, covers_key_access_revision, commit_base64url, governance_binding, group_info_ref, ratchet_tree_ref
$ref #/$defs/event_ref · $ref #/$defs/event_refstring · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^[A-Za-z0-9_-]+$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_bindingstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$recovery_binding · object · $ref ./content-encryption.schema.json#/$defs/recovery_binding
此分支的 required:replacement, authorization_event_ref, base_group_state_ref, expected_epoch, inventory_digest
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[52] · ?
if · if · object
此分支的 required:kind
const "ak.mls.genesis""ak.mls.genesis"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_genesis_payload
此分支的 required:cipher_suite, group_info_ref, ratchet_tree_ref, creator_leaf_authority, governance_binding, created_at
allOf · allOf[0] · object
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringstringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$stringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_genesis_creator_leaf_authority · $ref #/$defs/mls_genesis_creator_leaf_authority$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_binding$ref #/$defs/timestamp · $ref #/$defs/timestampThe single frozen Genesis authoring timestamp. MUST equal the outer Event.created_at exactly. Cross-field equality is semantic admission, registered by ak.mls.genesis genesis_timestamp_contract in the canonical contract registry; JSON Schema shape validation alone is insufficient.
allOf · allOf[53] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision""ak.moderation.decision"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_payload
Payload for ak.moderation.decision. A committed moderation decision that writes a keyed_set_add effect onto the moderation_state current state whose subject is the canonical string of target_ref. Multiple active adds fold by hard_deny > quarantine > require_review > none. Runtime allow and soft_deny remain out-of-band outcomes. The actor MUST independently hold the registered ak.moderation.decision capability.
此分支的 required:target_ref, decision, issuer_id, request_canonical_digest
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target (event / object). Canonical string of this ref is the moderation_state current state subject.
string (enum)Committed moderation-state decision verb. allow and soft_deny are out-of-band runtime outcomes.
"hard_deny" "quarantine" "require_review"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$$ref #/$defs/digest · $ref #/$defs/digestJCS SHA-256 digest of the moderated request or Event preview. It is part of the projected element VALUE, not of the element tag: a keyed_set_add tag is exactly the canonical <event_id>:<write_index> dot, so no payload member ever enters set identity.
string (enum)Optional finer-grained §5.3 moderation_policy action family entry that the decision verb maps to (content-moderation.md §8.1).
"deny_join" "deny_restricted_join" "deny_invite" "deny_write" "deny_federation" "quarantine_message" "require_review" "redact_on_accept" "shadow_collapse"stringMachine-readable diagnostic. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes.
^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampallOf · allOf[54] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision.lift""ak.moderation.decision.lift"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_lift_payload
Payload for ak.moderation.decision.lift. The governance Station resolves decision_ref to the active decision for target_ref and applies the lift at exactly expected_commit_id.
此分支的 required:target_ref, decision_ref, expected_commit_id
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target whose moderation_state current state the lift mutates. Same current state subject as the original ak.moderation.decision.
$ref #/$defs/event_ref · $ref #/$defs/event_refReference to the prior ak.moderation.decision Event whose committed tag is being removed.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[55] · ?
if · if · object
此分支的 required:kind
const "ak.morph.archive""ak.morph.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[56] · ?
if · if · object
此分支的 required:kind
const "ak.morph.create""ak.morph.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_create_payload
Create payload uses the Morph object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.morph.stage.set.
此分支的 required:object
分支必填 object · allOf[3]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[57] · ?
if · if · object
此分支的 required:kind
const "ak.morph.restore""ak.morph.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[58] · ?
if · if · object
此分支的 required:kind
const "ak.morph.stage.set""ak.morph.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_stage_set_payload
Payload class for ak.morph.stage.set. Mutates Morph.stage / Morph.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/morph.md §2.
此分支的 required:morph_id, stage
string^ak:morph:[A-Za-z0-9_-]{44}$string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[59] · ?
if · if · object
此分支的 required:kind
const "ak.morph.update""ak.morph.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_update_payload
Payload class for ak.morph.update. Patches ordinary Morph fields on the Morph identified by morph_id. morph_kind is create-locked by ak.morph.create and MUST NOT appear in patch; stage and stage_changed_at are single-sourced by ak.morph.stage.set.
此分支的 required:morph_id, patch
$ref #/$defs/morph_id · $ref #/$defs/morph_id分支必填 patch · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[60] · ?
if · if · object
此分支的 required:kind
const "ak.organization.moderation_policy""ak.organization.moderation_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/organization_moderation_policy_state_payload
Closed Organization moderation-policy state. organization_id is the Organization did_core_id and the sole registered current state subject; value carries the sole v1 Organization moderation-policy family.
此分支的 required:organization_id, value
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/organization_moderation_policy_document · $ref #/$defs/organization_moderation_policy_documentallOf · allOf[61] · ?
if · if · object
此分支的 required:kind
const "ak.pin.add""ak.pin.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_add_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[62] · ?
if · if · object
此分支的 required:kind
const "ak.pin.remove""ak.pin.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_remove_payload
此分支的 required:pin_scope, target_ref
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[63] · ?
if · if · object
此分支的 required:kind
const "ak.pin.reorder""ak.pin.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_reorder_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[64] · ?
if · if · object
此分支的 required:kind
const "ak.policy.action""ak.policy.action"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_action_state_payload
Closed policy action-log payload. Exactly one policy_id or action_id is present and selects one of two tagged policy_action current state subject branches; the two namespaces never coalesce. value carries the sole v1 approval-action document family.
此分支的 required:value
?此分支的 required:policy_id
?此分支的 required:action_id
string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./string-profiles.schema.json#/$defs/realm_action_nameNonempty 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.
^(?!ak:)$ref #/$defs/policy_action_document · $ref #/$defs/policy_action_documentallOf · allOf[65] · ?
if · if · object
此分支的 required:kind
const "ak.policy.set""ak.policy.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_set_state_payload
Closed Policy definition state payload. policy_id is the stable policy current state subject. value.schema selects exactly one of the two v1 Policy document families directly in this schema; unknown families fail schema validation.
此分支的 required:policy_id, value
if · if · object
此分支的 required:value
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:expected_commit_id
?string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 value · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[66] · ?
if · if · object
此分支的 required:kind
const "ak.profile.create""ak.profile.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_create_payload
Initial actor profile payload. payload.object is the closed authoring region of actor-profile.schema.json, not the materialized object; see that definition for which members the reducer produces and why.
此分支的 required:object
分支必填 object · object · $ref ./actor-profile.schema.json#/$defs/actor_profile_definition
Closed Profile owner: ordinary principal_id branch or Realm actor_id branch, mutually exclusive. Realm owners are exact full actors and may not carry Account handles or Agent/accountability fields. Profile identity is Event-derived and owner/actor_kind are create-locked.
此分支的 required:actor_kind, display_name
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[67] · ?
if · if · object
此分支的 required:kind
const "ak.profile.realm_override""ak.profile.realm_override"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/profile_realm_override_payload
Realm-scoped actor profile override payload for ak.profile.realm_override. actor_profile_id is the Actor Profile being overridden; target_realm_id is the Realm where the override applies. resolution, principal_id and actor_kind are forbidden here for the same reasons they are forbidden on the generic profile write surface -- a per-Realm override is still not a place to rebind identity; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, target_realm_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[6]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestOptional guard over the folded current override: sha256 over RFC 8785 JCS of the display object obtained by applying every accepted assertion patch of this target in accepted commit order to {} ({} when there is none), zh/sync/current-state.md section 2. A mismatch rejects with zero writes.
allOf · allOf[68] · ?
if · if · object
此分支的 required:kind
const "ak.profile.update""ak.profile.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_update_payload
Actor Profile patch payload. resolution and every resolution.* descendant path are reducer-managed projections of the PCR resolution current state. principal_id and actor_kind are create-locked by ak.profile.create: zh/discovery/profiles-presence.md section 2.3 decides which principal a profile is for at create, and nothing said an update could not move it, so this surface could rebind a profile to another principal or retype a user as an agent. All three are forbidden here; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_id分支必填 patch · allOf[6]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$allOf · allOf[69] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.add""ak.reaction.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[70] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.remove""ak.reaction.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[71] · ?
if · if · object
此分支的 required:kind
const "ak.read_cursor.advance""ak.read_cursor.advance"then · then · object
payload · object · $ref ./read-cursor.schema.json
Actor-private multi-device read cursor. Stored in encrypted account data or actor-private stream; NEVER published into a shared Realm Event history. Bound to (actor_id, realm_id, read_scope, position, HLC, device_id) per zh/discovery/read-receipts.md §6.6. Multi-device merge is causal-first per §6.5: the position that causally dominates wins regardless of HLC; HLC max decides only causally concurrent positions, and device_id only breaks equal HLCs. The object carries NO typed id and NO update timestamp. A cursor is never updated in place: its identity is the (actor_id, realm_id, read_scope) tuple, each advance is a freshly authored ak.read_cursor.advance Event (event-kind-registry id_source=not_an_object_id), and the time of that update is that Event envelope created_at. There is no read_cursor typed ID kind, no id-addressed read surface, and capability selectors address read cursors only as read_cursor:<realm>:*. Derived views that need a time (read-cursor-operations.schema.json#/$defs/read_marker_response_body, the ak.read_cursor.update device-message content ak.schema.read_cursor_update.v1) take updated_at from the winning advance envelope.
此分支的 required:schema, actor_id, device_id, realm_id, read_scope, position
const "ak.schema.read_cursor.v1""ak.schema.read_cursor.v1"分支必填 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringOriginating device. Required for multi-device convergence: when two devices race on the same (actor_id, realm_id, read_scope) the receiver first picks the later position when both position Events are committed on the same CommitStreamRef; only when neither dominates (different streams or the same Event) does it pick the greater HLC, and device_id provides a deterministic actor_id-scoped tiebreaker when those HLCs are equal. device_id MUST NOT be used to select a position that another position dominates.
^ak:device:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/read_scope · $ref #/$defs/read_scope$ref #/$defs/position · $ref #/$defs/positionallOf · allOf[72] · ?
if · if · object
此分支的 required:kind
const "ak.realm.alias""ak.realm.alias"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/realm_alias_payload
Closed payload for ak.realm.alias, the ONLY wire carrier of a Realm alias. A declaration writes the complete canonical alias; {tombstone:true} is a durable value tombstone that removes the alias from effective resolution without erasing the current state history. realm-genesis.schema.json and realm-profile.schema.json are closed and have no alias property, and ak.realm.create / ak.realm.profile payloads MUST NOT carry one.
$ref #/$defs/realm_alias_declaration · $ref #/$defs/realm_alias_declaration$ref #/$defs/realm_alias_tombstone · $ref #/$defs/realm_alias_tombstoneallOf · allOf[73] · ?
if · if · object
此分支的 required:kind
const "ak.realm.archive""ak.realm.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[74] · ?
if · if · object
此分支的 required:kind
const "ak.realm.asset_privacy_policy""ak.realm.asset_privacy_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_asset_privacy_policy_payload
Closed whole-value payload for ak.realm.asset_privacy_policy.
此分支的 required:value
分支必填 value · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[75] · ?
if · if · object
此分支的 required:kind
const "ak.realm.authority.reset""ak.realm.authority.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_authority_reset_payload
ak.realm.authority.reset — invalidate every capability grant that descends from this Realm's authority root in one accepted Event. It increments authority_generation only: controller_actor_id and controller_epoch are preserved verbatim, so the reset is not a controller change and never moves the root. Every realm_root grant ref carries the generation it was issued under, so advancing the generation is exactly what makes a whole delegated authority tree stop evaluating; ak.realm.owner.transfer preserves the generation and therefore leaves every child grant valid. The current controller is the only possible author: the compare-and-set below requires the frozen pre-state digest, so this is a deliberate act by the holder of root control, never an automatic takeover of a lost authority.
此分支的 required:realm_id, expected_state_digest
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite. The successor generation is uniquely computed from the pre-state this digest freezes, so no counter is carried on the wire.
^sha256:[0-9a-f]{64}$allOf · allOf[76] · ?
if · if · object
此分支的 required:kind
const "ak.realm.create""ak.realm.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_create_payload
Minimal identity and security-root payload for ak.realm.create. User-visible, mutable, policy and reducer-derived Realm state is carried only by registered bootstrap facets. Every genesis, including Principal Control Realm and Agent PCR, requires a canonical 32-octet genesis_salt.
此分支的 required:object
分支必填 object · object · $ref ./realm-genesis.schema.json
Human PCR accepted registration genesis binds the complete Account and its account Station permanently under ak.profile.principal_control_realm.v1 pcr_governance_policy. A Human genesis governor mismatch, authority transition or foreign current governor rejects without effects; provenance is independently verified and is not a caller-supplied flag. Other proven subject branches retain their existing rules.
此分支的 required:schema, purpose, genesis_salt, trust_domain, security_class, governance_station_id, initial_join_rule, initial_history_access, initial_encryption_backup_strategy, initial_discoverability
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[77] · ?
if · if · object
此分支的 required:kind
const "ak.realm.destroy""ak.realm.destroy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_destroy_payload
此分支的 required:reason
stringstring · $ref ./realm.schema.json#/properties/retention_policy_id^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$booleantrueallOf · allOf[78] · ?
if · if · object
此分支的 required:kind
const "ak.realm.discovery""ak.realm.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_discovery_payload
Closed whole-value payload for ak.realm.discovery. Preview field selection is owned exclusively by ak.realm.preview_policy.
此分支的 required:value
分支必填 value · object
此分支的 required:discoverability
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[79] · ?
if · if · object
此分支的 required:kind
const "ak.realm.freeze""ak.realm.freeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[80] · ?
if · if · object
此分支的 required:kind
const "ak.realm.governance_station.change""ak.realm.governance_station.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_governance_station_change_payload
Admission requires verified transfer eligibility under the PCR profile pcr_governance_policy; Human PCR rejects without effects even with valid signatures. The payload has no subject-role override.
此分支的 required:expected_governance_generation, expected_realm_stream_commit_id, new_governance_station_id
string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$allOf · allOf[81] · ?
if · if · object
此分支的 required:kind
const "ak.realm.history_access""ak.realm.history_access"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/history_access_payload
Realm history-access FSM transition. The atomic create unit uses from=null exactly once and chooses either closed initial state. After create the only legal state-changing edge is all_history_for_current_members to since_join; widening and every other new transition are permanently rejected. Exact same-transition/same-basis replay is an idempotent duplicate/no-op.
此分支的 required:from, to
分支必填 from · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/history_access_value · $ref #/$defs/history_access_valuestringallOf · allOf[82] · ?
if · if · object
此分支的 required:kind
const "ak.realm.join_rule""ak.realm.join_rule"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_join_rule_payload
Closed whole-value payload for ak.realm.join_rule.
此分支的 required:value
string (enum)"public" "invite" "knock" "restricted" "knock_restricted" "closed"allOf · allOf[83] · ?
if · if · object
此分支的 required:kind
const "ak.realm.link""ak.realm.link"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_link_payload
此分支的 required:target_realm_id, link_kind, status
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string (enum)"governed_by" "discoverable_from" "join_gate_from" "confidential_extension_of" "mirror_of" "split_from" "replaces"$ref #/$defs/hierarchy_link_status · $ref #/$defs/hierarchy_link_statusstring (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/digest · $ref #/$defs/digestevidence_refs · array<$ref #/$defs/event_ref>
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[84] · ?
if · if · object
此分支的 required:kind
const "ak.realm.media_service""ak.realm.media_service"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_media_service_payload
此分支的 required:value
分支必填 value · object
此分支的 required:service_id, foci
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[85] · ?
if · if · object
此分支的 required:kind
const "ak.realm.organization""ak.realm.organization"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_organization_payload
Organization-side endorsement or revocation for a Realm relationship. Reducer validation MUST require realm_id to match the top-level Event.realm_id, organization_id to identify an Organization principal in accepted registration state, the Realm-side writer to hold ak.realm.admin, and authorization to verify against current organization DID control evidence or a delegated service whose purpose covers this relationship and control_scopes. The stable organization_id is not itself resolvable DID material.
此分支的 required:statement_id, realm_id, organization_id, relationship, status, control_scopes, issued_at, authorization
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idStable Organization principal identity that endorses, governs, sponsors, certifies, or revokes the Realm relationship. This did_core_id is bound to current Organization DID evidence through accepted registration/resolution state; it is not itself resolvable.
string (enum)Relationship being asserted or revoked for this organization and Realm.
"owner" "governance" "sponsor" "directory_certifier"string (enum)"active" "revoked"分支必填 control_scopes · array<string (enum)>
Machine-readable scopes covered by the organization's consent. A scope here is an endorsement boundary only; actual Realm control still requires the corresponding Realm policy, governance-Station authority, capability, or service-binding Event.
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampAdministrative review/renewal hint only. It does not auto-transition account status; a later AccountStatusRecord is required and remains subject to sequence and terminal rules.
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refOptional DID-document delegation URL, policy object, governance decision, or attestation reference used to evaluate the statement.
分支必填 authorization · object
Organization-side authorization proof. This is independent of the Realm-side ak.realm.admin authorization required to write the event into Realm history.
此分支的 required:issuer_id, issuer_role, verification_method, signed_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[86] · ?
if · if · object
此分支的 required:kind
const "ak.realm.owner.transfer""ak.realm.owner.transfer"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_owner_transfer_payload
ak.realm.owner.transfer — rotate the controller binding of the Realm authority-root current state. It changes controller_actor_id and increments controller_epoch only: authority_generation, the current state ref and every existing grant are untouched, so the whole authority tree issued by the previous controller stays valid. This is not a reparent — the root never moves.
此分支的 required:realm_id, expected_state_digest, patch, successor_acceptance
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite.
^sha256:[0-9a-f]{64}$分支必填 patch · object
The authority-root member selected by the author. The reducer also increments controller_epoch from the CAS-frozen pre-state; every other member is preserved verbatim.
此分支的 required:controller_actor_id
…recursion truncated at depth 8; see source schema for full shape
分支必填 successor_acceptance · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_owner_transfer_acceptance_signature
Independent successor acceptance over realm_owner_transfer_acceptance_transcript, never over itself or the final EventId. The current controller then signs the complete Event including this carrier. The receiver independently resolves the patch-selected successor current accepted Device key and limited key-purpose ceiling; outer author Device evidence is insufficient.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[87] · ?
if · if · object
此分支的 required:kind
const "ak.realm.plaintext_visible_services""ak.realm.plaintext_visible_services"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/plaintext_visible_services_payload
此分支的 required:services
分支必填 services · array<object>
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[88] · ?
if · if · object
此分支的 required:kind
const "ak.realm.policy_bundle""ak.realm.policy_bundle"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_policy_bundle_payload
Enabled Realm policy component set, written wholesale into the realm_policy_bundle commit-ordered projection current state: every revision restates the complete enabled component set and the Realm object's derived policy fields re-derive from the latest accepted bundle. policy_revision starts at 1 and every later authoritative reducer admission MUST equal previous.policy_revision + 1: rollback uses top-level policy_revision_rollback; a forward gap uses failed_precondition with reason_code policy_revision_gap and produces zero current-state writes. policy_revision MUST cover policy_revision (see contract-registry event-kind row and models/realm-and-space.md section 2.3).
此分支的 required:policy_revision
integerStrictly monotonic bundle revision; rollback or gaps are rejected.
string (enum) · $ref ./realm.schema.json#/properties/federation_policyThe sole producer carrier of the effective Realm federation policy. High-assurance Realm reducers require closed, restricted, or quarantine and reject open.
"open" "restricted" "closed" "quarantine"booleanWhether a media service listed in plaintext_visible_services may decrypt call media. Defaults to false when absent. It is one of three conditions that MUST all hold (ak.realm.media_service declaration + plaintext_visible_services grant + this toggle). Because it changes who may receive media keys, it enters the media scope key_access_revision; a generation that does not cover the current value cannot authorize media decryption. See crypto-media/media-service-binding.md section 8.2.
$ref #/$defs/join_policy_component · $ref #/$defs/join_policy_componenthandle_issuer_policies · array<object>
Ordered Realm handle-issuer trust policy used by primary-handle resolution. Earlier entries have higher tie-break priority; every issuer is domain-scoped.
…recursion truncated at depth 8; see source schema for full shape
agent_participation · object · $ref ./realm.schema.json#/properties/agent_participation
Realm five-bit Agent participation ceiling. It may only tighten the target-service safety ceiling and is itself the parent of Strand ceilings.
此分支的 required:agent
…recursion truncated at depth 8; see source schema for full shape
account_deactivation · object
此分支的 required:member_action
…recursion truncated at depth 8; see source schema for full shape
integer · $ref ./realm.schema.json#/properties/max_authority_lifetime_msMaximum fixed child-chain lifetime only for actions explicitly required to be finite by their risk/constraint contract. Defaults to 24 hours for those actions. Each explicit finite root authorization uses the accepting RealmCommit.committed_at plus its effective lifetime; finite parent source windows cannot be renewed by redelegation. It does not impose expiry on unbounded ordinary chat/read/organizer authorization.
86400000preauth · object
此分支的 required:consent_required
…recursion truncated at depth 8; see source schema for full shape
invite_link_limits · object · $ref ./realm-invite-link.schema.json#/$defs/limits
此分支的 required:max_lifetime_seconds, max_use_count_per_link
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[89] · ?
if · if · object
此分支的 required:kind
const "ak.realm.preview_policy""ak.realm.preview_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/preview_policy_payload
此分支的 required:value
分支必填 value · object
此分支的 required:mode, audiences, fields
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[90] · ?
if · if · object
此分支的 required:kind
const "ak.realm.profile""ak.realm.profile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_profile_payload
此分支的 required:schema, title
const "ak.schema.realm_profile.v1""ak.schema.realm_profile.v1"string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref ./string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$string (arkret-short-text) · format=arkret-short-text · $ref ./string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$allOf · allOf[91] · ?
if · if · object
此分支的 required:kind
const "ak.scope.read_receipt_policy""ak.scope.read_receipt_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/read_receipt_policy_payload
string (enum)"required" "optional" "disabled"string (enum)"public" "members" "private"$ref #/$defs/read_receipt_policy_scope_ref · $ref #/$defs/read_receipt_policy_scope_refallOf · allOf[92] · ?
if · if · object
此分支的 required:kind
const "ak.realm.restore""ak.realm.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[93] · ?
if · if · object
此分支的 required:kind
const "ak.realm.schema""ak.realm.schema"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_schema_payload
Closed whole-value payload for ak.realm.schema. value.schema_refs is the complete replacement set of activated schema ids; it is not merged with any previous set. Every member MUST be a registered ak.schema.*.vN id, and the core member ak.schema.realm.v1 MUST be present in every update, so the set can never drop self-contained Realm validation. The Realm structural role is carried only by the signed ak.schema.realm_genesis.v1 purpose and is not writable here; policy and deployment profiles have their own carriers.
此分支的 required:value
分支必填 value · object
此分支的 required:schema_refs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[94] · ?
if · if · object
此分支的 required:kind
const "ak.realm.search_policy""ak.realm.search_policy"then · then · object
payload · object · $ref ./search-service.schema.json#/$defs/search_policy
此分支的 required:enabled_profile_refs, allowed_service_ids, data_classes
分支必填 enabled_profile_refs · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
分支必填 allowed_service_ids · array<$ref ./common-ids.schema.json#/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
分支必填 data_classes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
integerstring (enum)"fail_closed" "drop_stale"string (enum)Machine-readable search leakage class. ak.profile.search.blind_index.v1 uses deterministic_token; ak.profile.search.forward_private.v1 requires forward_private; access_hiding is reserved for explicit PIR/ORAM-backed profiles.
"deterministic_token" "forward_private" "access_hiding""deterministic_token"integerMaximum intended interval between search token generations for profiles that rotate index keys or OPRF blinds.
allOf · allOf[95] · ?
if · if · object
此分支的 required:kind
const "ak.realm.set_default_strand""ak.realm.set_default_strand"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_set_default_strand_payload
Payload for ak.realm.set_default_strand. Sets / changes the Realm's authoritative default discussion Strand pointer. Reducer projects strand_id into the Realm projection default_strand_id (single authoritative pointer; avoids multi-default dirty state). Reducer MUST verify strand_id references a projected, non-tombstoned Strand in this Realm; a dangling reference MUST be rejected with failed_precondition. The Strand projection is_default is a derived marker (strand_id == realm.default_strand_id), never independent storage. expected_default_strand_id compiles to a current state expected_commit_id precondition for optimistic concurrency (CAS). Absent and explicit null are normalized to the same null value before comparison, so omission asserts expected_commit_id null and is only valid while the current state is still in its initial no-default state; once a default is set the field MUST be present, otherwise the reducer MUST reject with failed_precondition and MUST NOT overwrite unconditionally.
此分支的 required:realm_id, strand_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idexpected_default_strand_id · oneOf[2]
Optimistic-concurrency guard compared as a whole value after absent and explicit null are normalized to null. The reducer accepts the write only if the Realm's current default_strand_id equals this value (null asserts no default is currently set). Omission therefore asserts expected_commit_id null and MUST fail once a default exists. Mismatch MUST be rejected (failed_precondition).
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[96] · ?
if · if · object
此分支的 required:kind
const "ak.realm.tombstone""ak.realm.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_tombstone_payload
此分支的 required:reason, successor_realm_id
stringstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[97] · ?
if · if · object
此分支的 required:kind
const "ak.realm.unfreeze""ak.realm.unfreeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[98] · ?
if · if · object
此分支的 required:kind
const "ak.redaction""ak.redaction"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/cross_object_redaction_payload
Payload for the cross-object ak.redaction. Shares the object_redaction current state family with ak.message.redact but carries a target set that mechanically excludes Message: message_id is not a member and target_ref cannot spell ak:message:. target_ref is the single target carrier; its lexical space covers both object targets and ak:event: targets, so the current state subject is well defined without a coalesce.
此分支的 required:target_ref
$ref #/$defs/cross_object_redaction_target_ref · $ref #/$defs/cross_object_redaction_target_refstringpreserve · array<string>
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[99] · ?
if · if · object
此分支的 required:kind
const "ak.relation.create""ak.relation.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_create_payload
Create or replace the Relation current value at one registered primary conflict domain. primary_conflict_domain is the signed current-state subject and MUST exactly match payload.relation's registered relation_kind/from_ref/to_ref shape. payload.relation is the closed six-field relation_definition authoring region; its optional relation.rank is the only create-time rank carrier, and materialized Relation members are forbidden. expected_commit_id is null only when the domain has never been written; after a tombstone, a new event-derived RelationId MAY replace that tombstoned value only at its exact revision. An active current value cannot be replaced by create.
此分支的 required:primary_conflict_domain, expected_commit_id, relation
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 expected_commit_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/relation_create_object · $ref #/$defs/relation_create_objectallOf · allOf[100] · ?
if · if · object
此分支的 required:kind
const "ak.relation.tombstone""ak.relation.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_tombstone_payload
Payload for ak.relation.tombstone. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. The transition is irreversible for that RelationId. When supplied, reason is retained on the Event and is not copied into the materialized Relation object.
此分支的 required:primary_conflict_domain, expected_commit_id, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/relation_id · $ref #/$defs/relation_idstringallOf · allOf[101] · ?
if · if · object
此分支的 required:kind
const "ak.relation.update""ak.relation.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_update_payload
Relation patch payload. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. relation_kind/from_ref/to_ref are create-locked because they define the subject; changing them requires an explicit tombstone followed by create. effective_scope and every effective_scope.* descendant path remain reducer-managed.
此分支的 required:primary_conflict_domain, expected_commit_id, patch, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[5]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/relation_id · $ref #/$defs/relation_idallOf · allOf[102] · ?
if · if · object
此分支的 required:kind
const "ak.rsvp.set""ak.rsvp.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/rsvp_set_payload
此分支的 required:event_ref, occurrence, entry
$ref #/$defs/strand_id · $ref #/$defs/strand_idCalendar event Strand id; encoded as a ak:strand: typed id.
分支必填 occurrence · oneOf[3]
JSON null for the whole series, or the canonical recurrence instance key: YYYY-MM-DD for all-day events and YYYY-MM-DDTHH:MM:SS[Zone] for timed events. The date component MUST be a real proleptic-Gregorian date, not merely match the digit pattern. The producer MUST canonicalize before signing; receivers MUST reject non-canonical keys instead of rewriting them.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/rsvp_entry · $ref #/$defs/rsvp_entryallOf · allOf[103] · ?
if · if · object
此分支的 required:kind
const "ak.schema.define""ak.schema.define"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/schema_define_state_payload
Schema definition payload. value is a JSON Schema 2020-12 document validated by the executable ak.validator.json_schema_2020_12_definition.v1 profile; value.$id is the stable definition current state subject.
此分支的 required:value
分支必填 value · object
此分支的 required:$schema, $id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[104] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.deactivate""ak.self.agent.deactivate"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_deactivate_payload
Payload for the single terminal ak.self.agent.deactivate Event. The lifecycle current state is addressed only by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. At the accepted RealmCommit covering this Event, every verifier mechanically AND-gates all subordinate Agent runtime-key authorizations, sessions, pairing handles, capability grants, KeyPackages, presence and future submissions on lifecycle=active. Historical child Events remain auditable; explicit child revokes are not prerequisites and are reserved for targeted revocation while the Agent is non-terminal. The lifecycle state witness is sufficient transition evidence for every derived ineffective child.
此分支的 required:transition, previous_status, status_changed_at
const "deactivate""deactivate"string (enum)Controller lifecycle intent at deactivation time. Generic Agent status has only lifecycle, readiness and presence; pairing-poll runtime_state is operation-local and never appears here (key-management.md §3.6.1).
"active" "paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[105] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.pause""ak.self.agent.pause"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_pause_payload
Payload for ak.self.agent.pause. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject and moves from active to paused; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state; the reducer accepts the transition only under the accepted current authority-committed results.
此分支的 required:transition, previous_status, status_changed_at
const "pause""pause"const "active""active"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[106] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.resume""ak.self.agent.resume"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_resume_payload
Payload for ak.self.agent.resume. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state, and reducers re-check controller, agent, key, capability, Realm policy, and accountability grant against the accepted current authority-committed results before returning the agent to active. Sidecar desired membership is derived afterward and is not carried in this payload.
此分支的 required:transition, previous_status, status_changed_at
const "resume""resume"const "paused""paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[107] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.context.attach""ak.sidecar.context.attach"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_context_attach_payload
Controller-signed versioned attachment of a source Realm context to an existing native Sidecar. It creates no Strand or Relation protocol object.
此分支的 required:sidecar_id, source_context_ref, version
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$分支必填 source_context_ref · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integer$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[108] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.create""ak.sidecar.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_create_payload
Controller-signed personal Sidecar creation in the Human PCR at its owning Station. Only the associated source project is carried in the payload.
此分支的 required:source_realm_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[109] · ?
if · if · object
此分支的 required:kind
const "ak.space.archive""ak.space.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[110] · ?
if · if · object
此分支的 required:kind
const "ak.space.create""ak.space.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_create_payload
Create payload uses the full Space object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance.
此分支的 required:object
分支必填 object · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[111] · ?
if · if · object
此分支的 required:kind
const "ak.space.parent""ak.space.parent"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_parent_payload
Reparent one Space. All three members are required. parent_space_id is nullable and explicit null is the one spelling of "no parent" on this payload, so the space_parent register stays total and an omitted member can never mean the root by accident; the Space create object spells the same fact by absence and the genesis write normalizes it. expected_parent_space_id is the declared prior parent this producer read, not an optional compare-and-set: zh/models/realm-and-space.md section 3.5 registers it as a pre_state requirement on the space_parent family, and making it optional would give one Event kind two admission semantics selected by a member's presence.
此分支的 required:space_id, parent_space_id, expected_parent_space_id
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 parent_space_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 expected_parent_space_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[112] · ?
if · if · object
此分支的 required:kind
const "ak.space.restore""ak.space.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[113] · ?
if · if · object
此分支的 required:kind
const "ak.space.tombstone""ak.space.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_object_tombstone_payload
Payload for ak.space.tombstone. Realm tombstone uses its separate Realm lifecycle payload; Space tombstone targets payload.space_id.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/space_id · $ref #/$defs/space_id$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[114] · ?
if · if · object
此分支的 required:kind
const "ak.space.update""ak.space.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_patch_payload
Space metadata update. The patch names at least one registered metadata path.
此分支的 required:space_id, patch
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 patch · allOf[8]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[115] · ?
if · if · object
此分支的 required:kind
const "ak.strand.archive""ak.strand.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[116] · ?
if · if · object
此分支的 required:kind
const "ak.strand.create""ak.strand.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_create_payload
Create payload uses the Strand object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.strand.stage.set.
此分支的 required:object
分支必填 object · allOf[4]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[117] · ?
if · if · object
此分支的 required:kind
const "ak.strand.move""ak.strand.move"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_move_payload
此分支的 required:board_space_id, strand_id, target_space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_idBoard Space that owns the position edge; deduplication key (board_space_id, strand_id) MUST be unique among active edges.
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idSource List Space (optional; reducer infers from current active edge if omitted).
$ref #/$defs/list_space_id · $ref #/$defs/list_space_idTarget List Space after move. This is the ONLY payload-level field for the destination; the reducer compiles it into the current-value projection value as 'list_space_id' on the current state at ak:result:strand_position:<board_space_id>:<strand_id>. Writers MUST NOT put 'list_space_id' directly on the ak.strand.move payload (additionalProperties=false enforces this) — there is exactly one destination input field on the wire.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[118] · ?
if · if · object
此分支的 required:kind
const "ak.strand.reorder""ak.strand.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_reorder_payload
此分支的 required:board_space_id, strand_id, space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_id$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idList Space within which the reorder happens.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[119] · ?
if · if · object
此分支的 required:kind
const "ak.strand.restore""ak.strand.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[120] · ?
if · if · object
此分支的 required:kind
const "ak.strand.stage.set""ak.strand.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_stage_set_payload
Payload class for ak.strand.stage.set. Mutates Strand.stage / Strand.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/strand-and-message.md §3.2.
此分支的 required:strand_id, stage
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[121] · ?
if · if · object
此分支的 required:kind
const "ak.strand.tracks.update""ak.strand.tracks.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_tracks_update_payload
Closed configuration-only payload for ak.strand.tracks.update; content writes use ak.strand.update.
此分支的 required:strand_id, patch
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[122] · ?
if · if · object
此分支的 required:kind
const "ak.strand.update""ak.strand.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_patch_payload
Payload class for ak.strand.update. Patches ordinary Strand fields on the Strand identified by strand_id.
此分支的 required:strand_id, patch
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 patch · $ref #/$defs/patch · $ref #/$defs/patch
Only the two exact Synthesis content paths may reach tracks; replacing tracks, a track entry or configuration is forbidden.
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[123] · ?
if · if · object
此分支的 required:kind
const "ak.strand.watch.set""ak.strand.watch.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_watch_set_payload
Payload for ak.strand.watch.set. Writes the (strand_id, watcher_actor_id) watch current state. The new current state value is computed from payload.level + payload.level_public: when level is null the effect is set null (clear, equivalent to mentions_only); when level is a string the effect is set { level, level_public? }. Reducer invariants: (1) watcher_actor_id MUST equal envelope.actor_id unless writer holds ak.strand.watch.set.others; (2) when watcher_actor_id != envelope.actor_id (.others write), level MUST be one of {mentions_only, participating, all} and level_public MUST be omitted or false — writing muted or level_public=true on behalf of another actor MUST failed_precondition; (3) .others writes MUST have exactly one ak.audit.accessed Event as the second slot of the registered audit_paired_event unit pointing to the watch Event with semantic_refs[role=audit_pair], and its payload access_kind=watch_set_others must bind writer_actor_id, target_actor_id, target_ref=strand_id and paired_event_id. The Station validates current watch state and atomically commits both Events; no caller-authored result head is carried. See models/strand-and-message.md §8.4.
此分支的 required:strand_id, watcher_actor_id, level
allOf · allOf[0] · ?
level_public MUST be omitted when level is null (clearing a current state does not carry a public-level setting).
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 watcher_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
enum (5)Watch level. Required. null clears the current state (equivalent to mentions_only / no record); in that case level_public MUST be omitted.
"mentions_only" "participating" "all" "muted" nullbooleanOpt-in publication of the level value to non-self projection consumers. Default false. muted MUST NOT be exposed even with level_public=true. MUST be omitted when level is null.
expected_value · oneOf[2]
Ordinary watch predicate evaluated only against the signed causal basis. null asserts an unwritten basis; a concrete value must match the selected exact base head. It does not serialize independent offline writes or pick a winner.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[124] · ?
if · if · object
此分支的 required:kind
const "ak.view.create""ak.view.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_create_payload
Payload for ak.view.create. zh/models/views.md section 3.2 gives the three View kinds three different author loads over one current state family; one shared def with an anyOf of the three branches and no event_kind discriminator admitted every shape on every kind -- an ak.view.update could carry an unconstrained definition object, and an ak.view.create could carry {view_id, patch}. Each kind now binds exactly one closed payload.
此分支的 required:object
分支必填 object · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[125] · ?
if · if · object
此分支的 required:kind
const "ak.view.reconcile""ak.view.reconcile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_reconcile_payload
Payload for ak.view.reconcile. view_id is the view current state subject -- zh/models/views.md section 3.2 is normative that all three View kinds write ONE family, so the family is named for the View, not for this payload. definition is the complete author-editable definition (view.schema.json #/$defs/view_definition), not an author-overwritable copy of the materialized object: identity, Realm, schema, creation metadata and lifecycle state are retained from the target pre-state, and update provenance is derived from this Event. Reconcile is neither create object snapshot nor update patch: it replaces the definition wholesale.
此分支的 required:view_id, definition
string^ak:view:[A-Za-z0-9_-]{44}$分支必填 definition · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[126] · ?
if · if · object
此分支的 required:kind
const "ak.view.update""ak.view.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_update_payload
Payload for ak.view.update: the incremental patch surface, and the only shared-View removal path (zh/models/views.md section 3.1). It MUST NOT carry an object snapshot or a whole definition -- those are create and reconcile -- and view_id is required because it is the current state subject.
此分支的 required:view_id, patch
string^ak:view:[A-Za-z0-9_-]{44}$$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestSigned frozen pre-state guard. It names the exact committed current value this patch was authored against: the single value the target current state holds at the position the write is applied, per the accepted order of its own stream. A mismatch fails the Event; it MUST NOT be resolved by choosing an older historical candidate that does match. contract-registry.json registers nothing for it because the v1 state_projection grammar has no expected_prestate member, so it is an admission rule beside the projection rather than part of it.
allOf · allOf[127] · ?
if · if · object
此分支的 required:kind
const "ak.agent.interaction.set""ak.agent.interaction.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_interaction_set_payload
Realm-scoped controller-only Agent interaction mode. Signed plaintext control, not membership or private participation selection. CAS and authority admission are defined in zh/models/agent-interaction.md section 1.
此分支的 required:agent_account_id, controller_account_id, interaction_mode
分支必填 agent_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"private" "public"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$scope_ref · object
const "realm""realm"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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[128] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_create_payload
此分支的 required:schema, actor_id, applet_id, service_id, actor_role, request_id, creation_scope, registration_ref, creation_authorization_ref, initial_resolution, method_history_evidence, control_method_kid, expires_at, control_signature, recovery
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.realm_actor_create.v1""ak.schema.realm_actor_create.v1"分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)"bot" "ghost"string^[A-Za-z0-9_-]{22,128}$分支必填 creation_scope · oneOf[1] · $ref ./applet-install-plan.schema.json#/$defs/effective_scope
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 initial_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$$ref #/$defs/ghost_external_tuple · $ref #/$defs/ghost_external_tuple分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery · object
此分支的 required:kind, enabled, content_backup_recipient
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[129] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.update""ak.realm.actor.control.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_update_payload
此分支的 required:expected_commit_id, next_resolution, method_history_evidence, next_control_method_kid, next_method_signature
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$分支必填 next_method_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_control_acceptance_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[130] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.status.set""ak.realm.actor.status.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_status_set_payload
此分支的 required:target_actor_id, gate, expected_commit_id, state
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"governance" "owner"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string (enum)"active" "paused" "retired"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[131] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.devices.reset""ak.realm.actor.devices.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_devices_reset_payload
此分支的 required:expected_commit_id, expected_generation, new_generation
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[132] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.manager.change""ak.realm.actor.manager.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_manager_change_payload
The next archive recipient MUST be fresh and independent. Before signing the new Service acceptance, the new manager MUST durably import all retained-root old recipient private keys, original declarations and complete custody indices covered by content_backup_handover_digest. Digest equality or an acceptance signature alone is not physical custody. Switching preserves owner paused until every required scope has a fresh series and complete retained coverage. content_backup_inventory_digest MUST match the complete physically retained all-scope archive inventory rederived under the same paused full-Actor namespace lock at acceptance. Native first-PUT, series and recipient changes increment the persisted archive_revision, while identical replay does not. The private handover manifest includes that exact inventory digest; neither local ACK journal nor new Service self-reported count proves completeness.
此分支的 required:expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, new_service_id, new_registration_ref, management_authorization_ref, new_service_signature, next_resolution, method_history_evidence, next_content_backup_recipient, content_backup_inventory_digest, content_backup_handover_digest
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 new_service_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_manager_acceptance_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[133] · ?
if · if · object
此分支的 required:scope_ref
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$then · then · allOf[1]
此分支的 required:applet_id
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.create" "ak.realm.actor.control.update" "ak.realm.actor.status.set" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update" "ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset" "ak.realm.actor.recovery.set" "ak.key_backup.active_series"allOf · allOf[134] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
此分支的 required:applet_id, authorization_ref
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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[135] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.control.update" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change"then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[136] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.status.set"then · then · ?
if · if · object
payload · object
此分支的 required:gate
…recursion truncated at depth 8; see source schema for full shape
then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
else · else · object
此分支的 required:authorization_ref
actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[137] · ?
if · if · allOf[2]
allOf · allOf[0] · object
此分支的 required:kind
string (enum)"ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update"allOf · allOf[1] · object
此分支的 required:actor_id
分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
then · then · object
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[138] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.begin""ak.realm.actor.recovery.begin"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_begin_payload
此分支的 required:target_actor_id, request_id, manager_ref, recovery_ref, expected_control_commit_id, expected_owner_status_commit_id, expected_governance_status_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, replaces_recovery_ref, next_resolution, method_history_evidence, next_control_method_kid, expires_at, control_signature
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9_-]{22,128}$分支必填 manager_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerinteger分支必填 replaces_recovery_ref · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/webvh_recovery_plan · $ref #/$defs/webvh_recovery_planstring · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_recovery_acceptance_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[139] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.reset""ak.realm.actor.control.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_reset_payload
此分支的 required:target_actor_id, recovery_begin_ref, expected_recovery_commit_id, expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, published_method_history_evidence
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_begin_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 published_method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[140] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_set_payload
此分支的 required:target_actor_id, expected_recovery_commit_id, expected_manager_commit_id, enabled
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$booleanscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[141] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"then · then · object
此分支的 required:applet_id
actor_id · allOf[2]
allOf · allOf[0] · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[142] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
此分支的 required:applet_id, authorization_ref
actor_id · allOf[2]
allOf · allOf[0] · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[143] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
scope_ref · object
const "realm""realm"allOf · allOf[144] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.create""ak.realm_invite_link.create"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/create_payload
此分支的 required:public_key, expires_at, max_use_count
$ref #/$defs/link_public_key · $ref #/$defs/link_public_keystring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$integerallOf · allOf[145] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.revoke""ak.realm_invite_link.revoke"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/revoke_payload
此分支的 required:realm_invite_link_id
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_idallOf · allOf[146] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.accept""ak.realm_invite_link.accept"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/accept_payload
此分支的 required:realm_invite_link_id, subject_account_id, request_id, link_proof
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_id分支必填 subject_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./realm-join-intake.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$$ref #/$defs/proof · $ref #/$defs/proofallOf · allOf[147] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_grant""ak.mls.history_grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_grant_payload
Original signed grant references an accepted ak.mls.history_request authored by its exact recipient endpoint. The complete recipient, recipient_hpke_key_base64url, history_cut and expires_at equal that request; endpoint authorization remains inside recipient. Issuer disclosure and recipient read authority are independently native-verified, not asserted by an opaque payload reference. HPKE info and aad equal JCS({recipient,recipient_hpke_key_base64url,recipient_key_event_ref,history_cut,expires_at,selector}). sealed_key_base64url is canonical unpadded base64url(enc[32] || ciphertext || tag[16]), exactly 64 or 80 decoded bytes for a 16/32-byte key. Default RFC9180 suite is X25519/HKDF-SHA256/ChaCha20Poly1305, mode Base, seq=0; no wire nonce.
此分支的 required:recipient, recipient_hpke_key_base64url, recipient_key_event_ref, history_cut, expires_at, entries
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 entries · array<object>
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[148] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_request""ak.mls.history_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_request_payload
Exact recipient-native-endpoint signed history request. Endpoint authorization is recipient.authorization_event_ref. Scope read authority is independently verified at the accepting RealmCommit cut and again for new grant issuance/delivery; this object is not a permission grant. Its endpoint key is the native verified MLS leaf key and may differ from the independently verified Event producer key. No top-level authorization_event_ref exists.
此分支的 required:recipient, recipient_hpke_key_base64url, history_cut, expires_at
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$allOf · allOf[149] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_recovery""ak.mls.history_recovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_recovery_payload
此分支的 required:state, pcr_cut, coverage_head_digest, restored_event_count, cleanup_completed, inventory_blob_ref, replacement
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"pending" "ready"分支必填 pcr_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^sha256:[0-9a-f]{64}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^sha256:[0-9a-f]{64}$booleanstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/endpoint · $ref #/$defs/endpointallOf · allOf[150] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · ?
?此分支的 required:executed_by, authorization_ref
then · then · object
?此分支的 required:custodian_actor_id, custody_authorization_ref
else · else · object
?allOf · allOf[151] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.member.state""ak.sidecar.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_member_state_payload
Opt-in at the owning Account Station. The predecessor is absent on the first join and names the latest accepted change for the same Sidecar and Agent thereafter.
此分支的 required:agent_account_id, membership
分支必填 agent_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum) · $ref #/$defs/membership_state"join" "leave"$ref #/$defs/event_ref · $ref #/$defs/event_refconst trueController permission to write encrypted replies on this exact private Sidecar. Absent means read-only.
truestring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string (enum)Standard ak.* Event kinds MUST appear in artifacts/registry/event-kind-registry.json. State convergence is defined by the registered pure reducer over kind + payload; producers do not submit current state writes.
"ak.account_data.set" "ak.agent.action_approve" "ak.agent.action_reject" "ak.agent.action_request" "ak.agent.draft.propose" "ak.agent.interaction.set" "ak.agent.key.authorize" "ak.agent.key.revoke" "ak.agent.provision" "ak.agent.sidecar.exchange.control" "ak.applet.bridge_error" "ak.applet.discovery" "ak.applet.registration" "ak.audit.accessed" "ak.audit.erasure_receipt" "ak.call.create" "ak.call.recording.start" "ak.call.state" "ak.capability.grant" "ak.capability.relinquish" "ak.capability.revoke" "ak.consent.replace" "ak.contact.accepted" "ak.contact.rejected" "ak.contact.requested" "ak.contact.scope.update" "ak.contact.tombstone" "ak.device.authorize" "ak.device.push_route" "ak.device.reanchor" "ak.device.revoke" "ak.direct_conversation.bound" "ak.identity.accountability_grant" "ak.identity.resolution.update" "ak.invite.accept" "ak.invite.cancel" "ak.invite.create" "ak.invite.revoke" "ak.key_backup.active_series" "ak.member.identity.update" "ak.member.state" "ak.message.create" "ak.message.redact" "ak.message.revise" "ak.mimi.room_binding" "ak.mls.commit" "ak.mls.genesis" "ak.moderation.decision" "ak.moderation.decision.lift" "ak.morph.archive" "ak.morph.create" "ak.morph.restore" "ak.morph.stage.set" "ak.morph.update" "ak.organization.moderation_policy" "ak.pin.add" "ak.pin.remove" "ak.pin.reorder" "ak.policy.action" "ak.policy.set" "ak.profile.create" "ak.profile.realm_override" "ak.profile.update" "ak.reaction.add" "ak.reaction.remove" "ak.read_cursor.advance" "ak.realm.actor.control.reset" "ak.realm.actor.control.update" "ak.realm.actor.create" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.realm.actor.recovery.begin" "ak.realm.actor.recovery.set" "ak.realm.actor.status.set" "ak.realm.alias" "ak.realm.archive" "ak.realm.asset_privacy_policy" "ak.realm.authority.reset" "ak.realm.create" "ak.realm.destroy" "ak.realm.discovery" "ak.realm.freeze" "ak.realm.governance_station.change" "ak.realm.history_access" "ak.realm.join_rule" "ak.realm.link" "ak.realm.media_service" "ak.realm.organization" "ak.realm.owner.transfer" "ak.realm.plaintext_visible_services" "ak.realm.policy_bundle" "ak.realm.preview_policy" "ak.realm.profile" "ak.realm.restore" "ak.realm.schema" "ak.realm.search_policy" "ak.realm.set_default_strand" "ak.realm.tombstone" "ak.realm.unfreeze" "ak.redaction" "ak.relation.create" "ak.relation.tombstone" "ak.relation.update" "ak.rsvp.set" "ak.schema.define" "ak.scope.read_receipt_policy" "ak.self.agent.deactivate" "ak.self.agent.pause" "ak.self.agent.resume" "ak.sidecar.context.attach" "ak.sidecar.member.state" "ak.sidecar.create" "ak.space.archive" "ak.space.create" "ak.space.parent" "ak.space.restore" "ak.space.tombstone" "ak.space.update" "ak.strand.archive" "ak.strand.create" "ak.strand.move" "ak.strand.reorder" "ak.strand.restore" "ak.strand.stage.set" "ak.strand.tracks.update" "ak.strand.update" "ak.strand.watch.set" "ak.view.create" "ak.view.reconcile" "ak.view.update" "ak.realm_invite_link.create" "ak.realm_invite_link.revoke" "ak.realm_invite_link.accept"^ak\.[a-z0-9_]+(\.[a-z0-9_]+)*$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/scope_ref · $ref #/$defs/scope_refRequired producer-signed security scope. The closed union is ordinary existing realm or native sidecar scope plus the create-only realm_genesis exception. It enters proof.event_digest and E2EE AAD. Reducers independently derive the exact scope from schema-validated payload and accepted references; missing dependencies, nonexistent scope, realm_id mismatch, omitted sidecar_id, substituting Realm scope for Sidecar scope, or any unequal field is fail closed. Sidecar domain Event kinds remain Extension-owned; recognizing this native security shape does not make Kernel interpret the Sidecar reducer. Exact product targets remain inside recipient-visible ciphertext.
分支必填 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
executed_by · 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
authorization_ref · oneOf[6]
Optional. Required when executed_by is present. It identifies an accepted Grant, delegation Event, DID-document delegation, or one of the closed profile-specific authority constants. The current governance Station evaluates the reference against the target stream's committed state.
$ref #/$defs/grant_ref · $ref #/$defs/grant_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/did_delegation_ref · $ref #/$defs/did_delegation_ref$ref #/$defs/direct_conversation_participant_authority_ref · $ref #/$defs/direct_conversation_participant_authority_ref$ref #/$defs/direct_conversation_bootstrap_authority_ref · $ref #/$defs/direct_conversation_bootstrap_authority_ref$ref #/$defs/membership_compensation_delegation_ref · $ref #/$defs/membership_compensation_delegation_ref$ref #/$defs/applet_id · $ref #/$defs/applet_idOptional signed Applet provenance. Required by ak.profile.applet_* when the Event is introduced by an Applet, Ghost Actor, bridge, or delegated applet path. Enters canonical event bytes and therefore is covered by proof.event_digest. When present, authorization_ref MUST also be present and resolve to a real active registration/capability grant binding this applet_id, registration_epoch, action and resource per zh/extensions/applet-integration.md sections 4, 8 and 11. Service-actor self-signature proves provenance but is not an authorization substitute. Capability-gated actions require a grant covering action/resource. For subject_only operations the referenced grant binds only the exact active install and cannot replace the subject signature, FSM or independent action authority. Service self-authored Events use ActorId.service; the install grant subject MUST be the same exact ActorId.service as its producer; hosting Station and effective scope are verified separately without coercing a Service into an account variant.
$ref #/$defs/external_ref · $ref #/$defs/external_refOptional signed external provenance reference for Applet / bridge-originated Events. It is covered by event_digest and MUST NOT be carried only in unsigned when used for loop prevention, audit, or external-message idempotency. Must not contain unauthorized external plaintext.
$ref #/$defs/canonical_event_timestamp · $ref #/$defs/canonical_event_timestampsemantic_refs · array<$ref #/$defs/semantic_ref>
Optional semantic refs with role. Omit when there are no semantic references; an explicitly empty array is not canonical. Admission selectors determine any required references. PCR policy recovery has no DID-root anchor reference; its policy/session/replacement-key authority is verified separately.
$ref #/$defs/semantic_ref · $ref #/$defs/semantic_refobject$ref #/$defs/event_proof · $ref #/$defs/event_proofThe Event's sole portable producer proof. Storage receipts are separate objects and never authorize this Event. producer_proof and unsigned remain outside the canonical Event digest. Exact retries preserve the verified producer proof.
分支必填 provenance · oneOf[4] · $ref #/$defs/agent_lifecycle_provenance
Closed provenance branch of the witnessed lifecycle value. Each branch carries only the accepted status Event ID of its own transition; a provision Event ID or a predecessor lifecycle pointer has no independent proof carrier and MUST NOT appear.
oneOf · oneOf[0] · object
此分支的 required:kind, realm_create_event_id
const "genesis""genesis"string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$oneOf · oneOf[1] · object
此分支的 required:kind, pause_event_id
const "pause""pause"string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$oneOf · oneOf[2] · object
此分支的 required:kind, resume_event_id
const "resume""resume"string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$oneOf · oneOf[3] · object
此分支的 required:kind, deactivate_event_id
const "deactivate""deactivate"string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 commit_lineages · array<$ref #/$defs/commit_lineage>
items · object · $ref #/$defs/commit_lineage
Complete, duplicate-free predecessor closure connecting one witness RealmCommit to source_commit_id inside the same stream. An unknown, forked, cross-Realm or unsigned predecessor, or a missing link, rejects the whole evidence.
此分支的 required:witness_commit_id, predecessor_commit_ids
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 predecessor_commit_ids · array<$ref ./common-ids.schema.json#/$defs/realm_commit_id>
Ordered inclusive path from witness_commit_id to source_commit_id, increasing stream_position by exactly one at each step. Every ID addresses the matching complete member of state.commits.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 commits · array<$ref ./realm-commit.schema.json>
Exact union of genesis, witness and lineage Commits through source_commit_id, sorted by stream_position. No gaps, duplicate IDs/positions, forks or unrelated Commits.
items · object · $ref ./realm-commit.schema.json
The only shared Realm acceptance, ordering, finality and replication record. Every visibility scope has an authority-signed predecessor chain.
此分支的 required:commit_id, realm_id, stream_ref, stream_position, previous_commit_ref, event_ref, governance_generation, authority_ref, committed_at, signature
allOf · allOf[0] · ?
if · if · object
此分支的 required:stream_position
const 00then · then · object
nullelse · else · object
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/stream_ref · $ref #/$defs/stream_refinteger分支必填 previous_commit_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$分支必填 authority_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_authority_handoff_idContent-addressed identity of one closed old-to-new Realm authority handoff.
^ak:realm_authority_handoff:[A-Za-z0-9_-]{44}$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string · $ref ./account-operations.schema.json#/$defs/sha256_digestFixed SHA256(JCS(original immutable producer signer fact)), before Commit identity/signature. The fact excludes its target Commit coordinate. Human, Service, realm_device and private realm_control facts retain their exact original verification sources through replay and handoff.
^sha256:[0-9a-f]{64}$分支必填 signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_commit_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
oneOf · oneOf[0] · object · $ref #/$defs/agent_authority_state_evidence
Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.
此分支的 required:schema, state_digest, attestation
const "ak.schema.agent_authority_state_evidence.v1""ak.schema.agent_authority_state_evidence.v1"state · object · $ref #/$defs/agent_authority_state
One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.
此分支的 required:authority_id, agent_id, source_commit_id, pcr_genesis_event, key_authorization_event, authorization, key_state_witness, agent_lifecycle_witness, commit_lineages, commits, authority_bundle, signer_dependencies, producer_bindings
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$分支必填 attestation · object · $ref #/$defs/agent_authority_state_attestation
The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.
此分支的 required:authority_id, verification_method, state_digest, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object · $ref #/$defs/controller_account_gate_attestation_issue_request_body
Deployment-authenticated request an Agent Authority sends to obtain the Account Authority-owned controller gate. Caller identity comes only from the authenticated deployment relationship: the body carries no service resolution carrier, and a self-asserted DID, URL, bearer subject, public key or account-active boolean is a schema violation rather than an identity source.
此分支的 required:request_id, principal_id, agent_authority_id
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$oneOf · oneOf[3] · object · $ref #/$defs/controller_account_gate_attestation_issue_response_body
Byte-stable issuance result. A replay of the same request_id and canonical intent returns these original bytes; a different intent under the same request_id is a duplicate_conflict with zero issuance.
此分支的 required:request_id, controller_account_gate_attestation
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 controller_account_gate_attestation · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "ak.realm_commit_signature.v1""ak.realm_commit_signature.v1"分支必填 authority_bundle · object · $ref #/$defs/agent_accepted_authority_bundle
Minimal accepted-at genesis-only authority projection for a user-managed Agent PCR fixed to its Account Station at generation zero. No authority_transitions member, online nonce/current assertion or routing authority. signer_histories contain exactly the original Station method-native history needed at each actual signature time; key rotation is not governance transfer. Unused records are surplus. It does not authorize other Events or controller binding.
此分支的 required:realm_id, genesis_event, genesis_commit, signer_histories
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 genesis_event · object · $ref ./event-envelope.schema.json
Closed producer-signed Event. Shared persistent Events become final only when the current Realm governance Station issues a RealmCommit in the derived Realm or Sidecar stream.
此分支的 required:event_id, kind, scope_ref, actor_id, created_at, payload, producer_proof
allOf · allOf[0] · ?
?此分支的 required:external_ref
?此分支的 required:applet_id
allOf · allOf[1] · ?
?此分支的 required:applet_id
then · then · ?
if · if · anyOf[3]
anyOf · anyOf[0] · object
此分支的 required:actor_id, kind, scope_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[1] · object
此分支的 required:actor_id, kind, scope_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyOf · anyOf[2] · object
此分支的 required:actor_id, kind, scope_ref, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
??此分支的 required:authorization_ref
allOf · allOf[2] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_participant.v1""ak.authority.direct_conversation_participant.v1"then · then · object
此分支的 required:semantic_refs
?allOf · allOf[3] · ?
if · if · object
此分支的 required:authorization_ref
const "ak.authority.direct_conversation_bootstrap_participant.v1""ak.authority.direct_conversation_bootstrap_participant.v1"then · then · object
此分支的 required:semantic_refs
??$ref #/$defs/registered_admission_shape · $ref #/$defs/registered_admission_shape$ref #/$defs/registered_execution_shape · $ref #/$defs/registered_execution_shapeallOf · allOf[7] · ?
if · if · object
此分支的 required:kind
const "ak.account_data.set""ak.account_data.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/account_data_set_payload
Payload for ak.account_data.set. Writes one holder-private account-data key; the value may be plaintext inside an already private envelope, encrypted account-data material, or a tombstone. Every key is a compare-and-set whole-value register per zh/models/account-data.md §5: expected_server_revision is the revision the writer believes is current (0 to create), and the accepted revision is expected_server_revision + 1. The object is closed: expected_commit_id is not an alias, and carrying both names is invalid before signature verification or storage.
此分支的 required:key, expected_server_revision
?此分支的 required:body
?此分支的 required:encrypted_payload
?此分支的 required:tombstone
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string?Caller-supplied opaque account-data value. Any JSON value.
objectconst truetrue$ref #/$defs/timestamp · $ref #/$defs/timestampintegerCompare-and-set precondition against the accepted per-key revision. A mismatch MUST be rejected with cas_conflict and MUST NOT be stored; the revision counter is a high-water mark that never goes backwards, so a stale offline retry cannot resurrect a superseded value. This is the Station-maintained monotone per-key counter of the server_revision_cas merge on the account-private face. It is a different mechanism from the shared face’s scalar expected_commit_id (RealmCommitId) and carries a different name so the two can never be compared against each other.
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$allOf · allOf[8] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_approve""ak.agent.action_approve"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_approve_payload
Controller-signed security command binding one complete pre-authored Event by content-derived EventId. The canonical Event bytes exist before approval, avoiding any digest or RealmCommit self-reference. Confirmation atomically consumes the nonce and authorizes only that exact Event.
此分支的 required:approval_id, agent_id, proposed_action, target, approved_event_id, approval_nonce, expires_at
string · $ref ./string-profiles.schema.json#/$defs/agent_confirmation_handleNonempty 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.
^(?!ak:)request_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_targetstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$$ref #/$defs/digest · $ref #/$defs/digeststringAt least 128 bits of controller-generated entropy; one immutable allocation per exact controller ActorId across all target Realms. The namespace is (controller ActorId, approval_nonce), without a Realm component. It cannot be released or reassigned.
^[A-Za-z0-9_-]{22,86}$$ref #/$defs/timestamp · $ref #/$defs/timestampInclusive confirmation deadline judged only against signed RealmCommit committed_at with zero tolerance: the covering commit of this confirmation and the covering commit of the approved Event MUST each have committed_at <= expires_at. Envelope created_at is display-only and is not compared; no Station-local current time is read.
allOf · allOf[9] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_reject""ak.agent.action_reject"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_reject_payload
Payload for ak.agent.action_reject. Controller rejection terminates one actor-private action request, named by request_id, without shared Realm side effects. A draft is not a rejection target: its workflow_state is controller-encrypted Account Data (zh/models/actor-private-effects.md section 3.2).
此分支的 required:rejection_id, request_id, agent_id, rejected_at
string · $ref ./string-profiles.schema.json#/$defs/agent_rejection_handleNonempty 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.
^(?!ak:)分支必填 request_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[10] · ?
if · if · object
此分支的 required:kind
const "ak.agent.action_request""ak.agent.action_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_action_request_payload
Payload for ak.agent.action_request. Actor-private request for controller approval before a shared Realm write is emitted.
此分支的 required:request_id, agent_id, controller_account_id, proposed_action, target, request_canonical_digest, expires_at, created_at
分支必填 request_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[11] · ?
if · if · object
此分支的 required:kind
const "ak.agent.draft.propose""ak.agent.draft.propose"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_draft_propose_payload
Payload for ak.agent.draft.propose. Acceptance creates one Station-private pending intent and never creates encrypted account data. content_handoff is HPKE ciphertext for current accepted controller devices; Station cannot decrypt it.
此分支的 required:draft_id, agent_id, controller_account_id, proposed_action, target, content_digest, content_handoff, expires_at, created_at
string · $ref ./string-profiles.schema.json#/$defs/agent_draft_handleNonempty 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.
^(?!ak:)$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/agent_action_target · $ref #/$defs/agent_action_target$ref #/$defs/digest · $ref #/$defs/digest分支必填 content_handoff · object · $ref ./agent-draft-private.schema.json#/$defs/content_handoff
此分支的 required:scheme, recipients
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[12] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.authorize""ak.agent.key.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_authorize_payload
Payload for ak.agent.key.authorize. Binds one concrete agent signing key to an accountable principal, explicit agent_key_scope, audience, validity window, approval evidence, and both the service-surface and content-capability ceilings that later agent_key_proof sessions must narrow from.
此分支的 required:agent_id, key_id, verification_method, public_key, accountable_principal_id, agent_key_scope, audience, issued_at, approval_evidence
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/verification_method · $ref #/$defs/verification_method分支必填 public_key · object · $ref ./agent-operations.schema.json#/$defs/agent_runtime_public_key
Closed v1 Agent runtime signing-key profile. Ed25519 is the fully-specified JOSE algorithm identifier from RFC 9864; polymorphic algorithm identifiers are rejected.
此分支的 required:kty, kid, algorithm, key
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_scope · $ref #/$defs/agent_key_scope分支必填 audience · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the key authorization is non-expiring and governed solely by revocation (ak.agent.key.revoke / lifecycle cascade).
$ref #/$defs/agent_key_approval_evidence · $ref #/$defs/agent_key_approval_evidencesupersedes · array<object>
Exact complete signed active authorization basis at first acceptance, sorted byte-lexicographically by (key_id, authorized_event_ref). Each original accepted authorization Event identifies its immutable add dot; the verifier independently checks its covering RealmCommit, relevant typed current revision and current active set in the same confirmation transaction. No separate expected_commit_id wire member exists for this family. Omit exactly when the active set is empty; after revoke, reattach follows the registered fresh pairing and activation fence. Same-key reauthorization requires a current active key and names every old dot. Remove observed old-key typed results atomically and add one replacement; stale basis fails closed, and historical rows or prior pairing receipts never restore a revoked key.
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refOptional freshness source for revocation checking. When expires_at is absent, authorization lifetime is governed by the canonical revocation chain and lifecycle cascade; this field may identify the freshness source used for that check.
runtime_attestation · object
Optional runtime / workload attestation captured at pairing approval time. v1 enum includes self_asserted as baseline; future profiles MAY register TEE / SLSA / SPIFFE attestation kinds. Implementations encountering an unknown kind MUST fail closed.
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[13] · ?
if · if · object
此分支的 required:kind
const "ak.agent.key.revoke""ak.agent.key.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_key_revoke_payload
Payload for ak.agent.key.revoke. The keyed-set projection current state subject is (agent_id, key_id); future protocol proofs from this key fail closed once this event is covered by an accepted RealmCommit. The authoring checkpoints is the current authority-committed state; the payload carries no checkpoint field.
此分支的 required:agent_id, key_id, revoked_by, revoked_at
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/agent_key_id · $ref #/$defs/agent_key_id$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[14] · ?
if · if · object
此分支的 required:kind
const "ak.agent.provision""ak.agent.provision"then · then · object
payload · object · $ref ./agent-provision.schema.json
Controller-authored payload that creates one Agent provisioning fact. One accepted reducer transaction atomically writes FOUR typed current state from it -- the provisioning fact, the accountability endorsement, the controller-scoped selector binding and the principal_control_realm_id claim -- and MUST NOT expose a partially completed state. zh/identity/key-management.md sections 3.6 and 3.6.3, zh/identity/account-lifecycle.md, zh/conformance/conformance-profiles.md and zh/extensions/applet-integration.md all enumerate the same four; this description used to name only two, which reads as a licence for the accountability/selector two-Event fan-out that conformance-profiles.md explicitly forbids. The containing Event proof is the only signature; this payload carries no nested proof.
此分支的 required:schema, agent_id, controller_principal_id, principal_control_realm_id, controller_authorization_ref, agent_slug, accountability_scope, requested_scope_digest, selector_visibility, created_at, history_custody
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.agent_provision.v1""ak.schema.agent_provision.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (arkret-agent-slug) · format=arkret-agent-slug · $ref ./string-profiles.schema.json#/$defs/agent_slugCanonical controller-scoped Agent Agent selector slug. Maximum 64 Unicode code points in prepared form.
^[^\s:@/#?\\]+$const "agent_operator"Canonical closed accountability scope.
"agent_operator"$ref #/$defs/digest · $ref #/$defs/digeststring (enum)"public" "restricted" "private"stringstring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 history_custody · object · $ref ./content-encryption.schema.json#/$defs/custody
此分支的 required:custodian_actor_id, recovery_policy_ref, recipient_key_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[15] · ?
if · if · object
此分支的 required:kind
const "ak.agent.sidecar.exchange.control""ak.agent.sidecar.exchange.control"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_sidecar_exchange_control_payload
Outer payload for ak.agent.sidecar.exchange.control. sidecar_id and source_context_ref route the Event inside a native Sidecar scope; encrypted_payload plaintext MUST validate as agent-sidecar-exchange-control.schema.json. Admission MUST require matching scope_ref.kind=sidecar and actor_id equal to the Sidecar controller.
此分支的 required:sidecar_id, source_context_ref, encrypted_payload
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$$ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref · $ref #/$defs/sidecar_context_attach_payload/properties/source_context_ref$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[16] · ?
if · if · object
此分支的 required:kind
const "ak.applet.bridge_error""ak.applet.bridge_error"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_bridge_error_payload
Payload for ak.applet.bridge_error. Durable Realm-history Event recording a bridge / external-network failure. Field table: zh/extensions/applet-schema.md §7. MUST bind realm_id, failed_transaction_ref, retriable, and visibility_scope; missing any required field MUST be rejected as schema_violation. MUST NOT inline unauthorized external plaintext.
此分支的 required:applet_id, realm_id, failed_transaction_ref, error_class, error_code, retriable, visibility_scope
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refReference to the failed transaction / source Event. MUST NOT inline unauthorized external plaintext.
string (enum)Closed error category for aggregation / alerting. See zh/extensions/applet-schema.md §7.
"external_network" "auth" "schema" "rate_limit" "policy"$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringSpecific error code (e.g. external_rate_limited).
booleanstring (enum)Closed visibility scope enum for the error event. Clients MUST honor it and MUST NOT expose bridge-internal detail to unrelated members.
"realm_admins" "applet_controller" "realm_members"objectExternal network reference (protocol / network id). MUST NOT contain unauthorized external plaintext.
stringHuman-readable summary. MUST NOT leak unauthorized external plaintext.
integerSuggested retry delay; meaningful only when retriable=true.
allOf · allOf[17] · ?
if · if · object
此分支的 required:kind
const "ak.applet.discovery""ak.applet.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_discovery_state_payload
此分支的 required:resource_id, value
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 value · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[18] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/applet_registration_payload
Payload for ak.applet.registration. Durable Realm-history Event registering an Applet (bridge / bot service). Field vocabulary: zh/extensions/applet-integration.md §4 and zh/extensions/applet-schema.md §1. An Applet's capability to enter a Realm MUST be granted by that Realm's owner / admin / Realm-policy-authorized administrator actor and checked by the Station authorization capability. The formal Event is signed by that installing administrator and admitted by the target Station; payload.proof is the exact controller-signed package proof and is not an Event proof.
此分支的 required:applet_id, service_id, expected_commit_id, controller_principal_id, base_url, claimed_profiles, protocols, namespaces, receive_events, receive_signals, rate_limited, requested_scopes, registration_epoch, webhook_signature_policy, manifest, proof, created_at
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (uri) · format=uri^https://分支必填 claimed_profiles · array<$ref #/$defs/profile_id>
Canonical Applet implementation profiles copied from the accepted package. These durable claims are the authority source for profile-bound grant rules.
…recursion truncated at depth 8; see source schema for full shape
分支必填 protocols · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
…recursion truncated at depth 8; see source schema for full shape
分支必填 namespaces · object · $ref applet-package.schema.json#/$defs/applet_namespaces
Realm/portal and handle routing claims only. Actor DID namespaces are not registered; identity and delegation are verified from accepted creation/current manager and actual grants.
此分支的 required:realms, handles
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
booleanbooleanboolean分支必填 requested_scopes · array<$ref #/$defs/non_empty_string>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digest分支必填 webhook_signature_policy · object · $ref applet-package.schema.json#/$defs/webhook_signature_policy
HTTP message signature verification policy for transaction push. key_ref is the Applet service DID URL used to verify the app/bridge->arkret inbound HTTP message signature. Verifiers MUST take its bare controller did, validate it with the registered method adapter, and require project(did) to equal service_id (did_core_id); direct DID/core-id string comparison is forbidden. The key is bound to the effective registration_epoch. accepted_signature_algorithms pins the acceptable RFC 9421 signature algorithms.
此分支的 required:key_ref, accepted_signature_algorithms, kind
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 manifest · object
Closed package-derived manifest and the sole registration-epoch evidence carrier.
此分支的 required:claimed_profiles, limits, ghost_policy, delegation_policy, e2ee_policy, registration_epoch_evidence
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 proof · object · $ref applet-package.schema.json#/$defs/detached_proof
Controller-DID detached-JWS proof shape, aligned with event-envelope.schema.json#/$defs/proof (the generic non-Event signed-object proof). Non-Event objects bind their canonical payload via payload_digest; Event proofs MUST instead use event_digest and event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[19] · ?
if · if · object
此分支的 required:kind
const "ak.audit.accessed""ak.audit.accessed"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/audit_accessed_payload
Strict audit payload. watch_set_others belongs to one registered audit_paired_event unit. watch_audit_read is admitted only through the dedicated audited-read command and is not a reusable preaccepted read ticket. The target and writer are checked against the signed business Event or authenticated auditor and current effective scope. No caller-authored state head or result ID is carried.
此分支的 required:access_kind, writer_actor_id, target_ref, purpose, accessed_at
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[2] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"watch_set_others" "watch_audit_read" "e2ee_late_recovery" "policy_audit_read" "other"分支必填 writer_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
target_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/event_ref · $ref #/$defs/event_refRequired when access_kind=e2ee_late_recovery; identifies the original encrypted event recorded by this audit marker. The marker is not historical membership proof, an epoch-to-commit proof, a decrypt-success receipt, or authorization to reveal plaintext. Ordinary verified MLS pending-decrypt retry remains separate.
string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[20] · ?
if · if · object
此分支的 required:kind
const "ak.audit.erasure_receipt""ak.audit.erasure_receipt"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/erasure_receipt_payload
Signed attestation that an issuer completed, partially completed, or blocked a hard-erasure request within a declared storage boundary. It proves the issuer's deletion action and retained verification stub, not disappearance of independent third-party copies.
此分支的 required:schema, receipt_id, trigger, issuer_id, subject, scope, outcome, erased_classes, retained_stub_digest, completed_at, proofs
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.erasure_receipt.v1""ak.schema.erasure_receipt.v1"string^ak:receipt:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 trigger · oneOf[2] · $ref ./erasure-verification-stub.schema.json#/$defs/trigger
Exact authoritative fact that created this physical-erasure execution. Account erasure uses the account_status_record branch; other Event-authorized erasure uses the event branch.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id分支必填 subject · oneOf[6] · $ref ./erasure-verification-stub.schema.json#/$defs/subject
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 scope · object · $ref ./erasure-verification-stub.schema.json#/$defs/scope
Boundary in which deletion was attempted. This MUST be narrow enough for an auditor to tell which service/storage class made the claim.
此分支的 required:storage_boundary
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"completed" "partially_completed" "blocked_by_legal_hold"分支必填 erased_classes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestHash of the retained verification stub after erasure: hash(canonical_json(retained_stub)). The stub verifies typed-reference structure, redundant digest consistency, receipt/stub binding, and linkage to retained external proof, RealmCommit, redaction-authorization, and legal-hold evidence. It does not independently verify erased canonical Event bytes.
retained_stub · object · $ref ./erasure-verification-stub.schema.json
Minimal retained verification stub bound by erasure-receipt.retained_stub_digest. It preserves event graph, proof, authority commit, redaction, legal-hold and receipt linkage evidence without retaining erased plaintext.
此分支的 required:stub_schema, subject, scope, receipt_id, trigger, completed_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
legal_hold_ref · oneOf[3]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp分支必填 proofs · array<object>
…recursion truncated at depth 8; see source schema for full shape
string (enum)Cross-Station erasure receipt fanout aggregate status tracked by the issuing server (models/realm-and-space.md §2.6.2). 'pending' = peers still within erasure_propagation_window_ms and not all acknowledged; 'complete' = every peer that ever held this Realm's content returned a receipt; 'incomplete' = at least one peer failed to acknowledge within erasure_propagation_window_ms. The issuing server MUST surface 'incomplete' to audit/UI and MUST NOT silently swallow it. Absent on receipts that do not drive fanout tracking.
"pending" "complete" "incomplete"peer_receipts · array<object>
Per-peer fanout acknowledgement records maintained by the issuing server: one entry per peer Station that ever held this Realm's content. Each entry records that peer's acknowledgement status and time, backing the aggregate fanout_status.
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[21] · ?
if · if · object
此分支的 required:kind
const "ak.call.create""ak.call.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/call_create_payload
Genesis payload for ak.call.create. call_id is omitted and derived by retyping the accepted Event id. Signaling, media tokens, Morph bindings, and state deltas MUST reference only an already accepted create.
此分支的 required:initial_state
string (enum)A known lifecycle discriminator. Admission permits scheduled/ringing/connecting only; active or terminal genesis is failed_precondition with call_state_transition_invalid rather than a structural schema violation.
"scheduled" "ringing" "connecting" "active" "ended" "missed" "failed" "cancelled"allOf · allOf[22] · ?
if · if · object
此分支的 required:kind
const "ak.call.recording.start""ak.call.recording.start"then · then · object
此分支的 required:authorization_ref
payload · object · $ref ./event-payload.schema.json#/$defs/call_recording_start_payload
Typed payload for ak.call.recording.start. recording_id is a stable opaque ASCII handle (1–128 bytes, [A-Za-z0-9._-]) that feeds the recording key exporter Context byte-for-byte and MUST NOT be normalized by receivers. capture_kind selects recording vs transcription so both lifecycles share one start event kind. See crypto-media/call-state.md §5 / §5.1.
此分支的 required:call_id, recording_id, recording_agent_id, capture_kind, mode, visible_notice, capture_metadata
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^ak:call:[A-Za-z0-9_-]{44}$stringStable opaque recording / transcript lifecycle handle. Canonical byte-for-byte; receivers MUST NOT normalize (case-fold, NFC/NFKC, trim, re-encode) because it is a cross-implementation key-derivation input.
^[A-Za-z0-9._-]{1,128}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idstring (enum)Whether this start event opens a recording or a transcription segment. REQUIRED: it selects the target capture current state family (call_recording vs call_transcript) in the registered current state contract, so it MUST NOT be inferred from a missing-field default.
"recording" "transcript"string (enum)"audio" "audio_video"const trueAsserts the initiating client will display the capture-in-progress notice to all participants.
true分支必填 capture_metadata · object
Initial immutable capture evidence. retention.consent_confirmed=true closes the pre-capture consent gate before the FSM enters a capturing state. This wire payload MUST NOT carry recording_start_event_id or transcript_start_event_id: the accepted Event identity is derived only after digesting this payload, and the reducer stamps that identity into the projected result current state. Recording starts freeze the exact current accepted winning MLS state in key_ref; transcript starts retain their existing shape and do not carry this recording-only member.
此分支的 required:retention
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/grant_idThe exact signed positive grant selected for this capture action. It is not an existence hint or an owner fallback; native admission must actually discharge this grant path while retaining global refusals.
^ak:grant:[A-Za-z0-9_-]{44}$allOf · allOf[23] · ?
if · if · object
此分支的 required:kind
const "ak.call.state""ak.call.state"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:payload
…recursion truncated at depth 8; see source schema for full shape
then · then · anyOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
payload · object · $ref ./event-payload.schema.json#/$defs/call_state_payload
Typed delta payload for ak.call.state. Every admitted field maps to one or two explicit registered current state effects; omitted axes produce no effect. The retained mute_override shape is not admitted in v1 because its call-only selector cannot represent independent legs.
此分支的 required:call_id
?此分支的 required:state_transition
?此分支的 required:focus
?此分支的 required:recording_transition
?此分支的 required:transcript_transition
?此分支的 required:roster_delta
?此分支的 required:moderation_delta
string^ak:call:[A-Za-z0-9_-]{44}$state_transition · object
此分支的 required:from, to
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
focus · object
此分支的 required:mode
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
recording_transition · object
此分支的 required:recording_id, from, to
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
transcript_transition · object
此分支的 required:recording_id, from, to
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
roster_delta · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
moderation_delta · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
mute_override · object
此分支的 required:status, actor_id, device_id, changed_by, changed_at
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[24] · ?
if · if · object
此分支的 required:kind
const "ak.capability.grant""ak.capability.grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_grant_payload
Canonical ak.capability.grant genesis payload. Both top-level grant_id and grant.id are forbidden because the durable GrantId is derived by retyping this Event's event_id. status, authority_depth and authority_root_ref are reducer-derived and forbidden in this closed authoring shape. issuer_id and a concrete subject are already exact ActorIds; no parallel Station sidecar is permitted. issuer_authority_refs is signed semantic lineage and cannot carry expected_commit_id, auth_state_digest or a Station-local commit basis; current authority is checked by the governing Station at acceptance. The Event envelope proof is the sole durable issuer signature.
此分支的 required:grant
分支必填 grant · object
此分支的 required:schema, issuer_id, subject, actions, resources, issued_at, issuer_authority_refs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[25] · ?
if · if · object
此分支的 required:kind
const "ak.capability.relinquish""ak.capability.relinquish"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_relinquish_payload
ak.capability.relinquish — subject-only release of the actor own grant. The authority is the target grant subject's signature, never a capability: a narrowly-scoped holder that was never granted ak.capability.revoke must still be able to give up what it holds. The reducer target guard accepts actor == target.subject and nothing else, so this can never become an unauthorized revocation. Descendants of the released grant fail through their issuer_authority_refs at read time.
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[26] · ?
if · if · object
此分支的 required:kind
const "ak.capability.revoke""ak.capability.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/capability_revoke_payload
此分支的 required:grant_id, expected_commit_id
$ref #/$defs/grant_id · $ref #/$defs/grant_idstring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$stringallOf · allOf[27] · ?
if · if · object
此分支的 required:kind
const "ak.consent.replace""ak.consent.replace"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/consent_replace_payload
Complete holder-signed exact-peer replacement. Admission enforces unique scopes and canonical scope order. Empty is accepted current; never_written is rechecked atomically and cannot overwrite empty. No independent consent_id, any or server merge.
此分支的 required:peer, expected_current, permissions
$ref #/$defs/consent_peer · $ref #/$defs/consent_peer$ref #/$defs/consent_expected_current · $ref #/$defs/consent_expected_current分支必填 permissions · array<$ref #/$defs/consent_permission>
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[28] · ?
if · if · object
此分支的 required:kind
const "ak.contact.accepted""ak.contact.accepted"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_accepted_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, contact_round_id, request_event_ref, request_acceptance_receipt_digest, granted_to_peer_scopes
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digest分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[29] · ?
if · if · object
此分支的 required:kind
const "ak.contact.rejected""ak.contact.rejected"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_rejected_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, request_event_ref, request_acceptance_receipt_digest
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[30] · ?
if · if · object
此分支的 required:kind
const "ak.contact.requested""ak.contact.requested"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_requested_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, version, peer, granted_to_peer_scopes, introduction_evidence_digest
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integerstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 granted_to_peer_scopes · array<$ref #/$defs/contact_scope> · $ref ./contact-operations.schema.json#/$defs/contact_scopes
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestRequired digest of the exact private introduction_evidence carried by the request branch of ak.peer.contacts.command.submit.v1. Raw evidence is not written into the contact fact log.
stringallOf · allOf[31] · ?
if · if · object
此分支的 required:kind
const "ak.contact.scope.update""ak.contact.scope.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_scope_update_payload
Holder full-set replacement in a nonterminal established round. version advances the holder lifetime direction, retained scope instances retain their grant Event. Empty scopes remain accepted; pure narrowing does not wait for remote freshness.
此分支的 required:trust_domain_id, initial_contact_round_id, schema, peer, contact_round_id, version, predecessor_event_ref, granted_to_peer_scopes
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$const "ak.schema.contact_scope_update.v1""ak.schema.contact_scope_update.v1"$ref #/$defs/contact_peer · $ref #/$defs/contact_peerstring · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_id · $ref #/$defs/event_id$ref #/$defs/contact_scopes · $ref #/$defs/contact_scopesallOf · allOf[32] · ?
if · if · object
此分支的 required:kind
const "ak.contact.tombstone""ak.contact.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/contact_tombstoned_payload
Holder-signed exact Contact operation; version is monotonic across the full holder/peer/trust-domain lifetime, including request and reject. No future round on request/reject; fixed first identity is bound after first establishment. Source confirmation and domain admission remain mandatory.
此分支的 required:trust_domain_id, initial_contact_round_id, version, predecessor_event_ref, peer, contact_round_id
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./principal-operations.schema.json#/$defs/digest^sha256:[0-9a-f]{64}$integer$ref #/$defs/event_ref · $ref #/$defs/event_ref分支必填 peer · oneOf[2] · $ref ./contact-operations.schema.json#/$defs/contact_peer
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststringallOf · allOf[33] · ?
if · if · object
此分支的 required:kind
const "ak.device.authorize""ak.device.authorize"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_authorize_payload
Closed Device authorization. Ordinary Account branches retain their PCR rules. realm_managed_delegation is signed by the owning Realm actor current controller in realm_control; exact full ActorId is injected from the Event, never a payload mirror. Current control and Device row revisions are CAS preconditions. No generation is initialized by this branch.
此分支的 required:device_id, device_public_key_did, hpke_key, algorithms, device_key_algorithm, authorized_by, authorization_binding_kind, authorized_generation_ref, not_before, device_signature
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringDevice HPKE public key used for secret/key envelope encryption. It is covered by the possession transcript and by the surrounding root anchor or accepted-device Event proof; services MUST NOT substitute it. For accepted_device pairing its authority is the target device_pairing_target_proof, which the approving device reads only after that attestation verifies.
分支必填 algorithms · array<$ref #/$defs/non_empty_string> · $ref ./applet-package.schema.json#/$defs/non_empty_string_array
Canonical sorted unique algorithm ids supported by this device. Enters device trust binding transcript together with device_public_key_did and hpke_key. For accepted_device pairing its authority is the target device_pairing_target_proof, not any service-supplied or staged copy.
…recursion truncated at depth 8; see source schema for full shape
const "Ed25519""Ed25519"$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_refFor registration_anchor/pcr_recovery, the ordinary Account principal; for accepted_device, the approving DeviceId. For realm_managed_delegation, exactly actor_id.realm_actor_id.principal_id, verified through the accepted Realm control method.
string (enum)Ordinary Account branches retain PCR genesis, recovery and paired-device rules. realm_managed_delegation is exclusive to a Realm actor in its owning private realm_control stream, with current controller authority and exact active installation at every authorized business scope.
"registration_anchor" "pcr_recovery" "accepted_device" "realm_managed_delegation"integer · $ref ./recovery-session.schema.json#/$defs/pcr_generation_refExact current Account PCR or Realm actor generation, never DID version. registration_anchor=1; pcr_recovery equals sibling reanchor new generation; accepted_device equals Account current generation; realm_managed_delegation equals the actor-local current generation and signed CAS. The Device possession transcript covers it except accepted_device, where the approving Device Event proof covers it.
scopes · oneOf[2]
realm_managed_delegation MUST use the paired list; all other branches retain the string-list contract. No string codec represents managed scope authority. For native Human Account Device owner-transfer acceptance, omitted scopes retain the original no-explicit-ceiling semantics; an explicit string list MUST literally contain ak.realm.owner.transfer. Empty, unknown, wildcard or explicit null never authorizes this purpose. This checks Device-key use only, not prospective root authority; see capabilities.md section 3.2.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestamp$ref #/$defs/signature_material · $ref #/$defs/signature_materialEd25519 possession proof: registration_anchor uses device_authorize_possession_transcript; pcr_recovery uses device_authorize_recovery_possession_transcript; realm_managed_delegation uses the complete device_authorize_realm_actor_possession_transcript and its separate domain; accepted_device retains device_pairing_target_proof. No signature is included in its own transcript.
$ref #/$defs/device_authorize_recovery_session_id · $ref #/$defs/device_authorize_recovery_session_idRequired by the pcr_recovery branch and omitted for registration_anchor, ordinary accepted_device pairing and realm_managed_delegation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only for accepted_device. SHA-256 typed digest of the complete canonical challenge descriptor authenticated by device_signature; the verifier persists the descriptor and rechecks the exact final AccountId and authorization core.
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$expected_device_commit_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[34] · ?
if · if · object
此分支的 required:kind
const "ak.device.push_route""ak.device.push_route"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/device_push_route_payload
Closed account-private push-route write. Active routes and revoked tombstones are mutually exclusive whole-value shapes and both carry the single server-revision CAS precondition. The account identity is one atomic AccountId; its Station is never repeated as a delivery field.
$ref #/$defs/device_push_route_active_shape · $ref #/$defs/device_push_route_active_shape$ref #/$defs/device_push_route_revoked_shape · $ref #/$defs/device_push_route_revoked_shapeallOf · allOf[35] · ?
if · if · object
此分支的 required:kind
const "ak.device.reanchor""ak.device.reanchor"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_reanchor_payload
Closed account-local PCR recovery payload. The account authority is selected by the exact AccountId and one monotonic local device-generation CAS. PCR realm/checkpoint identifiers remain local recovery state and are not an external principal identity selector.
此分支的 required:account_id, recovery_authority_kind, recovery_policy_id, recovery_policy_version, recovery_session_id, previous_device_generation, new_device_generation, replacement_authorize_payload_digest
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"pcr_policy" "did_root"string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerstring^ak:recovery_session:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$integerintegerMust be the immediate monotonic successor of previous_device_generation.
$ref #/$defs/digest · $ref #/$defs/digestRequired only when recovery_authority_kind=did_root; proves the optional factor enabled by the frozen PCR policy.
$ref #/$defs/digest · $ref #/$defs/digestcanonical_digest of the replacement ak.device.authorize payload object, using the Realm live digest suite.
allOf · allOf[36] · ?
if · if · object
此分支的 required:kind
const "ak.device.revoke""ak.device.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/device_revoke_payload
Payload for ak.device.revoke. Its exact Account or Realm actor subject is derived exclusively from the Event envelope actor_id; the payload MUST NOT mirror a principal_id. The revocation's control-plane authorization basis is the current authority-committed state (covered by the canonical Event bytes and producer_proof); its permanent cutoff is the accepted RealmCommit covering this Event. First durable canonical acceptance atomically creates ak.schema.device_revocation_state.v1 revocation_pending for the exact reducer-derived current device authorization and generation. The payload carries no checkpoint or generation field, and producers cannot self-report derived pending selectors.
此分支的 required:device_id, revoked_by, revoked_at, reason
$ref #/$defs/device_id · $ref #/$defs/device_id$ref #/$defs/device_or_principal_ref · $ref #/$defs/device_or_principal_ref$ref #/$defs/timestamp · $ref #/$defs/timestampstring^[a-z][a-z0-9_]{0,63}$$ref #/$defs/signature_material · $ref #/$defs/signature_materialallOf · allOf[37] · ?
if · if · object
此分支的 required:kind
const "ak.direct_conversation.bound""ak.direct_conversation.bound"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/direct_conversation_bound_payload
One immutable participant-signed confirmation of the founding coordinates and durable first exact-pair MLS completion. A different Event cannot add another confirmation. All fixed fields must match the original accepted founding unit and first exact-pair state; no binding_digest or extra state fields.
此分支的 required:pair_key, unordered_participant_ids, realm_id, main_strand_id, founding_unit_digest, authorization_basis, initial_exact_pair_group_state_ref, created_at
stringCanonical unordered pair key: SHA-256(UTF8(ak.direct-conversation.pair-key.v1 followed by LF) || JCS({participants:[p0,p1],trust_domain_id})) where p0/p1 are exact ActorIds sorted by their RFC 8785 JCS bytes. Receivers MUST recompute it exactly as contact-and-direct-conversation.md section 5.1 defines; handles, bare principal IDs and unresolved pairwise DIDs are forbidden inputs.
^sha256:[0-9a-f]{64}$分支必填 unordered_participant_ids · array<$ref ./common-ids.schema.json#/$defs/actor_id>
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idstringDigest of the accepted four Event atomic founding unit this binding endorses.
^sha256:[0-9a-f]{64}$$ref #/$defs/direct_conversation_authorization_basis · $ref #/$defs/direct_conversation_authorization_basis$ref #/$defs/event_ref · $ref #/$defs/event_refThe winning Add Commit Event that first establishes both exact participants in the scope's single immutable derived MLS group.
$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[38] · ?
if · if · object
此分支的 required:kind
const "ak.identity.accountability_grant""ak.identity.accountability_grant"then · then · object
payload · object · $ref ./accountability-grant.schema.json
Issuer-signed endorsement used to verify Actor Profile accountable_principal_ids entries. This is the payload contract for ak.identity.accountability_grant.
此分支的 required:schema, issuer_id, subject_id, accountability_scope, not_before, grant_status, proof
const "ak.schema.accountability_grant.v1""ak.schema.accountability_grant.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$分支必填 accountability_scope · oneOf[2]
Non-empty duplicate-free closed set used only for display and accountability governance; never grants authorization. A string is the singleton-set wire form. Array order has no semantic meaning. Canonical authors emit singleton sets as strings and multi-value sets in ascending raw UTF-8 byte order; receivers accept every schema-valid ordering and normalize only for current state-subject derivation, domain equality, and projection union.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampOptional: absent means the accountability grant is non-expiring and governed by grant_status revocation and controller lifecycle cascade.
string (enum)"active" "revoked"分支必填 proof · object · $ref ./event-envelope.schema.json#/$defs/proof
Generic detached-JWS proof shape reused by non-Event schemas (snapshot signature, snapshot witness attestations, identity receipts, handle claims, etc.). MUST NOT be used as the shape of Event Envelope `producer_proof` — Event proofs reference $defs/event_proof and bind canonical Event bytes via `event_digest`. Non-Event signed objects MUST define an object-family signing-context constant and include it in the canonical proof binding object with payload_digest; the context constant is not a wire field in this generic shape. drift detection: `payload_digest#event_proof` in forbidden-wire-fields.json is the hard-reject mirror of this rule. New non-Event signed objects MAY $ref this shape; new signed Event-shaped objects MUST instead $ref event_proof.
此分支的 required:kind, verification_method, payload_digest, created_at, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[39] · ?
if · if · object
此分支的 required:kind
const "ak.identity.resolution.update""ak.identity.resolution.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/identity_resolution_update_payload
Signed PCR resolution CAS payload. expected_commit_id is the exact accepted identity_resolution source revision in the full Account PCR; the old projection and method boundary are read from that source at the same transaction cut before independent method-native successor verification.
此分支的 required:expected_commit_id, next
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/resolution_commitment · $ref #/$defs/resolution_commitmentallOf · allOf[40] · ?
if · if · object
此分支的 required:kind
const "ak.invite.accept""ak.invite.accept"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_accept_payload
此分支的 required:invite_id, previous_state, invitee_account_id
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
anyallOf · allOf[41] · ?
if · if · object
此分支的 required:kind
const "ak.invite.cancel""ak.invite.cancel"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_cancel_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"rejected" "revoked"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[42] · ?
if · if · object
此分支的 required:kind
const "ak.invite.create""ak.invite.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_create_payload
此分支的 required:invitee_account_id, introduction_evidence_digest, expires_at
分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestDigest of private invite delivery introduction_evidence. Raw locator tokens and receive-policy state MUST NOT appear in durable Realm events.
$ref #/$defs/timestamp · $ref #/$defs/timestampInvite expiry timestamp. Directed v1 invite creates MUST carry it; reducers MUST NOT infer indefinite validity.
anyallOf · allOf[43] · ?
if · if · object
此分支的 required:kind
const "ak.invite.revoke""ak.invite.revoke"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/invite_revoke_payload
此分支的 required:invite_id, previous_state, invitee_account_id, target_state
$ref #/$defs/invite_id · $ref #/$defs/invite_id$ref #/$defs/invite_previous_state · $ref #/$defs/invite_previous_state分支必填 invitee_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)Irreversible shared invalidation, confirmed by an authorized signed Event. Delivery failure is private; current capability, membership and abuse gates remain independent of diagnostic reason.
"revoked" "expired"stringOptional supplementary diagnostic for the transition this Event carries. The cause is already fixed by the Event kind and target_state (zh/models/governance-objects.md section 5.3), so admission never decides legality from it. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes; reason stays free text for humans. A policy revoke may diagnose invalidated_by_rate_limit; this never creates a distinct shared state.
^[a-z][a-z0-9_]{0,63}$stringanyallOf · allOf[44] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · allOf[1]
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
payload · allOf[1] · $ref ./event-payload.schema.json#/$defs/key_backup_active_series_payload
Payload for ak.key_backup.active_series. The standalone ak.schema.key_backup_active_series.v1 schema carries the authoritative signed active-series record shape.
allOf · allOf[0] · object · $ref ./key-backup-active-series.schema.json
Signed principal-control record selecting the backup series for one actor and backup kind. Servers verify the accepted record; ordinary clients consume BackupActiveSeriesState from their Account Station instead of replaying PCR history. Native records are signed by the real current manager Service, while record.actor_id is the target Realm actor. Source refs name strictly earlier accepted native writers; no self Event/Commit ID enters this preimage. The outer native manager Event is independently signed. Native version/predecessor comparison is scoped by full actor, exact effective_scope and backup_kind; Device publishers cannot select series. Recovery enabled=false is not a backup/series gate.
此分支的 required:schema, actor_id, backup_kind, active_series_id, series_pointer_version, previous_series_ids, issued_at, signature_proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[45] · ?
if · if · object
此分支的 required:kind
const "ak.member.identity.update""ak.member.identity.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/member_identity_update_payload
Payload for ak.member.identity.update. Append-only replacement event for one Realm-scoped member display/subject projection segment. Service-visible metadata names the segment and the prior events it replaces; the segment body is plaintext or the original encrypted envelope and MUST contain the complete data for that segment. Handle lifecycle is excluded from this event and is governed by ak.schema.handle_claim.v1 issuer claims.
此分支的 required:realm_id, member_id, segment, identity_payload
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)v1 core defines a single full MemberIdentity segment. Narrower segments require a future schema/profile revision that extends this enum or defines a new payload schema; v1 receivers MUST reject unknown segment values.
"member_identity"replaces · array<object>
Prior ak.member.identity.update events in the same (realm_id, actor_id, segment) that this event supersedes for current profile projection. Referenced events remain immutable history.
…recursion truncated at depth 8; see source schema for full shape
分支必填 identity_payload · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestOptional optimistic concurrency guard for the current effective set of this (realm_id, member_id, segment). When present, it MUST equal sha256 over RFC 8785 JCS of the array of the exact signed payload objects of every update in that effective set, ordered by carrying event_id ascending (the empty set is []), before applying this event (zh/sync/current-state.md section 2); a mismatch is member_identity_state_mismatch with zero writes. It is distinct from the locally derived identity_payload carrier digest and from a roster member_display_state_digest.
allOf · allOf[46] · ?
if · if · object
此分支的 required:kind
const "ak.member.state""ak.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/membership_payload
此分支的 required:member_id, membership
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 member_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/membership_state · $ref #/$defs/membership_stategate_proofs · array<$ref #/$defs/join_gate_proof>
Closed join-policy gate proofs evaluated by governance/join-policy.md section 4 before accepting membership=join. At most one item per gate_id (a duplicate gate_id is schema_violation); only challenge_response and claim_required gates take an applicant-supplied proof, the other three kinds are replayed from accepted state. maxItems aligns with the gates 1..16 bound in join_policy_component; see zh/conformance/scalability-constraints.md.
…recursion truncated at depth 8; see source schema for full shape
stringBounded human-readable audit note. It never supplies membership authority or proves cascade provenance.
string (enum) · $ref ./agent-membership-cascade.schema.json#/$defs/membership_lifecycle_causeClosed audit-only lifecycle cause. It never supplies authorization or proves reducer provenance.
"controller_membership_ended"agent_controller_binding · object · $ref ./agent-membership-cascade.schema.json#/$defs/agent_controller_membership_binding
Required by semantic admission for every Agent join and every controller-membership-ended cleanup. Non-Agent membership MUST reject it.
此分支的 required:controller_account_id, controller_membership_generation_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
invite_ref · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[47] · ?
if · if · object
此分支的 required:kind
const "ak.message.create""ak.message.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_create_payload
Payload for ak.message.create. If content/encrypted_content contains an audience_mention AST node (for example @all or @here), reducer admission and notification dispatch MUST additionally enforce ak.message.mention.broadcast plus the audience policy / max_recipient / rate-limit rules in zh/models/strand-and-message.md §9.4.3. @here maps to audience="strand_engaged" and is not presence-filtered.
此分支的 required:strand_id, track_name
allOf · allOf[0] · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
??$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/track_name · $ref #/$defs/track_name$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatablob_refs · array<$ref #/$defs/object_ref>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/message_id · $ref #/$defs/message_idOptional creation convenience: the message this one replies to. The reducer records it as the message's reply linkage (lifting it onto the message content) and surfaces it as a replies_to relation in the message projection; it does not require a separate canonical ak.relation event. The materialized Message object itself carries no reply_to scalar. See strand-and-message.md §9.1.
$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenancepoll_response_heads · array<$ref #/$defs/poll_response_head>
Each entry binds a poll to the exact response Event being superseded.
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[48] · ?
if · if · object
此分支的 required:kind
const "ak.message.redact""ak.message.redact"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_redact_payload
Payload for ak.message.redact, the object-scoped redact kind registered for Message. Message is the only object that enters state=redacted through its own kind rather than a cross-object ak.redaction, which is why message.schema.json materializes redaction_ref (models/common-fields.md 5.2). message_id is the single target carrier, so the object_redaction current state subject is always the Message typed ID.
此分支的 required:message_id
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the redacted message's parent Strand. Optional: when omitted, reducers MUST resolve from the existing message. When present, MUST equal that resolved track_name.
stringpreserve · array<string>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[49] · ?
if · if · object
此分支的 required:kind
const "ak.message.revise""ak.message.revise"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/message_revise_payload
Payload for ak.message.revise. Revisions that introduce new direct mentions MAY generate mention notifications only when the implementation can compare against the previous accepted visible revision. Revisions that introduce an audience_mention AST node (including @all / @here mappings) MUST satisfy the same ak.message.mention.broadcast and policy gates as create.
此分支的 required:message_id
allOf · allOf[0] · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/message_id · $ref #/$defs/message_id$ref #/$defs/track_name · $ref #/$defs/track_nameActive track_name of the target Strand. Optional on revise/redact: when omitted, reducers MUST resolve from the existing message identified by message_id. When present, MUST equal that resolved track_name.
$ref #/$defs/content_block · $ref #/$defs/content_block$ref #/$defs/message_encrypted_content · $ref #/$defs/message_encrypted_content$ref #/$defs/message_metadata · $ref #/$defs/message_metadata$ref #/$defs/message_encrypted_metadata · $ref #/$defs/message_encrypted_metadatastring$ref #/$defs/mimi_message_provenance · $ref #/$defs/mimi_message_provenanceallOf · allOf[50] · ?
if · if · object
此分支的 required:kind
const "ak.mimi.room_binding""ak.mimi.room_binding"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mimi_room_binding_payload
Payload for ak.mimi.room_binding. Writes the mimi_room_binding current state whose subject is payload.mimi_room_uri (see event-kind-registry.json state_selector). Authoritative field set: zh/extensions/mimi-interop.md §3. The binding is a projection of an Arkret Realm/Strand discussion track into a MIMI room; it is not canonical truth. Creation / update / revocation MUST hold ak.policy.manage, ak.realm.admin, or an equivalent interop capability. E2EE MIMI rooms MUST bind mls_group_id and pass the active MLS key_access_revision gate.
此分支的 required:profile, mimi_room_uri, binding_scope, hub_provider_id, local_provider_role, status
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringInterop profile id, e.g. ak.profile.mimi_interop.v1.
string · $ref ./mimi-interop.schema.json#/$defs/mimi_room_uriCanonical MIMI room URI. It is the mimi_room_binding current state subject source, so it is a closed canonical form rather than a free URI: lowercase mimi:// scheme, host[:port] authority with no userinfo, lowercase A-label host, no leading-zero port, at least one non-empty path segment, no dot or dot-dot segment, no trailing slash, no query, no fragment, uppercase percent escapes, and no percent-encoding of unreserved octets (RFC 3986 section 6.2.2.2). A receiver MUST reject a non-canonical value with schema_violation and MUST NOT normalize it first, because two spellings of one room would otherwise each own a first accepted binding and the revoked terminal state could be bypassed by respelling. current state subject encoding is the uri subject kind of zh/conformance/encoding.md section 4. The pattern below expresses the structural half of the canonical form; two rules it cannot express portably -- the default port 443 MUST NOT be written explicitly, and a percent escape MUST NOT encode an unreserved octet -- are normative all the same and are closed by ak.vector.encoding.state_selector_uri.v1 plus the SDK typed validator, which every producer and receiver MUST apply in addition to this pattern. See zh/extensions/mimi-interop.md section 4.
^mimi://[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:/(?:[A-Za-z0-9\-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+)+$分支必填 binding_scope · object
Arkret Realm + Strand scope this MIMI room projects. strand_id MUST point at an accepted Strand with discussion track enabled inside realm_id; the MIMI room timeline only projects that Strand's discussion track.
此分支的 required:realm_id, strand_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/did_core_id · $ref #/$defs/did_core_idService DID explicitly delegated by Realm policy, Organization DID, or participant DID to host the hub role.
string (enum)"hub" "follower" "observer"follower_provider_ids · array<$ref #/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/mls_group_idRFC 9420 group_id as base64url_no_pad(SHA-256(UTF8("ak.mls.group_id.v1") || 0x00 || canonical_effective_scope_key_bytes(effective_scope))), so exactly 43 characters. Derived by the reducer and the SDK from the effective scope alone; actors never submit it. The v1 formula is the only one: the earlier reversible base64url of the scope key bytes MUST NOT be accepted alongside it. See zh/models/realm-and-space.md section 2.2.
^[A-Za-z0-9_-]{43}$$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringMIMI content profile, e.g. application/mimi-content.
integerAccepted ak.realm.policy_bundle revision this MIMI room binding projects. The facade compares it against the Realm's current committed policy revision and rejects a stale projection.
string (enum)Lifecycle state of the binding. Initial status MUST be proposed or accepted; legal transitions are defined in zh/extensions/mimi-interop.md §4.2. accepted bindings authorize projection; revoked bindings stop new MIMI writes; migrating stops new writes until a verified migration proof returns the binding to accepted or revoked.
"proposed" "accepted" "revoked" "migrating"string (enum)Required exactly for a migrating->accepted transition, paired with migration_proof. The signed Event asserts whether the migrating candidate topology became effective or the previous accepted topology was restored.
"completed" "rolled_back"$ref #/$defs/mimi_room_binding_migration_proof · $ref #/$defs/mimi_room_binding_migration_proof$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[51] · ?
if · if · object
此分支的 required:kind
const "ak.mls.commit""ak.mls.commit"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_commit_payload
此分支的 required:base_group_state_ref, previous_epoch, next_epoch, covers_key_access_revision, commit_base64url, governance_binding, group_info_ref, ratchet_tree_ref
$ref #/$defs/event_ref · $ref #/$defs/event_refstring · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^[A-Za-z0-9_-]+$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_bindingstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$recovery_binding · object · $ref ./content-encryption.schema.json#/$defs/recovery_binding
此分支的 required:replacement, authorization_event_ref, base_group_state_ref, expected_epoch, inventory_digest
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[52] · ?
if · if · object
此分支的 required:kind
const "ak.mls.genesis""ak.mls.genesis"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_genesis_payload
此分支的 required:cipher_suite, group_info_ref, ratchet_tree_ref, creator_leaf_authority, governance_binding, created_at
allOf · allOf[0] · object
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_stringstringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$stringContent-addressed Blob ref. Its embedded suite prefix selects the Blob digest independently of the fixed SHA-256 Event/RealmCommit identity suite.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/mls_genesis_creator_leaf_authority · $ref #/$defs/mls_genesis_creator_leaf_authority$ref #/$defs/mls_governance_binding · $ref #/$defs/mls_governance_binding$ref #/$defs/timestamp · $ref #/$defs/timestampThe single frozen Genesis authoring timestamp. MUST equal the outer Event.created_at exactly. Cross-field equality is semantic admission, registered by ak.mls.genesis genesis_timestamp_contract in the canonical contract registry; JSON Schema shape validation alone is insufficient.
allOf · allOf[53] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision""ak.moderation.decision"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_payload
Payload for ak.moderation.decision. A committed moderation decision that writes a keyed_set_add effect onto the moderation_state current state whose subject is the canonical string of target_ref. Multiple active adds fold by hard_deny > quarantine > require_review > none. Runtime allow and soft_deny remain out-of-band outcomes. The actor MUST independently hold the registered ak.moderation.decision capability.
此分支的 required:target_ref, decision, issuer_id, request_canonical_digest
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target (event / object). Canonical string of this ref is the moderation_state current state subject.
string (enum)Committed moderation-state decision verb. allow and soft_deny are out-of-band runtime outcomes.
"hard_deny" "quarantine" "require_review"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$$ref #/$defs/digest · $ref #/$defs/digestJCS SHA-256 digest of the moderated request or Event preview. It is part of the projected element VALUE, not of the element tag: a keyed_set_add tag is exactly the canonical <event_id>:<write_index> dot, so no payload member ever enters set identity.
string (enum)Optional finer-grained §5.3 moderation_policy action family entry that the decision verb maps to (content-moderation.md §8.1).
"deny_join" "deny_restricted_join" "deny_invite" "deny_write" "deny_federation" "quarantine_message" "require_review" "redact_on_accept" "shadow_collapse"stringMachine-readable diagnostic. Values that cross service or federation boundaries MUST be registered in error-code-registry.json reason_codes.
^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampallOf · allOf[54] · ?
if · if · object
此分支的 required:kind
const "ak.moderation.decision.lift""ak.moderation.decision.lift"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/moderation_decision_lift_payload
Payload for ak.moderation.decision.lift. The governance Station resolves decision_ref to the active decision for target_ref and applies the lift at exactly expected_commit_id.
此分支的 required:target_ref, decision_ref, expected_commit_id
$ref #/$defs/object_ref · $ref #/$defs/object_refThe moderated target whose moderation_state current state the lift mutates. Same current state subject as the original ak.moderation.decision.
$ref #/$defs/event_ref · $ref #/$defs/event_refReference to the prior ak.moderation.decision Event whose committed tag is being removed.
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string^[a-z][a-z0-9_]{0,63}$string$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[55] · ?
if · if · object
此分支的 required:kind
const "ak.morph.archive""ak.morph.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[56] · ?
if · if · object
此分支的 required:kind
const "ak.morph.create""ak.morph.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_create_payload
Create payload uses the Morph object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.morph.stage.set.
此分支的 required:object
分支必填 object · allOf[3]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[57] · ?
if · if · object
此分支的 required:kind
const "ak.morph.restore""ak.morph.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[58] · ?
if · if · object
此分支的 required:kind
const "ak.morph.stage.set""ak.morph.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_stage_set_payload
Payload class for ak.morph.stage.set. Mutates Morph.stage / Morph.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/morph.md §2.
此分支的 required:morph_id, stage
string^ak:morph:[A-Za-z0-9_-]{44}$string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[59] · ?
if · if · object
此分支的 required:kind
const "ak.morph.update""ak.morph.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/morph_update_payload
Payload class for ak.morph.update. Patches ordinary Morph fields on the Morph identified by morph_id. morph_kind is create-locked by ak.morph.create and MUST NOT appear in patch; stage and stage_changed_at are single-sourced by ak.morph.stage.set.
此分支的 required:morph_id, patch
$ref #/$defs/morph_id · $ref #/$defs/morph_id分支必填 patch · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[60] · ?
if · if · object
此分支的 required:kind
const "ak.organization.moderation_policy""ak.organization.moderation_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/organization_moderation_policy_state_payload
Closed Organization moderation-policy state. organization_id is the Organization did_core_id and the sole registered current state subject; value carries the sole v1 Organization moderation-policy family.
此分支的 required:organization_id, value
$ref #/$defs/did_core_id · $ref #/$defs/did_core_id$ref #/$defs/organization_moderation_policy_document · $ref #/$defs/organization_moderation_policy_documentallOf · allOf[61] · ?
if · if · object
此分支的 required:kind
const "ak.pin.add""ak.pin.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_add_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeallOf · allOf[62] · ?
if · if · object
此分支的 required:kind
const "ak.pin.remove""ak.pin.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_remove_payload
此分支的 required:pin_scope, target_ref
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[63] · ?
if · if · object
此分支的 required:kind
const "ak.pin.reorder""ak.pin.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/pin_reorder_payload
此分支的 required:pin_scope, target_ref, rank
$ref #/$defs/pin_scope · $ref #/$defs/pin_scope$ref #/$defs/object_ref · $ref #/$defs/object_ref$ref #/$defs/rank · $ref #/$defs/rank$ref #/$defs/rank · $ref #/$defs/rankallOf · allOf[64] · ?
if · if · object
此分支的 required:kind
const "ak.policy.action""ak.policy.action"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_action_state_payload
Closed policy action-log payload. Exactly one policy_id or action_id is present and selects one of two tagged policy_action current state subject branches; the two namespaces never coalesce. value carries the sole v1 approval-action document family.
此分支的 required:value
?此分支的 required:policy_id
?此分支的 required:action_id
string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./string-profiles.schema.json#/$defs/realm_action_nameNonempty 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.
^(?!ak:)$ref #/$defs/policy_action_document · $ref #/$defs/policy_action_documentallOf · allOf[65] · ?
if · if · object
此分支的 required:kind
const "ak.policy.set""ak.policy.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/policy_set_state_payload
Closed Policy definition state payload. policy_id is the stable policy current state subject. value.schema selects exactly one of the two v1 Policy document families directly in this schema; unknown families fail schema validation.
此分支的 required:policy_id, value
if · if · object
此分支的 required:value
…recursion truncated at depth 8; see source schema for full shape
?此分支的 required:expected_commit_id
?string^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$expected_commit_id · oneOf[2]
Exact covering Commit ID of this current write target. Preserve the registered selector, current authority, null/never-written and acceptance-transaction checks; read-side revision retains its position.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 value · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[66] · ?
if · if · object
此分支的 required:kind
const "ak.profile.create""ak.profile.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_create_payload
Initial actor profile payload. payload.object is the closed authoring region of actor-profile.schema.json, not the materialized object; see that definition for which members the reducer produces and why.
此分支的 required:object
分支必填 object · object · $ref ./actor-profile.schema.json#/$defs/actor_profile_definition
Closed Profile owner: ordinary principal_id branch or Realm actor_id branch, mutually exclusive. Realm owners are exact full actors and may not carry Account handles or Agent/accountability fields. Profile identity is Event-derived and owner/actor_kind are create-locked.
此分支的 required:actor_kind, display_name
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[67] · ?
if · if · object
此分支的 required:kind
const "ak.profile.realm_override""ak.profile.realm_override"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/profile_realm_override_payload
Realm-scoped actor profile override payload for ak.profile.realm_override. actor_profile_id is the Actor Profile being overridden; target_realm_id is the Realm where the override applies. resolution, principal_id and actor_kind are forbidden here for the same reasons they are forbidden on the generic profile write surface -- a per-Realm override is still not a place to rebind identity; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, target_realm_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_idstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[6]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestOptional guard over the folded current override: sha256 over RFC 8785 JCS of the display object obtained by applying every accepted assertion patch of this target in accepted commit order to {} ({} when there is none), zh/sync/current-state.md section 2. A mismatch rejects with zero writes.
allOf · allOf[68] · ?
if · if · object
此分支的 required:kind
const "ak.profile.update""ak.profile.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/actor_profile_update_payload
Actor Profile patch payload. resolution and every resolution.* descendant path are reducer-managed projections of the PCR resolution current state. principal_id and actor_kind are create-locked by ak.profile.create: zh/discovery/profiles-presence.md section 2.3 decides which principal a profile is for at create, and nothing said an update could not move it, so this surface could rebind a profile to another principal or retype a user as an agent. All three are forbidden here; the object-specific forbidden path set is machine-indexed in registry/reducer-managed-path-registry.json.
此分支的 required:actor_profile_id, patch
$ref #/$defs/actor_profile_id · $ref #/$defs/actor_profile_id分支必填 patch · allOf[6]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digeststring · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$allOf · allOf[69] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.add""ak.reaction.add"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[70] · ?
if · if · object
此分支的 required:kind
const "ak.reaction.remove""ak.reaction.remove"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/reaction_payload
Signed input for ak.reaction.add and ak.reaction.remove. The receiver derives the complete active current map in accepted stream order: add inserts/replaces the actor/key and remove deletes it. Current metadata excludes annotation and ciphertext; those remain in historical Events under their original disclosure and AEAD rules. See models/strand-and-message.md section 9.8.
此分支的 required:target_ref, key
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/object_ref · $ref #/$defs/object_refstringReaction key. Plaintext scopes SHOULD use a single Unicode emoji cluster or registered short tag. End-to-end-encrypted scopes MUST carry the v1 keyed-HMAC routing tag here and carry the equivalent base64url tag in encrypted_payload.encryption_context.routing_context. The exact standard MLS derivation is routing_root[N] = MLS-Exporter("ak.reaction-routing-root-v1", canonical_effective_scope_key_bytes(effective_scope), KDF.Nh), then ExpandWithLabel(routing_root[N], "ak.reaction-routing-v1", JCS({effective_scope,target_ref,routing_window}), 32), followed by HMAC-SHA256 over NFC(canonical_emoji). routing_window is derived from outer Event.created_at and does not require an hourly MLS Commit. See zh/crypto-media/encryption-and-audit.md §2.8. The canonical emoji travels only in encrypted_payload.
stringOptional free-form annotation (e.g. issue triage label). MUST be omitted when `encrypted_payload` is present; in E2EE realms the annotation MUST instead be carried inside `encrypted_payload`.
$ref #/$defs/encrypted_envelope · $ref #/$defs/encrypted_envelopeEncrypted canonical reaction key and optional annotation. Its plaintext follows the registered encrypted payload shape. The outer key is the routing tag; annotation is omitted outside. Accepted current uses only active public actor/key/source metadata and does not imply that this ciphertext was decrypted or verified.
allOf · allOf[71] · ?
if · if · object
此分支的 required:kind
const "ak.read_cursor.advance""ak.read_cursor.advance"then · then · object
payload · object · $ref ./read-cursor.schema.json
Actor-private multi-device read cursor. Stored in encrypted account data or actor-private stream; NEVER published into a shared Realm Event history. Bound to (actor_id, realm_id, read_scope, position, HLC, device_id) per zh/discovery/read-receipts.md §6.6. Multi-device merge is causal-first per §6.5: the position that causally dominates wins regardless of HLC; HLC max decides only causally concurrent positions, and device_id only breaks equal HLCs. The object carries NO typed id and NO update timestamp. A cursor is never updated in place: its identity is the (actor_id, realm_id, read_scope) tuple, each advance is a freshly authored ak.read_cursor.advance Event (event-kind-registry id_source=not_an_object_id), and the time of that update is that Event envelope created_at. There is no read_cursor typed ID kind, no id-addressed read surface, and capability selectors address read cursors only as read_cursor:<realm>:*. Derived views that need a time (read-cursor-operations.schema.json#/$defs/read_marker_response_body, the ak.read_cursor.update device-message content ak.schema.read_cursor_update.v1) take updated_at from the winning advance envelope.
此分支的 required:schema, actor_id, device_id, realm_id, read_scope, position
const "ak.schema.read_cursor.v1""ak.schema.read_cursor.v1"分支必填 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringOriginating device. Required for multi-device convergence: when two devices race on the same (actor_id, realm_id, read_scope) the receiver first picks the later position when both position Events are committed on the same CommitStreamRef; only when neither dominates (different streams or the same Event) does it pick the greater HLC, and device_id provides a deterministic actor_id-scoped tiebreaker when those HLCs are equal. device_id MUST NOT be used to select a position that another position dominates.
^ak:device:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/read_scope · $ref #/$defs/read_scope$ref #/$defs/position · $ref #/$defs/positionallOf · allOf[72] · ?
if · if · object
此分支的 required:kind
const "ak.realm.alias""ak.realm.alias"then · then · object
payload · oneOf[2] · $ref ./event-payload.schema.json#/$defs/realm_alias_payload
Closed payload for ak.realm.alias, the ONLY wire carrier of a Realm alias. A declaration writes the complete canonical alias; {tombstone:true} is a durable value tombstone that removes the alias from effective resolution without erasing the current state history. realm-genesis.schema.json and realm-profile.schema.json are closed and have no alias property, and ak.realm.create / ak.realm.profile payloads MUST NOT carry one.
$ref #/$defs/realm_alias_declaration · $ref #/$defs/realm_alias_declaration$ref #/$defs/realm_alias_tombstone · $ref #/$defs/realm_alias_tombstoneallOf · allOf[73] · ?
if · if · object
此分支的 required:kind
const "ak.realm.archive""ak.realm.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[74] · ?
if · if · object
此分支的 required:kind
const "ak.realm.asset_privacy_policy""ak.realm.asset_privacy_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_asset_privacy_policy_payload
Closed whole-value payload for ak.realm.asset_privacy_policy.
此分支的 required:value
分支必填 value · object
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[75] · ?
if · if · object
此分支的 required:kind
const "ak.realm.authority.reset""ak.realm.authority.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_authority_reset_payload
ak.realm.authority.reset — invalidate every capability grant that descends from this Realm's authority root in one accepted Event. It increments authority_generation only: controller_actor_id and controller_epoch are preserved verbatim, so the reset is not a controller change and never moves the root. Every realm_root grant ref carries the generation it was issued under, so advancing the generation is exactly what makes a whole delegated authority tree stop evaluating; ak.realm.owner.transfer preserves the generation and therefore leaves every child grant valid. The current controller is the only possible author: the compare-and-set below requires the frozen pre-state digest, so this is a deliberate act by the holder of root control, never an automatic takeover of a lost authority.
此分支的 required:realm_id, expected_state_digest
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite. The successor generation is uniquely computed from the pre-state this digest freezes, so no counter is carried on the wire.
^sha256:[0-9a-f]{64}$allOf · allOf[76] · ?
if · if · object
此分支的 required:kind
const "ak.realm.create""ak.realm.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_create_payload
Minimal identity and security-root payload for ak.realm.create. User-visible, mutable, policy and reducer-derived Realm state is carried only by registered bootstrap facets. Every genesis, including Principal Control Realm and Agent PCR, requires a canonical 32-octet genesis_salt.
此分支的 required:object
分支必填 object · object · $ref ./realm-genesis.schema.json
Human PCR accepted registration genesis binds the complete Account and its account Station permanently under ak.profile.principal_control_realm.v1 pcr_governance_policy. A Human genesis governor mismatch, authority transition or foreign current governor rejects without effects; provenance is independently verified and is not a caller-supplied flag. Other proven subject branches retain their existing rules.
此分支的 required:schema, purpose, genesis_salt, trust_domain, security_class, governance_station_id, initial_join_rule, initial_history_access, initial_encryption_backup_strategy, initial_discoverability
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[77] · ?
if · if · object
此分支的 required:kind
const "ak.realm.destroy""ak.realm.destroy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_destroy_payload
此分支的 required:reason
stringstring · $ref ./realm.schema.json#/properties/retention_policy_id^ak:policy:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$booleantrueallOf · allOf[78] · ?
if · if · object
此分支的 required:kind
const "ak.realm.discovery""ak.realm.discovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_discovery_payload
Closed whole-value payload for ak.realm.discovery. Preview field selection is owned exclusively by ak.realm.preview_policy.
此分支的 required:value
分支必填 value · object
此分支的 required:discoverability
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[79] · ?
if · if · object
此分支的 required:kind
const "ak.realm.freeze""ak.realm.freeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[80] · ?
if · if · object
此分支的 required:kind
const "ak.realm.governance_station.change""ak.realm.governance_station.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_governance_station_change_payload
Admission requires verified transfer eligibility under the PCR profile pcr_governance_policy; Human PCR rejects without effects even with valid signatures. The payload has no subject-role override.
此分支的 required:expected_governance_generation, expected_realm_stream_commit_id, new_governance_station_id
string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$allOf · allOf[81] · ?
if · if · object
此分支的 required:kind
const "ak.realm.history_access""ak.realm.history_access"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/history_access_payload
Realm history-access FSM transition. The atomic create unit uses from=null exactly once and chooses either closed initial state. After create the only legal state-changing edge is all_history_for_current_members to since_join; widening and every other new transition are permanently rejected. Exact same-transition/same-basis replay is an idempotent duplicate/no-op.
此分支的 required:from, to
分支必填 from · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/history_access_value · $ref #/$defs/history_access_valuestringallOf · allOf[82] · ?
if · if · object
此分支的 required:kind
const "ak.realm.join_rule""ak.realm.join_rule"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_join_rule_payload
Closed whole-value payload for ak.realm.join_rule.
此分支的 required:value
string (enum)"public" "invite" "knock" "restricted" "knock_restricted" "closed"allOf · allOf[83] · ?
if · if · object
此分支的 required:kind
const "ak.realm.link""ak.realm.link"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_link_payload
此分支的 required:target_realm_id, link_kind, status
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$string (enum)"governed_by" "discoverable_from" "join_gate_from" "confidential_extension_of" "mirror_of" "split_from" "replaces"$ref #/$defs/hierarchy_link_status · $ref #/$defs/hierarchy_link_statusstring (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$$ref #/$defs/digest · $ref #/$defs/digest$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/non_empty_string · $ref #/$defs/non_empty_string$ref #/$defs/digest · $ref #/$defs/digestevidence_refs · array<$ref #/$defs/event_ref>
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[84] · ?
if · if · object
此分支的 required:kind
const "ak.realm.media_service""ak.realm.media_service"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_media_service_payload
此分支的 required:value
分支必填 value · object
此分支的 required:service_id, foci
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[85] · ?
if · if · object
此分支的 required:kind
const "ak.realm.organization""ak.realm.organization"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_organization_payload
Organization-side endorsement or revocation for a Realm relationship. Reducer validation MUST require realm_id to match the top-level Event.realm_id, organization_id to identify an Organization principal in accepted registration state, the Realm-side writer to hold ak.realm.admin, and authorization to verify against current organization DID control evidence or a delegated service whose purpose covers this relationship and control_scopes. The stable organization_id is not itself resolvable DID material.
此分支的 required:statement_id, realm_id, organization_id, relationship, status, control_scopes, issued_at, authorization
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/did_core_id · $ref #/$defs/did_core_idStable Organization principal identity that endorses, governs, sponsors, certifies, or revokes the Realm relationship. This did_core_id is bound to current Organization DID evidence through accepted registration/resolution state; it is not itself resolvable.
string (enum)Relationship being asserted or revoked for this organization and Realm.
"owner" "governance" "sponsor" "directory_certifier"string (enum)"active" "revoked"分支必填 control_scopes · array<string (enum)>
Machine-readable scopes covered by the organization's consent. A scope here is an endorsement boundary only; actual Realm control still requires the corresponding Realm policy, governance-Station authority, capability, or service-binding Event.
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/nullable_timestamp · $ref #/$defs/nullable_timestampAdministrative review/renewal hint only. It does not auto-transition account status; a later AccountStatusRecord is required and remains subject to sequence and terminal rules.
string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref ./string-profiles.schema.json#/$defs/organization_statement_handleNonempty 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.
^(?!ak:)string · $ref common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/object_ref · $ref #/$defs/object_refOptional DID-document delegation URL, policy object, governance decision, or attestation reference used to evaluate the statement.
分支必填 authorization · object
Organization-side authorization proof. This is independent of the Realm-side ak.realm.admin authorization required to write the event into Realm history.
此分支的 required:issuer_id, issuer_role, verification_method, signed_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[86] · ?
if · if · object
此分支的 required:kind
const "ak.realm.owner.transfer""ak.realm.owner.transfer"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_owner_transfer_payload
ak.realm.owner.transfer — rotate the controller binding of the Realm authority-root current state. It changes controller_actor_id and increments controller_epoch only: authority_generation, the current state ref and every existing grant are untouched, so the whole authority tree issued by the previous controller stays valid. This is not a reparent — the root never moves.
此分支的 required:realm_id, expected_state_digest, patch, successor_acceptance
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$stringJCS SHA-256 digest of the authority-root current state value this Event expects to replace. The reducer MUST compare-and-swap against it and reject a stale value rather than overwrite.
^sha256:[0-9a-f]{64}$分支必填 patch · object
The authority-root member selected by the author. The reducer also increments controller_epoch from the CAS-frozen pre-state; every other member is preserved verbatim.
此分支的 required:controller_actor_id
…recursion truncated at depth 8; see source schema for full shape
分支必填 successor_acceptance · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_owner_transfer_acceptance_signature
Independent successor acceptance over realm_owner_transfer_acceptance_transcript, never over itself or the final EventId. The current controller then signs the complete Event including this carrier. The receiver independently resolves the patch-selected successor current accepted Device key and limited key-purpose ceiling; outer author Device evidence is insufficient.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[87] · ?
if · if · object
此分支的 required:kind
const "ak.realm.plaintext_visible_services""ak.realm.plaintext_visible_services"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/plaintext_visible_services_payload
此分支的 required:services
分支必填 services · array<object>
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[88] · ?
if · if · object
此分支的 required:kind
const "ak.realm.policy_bundle""ak.realm.policy_bundle"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_policy_bundle_payload
Enabled Realm policy component set, written wholesale into the realm_policy_bundle commit-ordered projection current state: every revision restates the complete enabled component set and the Realm object's derived policy fields re-derive from the latest accepted bundle. policy_revision starts at 1 and every later authoritative reducer admission MUST equal previous.policy_revision + 1: rollback uses top-level policy_revision_rollback; a forward gap uses failed_precondition with reason_code policy_revision_gap and produces zero current-state writes. policy_revision MUST cover policy_revision (see contract-registry event-kind row and models/realm-and-space.md section 2.3).
此分支的 required:policy_revision
integerStrictly monotonic bundle revision; rollback or gaps are rejected.
string (enum) · $ref ./realm.schema.json#/properties/federation_policyThe sole producer carrier of the effective Realm federation policy. High-assurance Realm reducers require closed, restricted, or quarantine and reject open.
"open" "restricted" "closed" "quarantine"booleanWhether a media service listed in plaintext_visible_services may decrypt call media. Defaults to false when absent. It is one of three conditions that MUST all hold (ak.realm.media_service declaration + plaintext_visible_services grant + this toggle). Because it changes who may receive media keys, it enters the media scope key_access_revision; a generation that does not cover the current value cannot authorize media decryption. See crypto-media/media-service-binding.md section 8.2.
$ref #/$defs/join_policy_component · $ref #/$defs/join_policy_componenthandle_issuer_policies · array<object>
Ordered Realm handle-issuer trust policy used by primary-handle resolution. Earlier entries have higher tie-break priority; every issuer is domain-scoped.
…recursion truncated at depth 8; see source schema for full shape
agent_participation · object · $ref ./realm.schema.json#/properties/agent_participation
Realm five-bit Agent participation ceiling. It may only tighten the target-service safety ceiling and is itself the parent of Strand ceilings.
此分支的 required:agent
…recursion truncated at depth 8; see source schema for full shape
account_deactivation · object
此分支的 required:member_action
…recursion truncated at depth 8; see source schema for full shape
integer · $ref ./realm.schema.json#/properties/max_authority_lifetime_msMaximum fixed child-chain lifetime only for actions explicitly required to be finite by their risk/constraint contract. Defaults to 24 hours for those actions. Each explicit finite root authorization uses the accepting RealmCommit.committed_at plus its effective lifetime; finite parent source windows cannot be renewed by redelegation. It does not impose expiry on unbounded ordinary chat/read/organizer authorization.
86400000preauth · object
此分支的 required:consent_required
…recursion truncated at depth 8; see source schema for full shape
invite_link_limits · object · $ref ./realm-invite-link.schema.json#/$defs/limits
此分支的 required:max_lifetime_seconds, max_use_count_per_link
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[89] · ?
if · if · object
此分支的 required:kind
const "ak.realm.preview_policy""ak.realm.preview_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/preview_policy_payload
此分支的 required:value
分支必填 value · object
此分支的 required:mode, audiences, fields
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[90] · ?
if · if · object
此分支的 required:kind
const "ak.realm.profile""ak.realm.profile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_profile_payload
此分支的 required:schema, title
const "ak.schema.realm_profile.v1""ak.schema.realm_profile.v1"string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref ./string-profiles.schema.json#/$defs/display_text_256NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$string (arkret-short-text) · format=arkret-short-text · $ref ./string-profiles.schema.json#/$defs/short_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$allOf · allOf[91] · ?
if · if · object
此分支的 required:kind
const "ak.scope.read_receipt_policy""ak.scope.read_receipt_policy"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/read_receipt_policy_payload
string (enum)"required" "optional" "disabled"string (enum)"public" "members" "private"$ref #/$defs/read_receipt_policy_scope_ref · $ref #/$defs/read_receipt_policy_scope_refallOf · allOf[92] · ?
if · if · object
此分支的 required:kind
const "ak.realm.restore""ak.realm.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_archive_payload
stringallOf · allOf[93] · ?
if · if · object
此分支的 required:kind
const "ak.realm.schema""ak.realm.schema"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_schema_payload
Closed whole-value payload for ak.realm.schema. value.schema_refs is the complete replacement set of activated schema ids; it is not merged with any previous set. Every member MUST be a registered ak.schema.*.vN id, and the core member ak.schema.realm.v1 MUST be present in every update, so the set can never drop self-contained Realm validation. The Realm structural role is carried only by the signed ak.schema.realm_genesis.v1 purpose and is not writable here; policy and deployment profiles have their own carriers.
此分支的 required:value
分支必填 value · object
此分支的 required:schema_refs
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[94] · ?
if · if · object
此分支的 required:kind
const "ak.realm.search_policy""ak.realm.search_policy"then · then · object
payload · object · $ref ./search-service.schema.json#/$defs/search_policy
此分支的 required:enabled_profile_refs, allowed_service_ids, data_classes
分支必填 enabled_profile_refs · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
分支必填 allowed_service_ids · array<$ref ./common-ids.schema.json#/$defs/did_core_id>
…recursion truncated at depth 8; see source schema for full shape
分支必填 data_classes · array<string (enum)>
…recursion truncated at depth 8; see source schema for full shape
integerstring (enum)"fail_closed" "drop_stale"string (enum)Machine-readable search leakage class. ak.profile.search.blind_index.v1 uses deterministic_token; ak.profile.search.forward_private.v1 requires forward_private; access_hiding is reserved for explicit PIR/ORAM-backed profiles.
"deterministic_token" "forward_private" "access_hiding""deterministic_token"integerMaximum intended interval between search token generations for profiles that rotate index keys or OPRF blinds.
allOf · allOf[95] · ?
if · if · object
此分支的 required:kind
const "ak.realm.set_default_strand""ak.realm.set_default_strand"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_set_default_strand_payload
Payload for ak.realm.set_default_strand. Sets / changes the Realm's authoritative default discussion Strand pointer. Reducer projects strand_id into the Realm projection default_strand_id (single authoritative pointer; avoids multi-default dirty state). Reducer MUST verify strand_id references a projected, non-tombstoned Strand in this Realm; a dangling reference MUST be rejected with failed_precondition. The Strand projection is_default is a derived marker (strand_id == realm.default_strand_id), never independent storage. expected_default_strand_id compiles to a current state expected_commit_id precondition for optimistic concurrency (CAS). Absent and explicit null are normalized to the same null value before comparison, so omission asserts expected_commit_id null and is only valid while the current state is still in its initial no-default state; once a default is set the field MUST be present, otherwise the reducer MUST reject with failed_precondition and MUST NOT overwrite unconditionally.
此分支的 required:realm_id, strand_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/strand_id · $ref #/$defs/strand_idexpected_default_strand_id · oneOf[2]
Optimistic-concurrency guard compared as a whole value after absent and explicit null are normalized to null. The reducer accepts the write only if the Realm's current default_strand_id equals this value (null asserts no default is currently set). Omission therefore asserts expected_commit_id null and MUST fail once a default exists. Mismatch MUST be rejected (failed_precondition).
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
stringallOf · allOf[96] · ?
if · if · object
此分支的 required:kind
const "ak.realm.tombstone""ak.realm.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_tombstone_payload
此分支的 required:reason, successor_realm_id
stringstring · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[97] · ?
if · if · object
此分支的 required:kind
const "ak.realm.unfreeze""ak.realm.unfreeze"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_freeze_payload
stringallOf · allOf[98] · ?
if · if · object
此分支的 required:kind
const "ak.redaction""ak.redaction"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/cross_object_redaction_payload
Payload for the cross-object ak.redaction. Shares the object_redaction current state family with ak.message.redact but carries a target set that mechanically excludes Message: message_id is not a member and target_ref cannot spell ak:message:. target_ref is the single target carrier; its lexical space covers both object targets and ak:event: targets, so the current state subject is well defined without a coalesce.
此分支的 required:target_ref
$ref #/$defs/cross_object_redaction_target_ref · $ref #/$defs/cross_object_redaction_target_refstringpreserve · array<string>
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[99] · ?
if · if · object
此分支的 required:kind
const "ak.relation.create""ak.relation.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_create_payload
Create or replace the Relation current value at one registered primary conflict domain. primary_conflict_domain is the signed current-state subject and MUST exactly match payload.relation's registered relation_kind/from_ref/to_ref shape. payload.relation is the closed six-field relation_definition authoring region; its optional relation.rank is the only create-time rank carrier, and materialized Relation members are forbidden. expected_commit_id is null only when the domain has never been written; after a tombstone, a new event-derived RelationId MAY replace that tombstoned value only at its exact revision. An active current value cannot be replaced by create.
此分支的 required:primary_conflict_domain, expected_commit_id, relation
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 expected_commit_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/relation_create_object · $ref #/$defs/relation_create_objectallOf · allOf[100] · ?
if · if · object
此分支的 required:kind
const "ak.relation.tombstone""ak.relation.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_tombstone_payload
Payload for ak.relation.tombstone. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. The transition is irreversible for that RelationId. When supplied, reason is retained on the Event and is not copied into the materialized Relation object.
此分支的 required:primary_conflict_domain, expected_commit_id, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$$ref #/$defs/relation_id · $ref #/$defs/relation_idstringallOf · allOf[101] · ?
if · if · object
此分支的 required:kind
const "ak.relation.update""ak.relation.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/relation_update_payload
Relation patch payload. primary_conflict_domain is the signed current-state subject; relation_id MUST equal the current value's id at that domain, and expected_commit_id MUST equal its exact revision. relation_kind/from_ref/to_ref are create-locked because they define the subject; changing them requires an explicit tombstone followed by create. effective_scope and every effective_scope.* descendant path remain reducer-managed.
此分支的 required:primary_conflict_domain, expected_commit_id, patch, relation_id
分支必填 primary_conflict_domain · object · $ref ./relation.schema.json#/$defs/relation_primary_conflict_domain
The unique current-state subject for one directly writable Relation domain. Realm comes from the Event envelope. domain_kind MUST equal the matching relation-kind-registry.json shape's registered primary_conflict_domain: tuple keys on (relation_kind, from_ref, to_ref), while from keys on (relation_kind, from_ref). truth_source shapes have no directly writable Relation domain.
此分支的 required:domain_kind, relation_kind, from_ref
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 patch · allOf[5]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/relation_id · $ref #/$defs/relation_idallOf · allOf[102] · ?
if · if · object
此分支的 required:kind
const "ak.rsvp.set""ak.rsvp.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/rsvp_set_payload
此分支的 required:event_ref, occurrence, entry
$ref #/$defs/strand_id · $ref #/$defs/strand_idCalendar event Strand id; encoded as a ak:strand: typed id.
分支必填 occurrence · oneOf[3]
JSON null for the whole series, or the canonical recurrence instance key: YYYY-MM-DD for all-day events and YYYY-MM-DDTHH:MM:SS[Zone] for timed events. The date component MUST be a real proleptic-Gregorian date, not merely match the digit pattern. The producer MUST canonicalize before signing; receivers MUST reject non-canonical keys instead of rewriting them.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/rsvp_entry · $ref #/$defs/rsvp_entryallOf · allOf[103] · ?
if · if · object
此分支的 required:kind
const "ak.schema.define""ak.schema.define"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/schema_define_state_payload
Schema definition payload. value is a JSON Schema 2020-12 document validated by the executable ak.validator.json_schema_2020_12_definition.v1 profile; value.$id is the stable definition current state subject.
此分支的 required:value
分支必填 value · object
此分支的 required:$schema, $id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[104] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.deactivate""ak.self.agent.deactivate"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_deactivate_payload
Payload for the single terminal ak.self.agent.deactivate Event. The lifecycle current state is addressed only by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. At the accepted RealmCommit covering this Event, every verifier mechanically AND-gates all subordinate Agent runtime-key authorizations, sessions, pairing handles, capability grants, KeyPackages, presence and future submissions on lifecycle=active. Historical child Events remain auditable; explicit child revokes are not prerequisites and are reserved for targeted revocation while the Agent is non-terminal. The lifecycle state witness is sufficient transition evidence for every derived ineffective child.
此分支的 required:transition, previous_status, status_changed_at
const "deactivate""deactivate"string (enum)Controller lifecycle intent at deactivation time. Generic Agent status has only lifecycle, readiness and presence; pairing-poll runtime_state is operation-local and never appears here (key-management.md §3.6.1).
"active" "paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[105] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.pause""ak.self.agent.pause"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_pause_payload
Payload for ak.self.agent.pause. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject and moves from active to paused; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state; the reducer accepts the transition only under the accepted current authority-committed results.
此分支的 required:transition, previous_status, status_changed_at
const "pause""pause"const "active""active"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[106] · ?
if · if · object
此分支的 required:kind
const "ak.self.agent.resume""ak.self.agent.resume"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_resume_payload
Payload for ak.self.agent.resume. The status current state is keyed by the complete account ActorId in envelope.actor_id using the registered canonical composite subject; the Agent principal is derived from envelope.actor_id and the controller from envelope.executed_by, so the payload carries no agent or controller coordinate mirror. executed_by and its paired authorization_ref are mandatory for this kind under the registered event-kind admission rule. Authorization is evaluated against the current authority-committed state, and reducers re-check controller, agent, key, capability, Realm policy, and accountability grant against the accepted current authority-committed results before returning the agent to active. Sidecar desired membership is derived afterward and is not carried in this payload.
此分支的 required:transition, previous_status, status_changed_at
const "resume""resume"const "paused""paused"$ref #/$defs/timestamp · $ref #/$defs/timestampstring (arkret-short-text) · format=arkret-short-text · $ref string-profiles.schema.json#/$defs/audit_reason_textNFC multilingual short text. LF is allowed; CR, other C0/C1 controls, BOM, and bidi embedding/override controls are rejected.
^[^\u0000-\u0009\u000B-\u001F\u007F-\u009F\u202A-\u202E\uFEFF]*$allOf · allOf[107] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.context.attach""ak.sidecar.context.attach"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_context_attach_payload
Controller-signed versioned attachment of a source Realm context to an existing native Sidecar. It creates no Strand or Relation protocol object.
此分支的 required:sidecar_id, source_context_ref, version
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/sidecar_id^ak:sidecar:[A-Za-z0-9_-]{44}$分支必填 source_context_ref · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
integer$ref #/$defs/event_ref · $ref #/$defs/event_refallOf · allOf[108] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.create""ak.sidecar.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_create_payload
Controller-signed personal Sidecar creation in the Human PCR at its owning Station. Only the associated source project is carried in the payload.
此分支的 required:source_realm_id
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[109] · ?
if · if · object
此分支的 required:kind
const "ak.space.archive""ak.space.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[110] · ?
if · if · object
此分支的 required:kind
const "ak.space.create""ak.space.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_create_payload
Create payload uses the full Space object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance.
此分支的 required:object
分支必填 object · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[111] · ?
if · if · object
此分支的 required:kind
const "ak.space.parent""ak.space.parent"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_parent_payload
Reparent one Space. All three members are required. parent_space_id is nullable and explicit null is the one spelling of "no parent" on this payload, so the space_parent register stays total and an omitted member can never mean the root by accident; the Space create object spells the same fact by absence and the genesis write normalizes it. expected_parent_space_id is the declared prior parent this producer read, not an optional compare-and-set: zh/models/realm-and-space.md section 3.5 registers it as a pre_state requirement on the space_parent family, and making it optional would give one Event kind two admission semantics selected by a member's presence.
此分支的 required:space_id, parent_space_id, expected_parent_space_id
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 parent_space_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 expected_parent_space_id · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[112] · ?
if · if · object
此分支的 required:kind
const "ak.space.restore""ak.space.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_state_transition_payload
Payload for ak.space.archive and ak.space.restore. The target Space is expressed on payload.space_id; top-level target_ref is a rejected field on Event envelopes.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[113] · ?
if · if · object
此分支的 required:kind
const "ak.space.tombstone""ak.space.tombstone"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_object_tombstone_payload
Payload for ak.space.tombstone. Realm tombstone uses its separate Realm lifecycle payload; Space tombstone targets payload.space_id.
此分支的 required:space_id
$ref #/$defs/space_id · $ref #/$defs/space_idstring$ref #/$defs/space_id · $ref #/$defs/space_id$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/timestamp · $ref #/$defs/timestampallOf · allOf[114] · ?
if · if · object
此分支的 required:kind
const "ak.space.update""ak.space.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/space_patch_payload
Space metadata update. The patch names at least one registered metadata path.
此分支的 required:space_id, patch
$ref #/$defs/space_id · $ref #/$defs/space_id分支必填 patch · allOf[8]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[115] · ?
if · if · object
此分支的 required:kind
const "ak.strand.archive""ak.strand.archive"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[116] · ?
if · if · object
此分支的 required:kind
const "ak.strand.create""ak.strand.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_create_payload
Create payload uses the Strand object schema for wire validation. Semantic validation MUST require payload.object.created_by to match the top-level actor_id and payload.object.created_at to match the top-level created_at before acceptance. stage and stage_changed_at are forbidden on create; the optional business stage axis is initialized only by ak.strand.stage.set.
此分支的 required:object
分支必填 object · allOf[4]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[117] · ?
if · if · object
此分支的 required:kind
const "ak.strand.move""ak.strand.move"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_move_payload
此分支的 required:board_space_id, strand_id, target_space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_idBoard Space that owns the position edge; deduplication key (board_space_id, strand_id) MUST be unique among active edges.
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idSource List Space (optional; reducer infers from current active edge if omitted).
$ref #/$defs/list_space_id · $ref #/$defs/list_space_idTarget List Space after move. This is the ONLY payload-level field for the destination; the reducer compiles it into the current-value projection value as 'list_space_id' on the current state at ak:result:strand_position:<board_space_id>:<strand_id>. Writers MUST NOT put 'list_space_id' directly on the ak.strand.move payload (additionalProperties=false enforces this) — there is exactly one destination input field on the wire.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[118] · ?
if · if · object
此分支的 required:kind
const "ak.strand.reorder""ak.strand.reorder"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_reorder_payload
此分支的 required:board_space_id, strand_id, space_id, rank
$ref #/$defs/board_space_id · $ref #/$defs/board_space_id$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/list_space_id · $ref #/$defs/list_space_idList Space within which the reorder happens.
$ref #/$defs/rank · $ref #/$defs/rankexpected_position · object
Optional exact whole-value compare-and-set preimage of strand_position. It must equal the placed current value in canonical JSON bytes; omission does not add a CAS. The unplaced first move omits this member.
此分支的 required:list_space_id, rank
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[119] · ?
if · if · object
此分支的 required:kind
const "ak.strand.restore""ak.strand.restore"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/object_lifecycle_payload
Generic lifecycle payload for the Strand / Morph archive-restore-tombstone kinds. The target object is single-sourced by target_ref. The payload does NOT carry the target state: zh/models/common-fields.md section 5.2 maps the event kind itself to the state -- archive -> archived, restore -> active, tombstone -> tombstoned -- and the reducer produces it through the object_lifecycle_state derivation. An author-suppliable target state would put the object's `state` member, which universal_forbidden_patch_paths reserves for the reducer, back inside the author region through a second door, and would make ak.morph.archive able to spell a restore.
此分支的 required:target_ref
$ref #/$defs/object_ref · $ref #/$defs/object_refstringallOf · allOf[120] · ?
if · if · object
此分支的 required:kind
const "ak.strand.stage.set""ak.strand.stage.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_stage_set_payload
Payload class for ak.strand.stage.set. Mutates Strand.stage / Strand.stage_changed_at. Intentionally carries no reason field — see the shared stage-set contract in zh/models/common-fields.md §5.3 and zh/models/strand-and-message.md §3.2.
此分支的 required:strand_id, stage
$ref #/$defs/strand_id · $ref #/$defs/strand_idstring (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"string (enum)"draft" "proposed" "planned" "in_progress" "blocked" "done" "cancelled" "superseded"allOf · allOf[121] · ?
if · if · object
此分支的 required:kind
const "ak.strand.tracks.update""ak.strand.tracks.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_tracks_update_payload
Closed configuration-only payload for ak.strand.tracks.update; content writes use ak.strand.update.
此分支的 required:strand_id, patch
$ref #/$defs/strand_id · $ref #/$defs/strand_id$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[122] · ?
if · if · object
此分支的 required:kind
const "ak.strand.update""ak.strand.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_patch_payload
Payload class for ak.strand.update. Patches ordinary Strand fields on the Strand identified by strand_id.
此分支的 required:strand_id, patch
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 patch · $ref #/$defs/patch · $ref #/$defs/patch
Only the two exact Synthesis content paths may reach tracks; replacing tracks, a track entry or configuration is forbidden.
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/digest · $ref #/$defs/digestallOf · allOf[123] · ?
if · if · object
此分支的 required:kind
const "ak.strand.watch.set""ak.strand.watch.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/strand_watch_set_payload
Payload for ak.strand.watch.set. Writes the (strand_id, watcher_actor_id) watch current state. The new current state value is computed from payload.level + payload.level_public: when level is null the effect is set null (clear, equivalent to mentions_only); when level is a string the effect is set { level, level_public? }. Reducer invariants: (1) watcher_actor_id MUST equal envelope.actor_id unless writer holds ak.strand.watch.set.others; (2) when watcher_actor_id != envelope.actor_id (.others write), level MUST be one of {mentions_only, participating, all} and level_public MUST be omitted or false — writing muted or level_public=true on behalf of another actor MUST failed_precondition; (3) .others writes MUST have exactly one ak.audit.accessed Event as the second slot of the registered audit_paired_event unit pointing to the watch Event with semantic_refs[role=audit_pair], and its payload access_kind=watch_set_others must bind writer_actor_id, target_actor_id, target_ref=strand_id and paired_event_id. The Station validates current watch state and atomically commits both Events; no caller-authored result head is carried. See models/strand-and-message.md §8.4.
此分支的 required:strand_id, watcher_actor_id, level
allOf · allOf[0] · ?
level_public MUST be omitted when level is null (clearing a current state does not carry a public-level setting).
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/strand_id · $ref #/$defs/strand_id分支必填 watcher_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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
enum (5)Watch level. Required. null clears the current state (equivalent to mentions_only / no record); in that case level_public MUST be omitted.
"mentions_only" "participating" "all" "muted" nullbooleanOpt-in publication of the level value to non-self projection consumers. Default false. muted MUST NOT be exposed even with level_public=true. MUST be omitted when level is null.
expected_value · oneOf[2]
Ordinary watch predicate evaluated only against the signed causal basis. null asserts an unwritten basis; a concrete value must match the selected exact base head. It does not serialize independent offline writes or pick a winner.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[124] · ?
if · if · object
此分支的 required:kind
const "ak.view.create""ak.view.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_create_payload
Payload for ak.view.create. zh/models/views.md section 3.2 gives the three View kinds three different author loads over one current state family; one shared def with an anyOf of the three branches and no event_kind discriminator admitted every shape on every kind -- an ak.view.update could carry an unconstrained definition object, and an ak.view.create could carry {view_id, patch}. Each kind now binds exactly one closed payload.
此分支的 required:object
分支必填 object · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[125] · ?
if · if · object
此分支的 required:kind
const "ak.view.reconcile""ak.view.reconcile"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_reconcile_payload
Payload for ak.view.reconcile. view_id is the view current state subject -- zh/models/views.md section 3.2 is normative that all three View kinds write ONE family, so the family is named for the View, not for this payload. definition is the complete author-editable definition (view.schema.json #/$defs/view_definition), not an author-overwritable copy of the materialized object: identity, Realm, schema, creation metadata and lifecycle state are retained from the target pre-state, and update provenance is derived from this Event. Reconcile is neither create object snapshot nor update patch: it replaces the definition wholesale.
此分支的 required:view_id, definition
string^ak:view:[A-Za-z0-9_-]{44}$分支必填 definition · object · $ref ./view.schema.json#/$defs/view_definition
The author-editable View definition: the members zh/models/views.md section 2.1 calls the View own canonical state, and nothing else. It is deliberately NOT view.schema.json. A materialized object schema used as an authoring input hands the author id, the create metadata, the most-recent-update metadata and the lifecycle output fields, which is exactly the ownership the reducer-managed path registry exists to protect on the patch surface; ak.view.reconcile reached that surface through its definition member and lost it. Identity, Realm, schema and creation metadata are retained from the target pre-state, update provenance is derived from this Event, and lifecycle state is never author-requested: removal is an ak.view.update patch (section 3.1) and reconcile MUST NOT tombstone or resurrect.
此分支的 required:kind, query
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[126] · ?
if · if · object
此分支的 required:kind
const "ak.view.update""ak.view.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/view_update_payload
Payload for ak.view.update: the incremental patch surface, and the only shared-View removal path (zh/models/views.md section 3.1). It MUST NOT carry an object snapshot or a whole definition -- those are create and reconcile -- and view_id is required because it is the current state subject.
此分支的 required:view_id, patch
string^ak:view:[A-Za-z0-9_-]{44}$$ref #/$defs/patch · $ref #/$defs/patch$ref #/$defs/digest · $ref #/$defs/digestSigned frozen pre-state guard. It names the exact committed current value this patch was authored against: the single value the target current state holds at the position the write is applied, per the accepted order of its own stream. A mismatch fails the Event; it MUST NOT be resolved by choosing an older historical candidate that does match. contract-registry.json registers nothing for it because the v1 state_projection grammar has no expected_prestate member, so it is an admission rule beside the projection rather than part of it.
allOf · allOf[127] · ?
if · if · object
此分支的 required:kind
const "ak.agent.interaction.set""ak.agent.interaction.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/agent_interaction_set_payload
Realm-scoped controller-only Agent interaction mode. Signed plaintext control, not membership or private participation selection. CAS and authority admission are defined in zh/models/agent-interaction.md section 1.
此分支的 required:agent_account_id, controller_account_id, interaction_mode
分支必填 agent_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 controller_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"private" "public"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$scope_ref · object
const "realm""realm"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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[128] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_create_payload
此分支的 required:schema, actor_id, applet_id, service_id, actor_role, request_id, creation_scope, registration_ref, creation_authorization_ref, initial_resolution, method_history_evidence, control_method_kid, expires_at, control_signature, recovery
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.realm_actor_create.v1""ak.schema.realm_actor_create.v1"分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/applet_idStable canonical Applet installation identity. Applet service authority is carried separately by service_id.
^ak:applet:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)"bot" "ghost"string^[A-Za-z0-9_-]{22,128}$分支必填 creation_scope · oneOf[1] · $ref ./applet-install-plan.schema.json#/$defs/effective_scope
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 initial_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$$ref #/$defs/ghost_external_tuple · $ref #/$defs/ghost_external_tuple分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery · object
此分支的 required:kind, enabled, content_backup_recipient
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[129] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.update""ak.realm.actor.control.update"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_update_payload
此分支的 required:expected_commit_id, next_resolution, method_history_evidence, next_control_method_kid, next_method_signature
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$分支必填 next_method_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_control_acceptance_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[130] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.status.set""ak.realm.actor.status.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_status_set_payload
此分支的 required:target_actor_id, gate, expected_commit_id, state
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"governance" "owner"string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string (enum)"active" "paused" "retired"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[131] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.devices.reset""ak.realm.actor.devices.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_devices_reset_payload
此分支的 required:expected_commit_id, expected_generation, new_generation
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[132] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.manager.change""ak.realm.actor.manager.change"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_manager_change_payload
The next archive recipient MUST be fresh and independent. Before signing the new Service acceptance, the new manager MUST durably import all retained-root old recipient private keys, original declarations and complete custody indices covered by content_backup_handover_digest. Digest equality or an acceptance signature alone is not physical custody. Switching preserves owner paused until every required scope has a fresh series and complete retained coverage. content_backup_inventory_digest MUST match the complete physically retained all-scope archive inventory rederived under the same paused full-Actor namespace lock at acceptance. Native first-PUT, series and recipient changes increment the persisted archive_revision, while identical replay does not. The private handover manifest includes that exact inventory digest; neither local ACK journal nor new Service self-reported count proves completeness.
此分支的 required:expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, new_service_id, new_registration_ref, management_authorization_ref, new_service_signature, next_resolution, method_history_evidence, next_content_backup_recipient, content_backup_inventory_digest, content_backup_handover_digest
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerintegerstring · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/grant_id^ak:grant:[A-Za-z0-9_-]{44}$分支必填 new_service_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_manager_acceptance_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[133] · ?
if · if · object
此分支的 required:scope_ref
分支必填 scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$then · then · allOf[1]
此分支的 required:applet_id
allOf · allOf[0] · ?
if · if · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
then · then · object
此分支的 required:actor_id, scope_ref, applet_id, payload
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.create" "ak.realm.actor.control.update" "ak.realm.actor.status.set" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update" "ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset" "ak.realm.actor.recovery.set" "ak.key_backup.active_series"allOf · allOf[134] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.create""ak.realm.actor.create"then · then · object
此分支的 required:applet_id, authorization_ref
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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
此分支的 required:kind, service_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[135] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.control.update" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change"then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
$ref #/$defs/actor_id · $ref #/$defs/actor_idallOf · allOf[1] · object
此分支的 required:kind
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[136] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.status.set"then · then · ?
if · if · object
payload · object
此分支的 required:gate
…recursion truncated at depth 8; see source schema for full shape
then · then · object
actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
else · else · object
此分支的 required:authorization_ref
actor_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[137] · ?
if · if · allOf[2]
allOf · allOf[0] · object
此分支的 required:kind
string (enum)"ak.device.authorize" "ak.device.revoke" "ak.profile.create" "ak.profile.update"allOf · allOf[1] · object
此分支的 required:actor_id
分支必填 actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
then · then · object
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[138] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.begin""ak.realm.actor.recovery.begin"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_begin_payload
此分支的 required:target_actor_id, request_id, manager_ref, recovery_ref, expected_control_commit_id, expected_owner_status_commit_id, expected_governance_status_commit_id, expected_device_generation_commit_id, expected_generation, new_generation, replaces_recovery_ref, next_resolution, method_history_evidence, next_control_method_kid, expires_at, control_signature
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^[A-Za-z0-9_-]{22,128}$分支必填 manager_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$integerinteger分支必填 replaces_recovery_ref · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 next_resolution · object · $ref ./identity-resolution.schema.json#/$defs/resolution_commitment
Owner-committed current did and method-native history position. For a deterministic method, method_history_head and version_id use the adapter-defined deterministic canonical values; they are never omitted.
此分支的 required:did, method_history_head, version_id
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/webvh_recovery_plan · $ref #/$defs/webvh_recovery_planstring · $ref ./common-ids.schema.json#/$defs/did_urlArkret verification-method DID URL profile (identity/did-usage-and-verification.md section 2.2): lowercase method name, no query, required fragment, fragment limited to ASCII [A-Za-z0-9._:-]. Every verification_method-family field and every kid/key_ref a schema declares to be a DID URL MUST resolve to exactly this definition; values compare byte-for-byte with no URI normalization or percent-decoding.
^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$next_content_backup_recipient · object · $ref ./realm-actor.schema.json#/$defs/content_backup_recipient
Archive-only X25519 public key. The accepted native declaration MUST bind this exact key_agreement_ref to the same canonical non-low-order 32-byte public key in the independently verified actor DID keyAgreement at that declaration. Never infer authorization from a current DID document. The private key belongs to a separate manager-only custody capability, not a Device Welcome HPKE key, daily control key, update seed or authoring-store KEK.
此分支的 required:key_agreement_ref, hpke_suite, public_key_base64url
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_recovery_acceptance_signature
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[139] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.control.reset""ak.realm.actor.control.reset"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_control_reset_payload
此分支的 required:target_actor_id, recovery_begin_ref, expected_recovery_commit_id, expected_manager_commit_id, expected_control_commit_id, expected_device_generation_commit_id, published_method_history_evidence
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 recovery_begin_ref · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$分支必填 published_method_history_evidence · object · $ref ./identity-resolution.schema.json#/$defs/webvh_method_history_evidence
Complete did:webvh log, proof and witness material routed by evidence_kind webvh_log to the active did:webvh adapter. log_entries is the gap-free native history from inception through boundary.to_version_id, not a resolver summary or a partial segment. witness_records is the complete did-witness.json record set required by every witness policy active in that interval and is empty only when no entry activates a witness policy. The receiver independently verifies SCID derivation, every versionId/hash-chain link, every controller proof, rotation authorization, all applicable witness thresholds, the exact boundary endpoints and canonical equality of the terminal state with normalized_did_document. Canonical encoded evidence MUST NOT exceed 1 MiB; an over-limit service history is ineligible for retained historical-signer and governance-Station bootstrap and fails closed rather than returning partial evidence.
此分支的 required:evidence_kind, boundary, evidence, log_entries, witness_records
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[140] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/realm_actor_recovery_set_payload
此分支的 required:target_actor_id, expected_recovery_commit_id, expected_manager_commit_id, enabled
分支必填 target_actor_id · allOf[2] · $ref ./common-ids.schema.json#/$defs/realm_actor
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$booleanscope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[141] · ?
if · if · object
此分支的 required:kind
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"then · then · object
此分支的 required:applet_id
actor_id · allOf[2]
allOf · allOf[0] · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
string (enum)"ak.realm.actor.recovery.begin" "ak.realm.actor.control.reset"scope_ref · object · $ref ./realm-actor.schema.json#/$defs/control_scope
此分支的 required:kind, realm_id
const "realm_control""realm_control"string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$allOf · allOf[142] · ?
if · if · object
此分支的 required:kind
const "ak.realm.actor.recovery.set""ak.realm.actor.recovery.set"then · then · object
此分支的 required:applet_id, authorization_ref
actor_id · allOf[2]
allOf · allOf[0] · 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.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[143] · ?
if · if · object
此分支的 required:kind
const "ak.applet.registration""ak.applet.registration"then · then · object
scope_ref · object
const "realm""realm"allOf · allOf[144] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.create""ak.realm_invite_link.create"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/create_payload
此分支的 required:public_key, expires_at, max_use_count
$ref #/$defs/link_public_key · $ref #/$defs/link_public_keystring (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$integerallOf · allOf[145] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.revoke""ak.realm_invite_link.revoke"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/revoke_payload
此分支的 required:realm_invite_link_id
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_idallOf · allOf[146] · ?
if · if · object
此分支的 required:kind
const "ak.realm_invite_link.accept""ak.realm_invite_link.accept"then · then · object
payload · object · $ref ./realm-invite-link.schema.json#/$defs/accept_payload
此分支的 required:realm_invite_link_id, subject_account_id, request_id, link_proof
$ref #/$defs/realm_invite_link_id · $ref #/$defs/realm_invite_link_id分支必填 subject_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./realm-join-intake.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$$ref #/$defs/proof · $ref #/$defs/proofallOf · allOf[147] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_grant""ak.mls.history_grant"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_grant_payload
Original signed grant references an accepted ak.mls.history_request authored by its exact recipient endpoint. The complete recipient, recipient_hpke_key_base64url, history_cut and expires_at equal that request; endpoint authorization remains inside recipient. Issuer disclosure and recipient read authority are independently native-verified, not asserted by an opaque payload reference. HPKE info and aad equal JCS({recipient,recipient_hpke_key_base64url,recipient_key_event_ref,history_cut,expires_at,selector}). sealed_key_base64url is canonical unpadded base64url(enc[32] || ciphertext || tag[16]), exactly 64 or 80 decoded bytes for a 16/32-byte key. Default RFC9180 suite is X25519/HKDF-SHA256/ChaCha20Poly1305, mode Base, seq=0; no wire nonce.
此分支的 required:recipient, recipient_hpke_key_base64url, recipient_key_event_ref, history_cut, expires_at, entries
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$分支必填 entries · array<object>
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[148] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_request""ak.mls.history_request"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_request_payload
Exact recipient-native-endpoint signed history request. Endpoint authorization is recipient.authorization_event_ref. Scope read authority is independently verified at the accepting RealmCommit cut and again for new grant issuance/delivery; this object is not a permission grant. Its endpoint key is the native verified MLS leaf key and may differ from the independently verified Event producer key. No top-level authorization_event_ref exists.
此分支的 required:recipient, recipient_hpke_key_base64url, history_cut, expires_at
$ref #/$defs/endpoint · $ref #/$defs/endpointstring^[A-Za-z0-9_-]{43}$分支必填 history_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$allOf · allOf[149] · ?
if · if · object
此分支的 required:kind
const "ak.mls.history_recovery""ak.mls.history_recovery"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/mls_history_recovery_payload
此分支的 required:state, pcr_cut, coverage_head_digest, restored_event_count, cleanup_completed, inventory_blob_ref, replacement
allOf · allOf[0] · ?
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum)"pending" "ready"分支必填 pcr_cut · object · $ref ./authority-commit-operations.schema.json#/$defs/committed_event_ref
Closed exact reference to one authority-committed Event. All four coordinates are verified against the returned RealmCommit; none is a hint.
此分支的 required:event_id, commit_id, stream_ref, stream_position
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string^sha256:[0-9a-f]{64}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$string^sha256:[0-9a-f]{64}$booleanstring · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/blob_refContent-addressed reference to exact Blob bytes. The embedded suite and digest are the sole wire commitment to those bytes; sibling content/ciphertext digest mirrors are forbidden.
^ak:blob:(?:sha256|blake3):[0-9a-f]{64}$$ref #/$defs/endpoint · $ref #/$defs/endpointallOf · allOf[150] · ?
if · if · object
此分支的 required:kind
const "ak.key_backup.active_series""ak.key_backup.active_series"then · then · ?
?此分支的 required:executed_by, authorization_ref
then · then · object
?此分支的 required:custodian_actor_id, custody_authorization_ref
else · else · object
?allOf · allOf[151] · ?
if · if · object
此分支的 required:kind
const "ak.sidecar.member.state""ak.sidecar.member.state"then · then · object
payload · object · $ref ./event-payload.schema.json#/$defs/sidecar_member_state_payload
Opt-in at the owning Account Station. The predecessor is absent on the first join and names the latest accepted change for the same Sidecar and Agent thereafter.
此分支的 required:agent_account_id, membership
分支必填 agent_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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string (enum) · $ref #/$defs/membership_state"join" "leave"$ref #/$defs/event_ref · $ref #/$defs/event_refconst trueController permission to write encrypted replies on this exact private Sidecar. Absent means read-only.
truestring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string (enum)Standard ak.* Event kinds MUST appear in artifacts/registry/event-kind-registry.json. State convergence is defined by the registered pure reducer over kind + payload; producers do not submit current state writes.
"ak.account_data.set" "ak.agent.action_approve" "ak.agent.action_reject" "ak.agent.action_request" "ak.agent.draft.propose" "ak.agent.interaction.set" "ak.agent.key.authorize" "ak.agent.key.revoke" "ak.agent.provision" "ak.agent.sidecar.exchange.control" "ak.applet.bridge_error" "ak.applet.discovery" "ak.applet.registration" "ak.audit.accessed" "ak.audit.erasure_receipt" "ak.call.create" "ak.call.recording.start" "ak.call.state" "ak.capability.grant" "ak.capability.relinquish" "ak.capability.revoke" "ak.consent.replace" "ak.contact.accepted" "ak.contact.rejected" "ak.contact.requested" "ak.contact.scope.update" "ak.contact.tombstone" "ak.device.authorize" "ak.device.push_route" "ak.device.reanchor" "ak.device.revoke" "ak.direct_conversation.bound" "ak.identity.accountability_grant" "ak.identity.resolution.update" "ak.invite.accept" "ak.invite.cancel" "ak.invite.create" "ak.invite.revoke" "ak.key_backup.active_series" "ak.member.identity.update" "ak.member.state" "ak.message.create" "ak.message.redact" "ak.message.revise" "ak.mimi.room_binding" "ak.mls.commit" "ak.mls.genesis" "ak.moderation.decision" "ak.moderation.decision.lift" "ak.morph.archive" "ak.morph.create" "ak.morph.restore" "ak.morph.stage.set" "ak.morph.update" "ak.organization.moderation_policy" "ak.pin.add" "ak.pin.remove" "ak.pin.reorder" "ak.policy.action" "ak.policy.set" "ak.profile.create" "ak.profile.realm_override" "ak.profile.update" "ak.reaction.add" "ak.reaction.remove" "ak.read_cursor.advance" "ak.realm.actor.control.reset" "ak.realm.actor.control.update" "ak.realm.actor.create" "ak.realm.actor.devices.reset" "ak.realm.actor.manager.change" "ak.realm.actor.recovery.begin" "ak.realm.actor.recovery.set" "ak.realm.actor.status.set" "ak.realm.alias" "ak.realm.archive" "ak.realm.asset_privacy_policy" "ak.realm.authority.reset" "ak.realm.create" "ak.realm.destroy" "ak.realm.discovery" "ak.realm.freeze" "ak.realm.governance_station.change" "ak.realm.history_access" "ak.realm.join_rule" "ak.realm.link" "ak.realm.media_service" "ak.realm.organization" "ak.realm.owner.transfer" "ak.realm.plaintext_visible_services" "ak.realm.policy_bundle" "ak.realm.preview_policy" "ak.realm.profile" "ak.realm.restore" "ak.realm.schema" "ak.realm.search_policy" "ak.realm.set_default_strand" "ak.realm.tombstone" "ak.realm.unfreeze" "ak.redaction" "ak.relation.create" "ak.relation.tombstone" "ak.relation.update" "ak.rsvp.set" "ak.schema.define" "ak.scope.read_receipt_policy" "ak.self.agent.deactivate" "ak.self.agent.pause" "ak.self.agent.resume" "ak.sidecar.context.attach" "ak.sidecar.member.state" "ak.sidecar.create" "ak.space.archive" "ak.space.create" "ak.space.parent" "ak.space.restore" "ak.space.tombstone" "ak.space.update" "ak.strand.archive" "ak.strand.create" "ak.strand.move" "ak.strand.reorder" "ak.strand.restore" "ak.strand.stage.set" "ak.strand.tracks.update" "ak.strand.update" "ak.strand.watch.set" "ak.view.create" "ak.view.reconcile" "ak.view.update" "ak.realm_invite_link.create" "ak.realm_invite_link.revoke" "ak.realm_invite_link.accept"^ak\.[a-z0-9_]+(\.[a-z0-9_]+)*$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/scope_ref · $ref #/$defs/scope_refRequired producer-signed security scope. The closed union is ordinary existing realm or native sidecar scope plus the create-only realm_genesis exception. It enters proof.event_digest and E2EE AAD. Reducers independently derive the exact scope from schema-validated payload and accepted references; missing dependencies, nonexistent scope, realm_id mismatch, omitted sidecar_id, substituting Realm scope for Sidecar scope, or any unequal field is fail closed. Sidecar domain Event kinds remain Extension-owned; recognizing this native security shape does not make Kernel interpret the Sidecar reducer. Exact product targets remain inside recipient-visible ciphertext.
分支必填 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
executed_by · 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
const "account""account"$ref #/$defs/account_id · $ref #/$defs/account_idoneOf · oneOf[1] · object
此分支的 required:kind, service_id
const "service""service"$ref #/$defs/did_core_id · $ref #/$defs/did_core_idoneOf · oneOf[2] · object
此分支的 required:kind, realm_actor_id
const "realm""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
string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$分支必填 principal_id · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
authorization_ref · oneOf[6]
Optional. Required when executed_by is present. It identifies an accepted Grant, delegation Event, DID-document delegation, or one of the closed profile-specific authority constants. The current governance Station evaluates the reference against the target stream's committed state.
$ref #/$defs/grant_ref · $ref #/$defs/grant_ref$ref #/$defs/event_ref · $ref #/$defs/event_ref$ref #/$defs/did_delegation_ref · $ref #/$defs/did_delegation_ref$ref #/$defs/direct_conversation_participant_authority_ref · $ref #/$defs/direct_conversation_participant_authority_ref$ref #/$defs/direct_conversation_bootstrap_authority_ref · $ref #/$defs/direct_conversation_bootstrap_authority_ref$ref #/$defs/membership_compensation_delegation_ref · $ref #/$defs/membership_compensation_delegation_ref$ref #/$defs/applet_id · $ref #/$defs/applet_idOptional signed Applet provenance. Required by ak.profile.applet_* when the Event is introduced by an Applet, Ghost Actor, bridge, or delegated applet path. Enters canonical event bytes and therefore is covered by proof.event_digest. When present, authorization_ref MUST also be present and resolve to a real active registration/capability grant binding this applet_id, registration_epoch, action and resource per zh/extensions/applet-integration.md sections 4, 8 and 11. Service-actor self-signature proves provenance but is not an authorization substitute. Capability-gated actions require a grant covering action/resource. For subject_only operations the referenced grant binds only the exact active install and cannot replace the subject signature, FSM or independent action authority. Service self-authored Events use ActorId.service; the install grant subject MUST be the same exact ActorId.service as its producer; hosting Station and effective scope are verified separately without coercing a Service into an account variant.
$ref #/$defs/external_ref · $ref #/$defs/external_refOptional signed external provenance reference for Applet / bridge-originated Events. It is covered by event_digest and MUST NOT be carried only in unsigned when used for loop prevention, audit, or external-message idempotency. Must not contain unauthorized external plaintext.
$ref #/$defs/canonical_event_timestamp · $ref #/$defs/canonical_event_timestampsemantic_refs · array<$ref #/$defs/semantic_ref>
Optional semantic refs with role. Omit when there are no semantic references; an explicitly empty array is not canonical. Admission selectors determine any required references. PCR policy recovery has no DID-root anchor reference; its policy/session/replacement-key authority is verified separately.
$ref #/$defs/semantic_ref · $ref #/$defs/semantic_refobject$ref #/$defs/event_proof · $ref #/$defs/event_proofThe Event's sole portable producer proof. Storage receipts are separate objects and never authorize this Event. producer_proof and unsigned remain outside the canonical Event digest. Exact retries preserve the verified producer proof.
分支必填 genesis_commit · object · $ref ./realm-commit.schema.json
The only shared Realm acceptance, ordering, finality and replication record. Every visibility scope has an authority-signed predecessor chain.
此分支的 required:commit_id, realm_id, stream_ref, stream_position, previous_commit_ref, event_ref, governance_generation, authority_ref, committed_at, signature
allOf · allOf[0] · ?
if · if · object
此分支的 required:stream_position
const 00then · then · object
nullelse · else · object
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_idRetyped 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.
^ak:realm:[A-Za-z0-9_-]{44}$$ref #/$defs/stream_ref · $ref #/$defs/stream_refinteger分支必填 previous_commit_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$nullstring · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./decimal-integers.schema.json#/$defs/uint64_decimalCanonical unsigned decimal spelling, inclusive range 0..18446744073709551615; no sign, leading zero, exponent or JSON number alternative.
^(?: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)$分支必填 authority_ref · oneOf[2]
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_authority_handoff_idContent-addressed identity of one closed old-to-new Realm authority handoff.
^ak:realm_authority_handoff:[A-Za-z0-9_-]{44}$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string · $ref ./account-operations.schema.json#/$defs/sha256_digestFixed SHA256(JCS(original immutable producer signer fact)), before Commit identity/signature. The fact excludes its target Commit coordinate. Human, Service, realm_device and private realm_control facts retain their exact original verification sources through replay and handoff.
^sha256:[0-9a-f]{64}$分支必填 signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_commit_signature
allOf · allOf[0] · oneOf[4] · $ref #
Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.
oneOf · oneOf[0] · object · $ref #/$defs/agent_authority_state_evidence
Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.
此分支的 required:schema, state_digest, attestation
const "ak.schema.agent_authority_state_evidence.v1""ak.schema.agent_authority_state_evidence.v1"state · object · $ref #/$defs/agent_authority_state
One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.
此分支的 required:authority_id, agent_id, source_commit_id, pcr_genesis_event, key_authorization_event, authorization, key_state_witness, agent_lifecycle_witness, commit_lineages, commits, authority_bundle, signer_dependencies, producer_bindings
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$分支必填 attestation · object · $ref #/$defs/agent_authority_state_attestation
The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.
此分支的 required:authority_id, verification_method, state_digest, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object · $ref #/$defs/controller_account_gate_attestation_issue_request_body
Deployment-authenticated request an Agent Authority sends to obtain the Account Authority-owned controller gate. Caller identity comes only from the authenticated deployment relationship: the body carries no service resolution carrier, and a self-asserted DID, URL, bearer subject, public key or account-active boolean is a schema violation rather than an identity source.
此分支的 required:request_id, principal_id, agent_authority_id
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$oneOf · oneOf[3] · object · $ref #/$defs/controller_account_gate_attestation_issue_response_body
Byte-stable issuance result. A replay of the same request_id and canonical intent returns these original bytes; a different intent under the same request_id is a duplicate_conflict with zero issuance.
此分支的 required:request_id, controller_account_gate_attestation
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 controller_account_gate_attestation · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · object
const "ak.realm_commit_signature.v1""ak.realm_commit_signature.v1"分支必填 signer_histories · array<$ref ./identity-resolution.schema.json#/$defs/authenticated_service_resolution>
items · object · $ref ./identity-resolution.schema.json#/$defs/authenticated_service_resolution
Public method-native service evidence. All route coordinates are derived from the independently verified DID state; this carrier creates no signed address history.
此分支的 required:service_id, service_kind, method_history_evidence, normalized_did_document
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string^[a-z][a-z0-9_]{0,63}$$ref #/$defs/method_history_evidence · $ref #/$defs/method_history_evidence分支必填 normalized_did_document · object · $ref ./did-binding-contracts.schema.json#/$defs/normalized_did_document
The sole canonical normalized DID Document projection used by document_digest. It retains every v1-normative member, including also_known_as and metadata.primary_handle, and losslessly retains unknown extensions. contexts preserves source order because JSON-LD context order can affect interpretation; every other set-like array is sorted in unsigned UTF-8 order with duplicates rejected. Duplicate/conflicting source properties, ids, relationship entries, services, metadata keys, or extension names fail before digesting. document_digest is exactly sha256:lowercase_hex(SHA-256(RFC8785_JCS(this object))); raw resolver bytes use raw_document_digest and no third DID-document digest name exists.
此分支的 required:did, contexts, controller_dids, also_known_as, verification_methods, authentication, assertion_methods, key_agreements, capability_invocations, capability_delegations, services, metadata, extensions
$ref #/$defs/did · $ref #/$defs/did分支必填 contexts · array<oneOf[2]>
items · oneOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 controller_dids · array<$ref #/$defs/did>
$ref #/$defs/did · $ref #/$defs/did分支必填 also_known_as · array<string>
stringCanonical URI validated by the DID resolver before projection; this array may contain non-network schemes such as acct: and therefore is not a URL field.
^[A-Za-z][A-Za-z0-9+.-]*:[^\s]+$分支必填 verification_methods · array<$ref #/$defs/normalized_did_verification_method>
$ref #/$defs/normalized_did_verification_method · $ref #/$defs/normalized_did_verification_method$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship分支必填 services · array<$ref #/$defs/normalized_did_service>
$ref #/$defs/normalized_did_service · $ref #/$defs/normalized_did_service$ref #/$defs/normalized_did_document_metadata · $ref #/$defs/normalized_did_document_metadata分支必填 extensions · array<allOf[2]>
items · allOf[2]
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 signer_dependencies · array<$ref #/$defs/agent_signer_dependency>
Exactly the recursive producer proof dependencies used by genesis, authorization, lifecycle and authority transition Events. Sorted by signer_resolution_evidence_ref UTF-8 bytes. Missing ref is unresolved; duplicate ref, conflicting bytes, cycle or surplus is rejected.
items · oneOf[3] · $ref #/$defs/agent_signer_dependency
oneOf · oneOf[0] · object
Ref is the JCS SHA-256 content address of account_device_signer_evidence. Validate the original accepted producer at its accepted_at, not against a newly issued current device projection.
此分支的 required:signer_resolution_evidence_ref, account_device_signer_evidence
string · $ref ./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref^ak:signer_evidence:sha256:[0-9a-f]{64}$分支必填 account_device_signer_evidence · object · $ref ./account-device-signer-evidence.schema.json
Immutable Human account_device evidence for the existing directory/current-query contract. The authority_forward sibling in $defs alone also supports accepted Applet-managed real Account Devices, with its independent Event-bound original source. Neither branch adds a member to AuthenticatedSignerResolutionEvidence. signer_evidence_ref is SHA-256(RFC 8785 JCS of the complete object). Conformance vector ak.vector.device.account_device_signer_evidence.v1 checks the exact closure and negative mutations.
此分支的 required:device_projection_attestation, service_resolution
分支必填 device_projection_attestation · object · $ref ./keys-operations.schema.json#/$defs/device_projection_attestation
Complete origin-Station-signed device projection attestation. The detached proof signs the ak.device_projection_attestation_proof.v1 transcript; proof.created_at MUST equal attestation.attested_at.
此分支的 required:attestation, proof
$ref #/$defs/device_projection_attestation_core · $ref #/$defs/device_projection_attestation_core分支必填 proof · object · $ref ./principal-operations.schema.json#/$defs/signature
此分支的 required:verification_method, created_at, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 service_resolution · object · $ref ./identity-resolution.schema.json#/$defs/authenticated_service_resolution
Public method-native service evidence. All route coordinates are derived from the independently verified DID state; this carrier creates no signed address history.
此分支的 required:service_id, service_kind, method_history_evidence, normalized_did_document
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string^[a-z][a-z0-9_]{0,63}$$ref #/$defs/method_history_evidence · $ref #/$defs/method_history_evidence分支必填 normalized_did_document · object · $ref ./did-binding-contracts.schema.json#/$defs/normalized_did_document
The sole canonical normalized DID Document projection used by document_digest. It retains every v1-normative member, including also_known_as and metadata.primary_handle, and losslessly retains unknown extensions. contexts preserves source order because JSON-LD context order can affect interpretation; every other set-like array is sorted in unsigned UTF-8 order with duplicates rejected. Duplicate/conflicting source properties, ids, relationship entries, services, metadata keys, or extension names fail before digesting. document_digest is exactly sha256:lowercase_hex(SHA-256(RFC8785_JCS(this object))); raw resolver bytes use raw_document_digest and no third DID-document digest name exists.
此分支的 required:did, contexts, controller_dids, also_known_as, verification_methods, authentication, assertion_methods, key_agreements, capability_invocations, capability_delegations, services, metadata, extensions
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[1] · object
Ref addresses authenticated_signer_evidence alone. Verify its exact method/key/subject using the carried method-native history at the original accepted-at instant.
此分支的 required:signer_resolution_evidence_ref, authenticated_signer_evidence, service_resolution
string · $ref ./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref^ak:signer_evidence:sha256:[0-9a-f]{64}$分支必填 authenticated_signer_evidence · allOf[2] · $ref ./authenticated-signer-resolution-evidence.schema.json#/$defs/service_signer_evidence
$ref #/$defs/base · $ref #/$defs/baseallOf · allOf[1] · object
const "service""service"分支必填 service_resolution · object · $ref ./identity-resolution.schema.json#/$defs/authenticated_service_resolution
Public method-native service evidence. All route coordinates are derived from the independently verified DID state; this carrier creates no signed address history.
此分支的 required:service_id, service_kind, method_history_evidence, normalized_did_document
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string^[a-z][a-z0-9_]{0,63}$$ref #/$defs/method_history_evidence · $ref #/$defs/method_history_evidence分支必填 normalized_did_document · object · $ref ./did-binding-contracts.schema.json#/$defs/normalized_did_document
The sole canonical normalized DID Document projection used by document_digest. It retains every v1-normative member, including also_known_as and metadata.primary_handle, and losslessly retains unknown extensions. contexts preserves source order because JSON-LD context order can affect interpretation; every other set-like array is sorted in unsigned UTF-8 order with duplicates rejected. Duplicate/conflicting source properties, ids, relationship entries, services, metadata keys, or extension names fail before digesting. document_digest is exactly sha256:lowercase_hex(SHA-256(RFC8785_JCS(this object))); raw resolver bytes use raw_document_digest and no third DID-document digest name exists.
此分支的 required:did, contexts, controller_dids, also_known_as, verification_methods, authentication, assertion_methods, key_agreements, capability_invocations, capability_delegations, services, metadata, extensions
$ref #/$defs/did · $ref #/$defs/did分支必填 contexts · array<oneOf[2]>
…recursion truncated at depth 8; see source schema for full shape
分支必填 controller_dids · array<$ref #/$defs/did>
…recursion truncated at depth 8; see source schema for full shape
分支必填 also_known_as · array<string>
…recursion truncated at depth 8; see source schema for full shape
分支必填 verification_methods · array<$ref #/$defs/normalized_did_verification_method>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship$ref #/$defs/normalized_did_relationship · $ref #/$defs/normalized_did_relationship分支必填 services · array<$ref #/$defs/normalized_did_service>
…recursion truncated at depth 8; see source schema for full shape
$ref #/$defs/normalized_did_document_metadata · $ref #/$defs/normalized_did_document_metadata分支必填 extensions · array<allOf[2]>
…recursion truncated at depth 8; see source schema for full shape
oneOf · oneOf[2] · object
Ref addresses agent_evidence.authenticated_signer_evidence alone. Recursively validate the complete accepted-at Agent closure; repeated refs are deduplicated and cycles rejected.
此分支的 required:signer_resolution_evidence_ref, agent_evidence
string · $ref ./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref^ak:signer_evidence:sha256:[0-9a-f]{64}$分支必填 agent_evidence · object · $ref #/$defs/agent_producer_evidence
authority_forward Agent sibling. The retained producer signer_resolution_evidence_ref addresses the six-member authenticated_signer_evidence alone; authority state and controller gate are independent signed siblings. authority_resolution supplies method-native history for the state attestation and controller gate at their respective observation times. It carries no participation selection. Canonical persistence restores compact state first.
此分支的 required:authenticated_signer_evidence, agent_authority_state_evidence, controller_account_gate_attestation, authority_resolution
分支必填 authenticated_signer_evidence · allOf[2] · $ref ./authenticated-signer-resolution-evidence.schema.json#/$defs/agent_signer_evidence
$ref #/$defs/base · $ref #/$defs/baseallOf · allOf[1] · object
…recursion truncated at depth 8; see source schema for full shape
分支必填 agent_authority_state_evidence · object · $ref #/$defs/agent_authority_state_evidence
Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.
此分支的 required:schema, state_digest, attestation
const "ak.schema.agent_authority_state_evidence.v1""ak.schema.agent_authority_state_evidence.v1"state · object · $ref #/$defs/agent_authority_state
One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.
此分支的 required:authority_id, agent_id, source_commit_id, pcr_genesis_event, key_authorization_event, authorization, key_state_witness, agent_lifecycle_witness, commit_lineages, commits, authority_bundle, signer_dependencies, producer_bindings
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$分支必填 attestation · object · $ref #/$defs/agent_authority_state_attestation
The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.
此分支的 required:authority_id, verification_method, state_digest, issued_at, expires_at, proof
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 controller_account_gate_attestation · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 authority_resolution · object · $ref ./identity-resolution.schema.json#/$defs/authenticated_service_resolution
Public method-native service evidence. All route coordinates are derived from the independently verified DID state; this carrier creates no signed address history.
此分支的 required:service_id, service_kind, method_history_evidence, normalized_did_document
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string^[a-z][a-z0-9_]{0,63}$$ref #/$defs/method_history_evidence · $ref #/$defs/method_history_evidence分支必填 normalized_did_document · object · $ref ./did-binding-contracts.schema.json#/$defs/normalized_did_document
The sole canonical normalized DID Document projection used by document_digest. It retains every v1-normative member, including also_known_as and metadata.primary_handle, and losslessly retains unknown extensions. contexts preserves source order because JSON-LD context order can affect interpretation; every other set-like array is sorted in unsigned UTF-8 order with duplicates rejected. Duplicate/conflicting source properties, ids, relationship entries, services, metadata keys, or extension names fail before digesting. document_digest is exactly sha256:lowercase_hex(SHA-256(RFC8785_JCS(this object))); raw resolver bytes use raw_document_digest and no third DID-document digest name exists.
此分支的 required:did, contexts, controller_dids, also_known_as, verification_methods, authentication, assertion_methods, key_agreements, capability_invocations, capability_delegations, services, metadata, extensions
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
分支必填 producer_bindings · array<$ref #/$defs/agent_producer_binding>
items · object · $ref #/$defs/agent_producer_binding
此分支的 required:event_ref, accepted_commit_id, signer_resolution_evidence_ref
string · $ref ./common-ids.schema.json#/$defs/event_idComplete Arkret Event cryptographic identity. The suffix is the canonical unpadded Base64URL encoding of exactly 33 octets: fixed current-v1 suite code 0x01 followed by all 32 octets of the SHA-256 Event digest. Regex validation is only lexical; receivers MUST decode, require 33 octets, require byte 0 == 0x01, canonical re-encode, and verify the full digest before use. Other registered digest suites remain available only to the typed domains that explicitly select them and MUST NOT appear in Event IDs.
^ak:event:[A-Za-z0-9_-]{44}$string · $ref ./common-ids.schema.json#/$defs/realm_commit_idContent-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.
^ak:realm_commit:[A-Za-z0-9_-]{44}$string · $ref ./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref^ak:signer_evidence:sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$分支必填 attestation · object · $ref #/$defs/agent_authority_state_attestation
The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.
此分支的 required:authority_id, verification_method, state_digest, issued_at, expires_at, proof
string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
const "detached_jws""detached_jws"stringCompact detached JWS. Its verification method is the enclosing object verification_method, resolved through the published DID document of the signer at the signing instant.
^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$oneOf · oneOf[1] · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
if · if · object
此分支的 required:status
const "active""active"then · then · object
const "active""active"else · else · object
const "inactive""inactive"allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
if · if · object
此分支的 required:basis
分支必填 basis · object
此分支的 required:kind
const "account_binding_default""account_binding_default"then · then · object
const "active""active"const "active""active"const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
oneOf · oneOf[0] · object
此分支的 required:kind, binding_version, binding_receipt_digest
const "account_binding_default""account_binding_default"integerstring · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$oneOf · oneOf[1] · object
此分支的 required:kind, account_status_record_id, status_record_digest
const "account_status_record""account_status_record"string · $ref ./common-ids.schema.json#/$defs/account_status_record_idAccount Authority issuer-ledger record identity derived from the complete closed unsigned AccountStatusRecord core.
^ak:account_status_record:[A-Za-z0-9_-]{44}$string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256 of JCS of the complete original signed AccountStatusRecord, including account_status_record_id and proof; not the unsigned core, a reconstructed record or an aggregate checkpoint.
^sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
const "detached_jws""detached_jws"stringCompact detached JWS. Its verification method is the enclosing object verification_method, resolved through the published DID document of the signer at the signing instant.
^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$oneOf · oneOf[2] · object · $ref #/$defs/controller_account_gate_attestation_issue_request_body
Deployment-authenticated request an Agent Authority sends to obtain the Account Authority-owned controller gate. Caller identity comes only from the authenticated deployment relationship: the body carries no service resolution carrier, and a self-asserted DID, URL, bearer subject, public key or account-active boolean is a schema violation rather than an identity source.
此分支的 required:request_id, principal_id, agent_authority_id
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$oneOf · oneOf[3] · object · $ref #/$defs/controller_account_gate_attestation_issue_response_body
Byte-stable issuance result. A replay of the same request_id and canonical intent returns these original bytes; a different intent under the same request_id is a duplicate_conflict with zero issuance.
此分支的 required:request_id, controller_account_gate_attestation
string · $ref ./account-operations.schema.json#/$defs/request_id^ak:request:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$分支必填 controller_account_gate_attestation · object · $ref #/$defs/controller_account_gate_attestation
Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.
此分支的 required:schema, principal_id, eligibility, status, basis, basis_digest, authority_id, verification_method, issued_at, expires_at, proof
allOf · allOf[0] · ?
status active holds exactly when eligibility is active; every other status is inactive.
if · if · object
此分支的 required:status
const "active""active"then · then · object
const "active""active"else · else · object
const "inactive""inactive"allOf · allOf[1] · ?
Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis.
if · if · object
此分支的 required:basis
分支必填 basis · object
此分支的 required:kind
const "account_binding_default""account_binding_default"then · then · object
const "active""active"const "active""active"const "ak.schema.controller_account_gate_attestation.v1""ak.schema.controller_account_gate_attestation.v1"string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string (enum)The only decision a consumer acts on. It is active if and only if status is active.
"active" "inactive"string (enum) · $ref ./account-operations.schema.json#/$defs/account_stateAccount lifecycle projection; mirrors zh/identity/account-lifecycle.md §3.
"active" "soft_logged_out" "locked" "suspended" "deactivated" "erasure_pending"分支必填 basis · oneOf[2] · $ref #/$defs/controller_account_gate_basis
Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.
oneOf · oneOf[0] · object
此分支的 required:kind, binding_version, binding_receipt_digest
const "account_binding_default""account_binding_default"integerstring · $ref ./account-operations.schema.json#/$defs/sha256_digest^sha256:[0-9a-f]{64}$oneOf · oneOf[1] · object
此分支的 required:kind, account_status_record_id, status_record_digest
const "account_status_record""account_status_record"string · $ref ./common-ids.schema.json#/$defs/account_status_record_idAccount Authority issuer-ledger record identity derived from the complete closed unsigned AccountStatusRecord core.
^ak:account_status_record:[A-Za-z0-9_-]{44}$string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256 of JCS of the complete original signed AccountStatusRecord, including account_status_record_id and proof; not the unsigned core, a reconstructed record or an aggregate checkpoint.
^sha256:[0-9a-f]{64}$string · $ref ./account-operations.schema.json#/$defs/sha256_digestSHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head.
^sha256:[0-9a-f]{64}$string · $ref ./common-ids.schema.json#/$defs/did_core_idCanonical 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.
^ak:did_core:[a-z0-9]+:[^\s/?#]+$string · $ref ./account-operations.schema.json#/$defs/did_url^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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$string (date-time) · format=date-time · $ref ./time.schema.json#/$defs/timestampCanonical 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.
^[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/detached_jws
Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.
此分支的 required:kind, jws
const "detached_jws""detached_jws"stringCompact detached JWS. Its verification method is the enclosing object verification_method, resolved through the published DID document of the signer at the signing instant.
^[A-Za-z0-9_-]+\.\.[A-Za-z0-9_-]+$完整 JSON(格式化展示)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://arkret.org/v1/schemas/agent-authority-evidence.schema.json",
"title": "Arkret Agent Authority Portable Evidence",
"description": "Portable Agent signer evidence carried to a Station or peer verifier: the Agent Authority state evidence over one exact confirmed RealmCommit state, and the Account Authority controller gate. Both objects anchor their own local detached signature under their own registered domain separation; neither reuses the shared Event proof leaf. Agent and controller private keys, MLS private state, service-local account_id and raw account typed current state never appear here.",
"oneOf": [
{
"$ref": "#/$defs/agent_authority_state_evidence"
},
{
"$ref": "#/$defs/controller_account_gate_attestation"
},
{
"$ref": "#/$defs/controller_account_gate_attestation_issue_request_body"
},
{
"$ref": "#/$defs/controller_account_gate_attestation_issue_response_body"
}
],
"$defs": {
"detached_jws": {
"type": "object",
"description": "Local detached signature leaf of this file. The signing bytes are the registered domain separation label, a newline, then the JCS bytes of the enclosing object with this member jws removed; kind stays covered like every other closed member.",
"required": [
"kind",
"jws"
],
"properties": {
"kind": {
"const": "detached_jws",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/detached_jws/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/detached_jws/properties/kind",
"values": [
"detached_jws"
]
}
},
"jws": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+\\.\\.[A-Za-z0-9_-]+$",
"description": "Compact detached JWS. Its verification method is the enclosing object verification_method, resolved through the published DID document of the signer at the signing instant."
}
},
"additionalProperties": false
},
"controller_account_gate_basis": {
"description": "Private Account Authority current basis. account_binding_default is stable absence or the exact initial active binding record; account_status_record binds the original immutable signed AccountStatusRecord current head. It is not an Event, RealmCommit or Station checkpoint, and the record body remains private.",
"oneOf": [
{
"type": "object",
"required": [
"kind",
"binding_version",
"binding_receipt_digest"
],
"properties": {
"kind": {
"const": "account_binding_default",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_basis/oneOf/0/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_basis/oneOf/0/properties/kind",
"values": [
"account_binding_default"
]
}
},
"binding_version": {
"type": "integer",
"minimum": 0
},
"binding_receipt_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"account_status_record_id",
"status_record_digest"
],
"properties": {
"kind": {
"const": "account_status_record",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_basis/oneOf/1/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_basis/oneOf/1/properties/kind",
"values": [
"account_status_record"
]
}
},
"account_status_record_id": {
"$ref": "./common-ids.schema.json#/$defs/account_status_record_id"
},
"status_record_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest",
"description": "SHA-256 of JCS of the complete original signed AccountStatusRecord, including account_status_record_id and proof; not the unsigned core, a reconstructed record or an aggregate checkpoint."
}
},
"additionalProperties": false
}
]
},
"controller_account_gate_attestation": {
"type": "object",
"description": "Account Authority answer to one question: is the controller principal behind an Agent key authorization still eligible? Signed under ak.controller_account_gate.v1. Member order is byte-for-byte the binding_fields order of that domain_separations row; proof follows as the detached signature over exactly those bound members. It is privacy minimised by construction: a service-local account_id, a raw account current state or a caller-asserted active boolean is a schema violation, not an optional member.",
"required": [
"schema",
"principal_id",
"eligibility",
"status",
"basis",
"basis_digest",
"authority_id",
"verification_method",
"issued_at",
"expires_at",
"proof"
],
"properties": {
"schema": {
"const": "ak.schema.controller_account_gate_attestation.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/properties/schema",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/properties/schema",
"values": [
"ak.schema.controller_account_gate_attestation.v1"
]
}
},
"principal_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id",
"description": "Controller principal did_core_id. The consumer independently derives the complete controller AccountId from the key authorization Event and MUST reject a gate whose principal does not match it."
},
"eligibility": {
"type": "string",
"enum": [
"active",
"inactive"
],
"description": "The only decision a consumer acts on. It is active if and only if status is active.",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/properties/eligibility",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/properties/eligibility",
"values": [
"active",
"inactive"
]
}
},
"status": {
"$ref": "./account-operations.schema.json#/$defs/account_state"
},
"basis": {
"$ref": "#/$defs/controller_account_gate_basis"
},
"basis_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest",
"description": "SHA-256(JCS({principal_id:gate.principal_id,accepted_id:gate.authority_id,status:gate.status,basis:gate.basis})), without a domain prefix. accepted_id is a derived preimage key equal to the original internal request agent_authority_id and owning AA/Station; it is not another wire member. Consumers MUST recompute exact equality from these public Gate fields, independently of signature verification; this does not authenticate the hidden original Record/current ledger head."
},
"authority_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id",
"description": "Owning Station of the Account Authority. The consumer derives the expected Station from the complete Agent AccountId; a self-asserted authority is not a source."
},
"verification_method": {
"$ref": "./account-operations.schema.json#/$defs/did_url"
},
"issued_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp",
"description": "Positive validity window bound: expires_at is strictly after issued_at and at most 300 seconds after it."
},
"proof": {
"$ref": "#/$defs/detached_jws"
}
},
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "active",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/0/if/properties/status",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/0/if/properties/status",
"values": [
"active"
]
}
}
},
"required": [
"status"
]
},
"then": {
"properties": {
"eligibility": {
"const": "active",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/0/then/properties/eligibility",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/0/then/properties/eligibility",
"values": [
"active"
]
}
}
}
},
"else": {
"properties": {
"eligibility": {
"const": "inactive",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/0/else/properties/eligibility",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/0/else/properties/eligibility",
"values": [
"inactive"
]
}
}
}
},
"description": "status active holds exactly when eligibility is active; every other status is inactive."
},
{
"if": {
"properties": {
"basis": {
"properties": {
"kind": {
"const": "account_binding_default",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/1/if/properties/basis/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/1/if/properties/basis/properties/kind",
"values": [
"account_binding_default"
]
}
}
},
"required": [
"kind"
]
}
},
"required": [
"basis"
]
},
"then": {
"properties": {
"status": {
"const": "active",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/1/then/properties/status",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/1/then/properties/status",
"values": [
"active"
]
}
},
"eligibility": {
"const": "active",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/1/then/properties/eligibility",
"owner": "agent-authority-evidence.schema.json#/$defs/controller_account_gate_attestation/allOf/1/then/properties/eligibility",
"values": [
"active"
]
}
}
}
},
"description": "Stable absence or exact initial binding Active is the only default basis. Every non-active status, and restored Active after any successor, requires the original signed record basis."
}
],
"x-arkret-max-canonical-bytes": 16384,
"x-arkret-signature-domain": "ak.controller_account_gate.v1"
},
"commit_lineage": {
"type": "object",
"description": "Complete, duplicate-free predecessor closure connecting one witness RealmCommit to source_commit_id inside the same stream. An unknown, forked, cross-Realm or unsigned predecessor, or a missing link, rejects the whole evidence.",
"required": [
"witness_commit_id",
"predecessor_commit_ids"
],
"properties": {
"witness_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"predecessor_commit_ids": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"description": "Ordered inclusive path from witness_commit_id to source_commit_id, increasing stream_position by exactly one at each step. Every ID addresses the matching complete member of state.commits."
}
},
"additionalProperties": false
},
"agent_key_authorization": {
"type": "object",
"description": "Projection of the key authenticated by one complete ak.agent.key.authorize Event. It is never a second wire certificate and never an authority source: the consumer separately verifies the Event producer proof and the authority-signed RealmCommit that covers it.",
"required": [
"agent_id",
"agent_key_id",
"verification_method",
"public_key",
"public_key_digest",
"controller_principal_id",
"accepted_commit_id",
"accepted_at",
"issued_at"
],
"properties": {
"agent_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"agent_key_id": {
"$ref": "./event-payload.schema.json#/$defs/agent_key_id"
},
"verification_method": {
"$ref": "./account-operations.schema.json#/$defs/did_url"
},
"public_key": {
"$ref": "./agent-operations.schema.json#/$defs/agent_runtime_public_key",
"description": "Closed Ed25519 profile. kid MUST equal verification_method and key MUST decode to exactly 32 octets."
},
"public_key_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest",
"description": "SHA-256 over the decoded 32 raw Ed25519 octets. It is never a hash of the PublicKey DTO, a JWK, a multibase form or a hex string."
},
"controller_principal_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"accepted_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id",
"description": "MUST equal key_state_witness.commit_id and the id of key_state_witness.commit."
},
"accepted_at": {
"$ref": "./time.schema.json#/$defs/timestamp",
"description": "Instant the authorization took effect through accepted_commit_id. MUST equal key_state_witness.commit.committed_at; the storage time of a receiving service creates no runtime key authority."
},
"issued_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
}
},
"additionalProperties": false
},
"agent_key_state_witness": {
"type": "object",
"description": "Signed RealmCommit plus the closed agent_key current state it covers. v1 has no state_root, leaf digest, index, count or Merkle inclusion proof: the Commit itself is the commitment.",
"required": [
"commit_id",
"commit",
"current_state"
],
"properties": {
"commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"commit": {
"$ref": "./realm-commit.schema.json"
},
"current_state": {
"$ref": "./current-state.schema.json#/$defs/current_agent_key"
}
},
"additionalProperties": false
},
"agent_lifecycle_provenance": {
"description": "Closed provenance branch of the witnessed lifecycle value. Each branch carries only the accepted status Event ID of its own transition; a provision Event ID or a predecessor lifecycle pointer has no independent proof carrier and MUST NOT appear.",
"oneOf": [
{
"type": "object",
"required": [
"kind",
"realm_create_event_id"
],
"properties": {
"kind": {
"const": "genesis",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/0/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/0/properties/kind",
"values": [
"genesis"
]
}
},
"realm_create_event_id": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"pause_event_id"
],
"properties": {
"kind": {
"const": "pause",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/1/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/1/properties/kind",
"values": [
"pause"
]
}
},
"pause_event_id": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"resume_event_id"
],
"properties": {
"kind": {
"const": "resume",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/2/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/2/properties/kind",
"values": [
"resume"
]
}
},
"resume_event_id": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"deactivate_event_id"
],
"properties": {
"kind": {
"const": "deactivate",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/3/properties/kind",
"owner": "agent-authority-evidence.schema.json#/$defs/agent_lifecycle_provenance/oneOf/3/properties/kind",
"values": [
"deactivate"
]
}
},
"deactivate_event_id": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
}
},
"additionalProperties": false
}
]
},
"agent_lifecycle_witness": {
"type": "object",
"description": "Signed RealmCommit, the closed agent_status current state it covers, the accepted status Event and its closed provenance branch. The receiver recomputes the lifecycle result and its transition from the signed Event before trusting any of them.",
"required": [
"commit_id",
"commit",
"current_state",
"accepted_status_event",
"provenance"
],
"properties": {
"commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"commit": {
"$ref": "./realm-commit.schema.json"
},
"current_state": {
"$ref": "./current-state.schema.json#/$defs/current_agent_status"
},
"accepted_status_event": {
"$ref": "./event-envelope.schema.json"
},
"provenance": {
"$ref": "#/$defs/agent_lifecycle_provenance"
}
},
"additionalProperties": false
},
"agent_authority_state": {
"type": "object",
"description": "One exact confirmed RealmCommit state of the Agent Principal Control Realm, carrying the complete PCR genesis Event, key authorization Event, key authorization, key state witness and Agent lifecycle witness together.",
"required": [
"authority_id",
"agent_id",
"source_commit_id",
"pcr_genesis_event",
"key_authorization_event",
"authorization",
"key_state_witness",
"agent_lifecycle_witness",
"commit_lineages",
"commits",
"authority_bundle",
"signer_dependencies",
"producer_bindings"
],
"properties": {
"authority_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id",
"description": "The immutable owning Station of the user-managed Agent PCR, Agent Account and controller Account pair. Derive it from the complete AccountId.station_id and accepted agent_control genesis/provision, never from a self-reported authority. No PCR handoff is permitted; every Commit is generation zero."
},
"agent_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"source_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id",
"description": "The exact confirmed RealmCommit this state is read at. Every witness lineage terminates here."
},
"pcr_genesis_event": {
"$ref": "./event-envelope.schema.json"
},
"key_authorization_event": {
"$ref": "./event-envelope.schema.json"
},
"authorization": {
"$ref": "#/$defs/agent_key_authorization"
},
"key_state_witness": {
"$ref": "#/$defs/agent_key_state_witness"
},
"agent_lifecycle_witness": {
"$ref": "#/$defs/agent_lifecycle_witness"
},
"commit_lineages": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/commit_lineage"
}
},
"commits": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"$ref": "./realm-commit.schema.json"
},
"description": "Exact union of genesis, witness and lineage Commits through source_commit_id, sorted by stream_position. No gaps, duplicate IDs/positions, forks or unrelated Commits."
},
"authority_bundle": {
"$ref": "#/$defs/agent_accepted_authority_bundle"
},
"signer_dependencies": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/$defs/agent_signer_dependency"
},
"description": "Exactly the recursive producer proof dependencies used by genesis, authorization, lifecycle and authority transition Events. Sorted by signer_resolution_evidence_ref UTF-8 bytes. Missing ref is unresolved; duplicate ref, conflicting bytes, cycle or surplus is rejected."
},
"producer_bindings": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/agent_producer_binding"
}
}
},
"additionalProperties": false
},
"agent_authority_state_attestation": {
"type": "object",
"description": "The single Agent Authority state signature, made under ak.agent_authority_state_evidence.v1 by the authoritative service DID of that PCR. It binds the exact authority, verification method, state digest and observation window verbatim; the controller proof, the Account Authority gate and the RealmCommit signatures each stay separate.",
"required": [
"authority_id",
"verification_method",
"state_digest",
"issued_at",
"expires_at",
"proof"
],
"properties": {
"authority_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"verification_method": {
"$ref": "./account-operations.schema.json#/$defs/did_url"
},
"state_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
},
"issued_at": {
"$ref": "./time.schema.json#/$defs/timestamp",
"description": "The real instant the authoritative state was read. Forwarding, re-wrapping, reconnecting, disk recovery or re-signing an old observation MUST NOT restart this clock."
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp",
"description": "Strictly after issued_at and at most 300 seconds after it."
},
"proof": {
"$ref": "#/$defs/detached_jws"
}
},
"additionalProperties": false,
"x-arkret-signature-domain": "ak.agent_authority_state_evidence.v1"
},
"agent_authority_state_evidence": {
"type": "object",
"description": "Portable Agent Authority state evidence. state_digest is the RFC 8785 JCS SHA-256 of state alone, so a compact transport root MAY omit state when the receiver already holds that exact digest fully verified; the receiver MUST restore the complete state before recomputing any digest or verifying any signature.",
"required": [
"schema",
"state_digest",
"attestation"
],
"properties": {
"schema": {
"const": "ak.schema.agent_authority_state_evidence.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "agent-authority-evidence.schema.json#/$defs/agent_authority_state_evidence/properties/schema",
"owner": "agent-authority-evidence.schema.json#/$defs/agent_authority_state_evidence/properties/schema",
"values": [
"ak.schema.agent_authority_state_evidence.v1"
]
}
},
"state": {
"$ref": "#/$defs/agent_authority_state"
},
"state_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
},
"attestation": {
"$ref": "#/$defs/agent_authority_state_attestation"
}
},
"additionalProperties": false,
"x-arkret-max-canonical-bytes": 262144
},
"controller_account_gate_attestation_issue_request_body": {
"type": "object",
"description": "Deployment-authenticated request an Agent Authority sends to obtain the Account Authority-owned controller gate. Caller identity comes only from the authenticated deployment relationship: the body carries no service resolution carrier, and a self-asserted DID, URL, bearer subject, public key or account-active boolean is a schema violation rather than an identity source.",
"required": [
"request_id",
"principal_id",
"agent_authority_id"
],
"properties": {
"request_id": {
"$ref": "./account-operations.schema.json#/$defs/request_id"
},
"principal_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id",
"description": "Controller principal whose eligibility is asked about."
},
"agent_authority_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id",
"description": "Agent Authority the gate is issued for. It MUST equal the authenticated caller and the Station of the controller's complete AccountId; a mismatch is an unenumerable not_found."
}
},
"additionalProperties": false,
"x-arkret-max-canonical-bytes": 4096
},
"controller_account_gate_attestation_issue_response_body": {
"type": "object",
"description": "Byte-stable issuance result. A replay of the same request_id and canonical intent returns these original bytes; a different intent under the same request_id is a duplicate_conflict with zero issuance.",
"required": [
"request_id",
"controller_account_gate_attestation"
],
"properties": {
"request_id": {
"$ref": "./account-operations.schema.json#/$defs/request_id"
},
"controller_account_gate_attestation": {
"$ref": "#/$defs/controller_account_gate_attestation"
}
},
"additionalProperties": false,
"x-arkret-max-canonical-bytes": 16384,
"x-arkret-name-role": "response_body"
},
"agent_accepted_authority_bundle": {
"type": "object",
"description": "Minimal accepted-at genesis-only authority projection for a user-managed Agent PCR fixed to its Account Station at generation zero. No authority_transitions member, online nonce/current assertion or routing authority. signer_histories contain exactly the original Station method-native history needed at each actual signature time; key rotation is not governance transfer. Unused records are surplus. It does not authorize other Events or controller binding.",
"required": [
"realm_id",
"genesis_event",
"genesis_commit",
"signer_histories"
],
"properties": {
"realm_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_id"
},
"genesis_event": {
"$ref": "./event-envelope.schema.json"
},
"genesis_commit": {
"$ref": "./realm-commit.schema.json"
},
"signer_histories": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"$ref": "./identity-resolution.schema.json#/$defs/authenticated_service_resolution"
}
}
},
"additionalProperties": false
},
"agent_producer_evidence": {
"type": "object",
"description": "authority_forward Agent sibling. The retained producer signer_resolution_evidence_ref addresses the six-member authenticated_signer_evidence alone; authority state and controller gate are independent signed siblings. authority_resolution supplies method-native history for the state attestation and controller gate at their respective observation times. It carries no participation selection. Canonical persistence restores compact state first.",
"required": [
"authenticated_signer_evidence",
"agent_authority_state_evidence",
"controller_account_gate_attestation",
"authority_resolution"
],
"properties": {
"authenticated_signer_evidence": {
"$ref": "./authenticated-signer-resolution-evidence.schema.json#/$defs/agent_signer_evidence"
},
"agent_authority_state_evidence": {
"$ref": "#/$defs/agent_authority_state_evidence"
},
"controller_account_gate_attestation": {
"$ref": "#/$defs/controller_account_gate_attestation"
},
"authority_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/authenticated_service_resolution"
}
},
"additionalProperties": false
},
"agent_signer_dependency": {
"oneOf": [
{
"type": "object",
"description": "Ref is the JCS SHA-256 content address of account_device_signer_evidence. Validate the original accepted producer at its accepted_at, not against a newly issued current device projection.",
"required": [
"signer_resolution_evidence_ref",
"account_device_signer_evidence"
],
"properties": {
"signer_resolution_evidence_ref": {
"$ref": "./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref"
},
"account_device_signer_evidence": {
"$ref": "./account-device-signer-evidence.schema.json"
}
},
"additionalProperties": false
},
{
"type": "object",
"description": "Ref addresses authenticated_signer_evidence alone. Verify its exact method/key/subject using the carried method-native history at the original accepted-at instant.",
"required": [
"signer_resolution_evidence_ref",
"authenticated_signer_evidence",
"service_resolution"
],
"properties": {
"signer_resolution_evidence_ref": {
"$ref": "./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref"
},
"authenticated_signer_evidence": {
"$ref": "./authenticated-signer-resolution-evidence.schema.json#/$defs/service_signer_evidence"
},
"service_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/authenticated_service_resolution"
}
},
"additionalProperties": false
},
{
"type": "object",
"description": "Ref addresses agent_evidence.authenticated_signer_evidence alone. Recursively validate the complete accepted-at Agent closure; repeated refs are deduplicated and cycles rejected.",
"required": [
"signer_resolution_evidence_ref",
"agent_evidence"
],
"properties": {
"signer_resolution_evidence_ref": {
"$ref": "./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref"
},
"agent_evidence": {
"$ref": "#/$defs/agent_producer_evidence"
}
},
"additionalProperties": false
}
]
},
"agent_producer_binding": {
"type": "object",
"required": [
"event_ref",
"accepted_commit_id",
"signer_resolution_evidence_ref"
],
"properties": {
"event_ref": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
},
"accepted_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"signer_resolution_evidence_ref": {
"$ref": "./authenticated-signer-resolution-evidence.schema.json#/$defs/signer_evidence_ref"
}
},
"additionalProperties": false
}
}
}查看 canonical 原件:spec/v1/artifacts/schemas/agent-authority-evidence.schema.json
Source
- registry row:
spec/v1/artifacts/registry/schema-registry.json - schema document:
spec/v1/artifacts/schemas/agent-authority-evidence.schema.json