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": "One transcript turn as an App's server reads it.",
  "properties": {
    "end_ms": {
      "description": "End, ms from the recording start.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "message_id": {
      "description": "The turn's message (a reply in the record message's thread).",
      "pattern": "^[1-9][0-9]{0,18}$",
      "type": "string"
    },
    "speaker_external_id": {
      "description": "The speaker's external id.",
      "maxLength": 128,
      "pattern": "^(k2:(principal|workspace|connect):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|k2:owner|k2:server|local:[a-z0-9_-]{2,64}|link:[1-9][0-9]{0,18}:[A-Z2-7]{16}|app:[a-z0-9][a-z0-9._-]{0,63}|erased:[1-9][0-9]{0,18})$",
      "type": "string"
    },
    "start_ms": {
      "description": "Start, ms from the recording start.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "text": {
      "description": "What was said, as posted in the turn message (markdown-escaped).",
      "type": "string"
    }
  },
  "required": [
    "message_id",
    "speaker_external_id",
    "start_ms",
    "end_ms",
    "text"
  ],
  "title": "MgmtTranscriptTurn",
  "type": "object"
}