跳转到内容

ak.schema.realm_link_operations.v1

← Schemas

Arkret Realm Link Read Operation DTOs
ak.schema.realm_link_operations.v1 · file: schemas/realm-link-operations.schema.json

Closed response DTOs for the self-surface cross-Realm link read operations (ak.self.realm_link.*). Writes use caller-signed ak.realm.link Events submitted through the authority Event submission surface. General link-graph cycles are legal; traversal uses a visited set and does not reject a write merely for forming a cycle. The durable link payload is the canonical ak.realm.link; see spec/v1/zh/models/realm-links.md.

* $ · anyOf[1]
Closed response DTOs for the self-surface cross-Realm link read operations (ak.self.realm_link.*). Writes use caller-signed ak.realm.link Events submitted through the authority Event submission surface. General link-graph cycles are legal; traversal uses a visited set and does not reject a write merely for forming a cycle. The durable link payload is the canonical ak.realm.link; see spec/v1/zh/models/realm-links.md.
anyOf · anyOf[0] · object · $ref #/$defs/realm_link_list
* 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}$
* direction · string (enum)
enum: "outbound" "inbound" "both"
* links · array<$ref #/$defs/realm_link_entry>
items · object · $ref #/$defs/realm_link_entry
* 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}$
* target_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}$
* link_kind · string · $ref #/$defs/link_kind
Core value or machine-registered extension kind using x.<reverse-dns>.<name>; unregistered extension values fail closed.
anyOf · anyOf[0] · string (enum)
enum: "governed_by" "discoverable_from" "join_gate_from" "confidential_extension_of" "mirror_of" "split_from" "replaces"
anyOf · anyOf[1] · ?
pattern: ^x\.[a-z0-9](?:[a-z0-9.-]{0,61}[a-z0-9])?\.[a-z][a-z0-9_]{0,63}$
* status · string (enum) · $ref #/$defs/link_status
enum: "active" "rejected" "tombstoned"
label · string (arkret-single-line-display-text) · format=arkret-single-line-display-text · $ref string-profiles.schema.json#/$defs/display_text_256
NFC multilingual single-line display text; mixed scripts, emoji, and symbols are allowed.
pattern: ^[^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*[^\s\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF][^\u0000-\u001F\u007F-\u009F\u202A-\u202E\u2066-\u2069\uFEFF]*$
commitment · string
Optional opaque commitment / proof reference linking this edge to an external attestation.
* created_at · string (date-time) · format=date-time · $ref #/$defs/timestamp
Canonical 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.
pattern: ^[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$
* updated_at · string (date-time) · format=date-time · $ref #/$defs/timestamp
Canonical 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.
pattern: ^[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$

Source