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",
  "additionalProperties": false,
  "description": "Query of `POST /mgmt/v1/principals/avatar` (the body is the raw image).",
  "properties": {
    "external_id": {
      "description": "The principal.",
      "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"
    },
    "force": {
      "default": false,
      "description": "Replace a member-chosen avatar too.",
      "type": "boolean"
    }
  },
  "required": [
    "external_id"
  ],
  "title": "MgmtAvatarQuery",
  "type": "object"
}