跳转到内容

ak.schema.media_operations.v1

← Schemas

Arkret Realtime Media Operation DTOs
ak.schema.media_operations.v1 · file: schemas/media-operations.schema.json

Closed request DTOs for realtime media service operations. ak.self.media.read.ice_config.v1 responses use ice-config-response.schema.json.

* $ · anyOf[1]
Closed request DTOs for realtime media service operations. ak.self.media.read.ice_config.v1 responses use ice-config-response.schema.json.
anyOf · anyOf[0] · object · $ref #/$defs/media_ice_config_request_body
* 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}$
* call_id · string · $ref #/$defs/call_id
pattern: ^ak:call:[A-Za-z0-9_-]{44}$
* actor_id · oneOf[2] · $ref ./common-ids.schema.json#/$defs/actor_id
Complete protocol identity for an Event author or Realm member: account carries the exact AccountId for every Station-hosted principal; service identifies a service acting as itself. The discriminator is validated against accepted registration and admission evidence; it never authorizes itself. Account and service are distinct, and no comparison may fall back to a bare principal_id. Agent and integration classification, provisioning, controller binding and credential authorization are independently verified facts, not identity variants. Account actors at different Stations MUST NOT share or inherit authority merely because their principal_id, DID controller or signing key matches, including membership, capability, RealmCommit-signing and recovery authority.
oneOf · oneOf[0] · object
* kind · const "account"
enum: "account"
* account_id · $ref #/$defs/account_id · $ref #/$defs/account_id
oneOf · oneOf[1] · object
* kind · const "service"
enum: "service"
* service_id · $ref #/$defs/did_core_id · $ref #/$defs/did_core_id
* device_id · string · $ref #/$defs/device_id
pattern: ^ak:device:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
* mode · string (enum)
enum: "p2p" "sfu" "turn"

Source