ak.schema.identity_link.v1
ak.schema.identity_link.v1 · schemas/identity-link.schema.jsonClosed canonical plaintext retained only as exact historical MLS authentication material. This is not a current disclosure operation, lookup response, credential, membership grant, or a minimal_metadata_realm profile. The enclosing verified Event/Commit, MLS epoch and exact LeafNode remain mandatory authentication context.
必填标记属于当前 Schema 对象或分支。oneOf、anyOf、if / then / else 中的 required 不表示所有实例均必填。树状视图有递归深度限制;完整约束以 canonical 原件为准。
可视树中没有匹配项。清除条件或查看下面的完整 JSON。
必填 $ · object
Closed canonical plaintext retained only as exact historical MLS authentication material. This is not a current disclosure operation, lookup response, credential, membership grant, or a minimal_metadata_realm profile. The enclosing verified Event/Commit, MLS epoch and exact LeafNode remain mandatory authentication context.
此对象的 required:schema, status, pairwise_id, principal_id, device_id, realm_id, trust_domain, mls_leaf_index, mls_epoch, response_signing_verification_method, response_signing_algorithm, response_signing_public_key_base64url, response_signing_public_key_digest, effective_at, proof
const "ak.schema.identity_link.v1""ak.schema.identity_link.v1"string (enum)"active" "revoked"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/device_id^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}$string · $ref ./common-ids.schema.json#/$defs/trust_domain^ak:trust_domain:[a-z0-9][a-z0-9._\-:]{0,127}$string · $ref ./strand.schema.json#/properties/idPresent on the materialised object. MUST be absent from the create Event payload: zh/models/common-fields.md derives it from the create Event's own event_id (retyped), so a payload-supplied id would be a second, forgeable truth.
^ak:strand:[A-Za-z0-9_-]{44}$stringstring · $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}$integerstring · $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^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$const "Ed25519""Ed25519"string^[A-Za-z0-9_-]+$string · $ref ./event-envelope.schema.json#/$defs/digest^(sha256|blake3):[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$string · $ref ./policy.schema.json#/properties/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}$必填 proof · object · $ref #/$defs/proof
此对象的 required:verification_method, signature_algorithm, payload_digest, signature
string^did:[a-z0-9]+:[^\s#?]+#[A-Za-z0-9._:-]+$const "Ed25519""Ed25519"string · $ref ./event-envelope.schema.json#/$defs/digest^(sha256|blake3):[0-9a-f]{64}$string^[A-Za-z0-9_-]+$完整 JSON(格式化展示)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://arkret.org/v1/schemas/identity-link.schema.json",
"title": "Arkret Historical MLS IdentityLink",
"description": "Closed canonical plaintext retained only as exact historical MLS authentication material. This is not a current disclosure operation, lookup response, credential, membership grant, or a minimal_metadata_realm profile. The enclosing verified Event/Commit, MLS epoch and exact LeafNode remain mandatory authentication context.",
"type": "object",
"required": [
"schema",
"status",
"pairwise_id",
"principal_id",
"device_id",
"realm_id",
"trust_domain",
"mls_leaf_index",
"mls_epoch",
"response_signing_verification_method",
"response_signing_algorithm",
"response_signing_public_key_base64url",
"response_signing_public_key_digest",
"effective_at",
"proof"
],
"properties": {
"schema": {
"const": "ak.schema.identity_link.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "identity-link.schema.json#/properties/schema",
"owner": "identity-link.schema.json#/properties/schema",
"values": [
"ak.schema.identity_link.v1"
]
}
},
"status": {
"type": "string",
"enum": [
"active",
"revoked"
],
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "identity-link.schema.json#/properties/status",
"owner": "identity-link.schema.json#/properties/status",
"values": [
"active",
"revoked"
]
}
},
"pairwise_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"principal_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"device_id": {
"$ref": "./common-ids.schema.json#/$defs/device_id"
},
"realm_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_id"
},
"trust_domain": {
"$ref": "./common-ids.schema.json#/$defs/trust_domain"
},
"strand_id": {
"$ref": "./strand.schema.json#/properties/id"
},
"track_name": {
"type": "string",
"minLength": 1
},
"mls_group_id": {
"$ref": "./common-ids.schema.json#/$defs/mls_group_id"
},
"mls_leaf_index": {
"type": "integer",
"minimum": 0
},
"mls_epoch": {
"$ref": "./decimal-integers.schema.json#/$defs/uint64_decimal"
},
"response_signing_verification_method": {
"type": "string",
"pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
},
"response_signing_algorithm": {
"const": "Ed25519",
"x-arkret-value-ownership": {
"class": "external_literal",
"authority": "https://www.rfc-editor.org/rfc/rfc8032.html#section-5.1",
"owner": "identity-link.schema.json#/properties/response_signing_algorithm",
"values": [
"Ed25519"
]
}
},
"response_signing_public_key_base64url": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"x-arkret-member-role": "binary_encoding"
},
"response_signing_public_key_digest": {
"$ref": "./event-envelope.schema.json#/$defs/digest"
},
"effective_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"disclosure_policy_id": {
"$ref": "./policy.schema.json#/properties/id"
},
"proof": {
"$ref": "#/$defs/proof"
}
},
"additionalProperties": false,
"$defs": {
"proof": {
"type": "object",
"required": [
"verification_method",
"signature_algorithm",
"payload_digest",
"signature"
],
"properties": {
"verification_method": {
"type": "string",
"pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
},
"signature_algorithm": {
"const": "Ed25519",
"x-arkret-value-ownership": {
"class": "external_literal",
"authority": "https://www.rfc-editor.org/rfc/rfc8032.html#section-5.1",
"owner": "identity-link.schema.json#/$defs/proof/properties/signature_algorithm",
"values": [
"Ed25519"
]
}
},
"payload_digest": {
"$ref": "./event-envelope.schema.json#/$defs/digest"
},
"signature": {
"type": "string",
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]+$"
}
},
"additionalProperties": false
},
"proof_metadata": {
"type": "object",
"required": [
"verification_method",
"signature_algorithm"
],
"properties": {
"verification_method": {
"type": "string",
"pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
},
"signature_algorithm": {
"const": "Ed25519",
"x-arkret-value-ownership": {
"class": "external_literal",
"authority": "https://www.rfc-editor.org/rfc/rfc8032.html#section-5.1",
"owner": "identity-link.schema.json#/$defs/proof_metadata/properties/signature_algorithm",
"values": [
"Ed25519"
]
}
}
},
"additionalProperties": false
},
"proof_preimage": {
"type": "object",
"required": [
"schema",
"status",
"pairwise_id",
"principal_id",
"device_id",
"realm_id",
"trust_domain",
"mls_leaf_index",
"mls_epoch",
"response_signing_verification_method",
"response_signing_algorithm",
"response_signing_public_key_base64url",
"response_signing_public_key_digest",
"effective_at",
"proof"
],
"properties": {
"schema": {
"const": "ak.schema.identity_link.v1",
"x-arkret-value-ownership": {
"class": "namespaced_symbol",
"authority": "identity-link.schema.json#/$defs/proof_preimage/properties/schema",
"owner": "identity-link.schema.json#/$defs/proof_preimage/properties/schema",
"values": [
"ak.schema.identity_link.v1"
]
}
},
"status": {
"type": "string",
"enum": [
"active",
"revoked"
],
"x-arkret-value-ownership": {
"class": "owned_symbol",
"authority": "identity-link.schema.json#/$defs/proof_preimage/properties/status",
"owner": "identity-link.schema.json#/$defs/proof_preimage/properties/status",
"values": [
"active",
"revoked"
]
}
},
"pairwise_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"principal_id": {
"$ref": "./common-ids.schema.json#/$defs/did_core_id"
},
"device_id": {
"$ref": "./common-ids.schema.json#/$defs/device_id"
},
"realm_id": {
"$ref": "./common-ids.schema.json#/$defs/realm_id"
},
"trust_domain": {
"$ref": "./common-ids.schema.json#/$defs/trust_domain"
},
"strand_id": {
"$ref": "./strand.schema.json#/properties/id"
},
"track_name": {
"type": "string",
"minLength": 1
},
"mls_group_id": {
"$ref": "./common-ids.schema.json#/$defs/mls_group_id"
},
"mls_leaf_index": {
"type": "integer",
"minimum": 0
},
"mls_epoch": {
"$ref": "./decimal-integers.schema.json#/$defs/uint64_decimal"
},
"response_signing_verification_method": {
"type": "string",
"pattern": "^did:[a-z0-9]+:[^\\s#?]+#[A-Za-z0-9._:-]+$"
},
"response_signing_algorithm": {
"const": "Ed25519",
"x-arkret-value-ownership": {
"class": "external_literal",
"authority": "https://www.rfc-editor.org/rfc/rfc8032.html#section-5.1",
"owner": "identity-link.schema.json#/$defs/proof_preimage/properties/response_signing_algorithm",
"values": [
"Ed25519"
]
}
},
"response_signing_public_key_base64url": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"x-arkret-member-role": "binary_encoding"
},
"response_signing_public_key_digest": {
"$ref": "./event-envelope.schema.json#/$defs/digest"
},
"effective_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"expires_at": {
"$ref": "./time.schema.json#/$defs/timestamp"
},
"disclosure_policy_id": {
"$ref": "./policy.schema.json#/properties/id"
},
"proof": {
"$ref": "#/$defs/proof_metadata"
}
},
"additionalProperties": false,
"x-arkret-signature-domain": "ak.identity_link.v1",
"dependentRequired": {
"strand_id": [
"track_name"
]
}
}
},
"dependentRequired": {
"strand_id": [
"track_name"
]
}
}查看 canonical 原件:spec/v1/artifacts/schemas/identity-link.schema.json
Source
- registry row:
spec/v1/artifacts/registry/schema-registry.json - schema document:
spec/v1/artifacts/schemas/identity-link.schema.json