ak.schema.realm_actor_create.v1
ak.schema.realm_actor_create.v1 · schemas/realm-actor.schema.json必填标记属于当前 Schema 对象或分支。oneOf、anyOf、if / then / else 中的 required 不表示所有实例均必填。树状视图有递归深度限制;完整约束以 canonical 原件为准。
可视树中没有匹配项。清除条件或查看下面的完整 JSON。
必填 $ · object · $ref #/$defs/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
const "ghost""ghost"?此分支的 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
const "realm""realm"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
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}$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
const "ak.did.binding_evidence.v1""ak.did.binding_evidence.v1"$ref #/$defs/method_token · $ref #/$defs/method_token$ref #/$defs/digest · $ref #/$defs/digestDigest of the resolver's verified normalized DID Document projection (did-usage-and-verification.md section 5.1); never the raw response bytes (those use the differently named raw_document_digest).
必填 method_proofs · array<$ref #/$defs/webvh_log_evidence>
Closed per-method proof rows; empty for proofless methods (did:key, bare did:web). v1 registers exactly one row kind (webvh_log); receiving any unregistered proof kind fails closed. Rows never reuse resolver response order: each row kind registers its own canonical sort and duplicate-rejection rules.
$ref #/$defs/webvh_log_evidence · $ref #/$defs/webvh_log_evidence必填 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.
object必填 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.
objectstring · $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$external_ref · object · $ref #/$defs/ghost_external_tuple
此对象的 required:protocol, instance_id, external_id
string^[a-z][a-z0-9_.-]{0,63}$必填 instance_id · allOf[2]
string · $ref ./account-operations.schema.json#/$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:)必填 external_id · allOf[2]
string · $ref ./account-operations.schema.json#/$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:)必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
allOf · allOf[0] · object · $ref #
此对象的 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
const "ghost""ghost"?此分支的 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
const "realm""realm"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
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}$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
const "ak.did.binding_evidence.v1""ak.did.binding_evidence.v1"$ref #/$defs/method_token · $ref #/$defs/method_token$ref #/$defs/digest · $ref #/$defs/digestDigest of the resolver's verified normalized DID Document projection (did-usage-and-verification.md section 5.1); never the raw response bytes (those use the differently named raw_document_digest).
必填 method_proofs · array<$ref #/$defs/webvh_log_evidence>
Closed per-method proof rows; empty for proofless methods (did:key, bare did:web). v1 registers exactly one row kind (webvh_log); receiving any unregistered proof kind fails closed. Rows never reuse resolver response order: each row kind registers its own canonical sort and duplicate-rejection rules.
$ref #/$defs/webvh_log_evidence · $ref #/$defs/webvh_log_evidence必填 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.
object必填 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.
objectstring · $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$external_ref · object · $ref #/$defs/ghost_external_tuple
此对象的 required:protocol, instance_id, external_id
string^[a-z][a-z0-9_.-]{0,63}$必填 instance_id · allOf[2]
string · $ref ./account-operations.schema.json#/$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:)必填 external_id · allOf[2]
string · $ref ./account-operations.schema.json#/$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:)必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
allOf · allOf[0] · object · $ref #
此对象的 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
const "ghost""ghost"?此分支的 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
const "realm""realm"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
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}$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
const "ak.did.binding_evidence.v1""ak.did.binding_evidence.v1"$ref #/$defs/method_token · $ref #/$defs/method_token$ref #/$defs/digest · $ref #/$defs/digestDigest of the resolver's verified normalized DID Document projection (did-usage-and-verification.md section 5.1); never the raw response bytes (those use the differently named raw_document_digest).
必填 method_proofs · array<$ref #/$defs/webvh_log_evidence>
Closed per-method proof rows; empty for proofless methods (did:key, bare did:web). v1 registers exactly one row kind (webvh_log); receiving any unregistered proof kind fails closed. Rows never reuse resolver response order: each row kind registers its own canonical sort and duplicate-rejection rules.
$ref #/$defs/webvh_log_evidence · $ref #/$defs/webvh_log_evidence必填 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.
object必填 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.
objectstring · $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$external_ref · object · $ref #/$defs/ghost_external_tuple
此对象的 required:protocol, instance_id, external_id
string^[a-z][a-z0-9_.-]{0,63}$必填 instance_id · allOf[2]
string · $ref ./account-operations.schema.json#/$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:)必填 external_id · allOf[2]
string · $ref ./account-operations.schema.json#/$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:)必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
allOf · allOf[0] · object · $ref #
此对象的 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$external_ref · object · $ref #/$defs/ghost_external_tuple
此对象的 required:protocol, instance_id, external_id
string^[a-z][a-z0-9_.-]{0,63}$必填 instance_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
必填 external_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
必填 control_signature · allOf[2] · $ref ./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature
allOf · allOf[0] · object · $ref #
此对象的 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
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for full shape
…recursion truncated at depth 8; see source schema for 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
allOf · allOf[1] · object
const "ak.realm_actor_creation_signature.v1""ak.realm_actor_creation_signature.v1"必填 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
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])allOf · allOf[1] · object
const "ak.realm_actor_creation_signature.v1""ak.realm_actor_creation_signature.v1"必填 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
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])allOf · allOf[1] · object
const "ak.realm_actor_creation_signature.v1""ak.realm_actor_creation_signature.v1"必填 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
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])完整 JSON(格式化展示)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://arkret.org/v1/schemas/realm-actor.schema.json",
"title": "Arkret Realm Actor Control",
"$defs": {
"ghost_external_tuple": {
"type": "object",
"required": [
"protocol",
"instance_id",
"external_id"
],
"properties": {
"protocol": {
"type": "string",
"pattern": "^[a-z][a-z0-9_.-]{0,63}$"
},
"instance_id": {
"allOf": [
{
"$ref": "./account-operations.schema.json#/$defs/non_empty_string"
},
{
"$ref": "string-profiles.schema.json#/$defs/non_typed_identifier_floor"
}
]
},
"external_id": {
"allOf": [
{
"$ref": "./account-operations.schema.json#/$defs/non_empty_string"
},
{
"$ref": "string-profiles.schema.json#/$defs/non_typed_identifier_floor"
}
]
}
},
"additionalProperties": false
},
"control_scope": {
"type": "object",
"required": [
"kind",
"realm_id"
],
"properties": {
"kind": {
"const": "realm_control",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/control_scope/properties/kind",
"owner": "realm-actor.schema.json#/$defs/control_scope/properties/kind",
"values": [
"realm_control"
]
}
},
"realm_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_id"
}
},
"additionalProperties": false
},
"create_payload": {
"type": "object",
"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"
],
"properties": {
"schema": {
"const": "ak.schema.realm_actor_create.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "realm-actor.schema.json#/$defs/create_payload/properties/schema",
"owner": "realm-actor.schema.json#/$defs/create_payload/properties/schema",
"values": [
"ak.schema.realm_actor_create.v1"
]
}
},
"actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"applet_id": {
"$ref": "./common-ids.schema.json#/$defs/applet_id"
},
"service_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"actor_role": {
"enum": [
"bot",
"ghost"
],
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/create_payload/properties/actor_role",
"owner": "realm-actor.schema.json#/$defs/create_payload/properties/actor_role",
"values": [
"bot",
"ghost"
]
}
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{22,128}$"
},
"creation_scope": {
"$ref": "./applet-install-plan.schema.json#/$defs/effective_scope"
},
"registration_ref": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
},
"creation_authorization_ref": {
"$ref": "./common-ids.schema.json#/$defs/grant_id"
},
"initial_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
},
"control_method_kid": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"external_ref": {
"$ref": "#/$defs/ghost_external_tuple"
},
"control_signature": {
"$ref": "./detached-object-signature.schema.json#/$defs/realm_actor_creation_signature"
},
"recovery": {
"type": "object",
"required": [
"kind",
"enabled",
"content_backup_recipient"
],
"properties": {
"kind": {
"const": "manager_native",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/create_payload/properties/recovery/properties/kind",
"owner": "realm-actor.schema.json#/$defs/create_payload/properties/recovery/properties/kind",
"values": [
"manager_native"
]
}
},
"enabled": {
"const": true,
"x-arkret-value-ownership": {
"class": "numeric",
"authority": "realm-actor.schema.json#/$defs/create_payload/properties/recovery/properties/enabled",
"owner": "realm-actor.schema.json#/$defs/create_payload/properties/recovery/properties/enabled",
"values": [
true
]
}
},
"content_backup_recipient": {
"$ref": "./realm-actor.schema.json#/$defs/content_backup_recipient"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"actor_role": {
"const": "ghost",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/create_payload/allOf/0/if/properties/actor_role",
"owner": "realm-actor.schema.json#/$defs/create_payload/allOf/0/if/properties/actor_role",
"values": [
"ghost"
]
}
}
},
"required": [
"actor_role"
]
},
"then": {
"required": [
"external_ref"
]
},
"else": {
"not": {
"required": [
"external_ref"
]
}
}
}
],
"x-arkret-signature-domain": "ak.realm_actor_creation_signature.v1"
},
"creation_transcript": {
"type": "object",
"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",
"recovery"
],
"properties": {
"schema": {
"const": "ak.schema.realm_actor_create.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "realm-actor.schema.json#/$defs/creation_transcript/properties/schema",
"owner": "realm-actor.schema.json#/$defs/creation_transcript/properties/schema",
"values": [
"ak.schema.realm_actor_create.v1"
]
}
},
"actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"applet_id": {
"$ref": "./common-ids.schema.json#/$defs/applet_id"
},
"service_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"actor_role": {
"enum": [
"bot",
"ghost"
],
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/creation_transcript/properties/actor_role",
"owner": "realm-actor.schema.json#/$defs/creation_transcript/properties/actor_role",
"values": [
"bot",
"ghost"
]
}
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{22,128}$"
},
"creation_scope": {
"$ref": "./applet-install-plan.schema.json#/$defs/effective_scope"
},
"registration_ref": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
},
"creation_authorization_ref": {
"$ref": "./common-ids.schema.json#/$defs/grant_id"
},
"initial_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
},
"control_method_kid": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"external_ref": {
"$ref": "#/$defs/ghost_external_tuple"
},
"recovery": {
"type": "object",
"required": [
"kind",
"enabled",
"content_backup_recipient"
],
"properties": {
"kind": {
"const": "manager_native",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/creation_transcript/properties/recovery/properties/kind",
"owner": "realm-actor.schema.json#/$defs/creation_transcript/properties/recovery/properties/kind",
"values": [
"manager_native"
]
}
},
"enabled": {
"const": true,
"x-arkret-value-ownership": {
"class": "numeric",
"authority": "realm-actor.schema.json#/$defs/creation_transcript/properties/recovery/properties/enabled",
"owner": "realm-actor.schema.json#/$defs/creation_transcript/properties/recovery/properties/enabled",
"values": [
true
]
}
},
"content_backup_recipient": {
"$ref": "./realm-actor.schema.json#/$defs/content_backup_recipient"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"actor_role": {
"const": "ghost",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/creation_transcript/allOf/0/if/properties/actor_role",
"owner": "realm-actor.schema.json#/$defs/creation_transcript/allOf/0/if/properties/actor_role",
"values": [
"ghost"
]
}
}
},
"required": [
"actor_role"
]
},
"then": {
"required": [
"external_ref"
]
},
"else": {
"not": {
"required": [
"external_ref"
]
}
}
}
]
},
"control_update_payload": {
"type": "object",
"required": [
"expected_commit_id",
"next_resolution",
"method_history_evidence",
"next_control_method_kid",
"next_method_signature"
],
"properties": {
"expected_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"next_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
},
"next_control_method_kid": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
},
"next_method_signature": {
"$ref": "./detached-object-signature.schema.json#/$defs/realm_actor_control_acceptance_signature"
}
},
"additionalProperties": false
},
"control_acceptance_transcript": {
"type": "object",
"required": [
"actor_id",
"expected_commit_id",
"next_resolution",
"method_history_evidence",
"next_control_method_kid"
],
"properties": {
"actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"expected_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"next_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
},
"next_control_method_kid": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
}
},
"additionalProperties": false,
"x-arkret-signature-domain": "ak.realm_actor_control_acceptance_signature.v1"
},
"status_set_payload": {
"type": "object",
"required": [
"target_actor_id",
"gate",
"expected_commit_id",
"state"
],
"properties": {
"target_actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"gate": {
"enum": [
"governance",
"owner"
],
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/status_set_payload/properties/gate",
"owner": "realm-actor.schema.json#/$defs/status_set_payload/properties/gate",
"values": [
"governance",
"owner"
]
}
},
"expected_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"state": {
"enum": [
"active",
"paused",
"retired"
],
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/status_set_payload/properties/state",
"owner": "realm-actor.schema.json#/$defs/status_set_payload/properties/state",
"values": [
"active",
"paused",
"retired"
]
}
}
},
"additionalProperties": false
},
"devices_reset_payload": {
"type": "object",
"required": [
"expected_commit_id",
"expected_generation",
"new_generation"
],
"properties": {
"expected_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_generation": {
"type": "integer",
"minimum": 1
},
"new_generation": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"manager_change_payload": {
"type": "object",
"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"
],
"properties": {
"expected_manager_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_control_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_device_generation_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_generation": {
"type": "integer",
"minimum": 1
},
"new_generation": {
"type": "integer",
"minimum": 1
},
"new_service_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"new_registration_ref": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
},
"management_authorization_ref": {
"$ref": "./common-ids.schema.json#/$defs/grant_id"
},
"new_service_signature": {
"$ref": "./detached-object-signature.schema.json#/$defs/realm_actor_manager_acceptance_signature"
},
"next_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
},
"next_content_backup_recipient": {
"$ref": "./realm-actor.schema.json#/$defs/content_backup_recipient"
},
"content_backup_inventory_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
},
"content_backup_handover_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
}
},
"additionalProperties": false,
"description": " 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."
},
"manager_acceptance_transcript": {
"type": "object",
"required": [
"actor_id",
"applet_id",
"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",
"next_resolution",
"method_history_evidence",
"next_content_backup_recipient",
"content_backup_inventory_digest",
"content_backup_handover_digest"
],
"properties": {
"actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"applet_id": {
"$ref": "./common-ids.schema.json#/$defs/applet_id"
},
"expected_manager_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_control_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_device_generation_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_generation": {
"type": "integer",
"minimum": 1
},
"new_generation": {
"type": "integer",
"minimum": 1
},
"new_service_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"new_registration_ref": {
"$ref": "./common-ids.schema.json#/$defs/event_id"
},
"management_authorization_ref": {
"$ref": "./common-ids.schema.json#/$defs/grant_id"
},
"next_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
},
"next_content_backup_recipient": {
"$ref": "./realm-actor.schema.json#/$defs/content_backup_recipient"
},
"content_backup_inventory_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
},
"content_backup_handover_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
}
},
"additionalProperties": false,
"x-arkret-signature-domain": "ak.realm_actor_manager_acceptance_signature.v1",
"description": " 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."
},
"control_http_metadata": {
"type": "object",
"required": [
"actor_id",
"control_ref",
"nonce"
],
"properties": {
"actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"control_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"nonce": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{22,128}$"
}
},
"additionalProperties": false
},
"resource": {
"type": "object",
"required": [
"kind",
"actor_id"
],
"properties": {
"kind": {
"const": "realm_actor",
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "realm-actor.schema.json#/$defs/resource/properties/kind",
"owner": "realm-actor.schema.json#/$defs/resource/properties/kind",
"values": [
"realm_actor"
]
}
},
"actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
}
},
"additionalProperties": false
},
"recovery_begin_payload": {
"type": "object",
"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"
],
"properties": {
"target_actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{22,128}$"
},
"manager_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"recovery_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"expected_control_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_owner_status_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_governance_status_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_device_generation_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_generation": {
"type": "integer",
"minimum": 1
},
"new_generation": {
"type": "integer",
"minimum": 1
},
"replaces_recovery_ref": {
"oneOf": [
{
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
{
"type": "null"
}
]
},
"next_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "#/$defs/webvh_recovery_plan"
},
"next_control_method_kid": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
},
"next_content_backup_recipient": {
"$ref": "./realm-actor.schema.json#/$defs/content_backup_recipient",
"description": "Optional non-null replacement frozen in the new-control acceptance transcript and accepted begin original. Absence preserves the current recipient. Finish MUST install exactly this candidate and cannot inject a different key."
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"control_signature": {
"$ref": "./detached-object-signature.schema.json#/$defs/realm_actor_recovery_acceptance_signature"
}
},
"additionalProperties": false
},
"recovery_acceptance_transcript": {
"type": "object",
"required": [
"applet_id",
"service_id",
"payload_without_control_signature"
],
"properties": {
"applet_id": {
"$ref": "./common-ids.schema.json#/$defs/applet_id"
},
"service_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"payload_without_control_signature": {
"type": "object",
"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"
],
"properties": {
"target_actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{22,128}$"
},
"manager_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"recovery_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"expected_control_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_owner_status_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_governance_status_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_device_generation_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_generation": {
"type": "integer",
"minimum": 1
},
"new_generation": {
"type": "integer",
"minimum": 1
},
"replaces_recovery_ref": {
"oneOf": [
{
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
{
"type": "null"
}
]
},
"next_resolution": {
"$ref": "./identity-resolution.schema.json#/$defs/resolution_commitment"
},
"method_history_evidence": {
"$ref": "#/$defs/webvh_recovery_plan"
},
"next_control_method_kid": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
},
"next_content_backup_recipient": {
"$ref": "./realm-actor.schema.json#/$defs/content_backup_recipient"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"x-arkret-signature-domain": "ak.realm_actor_recovery_acceptance_signature.v1"
},
"control_reset_payload": {
"type": "object",
"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"
],
"properties": {
"target_actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"recovery_begin_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"expected_recovery_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_manager_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_control_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_device_generation_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"published_method_history_evidence": {
"$ref": "./identity-resolution.schema.json#/$defs/webvh_method_history_evidence"
}
},
"additionalProperties": false
},
"recovery_set_payload": {
"type": "object",
"required": [
"target_actor_id",
"expected_recovery_commit_id",
"expected_manager_commit_id",
"enabled"
],
"properties": {
"target_actor_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_actor"
},
"expected_recovery_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"expected_manager_commit_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_commit_id"
},
"enabled": {
"type": "boolean"
}
},
"additionalProperties": false
},
"recovery_intent": {
"type": "object",
"required": [
"begin_ref",
"candidate_digest",
"manager_revision",
"control_revision",
"device_generation_ref"
],
"properties": {
"begin_ref": {
"$ref": "./authority-commit-operations.schema.json#/$defs/committed_event_ref"
},
"candidate_digest": {
"$ref": "./account-operations.schema.json#/$defs/sha256_digest"
},
"manager_revision": {
"$ref": "./current-state.schema.json#/$defs/revision"
},
"control_revision": {
"$ref": "./current-state.schema.json#/$defs/revision"
},
"device_generation_ref": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"webvh_recovery_plan": {
"type": "object",
"description": "Recovery-begin planning carrier only. Complete signed inception-to-target native log, with available witness records; all accepted-prefix witnesses remain mandatory. Missing witness records for unaccepted successor entries are allowed at begin only. No evidence receipt or claim of published currentness. Validate signatures, pre-rotation, accepted-prefix extension and exact next_resolution independently. Finish requires complete published webvh_method_history_evidence. Canonical size at most 1 MiB.",
"required": [
"log_entries",
"witness_records"
],
"properties": {
"log_entries": {
"type": "array",
"minItems": 1,
"maxItems": 4096,
"items": {
"type": "object"
},
"description": "Exact ordered native did:webvh entry objects from inception through the containing recovery.begin payload.next_resolution.version_id. Apply registered native parameter/proof rules and reject gaps, duplicates, surplus entries after that exact target, or a first entry other than inception. The separately supplied next_resolution commitments must independently recompute from this target."
},
"witness_records": {
"type": "array",
"maxItems": 4096,
"items": {
"type": "object"
},
"description": "Available native witness records, unique by versionId. Accepted prefix must satisfy its witness policy; successor records may be absent until finish. Any supplied record must verify; no surplus or invalid records."
}
},
"additionalProperties": false,
"x-arkret-max-canonical-bytes": 1048576
},
"content_backup_recipient": {
"type": "object",
"required": [
"key_agreement_ref",
"hpke_suite",
"public_key_base64url"
],
"properties": {
"key_agreement_ref": {
"$ref": "./common-ids.schema.json#/$defs/did_url"
},
"hpke_suite": {
"const": "ak.hpke_x25519_aead_chacha20poly1305.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "realm-actor.schema.json#/$defs/content_backup_recipient/properties/hpke_suite",
"owner": "realm-actor.schema.json#/$defs/content_backup_recipient/properties/hpke_suite",
"values": [
"ak.hpke_x25519_aead_chacha20poly1305.v1"
]
}
},
"public_key_base64url": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}(?![\\s\\S])"
}
},
"additionalProperties": false,
"description": "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."
}
},
"$ref": "#/$defs/create_payload"
}查看 canonical 原件:spec/v1/artifacts/schemas/realm-actor.schema.json
Source
- registry row:
spec/v1/artifacts/registry/schema-registry.json - schema document:
spec/v1/artifacts/schemas/realm-actor.schema.json