sew-proto 0.11.6

Sew wire contracts: ids, addresses, errors, HTTP and gateway bodies, permissions, policies, audit.
Documentation
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "A call-scoped credential, minted with a voice or DM call join. It is valid only\nfor that call's own routes (the key routes, device enrolment, that join's leave, self state\nand stats, its own renewal) and one limited gateway socket; it ends with the join, on a swap,\non the person's sign-out and on deactivation.",
  "properties": {
    "device_scope": {
      "description": "Opaque and stable for the login lineage (32 hex): the engine keys its stored device on\nit.",
      "type": "string"
    },
    "expires_at": {
      "description": "When it stops working; renew at half its life (`POST /api/v1/me/voice/credential`).",
      "format": "date-time",
      "type": "string"
    },
    "join_id": {
      "description": "The join it is bound to: key-join with it (`POST /api/v1/me/voice/keys/join`).",
      "pattern": "^[0-9a-f]{32}$",
      "type": "string"
    },
    "token": {
      "description": "`sewcc_<selector>.<secret>`: a Bearer for the call's routes and the IDENTIFY token of\nthe call socket.",
      "type": "string"
    }
  },
  "required": [
    "token",
    "expires_at",
    "join_id",
    "device_scope"
  ],
  "title": "CallCredential",
  "type": "object"
}