ak.schema.authorization_operations.v1
ak.schema.authorization_operations.v1 · schemas/authorization-operations.schema.jsonClosed response DTOs for authorization query operations that need operation-specific list envelopes.
必填标记属于当前 Schema 对象或分支。oneOf、anyOf、if / then / else 中的 required 不表示所有实例均必填。树状视图有递归深度限制;完整约束以 canonical 原件为准。
可视树中没有匹配项。清除条件或查看下面的完整 JSON。
必填 $ · anyOf[1]
Closed response DTOs for authorization query operations that need operation-specific list envelopes.
anyOf · anyOf[0] · object · $ref #/$defs/authorization_invite_page
此分支的 required:invites, has_more
分支必填 invites · array<$ref ./invite.schema.json>
items · object · $ref ./invite.schema.json
此分支的 required:id, schema, realm_id, inviter_account_id, invitee_account_id, introduction_evidence_digest, state, expires_at, created_at
string^ak:invite:[A-Za-z0-9_-]{44}$const "ak.schema.invite.v1""ak.schema.invite.v1"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}$分支必填 inviter_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分支必填 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.
capability_grant_refs · array<string>
string^ak:grant:[A-Za-z0-9_-]{44}$string (enum)"pending" "accepted" "rejected" "revoked" "expired"$ref #/$defs/timestamp · $ref #/$defs/timestamp$ref #/$defs/timestamp · $ref #/$defs/timestampupdated_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/?#]+$$ref #/$defs/timestamp · $ref #/$defs/timestampanystring · $ref #/$defs/cursor^ak:cursor:[A-Za-z0-9_-]+$boolean完整 JSON(格式化展示)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://arkret.org/v1/schemas/authorization-operations.schema.json",
"title": "Arkret Authorization Operation DTOs",
"description": "Closed response DTOs for authorization query operations that need operation-specific list envelopes.",
"anyOf": [
{
"$ref": "#/$defs/authorization_invite_page"
}
],
"$defs": {
"cursor": {
"type": "string",
"pattern": "^ak:cursor:[A-Za-z0-9_-]+$"
},
"authorization_invite_page": {
"type": "object",
"required": [
"invites",
"has_more"
],
"properties": {
"invites": {
"type": "array",
"items": {
"$ref": "./invite.schema.json"
}
},
"next_cursor": {
"$ref": "#/$defs/cursor"
},
"has_more": {
"type": "boolean"
}
},
"additionalProperties": false,
"x-arkret-name-role": "page"
}
}
}查看 canonical 原件:spec/v1/artifacts/schemas/authorization-operations.schema.json
Source
- registry row:
spec/v1/artifacts/registry/schema-registry.json - schema document:
spec/v1/artifacts/schemas/authorization-operations.schema.json