跳转到内容

ak.schema.realm_invite_link_token.v1

← Schema 目录

Client-only Realm Invite Link Token
ak.schema.realm_invite_link_token.v1 · schemas/realm-invite-link-token.schema.json

Client-only share credential. The fragment is parsed locally; only purpose-separated proofs cross a Station API. This object is never accepted as an HTTP request body.

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

必填 $ · object

Client-only share credential. The fragment is parsed locally; only purpose-separated proofs cross a Station API. This object is never accepted as an HTTP request body.

此对象的 required:schema, realm_id, realm_invite_link_id, secret_seed, authority_locator_hints

必填 schema · const "ak.schema.realm_invite_link_token.v1"
enum: "ak.schema.realm_invite_link_token.v1"
必填 realm_id · string · $ref ./common-ids.schema.json#/$defs/realm_id

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

pattern: ^ak:realm:[A-Za-z0-9_-]{44}$
必填 realm_invite_link_id · string · $ref ./realm-invite-link.schema.json#/$defs/realm_invite_link_id
pattern: ^ak:realm_invite_link:[A-Za-z0-9_-]{44}$
必填 secret_seed · string · $ref #/$defs/secret_seed

Client-only 32-byte seed; never a network request/response or shared Event field.

pattern: ^[A-Za-z0-9_-]{43}$
必填 authority_locator_hints · array<$ref ./realm-join-candidate.schema.json>
items · object · $ref ./realm-join-candidate.schema.json

A closed, untrusted locator core for obtaining a nonce-bound RealmAuthorityBundle. Realm scope and freshness belong to the enclosing carrier and current assertion. The core carries no proof, authority assertion, governance history, operation advertisement, preference, or trust level; only a verified genesis, continuous handoff chain, and valid nonce-bound current assertion can identify the current governance Station.

此对象的 required:service_kind, service_id, source

必填 service_kind · string (enum)
enum: "station"
必填 service_id · string · $ref ./common-ids.schema.json#/$defs/did_core_id

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

pattern: ^ak:did_core:[a-z0-9]+:[^\s/?#]+$
endpoint_url · string (uri) · format=uri
pattern: ^https://
必填 source · string (enum)
enum: "invite" "directory" "cache"
完整 JSON(格式化展示)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://arkret.org/v1/schemas/realm-invite-link-token.schema.json",
  "title": "Client-only Realm Invite Link Token",
  "type": "object",
  "required": [
    "schema",
    "realm_id",
    "realm_invite_link_id",
    "secret_seed",
    "authority_locator_hints"
  ],
  "properties": {
    "schema": {
      "const": "ak.schema.realm_invite_link_token.v1",
      "x-arkret-value-ownership": {
        "class": "namespaced_symbol",
        "authority": "realm-invite-link-token.schema.json#/properties/schema",
        "owner": "realm-invite-link-token.schema.json#/properties/schema",
        "values": [
          "ak.schema.realm_invite_link_token.v1"
        ]
      }
    },
    "realm_id": {
      "$ref": "./common-ids.schema.json#/$defs/realm_id"
    },
    "realm_invite_link_id": {
      "$ref": "./realm-invite-link.schema.json#/$defs/realm_invite_link_id"
    },
    "secret_seed": {
      "$ref": "#/$defs/secret_seed"
    },
    "authority_locator_hints": {
      "type": "array",
      "minItems": 1,
      "maxItems": 8,
      "items": {
        "$ref": "./realm-join-candidate.schema.json"
      }
    }
  },
  "additionalProperties": false,
  "description": "Client-only share credential. The fragment is parsed locally; only purpose-separated proofs cross a Station API. This object is never accepted as an HTTP request body.",
  "$defs": {
    "secret_seed": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{43}$",
      "description": "Client-only 32-byte seed; never a network request/response or shared Event field."
    }
  }
}

查看 canonical 原件:spec/v1/artifacts/schemas/realm-invite-link-token.schema.json

Source