Skip to main content

OPENAPI

Constant OPENAPI 

Source
pub const OPENAPI: &str = "{\n  \"openapi\": \"3.1.1\",\n  \"info\": {\n    \"title\": \"vcon-server\",\n    \"version\": \"0.4.11\",\n    \"description\": \"Stores vCons encrypted at rest and returns them to authorized readers. Every route needs a bearer key, but for the console\'s files and the two session routes, which need a session\'s cookie; errors are RFC 9457 problem documents.\",\n    \"license\": {\n      \"name\": \"MIT OR Apache-2.0\",\n      \"identifier\": \"MIT OR Apache-2.0\"\n    }\n  },\n  \"servers\": [\n    {\n      \"url\": \"https://vcon.example.com\",\n      \"description\": \"Your server\"\n    }\n  ],\n  \"externalDocs\": {\n    \"url\": \"https://vcon-server.com/docs/http-api/\"\n  },\n  \"security\": [\n    {\n      \"bearer\": []\n    }\n  ],\n  \"paths\": {\n    \"/vcons\": {\n      \"post\": {\n        \"operationId\": \"storeVcon\",\n        \"summary\": \"Store a new vCon\",\n        \"description\": \"Needs a key with the write scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The same bytes are already current\",\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"201\": {\n            \"description\": \"Stored\",\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              },\n              \"Location\": {\n                \"description\": \"/vcons/{uuid}\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"409\": {\n            \"description\": \"Conflict: conflict, immutable, not-deleted, name-taken, holds-vcons or under-hold\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"415\": {\n            \"description\": \"The media type is not taken: unsupported-media-type\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"description\": \"A vCon: unsigned JSON, signed (JWS) or encrypted (JWE), plain or gzipped\",\n          \"content\": {\n            \"application/vcon\": {\n              \"schema\": {\n                \"type\": \"string\",\n                \"format\": \"binary\"\n              }\n            },\n            \"application/vcon+gzip\": {\n              \"schema\": {\n                \"type\": \"string\",\n                \"format\": \"binary\"\n              }\n            },\n            \"application/json\": {\n              \"schema\": {\n                \"type\": \"string\",\n                \"format\": \"binary\"\n              }\n            }\n          }\n        }\n      },\n      \"get\": {\n        \"operationId\": \"listVcons\",\n        \"summary\": \"List the tenant\'s live vCons, newest stored first\",\n        \"description\": \"Needs a key with the read scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"A page of vCons\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Listing\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/limit\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/cursor\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/since\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/until\"\n          }\n        ]\n      }\n    },\n    \"/vcons/{uuid}\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/uuid\"\n        }\n      ],\n      \"get\": {\n        \"operationId\": \"readVcon\",\n        \"summary\": \"Read the current version, as stored, or its masked view\",\n        \"description\": \"Needs a key with the read scope. With reveal, the answer is the same and the audit log records the read as a reveal of that part. With view=masked, the answer is the vCon\'s masked view (JSON, no content), recorded as read_masked; view and reveal are not taken together.\",\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/reveal\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/view\"\n          }\n        ],\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The body as stored; with view=masked, the masked view\",\n            \"content\": {\n              \"application/vcon\": {\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"format\": \"binary\"\n                }\n              },\n              \"application/vcon+gzip\": {\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"format\": \"binary\"\n                }\n              },\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/MaskedVcon\"\n                }\n              }\n            },\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      },\n      \"put\": {\n        \"operationId\": \"replaceVcon\",\n        \"summary\": \"Replace the current version named by If-Match\",\n        \"description\": \"Needs a key with the write scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Replaced\",\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"409\": {\n            \"description\": \"Conflict: conflict, immutable, not-deleted, name-taken, holds-vcons or under-hold\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"412\": {\n            \"description\": \"If-Match does not name the current version: precondition-failed\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"415\": {\n            \"description\": \"The media type is not taken: unsupported-media-type\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"428\": {\n            \"description\": \"If-Match is missing: precondition-required\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/ifMatch\"\n          }\n        ],\n        \"requestBody\": {\n          \"required\": true,\n          \"description\": \"A vCon: unsigned JSON, signed (JWS) or encrypted (JWE), plain or gzipped\",\n          \"content\": {\n            \"application/vcon\": {\n              \"schema\": {\n                \"type\": \"string\",\n                \"format\": \"binary\"\n              }\n            },\n            \"application/vcon+gzip\": {\n              \"schema\": {\n                \"type\": \"string\",\n                \"format\": \"binary\"\n              }\n            },\n            \"application/json\": {\n              \"schema\": {\n                \"type\": \"string\",\n                \"format\": \"binary\"\n              }\n            }\n          }\n        }\n      },\n      \"delete\": {\n        \"operationId\": \"deleteVcon\",\n        \"summary\": \"Delete a vCon\",\n        \"description\": \"Needs a key with the delete scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"Deleted, also when already deleted or purged\"\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/health\": {\n      \"get\": {\n        \"operationId\": \"health\",\n        \"summary\": \"Whether the server answers\",\n        \"description\": \"Needs any valid key.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Healthy\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Health\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"The request carries both a key and a session cookie: key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"This listener does not serve this kind of key: wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/openapi.json\": {\n      \"get\": {\n        \"operationId\": \"openapi\",\n        \"summary\": \"This description\",\n        \"description\": \"Needs any valid key.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The OpenAPI description\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"object\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"The request carries both a key and a session cookie: key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"This listener does not serve this kind of key: wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/mcp\": {\n      \"post\": {\n        \"operationId\": \"mcp\",\n        \"summary\": \"The MCP server (Model Context Protocol, streamable HTTP)\",\n        \"description\": \"Takes one JSON-RPC message per request and answers it in one JSON body, with no session and no event stream; GET and DELETE answer 405. Needs any valid key; each tool needs the scope its area and hints give it. Every request is counted in the key\'s log as mcp. A request with an Origin header is refused.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"type\": \"object\",\n                \"description\": \"One JSON-RPC 2.0 message\"\n              }\n            }\n          }\n        },\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The JSON-RPC answer; a refused tool call is a JSON-RPC error whose data is the problem document\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"object\",\n                  \"description\": \"One JSON-RPC 2.0 answer\"\n                }\n              }\n            }\n          },\n          \"202\": {\n            \"description\": \"A notification, taken\"\n          },\n          \"400\": {\n            \"description\": \"Not one JSON-RPC message, protocol headers that do not match it, or a key beside a session cookie (key-and-session)\"\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The request carries an Origin header, or this listener does not serve this kind of key (wrong-listener)\"\n          },\n          \"406\": {\n            \"description\": \"The Accept header does not take application/json and text/event-stream\"\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"415\": {\n            \"description\": \"The body is not application/json\"\n          },\n          \"500\": {\n            \"description\": \"The MCP server failed\"\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable or audit-failed\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/key\": {\n      \"get\": {\n        \"operationId\": \"keyInfo\",\n        \"summary\": \"What the calling key may do\",\n        \"description\": \"Needs any valid key.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The key\'s id, tenant (null for an operator key) and scopes\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/KeyInfoSelf\"\n                }\n              }\n            },\n            \"headers\": {\n              \"Cache-Control\": {\n                \"description\": \"no-store\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"The request carries both a key and a session cookie: key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"This listener does not serve this kind of key: wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console\": {\n      \"get\": {\n        \"operationId\": \"consoleRedirect\",\n        \"summary\": \"Sends the browser on to /console/\",\n        \"security\": [],\n        \"responses\": {\n          \"308\": {\n            \"description\": \"Location: /console/\",\n            \"headers\": {\n              \"Location\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/\": {\n      \"get\": {\n        \"operationId\": \"consolePage\",\n        \"summary\": \"The console\'s page; it asks for a key and holds it in page memory\",\n        \"security\": [],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The page\",\n            \"content\": {\n              \"text/html\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/console.js\": {\n      \"get\": {\n        \"operationId\": \"consoleScript\",\n        \"summary\": \"The console\'s script\",\n        \"security\": [],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The script\",\n            \"content\": {\n              \"text/javascript\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/console.css\": {\n      \"get\": {\n        \"operationId\": \"consoleStyle\",\n        \"summary\": \"The console\'s style sheet\",\n        \"security\": [],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The style sheet\",\n            \"content\": {\n              \"text/css\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/format.js\": {\n      \"get\": {\n        \"operationId\": \"consoleFormat\",\n        \"summary\": \"The console\'s formatting script\",\n        \"security\": [],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The script\",\n            \"content\": {\n              \"text/javascript\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/player.html\": {\n      \"get\": {\n        \"operationId\": \"consolePlayerPage\",\n        \"summary\": \"The console\'s recording player; it plays what the console\'s page hands it and makes no request\",\n        \"security\": [],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The page\",\n            \"content\": {\n              \"text/html\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/player.js\": {\n      \"get\": {\n        \"operationId\": \"consolePlayerScript\",\n        \"summary\": \"The recording player\'s script\",\n        \"security\": [],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The script\",\n            \"content\": {\n              \"text/javascript\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/csp-report\": {\n      \"post\": {\n        \"operationId\": \"consoleCspReport\",\n        \"summary\": \"Takes a browser\'s report that a console page broke its content-security policy; the report is counted in the admin log (action csp_report) and not stored\",\n        \"security\": [],\n        \"requestBody\": {\n          \"required\": true,\n          \"description\": \"At most 16384 bytes\",\n          \"content\": {\n            \"application/csp-report\": {\n              \"schema\": {\n                \"type\": \"object\"\n              }\n            },\n            \"application/reports+json\": {\n              \"schema\": {\n                \"type\": \"array\",\n                \"items\": {\n                  \"type\": \"object\"\n                }\n              }\n            }\n          }\n        },\n        \"responses\": {\n          \"204\": {\n            \"description\": \"The report was counted\"\n          },\n          \"400\": {\n            \"description\": \"The body is not JSON of the shape its media type names: bad-body\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over 16384 bytes: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"415\": {\n            \"description\": \"The media type is not a report\'s: unsupported-media-type\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"429\": {\n            \"description\": \"The listener has taken its number of reports for this minute, or for this source address (limits.csp_reports, limits.csp_reports_per_address); no body\",\n            \"headers\": {\n              \"Retry-After\": {\n                \"description\": \"Seconds until the minute ends\",\n                \"schema\": {\n                  \"type\": \"integer\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/console/{other}\": {\n      \"parameters\": [\n        {\n          \"name\": \"other\",\n          \"in\": \"path\",\n          \"required\": true,\n          \"description\": \"Any other path under /console/\",\n          \"schema\": {\n            \"type\": \"string\"\n          }\n        }\n      ],\n      \"get\": {\n        \"operationId\": \"consoleNoneGet\",\n        \"summary\": \"No such console file\",\n        \"security\": [],\n        \"responses\": {\n          \"404\": {\n            \"description\": \"No such file\"\n          }\n        }\n      },\n      \"put\": {\n        \"operationId\": \"consoleNonePut\",\n        \"summary\": \"No such console file\",\n        \"security\": [],\n        \"responses\": {\n          \"404\": {\n            \"description\": \"No such file\"\n          }\n        }\n      },\n      \"post\": {\n        \"operationId\": \"consoleNonePost\",\n        \"summary\": \"No such console file\",\n        \"security\": [],\n        \"responses\": {\n          \"404\": {\n            \"description\": \"No such file\"\n          }\n        }\n      },\n      \"delete\": {\n        \"operationId\": \"consoleNoneDelete\",\n        \"summary\": \"No such console file\",\n        \"security\": [],\n        \"responses\": {\n          \"404\": {\n            \"description\": \"No such file\"\n          }\n        }\n      },\n      \"patch\": {\n        \"operationId\": \"consoleNonePatch\",\n        \"summary\": \"No such console file\",\n        \"security\": [],\n        \"responses\": {\n          \"404\": {\n            \"description\": \"No such file\"\n          }\n        }\n      }\n    },\n    \"/audit\": {\n      \"get\": {\n        \"operationId\": \"readTenantAudit\",\n        \"summary\": \"A page of the key\'s tenant audit log\",\n        \"description\": \"Needs a key with the audit scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Records as JSON lines, the lines audit export writes\",\n            \"content\": {\n              \"application/jsonl\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/after\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/auditLimit\"\n          }\n        ]\n      }\n    },\n    \"/admin/audit\": {\n      \"get\": {\n        \"operationId\": \"readAdminAudit\",\n        \"summary\": \"A page of the admin audit log\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Records as JSON lines, the lines audit export --admin writes\",\n            \"content\": {\n              \"application/jsonl\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/after\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/auditLimit\"\n          }\n        ]\n      }\n    },\n    \"/legal/vcons/{uuid}\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/uuid\"\n        }\n      ],\n      \"get\": {\n        \"operationId\": \"legalRead\",\n        \"summary\": \"The current version, or the latest kept one of a deleted uuid\",\n        \"description\": \"Needs a key with the legal scope. With reveal, the answer is the same and the audit log records the read as a reveal of that part. With view=masked, the answer is the version\'s masked view and the audit log records the read as legal_read_masked.\",\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/reveal\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/view\"\n          }\n        ],\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The body as stored; with view=masked, the masked view\",\n            \"content\": {\n              \"application/vcon\": {\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"format\": \"binary\"\n                }\n              },\n              \"application/vcon+gzip\": {\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"format\": \"binary\"\n                }\n              },\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/MaskedVcon\"\n                }\n              }\n            },\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              },\n              \"Vcon-State\": {\n                \"description\": \"live or deleted\",\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"enum\": [\n                    \"live\",\n                    \"deleted\"\n                  ]\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/legal/vcons/{uuid}/versions\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/uuid\"\n        }\n      ],\n      \"get\": {\n        \"operationId\": \"legalVersions\",\n        \"summary\": \"Every kept version, oldest first\",\n        \"description\": \"Needs a key with the legal scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The kept versions\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/VersionInfo\"\n                  }\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/legal/vcons/{uuid}/versions/{version}\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/uuid\"\n        },\n        {\n          \"$ref\": \"#/components/parameters/version\"\n        }\n      ],\n      \"get\": {\n        \"operationId\": \"legalVersion\",\n        \"summary\": \"A kept version, as stored\",\n        \"description\": \"Needs a key with the legal scope. With reveal, the answer is the same and the audit log records the read as a reveal of that part. With view=masked, the answer is the version\'s masked view and the audit log records the read as legal_read_masked.\",\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/reveal\"\n          },\n          {\n            \"$ref\": \"#/components/parameters/view\"\n          }\n        ],\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The body as stored; with view=masked, the masked view\",\n            \"content\": {\n              \"application/vcon\": {\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"format\": \"binary\"\n                }\n              },\n              \"application/vcon+gzip\": {\n                \"schema\": {\n                  \"type\": \"string\",\n                  \"format\": \"binary\"\n                }\n              },\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/MaskedVcon\"\n                }\n              }\n            },\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/legal/vcons/{uuid}/restore\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/uuid\"\n        }\n      ],\n      \"post\": {\n        \"operationId\": \"legalRestore\",\n        \"summary\": \"Make a deleted vCon live again\",\n        \"description\": \"Needs a key with the legal scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Restored\",\n            \"headers\": {\n              \"ETag\": {\n                \"description\": \"The version id as a strong entity tag\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"409\": {\n            \"description\": \"Conflict: conflict, immutable, not-deleted, name-taken, holds-vcons or under-hold\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/legal/vcons/{uuid}/hold\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/uuid\"\n        }\n      ],\n      \"put\": {\n        \"operationId\": \"holdOn\",\n        \"summary\": \"Put the uuid under a legal hold\",\n        \"description\": \"Needs a key with the legal scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"Held\"\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      },\n      \"delete\": {\n        \"operationId\": \"holdOff\",\n        \"summary\": \"Release the legal hold\",\n        \"description\": \"Needs a key with the legal scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"Released\"\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"410\": {\n            \"description\": \"Deleted or purged: gone\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/admin/tenants\": {\n      \"post\": {\n        \"operationId\": \"createTenant\",\n        \"summary\": \"Make a tenant\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"201\": {\n            \"description\": \"Made\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/TenantId\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"409\": {\n            \"description\": \"Conflict: conflict, immutable, not-deleted, name-taken, holds-vcons or under-hold\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"$ref\": \"#/components/schemas/NewTenant\"\n              }\n            }\n          }\n        }\n      },\n      \"get\": {\n        \"operationId\": \"listTenants\",\n        \"summary\": \"Every tenant, by name\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The tenants\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/Tenant\"\n                  }\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/admin/tenants/{id}\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/tenantId\"\n        }\n      ],\n      \"patch\": {\n        \"operationId\": \"setRetention\",\n        \"summary\": \"Set a tenant\'s retention period\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Set\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/TenantRetention\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"$ref\": \"#/components/schemas/NewRetention\"\n              }\n            }\n          }\n        }\n      },\n      \"delete\": {\n        \"operationId\": \"removeTenant\",\n        \"summary\": \"Remove a tenant\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"Removed\"\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"409\": {\n            \"description\": \"Conflict: conflict, immutable, not-deleted, name-taken, holds-vcons or under-hold\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"parameters\": [\n          {\n            \"$ref\": \"#/components/parameters/force\"\n          }\n        ]\n      }\n    },\n    \"/admin/tenants/{id}/metadata\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/tenantId\"\n        }\n      ],\n      \"put\": {\n        \"operationId\": \"setMetadata\",\n        \"summary\": \"Set which clear columns a tenant\'s Parquet exports carry\",\n        \"description\": \"Needs a key with the admin scope. `none` writes only the version id, the store time and the sealed body; `counts` adds the form, gzip, size, the vCon\'s times and its party and dialog counts; `full` adds the uuid, the subject and the parties, which are personal data.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Set\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/TenantMetadata\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"$ref\": \"#/components/schemas/NewMetadata\"\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/admin/tenants/{id}/keys\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/tenantId\"\n        }\n      ],\n      \"post\": {\n        \"operationId\": \"createKey\",\n        \"summary\": \"Make a key for the tenant; its token is shown this once\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"201\": {\n            \"description\": \"Made\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/NewKey\"\n                }\n              }\n            },\n            \"headers\": {\n              \"Cache-Control\": {\n                \"description\": \"no-store\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"$ref\": \"#/components/schemas/NewKeyRequest\"\n              }\n            }\n          }\n        }\n      },\n      \"get\": {\n        \"operationId\": \"listKeys\",\n        \"summary\": \"The tenant\'s keys, oldest first; never a token\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The keys\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/KeyInfo\"\n                  }\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/admin/keys/{id}\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/keyId\"\n        }\n      ],\n      \"delete\": {\n        \"operationId\": \"revokeKey\",\n        \"summary\": \"Revoke a key\",\n        \"description\": \"Needs a key with the admin scope.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"Revoked, also when already revoked\"\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/tenant/settings\": {\n      \"get\": {\n        \"operationId\": \"readSettings\",\n        \"summary\": \"Every setting of the key\'s tenant, each with what was set or its default\",\n        \"description\": \"Needs a key of a tenant with the tenant_admin scope; it works in that key\'s tenant.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The settings\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Settings\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      },\n      \"put\": {\n        \"operationId\": \"setSettings\",\n        \"summary\": \"Change the settings the body names; null puts a name back to its default\",\n        \"description\": \"Needs a key of a tenant with the tenant_admin scope; it works in that key\'s tenant.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Every setting after the change\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Settings\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"$ref\": \"#/components/schemas/SettingsChange\"\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/tenant/keys\": {\n      \"post\": {\n        \"operationId\": \"createTenantKey\",\n        \"summary\": \"Make a key for the caller\'s tenant, within the tenant\'s role cap; its token is shown this once\",\n        \"description\": \"Needs a key of a tenant with the tenant_admin scope; it works in that key\'s tenant.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"201\": {\n            \"description\": \"Made\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/NewKey\"\n                }\n              }\n            },\n            \"headers\": {\n              \"Cache-Control\": {\n                \"description\": \"no-store\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"422\": {\n            \"description\": \"The body is refused: invalid-body, bad-scopes, bad-expiry, bad-setting, path-uuid-mismatch or a format refusal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        },\n        \"requestBody\": {\n          \"required\": true,\n          \"content\": {\n            \"application/json\": {\n              \"schema\": {\n                \"$ref\": \"#/components/schemas/NewTenantKeyRequest\"\n              }\n            }\n          }\n        }\n      },\n      \"get\": {\n        \"operationId\": \"listTenantKeys\",\n        \"summary\": \"The keys of the caller\'s tenant, oldest first; never a token\",\n        \"description\": \"Needs a key of a tenant with the tenant_admin scope; it works in that key\'s tenant.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The keys\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/KeyInfo\"\n                  }\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/tenant/keys/{id}\": {\n      \"parameters\": [\n        {\n          \"$ref\": \"#/components/parameters/keyId\"\n        }\n      ],\n      \"delete\": {\n        \"operationId\": \"revokeTenantKey\",\n        \"summary\": \"Revoke a key of the caller\'s tenant\",\n        \"description\": \"Needs a key of a tenant with the tenant_admin scope; it works in that key\'s tenant.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"Revoked, also when already revoked\"\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/tenant/memberships\": {\n      \"get\": {\n        \"operationId\": \"listMemberships\",\n        \"summary\": \"The memberships in the caller\'s tenant, oldest first\",\n        \"description\": \"Needs a key of a tenant with the tenant_admin scope; it works in that key\'s tenant.\",\n        \"security\": [\n          {\n            \"bearer\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The memberships\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/Member\"\n                  }\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"A bad request: bad-body, bad-path-uuid, bad-path-version, bad-query or key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No valid bearer key: unauthorized, or key-expired for a key past its expiry\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The key does not allow this, or this listener does not serve this kind of key: forbidden, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"404\": {\n            \"description\": \"Not found: not-found, unknown-tenant or unknown-key\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"408\": {\n            \"description\": \"The body did not arrive in time: timeout\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"413\": {\n            \"description\": \"The body is over the size limit: too-large\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed or a version is damaged: damaged or internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/session\": {\n      \"get\": {\n        \"operationId\": \"readSession\",\n        \"summary\": \"The session of the request\'s cookie, with its CSRF token\",\n        \"description\": \"Needs the session cookie and the header Sec-Fetch-Site: same-origin, which a browser sets on a request a page makes to its own origin; an Origin header, when there is one, must equal the listener\'s public origin. It takes no key and no CSRF token: the page asks here for the token every other request by session carries in X-CSRF-Token. The request counts as seen and moves the idle limit.\",\n        \"security\": [\n          {\n            \"session\": []\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"The session\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Session\"\n                }\n              }\n            },\n            \"headers\": {\n              \"Cache-Control\": {\n                \"description\": \"no-store\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"The request carries both a key and a session cookie: key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No session cookie, or one that names no live session: no-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            },\n            \"headers\": {\n              \"WWW-Authenticate\": {\n                \"description\": \"Session\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              },\n              \"Set-Cookie\": {\n                \"description\": \"Removes the session cookie, when the request\'s cookie names no live session: __Host-vcs_session=; Path=/; Secure; HttpOnly; SameSite=Strict; Max-Age=0\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The request is not a same-origin fetch from this listener\'s public origin, the listener has no public origin, or it does not serve this kind of session: bad-origin, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed: internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/session/logout\": {\n      \"post\": {\n        \"operationId\": \"endSession\",\n        \"summary\": \"Ends the session of the request\'s cookie\",\n        \"description\": \"Needs the session cookie, an Origin header equal to the listener\'s public origin and the session\'s CSRF token in X-CSRF-Token. It takes no key. The body is not read.\",\n        \"security\": [\n          {\n            \"session\": []\n          }\n        ],\n        \"parameters\": [\n          {\n            \"name\": \"X-CSRF-Token\",\n            \"in\": \"header\",\n            \"required\": true,\n            \"description\": \"The csrf_token GET /session answered\",\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          },\n          {\n            \"name\": \"Origin\",\n            \"in\": \"header\",\n            \"required\": true,\n            \"description\": \"The listener\'s public origin, as a browser sets it\",\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"204\": {\n            \"description\": \"The session has ended\",\n            \"headers\": {\n              \"Set-Cookie\": {\n                \"description\": \"Removes the session cookie: __Host-vcs_session=; Path=/; Secure; HttpOnly; SameSite=Strict; Max-Age=0\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"400\": {\n            \"description\": \"The request carries both a key and a session cookie: key-and-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"401\": {\n            \"description\": \"No session cookie, or one that names no live session: no-session\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            },\n            \"headers\": {\n              \"WWW-Authenticate\": {\n                \"description\": \"Session\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              },\n              \"Set-Cookie\": {\n                \"description\": \"Removes the session cookie, when the request\'s cookie names no live session: __Host-vcs_session=; Path=/; Secure; HttpOnly; SameSite=Strict; Max-Age=0\",\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"403\": {\n            \"description\": \"The request does not come from this listener\'s public origin, the listener has no public origin, the CSRF token is missing or wrong, or the listener does not serve this kind of session: bad-origin, bad-csrf, wrong-listener\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"500\": {\n            \"description\": \"The server failed: internal\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          },\n          \"503\": {\n            \"description\": \"The service cannot answer now: unavailable, audit-failed, limit-reached or master-key-limit\",\n            \"content\": {\n              \"application/problem+json\": {\n                \"schema\": {\n                  \"$ref\": \"#/components/schemas/Problem\"\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  },\n  \"components\": {\n    \"securitySchemes\": {\n      \"bearer\": {\n        \"type\": \"http\",\n        \"scheme\": \"bearer\",\n        \"description\": \"An API key token: vcs_<16 hex digits>_<43 base64url characters>\"\n      },\n      \"session\": {\n        \"type\": \"apiKey\",\n        \"in\": \"cookie\",\n        \"name\": \"__Host-vcs_session\",\n        \"description\": \"The cookie of a session: 43 base64url characters. A request by session carries no bearer key; one that carries both is refused with key-and-session.\"\n      }\n    },\n    \"parameters\": {\n      \"uuid\": {\n        \"name\": \"uuid\",\n        \"in\": \"path\",\n        \"required\": true,\n        \"description\": \"The vCon\'s uuid, RFC 9562 text form\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"format\": \"uuid\"\n        }\n      },\n      \"version\": {\n        \"name\": \"version\",\n        \"in\": \"path\",\n        \"required\": true,\n        \"description\": \"A version id\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"pattern\": \"^[0-9a-f]{32}$\"\n        }\n      },\n      \"tenantId\": {\n        \"name\": \"id\",\n        \"in\": \"path\",\n        \"required\": true,\n        \"description\": \"A tenant id\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"pattern\": \"^[0-9a-f]{32}$\"\n        }\n      },\n      \"keyId\": {\n        \"name\": \"id\",\n        \"in\": \"path\",\n        \"required\": true,\n        \"description\": \"A key id\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"pattern\": \"^[0-9a-f]{16}$\"\n        }\n      },\n      \"ifMatch\": {\n        \"name\": \"If-Match\",\n        \"in\": \"header\",\n        \"required\": true,\n        \"description\": \"The current version\'s ETag\",\n        \"schema\": {\n          \"type\": \"string\"\n        }\n      },\n      \"limit\": {\n        \"name\": \"limit\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"vCons a page, 1 to 1000\",\n        \"schema\": {\n          \"type\": \"integer\",\n          \"minimum\": 1,\n          \"maximum\": 1000,\n          \"default\": 100\n        }\n      },\n      \"cursor\": {\n        \"name\": \"cursor\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"The previous page\'s next, unchanged\",\n        \"schema\": {\n          \"type\": \"string\"\n        }\n      },\n      \"since\": {\n        \"name\": \"since\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"First stored at or after, RFC 3339\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"format\": \"date-time\"\n        }\n      },\n      \"until\": {\n        \"name\": \"until\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"First stored before, RFC 3339\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"format\": \"date-time\"\n        }\n      },\n      \"after\": {\n        \"name\": \"after\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"The page starts after this seq\",\n        \"schema\": {\n          \"type\": \"integer\",\n          \"minimum\": 0,\n          \"default\": 0\n        }\n      },\n      \"auditLimit\": {\n        \"name\": \"limit\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"Records a page, 1 to 10000\",\n        \"schema\": {\n          \"type\": \"integer\",\n          \"minimum\": 1,\n          \"maximum\": 10000,\n          \"default\": 1000\n        }\n      },\n      \"force\": {\n        \"name\": \"force\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"true also removes a tenant that holds vCons; no query overrides a legal hold\",\n        \"schema\": {\n          \"type\": \"boolean\",\n          \"default\": false\n        }\n      },\n      \"reveal\": {\n        \"name\": \"reveal\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"Marks the read as a reveal of one part of the vCon, for a client that shows a vCon masked. The answer is the whole vCon, as without it; the audit log records the action reveal_<part>, or legal_reveal_<part> on a legal route, in place of read or legal_read. The part audio is for a client about to play one dialog\'s recording. It must be the only parameter, given once.\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"parties\",\n            \"subject\",\n            \"dialog\",\n            \"analysis\",\n            \"links\",\n            \"all\",\n            \"audio\"\n          ]\n        }\n      },\n      \"view\": {\n        \"name\": \"view\",\n        \"in\": \"query\",\n        \"required\": false,\n        \"description\": \"masked answers the vCon\'s masked view in place of the vCon: its form, counts and parties masked, with no name, subject, full number, address or content. The audit log records the action read_masked in place of read, and legal_read_masked in place of legal_read on the legal routes. It must be the only parameter, given once.\",\n        \"schema\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"masked\"\n          ]\n        }\n      }\n    },\n    \"schemas\": {\n      \"MaskedVcon\": {\n        \"type\": \"object\",\n        \"description\": \"A vCon\'s masked view (GET /vcons/{uuid}?view=masked, and view=masked on the two legal reads)\",\n        \"required\": [\n          \"form\",\n          \"created\",\n          \"subject\",\n          \"parties\",\n          \"dialogs\",\n          \"dialog\",\n          \"seconds\",\n          \"attachments\",\n          \"analyses\",\n          \"links\",\n          \"signature\",\n          \"recordings\"\n        ],\n        \"properties\": {\n          \"form\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"unsigned\",\n              \"signed (JWS)\",\n              \"encrypted (JWE)\",\n              \"not JSON\",\n              \"not a JSON object\"\n            ]\n          },\n          \"created\": {\n            \"type\": \"string\",\n            \"description\": \"created_at as YYYY-MM-DD HH:MM:SS UTC+00:00; empty when it is not an RFC 3339 date-time\"\n          },\n          \"subject\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"present, hidden\",\n              \"none\",\n              \"not readable\"\n            ]\n          },\n          \"parties\": {\n            \"type\": \"array\",\n            \"description\": \"One line for each party: the last four digits of a number, the domain of an address, and whether it has a name\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"dialogs\": {\n            \"type\": \"integer\",\n            \"minimum\": 0\n          },\n          \"dialog\": {\n            \"type\": \"array\",\n            \"description\": \"One line for each dialog: type, start, length, parties, and whether it has content\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"seconds\": {\n            \"type\": \"number\",\n            \"description\": \"The sum of the dialogs\' positive lengths\"\n          },\n          \"attachments\": {\n            \"type\": \"integer\",\n            \"minimum\": 0\n          },\n          \"analyses\": {\n            \"type\": \"integer\",\n            \"minimum\": 0\n          },\n          \"links\": {\n            \"type\": \"integer\",\n            \"minimum\": 0,\n            \"description\": \"Links to outside the server in the dialog, attachments and analysis\"\n          },\n          \"signature\": {\n            \"description\": \"A signed vCon\'s first protected header; null for any other form\",\n            \"oneOf\": [\n              {\n                \"type\": \"null\"\n              },\n              {\n                \"type\": \"object\",\n                \"required\": [\n                  \"alg\",\n                  \"kid\",\n                  \"x5t\"\n                ],\n                \"properties\": {\n                  \"alg\": {\n                    \"type\": \"string\"\n                  },\n                  \"kid\": {\n                    \"type\": \"string\"\n                  },\n                  \"x5t\": {\n                    \"type\": \"string\"\n                  }\n                }\n              }\n            ]\n          },\n          \"recordings\": {\n            \"type\": \"array\",\n            \"description\": \"The dialogs that hold, inside the vCon, a recording the console plays (audio/wav, audio/mpeg, audio/ogg or audio/opus, at most 100 MiB): the dialog\'s number, counted from one, and the type it plays as. Release 0.4.7 and earlier do not send it.\",\n            \"items\": {\n              \"type\": \"object\",\n              \"required\": [\n                \"dialog\",\n                \"type\"\n              ],\n              \"properties\": {\n                \"dialog\": {\n                  \"type\": \"integer\",\n                  \"minimum\": 1\n                },\n                \"type\": {\n                  \"type\": \"string\",\n                  \"enum\": [\n                    \"audio/wav\",\n                    \"audio/mpeg\",\n                    \"audio/ogg\",\n                    \"audio/opus\"\n                  ]\n                }\n              }\n            }\n          }\n        }\n      },\n      \"Problem\": {\n        \"type\": \"object\",\n        \"description\": \"An RFC 9457 problem document\",\n        \"required\": [\n          \"type\",\n          \"title\",\n          \"status\"\n        ],\n        \"properties\": {\n          \"type\": {\n            \"type\": \"string\",\n            \"x-vcon-server-open-enum\": true,\n            \"enum\": [\n              \"https://vcon-server.com/problems/ambiguous-form\",\n              \"https://vcon-server.com/problems/at-capacity\",\n              \"https://vcon-server.com/problems/audit-failed\",\n              \"https://vcon-server.com/problems/bad-body\",\n              \"https://vcon-server.com/problems/bad-critical\",\n              \"https://vcon-server.com/problems/bad-gzip\",\n              \"https://vcon-server.com/problems/bad-path-uuid\",\n              \"https://vcon-server.com/problems/bad-path-version\",\n              \"https://vcon-server.com/problems/bad-payload\",\n              \"https://vcon-server.com/problems/bad-query\",\n              \"https://vcon-server.com/problems/bad-scopes\",\n              \"https://vcon-server.com/problems/bad-expiry\",\n              \"https://vcon-server.com/problems/bad-setting\",\n              \"https://vcon-server.com/problems/bad-uuid\",\n              \"https://vcon-server.com/problems/conflict\",\n              \"https://vcon-server.com/problems/damaged\",\n              \"https://vcon-server.com/problems/duplicate-member\",\n              \"https://vcon-server.com/problems/forbidden\",\n              \"https://vcon-server.com/problems/wrong-listener\",\n              \"https://vcon-server.com/problems/key-and-session\",\n              \"https://vcon-server.com/problems/key-expired\",\n              \"https://vcon-server.com/problems/no-session\",\n              \"https://vcon-server.com/problems/bad-origin\",\n              \"https://vcon-server.com/problems/bad-csrf\",\n              \"https://vcon-server.com/problems/gone\",\n              \"https://vcon-server.com/problems/holds-vcons\",\n              \"https://vcon-server.com/problems/immutable\",\n              \"https://vcon-server.com/problems/internal\",\n              \"https://vcon-server.com/problems/invalid-arguments\",\n              \"https://vcon-server.com/problems/invalid-body\",\n              \"https://vcon-server.com/problems/limit-reached\",\n              \"https://vcon-server.com/problems/master-key-limit\",\n              \"https://vcon-server.com/problems/missing-created-at\",\n              \"https://vcon-server.com/problems/missing-uuid\",\n              \"https://vcon-server.com/problems/name-taken\",\n              \"https://vcon-server.com/problems/no-form\",\n              \"https://vcon-server.com/problems/not-a-vcon\",\n              \"https://vcon-server.com/problems/not-deleted\",\n              \"https://vcon-server.com/problems/not-found\",\n              \"https://vcon-server.com/problems/not-json\",\n              \"https://vcon-server.com/problems/path-uuid-mismatch\",\n              \"https://vcon-server.com/problems/precondition-failed\",\n              \"https://vcon-server.com/problems/precondition-required\",\n              \"https://vcon-server.com/problems/rate-limited\",\n              \"https://vcon-server.com/problems/timeout\",\n              \"https://vcon-server.com/problems/too-deep\",\n              \"https://vcon-server.com/problems/too-large\",\n              \"https://vcon-server.com/problems/unauthorized\",\n              \"https://vcon-server.com/problems/unavailable\",\n              \"https://vcon-server.com/problems/under-hold\",\n              \"https://vcon-server.com/problems/unknown-key\",\n              \"https://vcon-server.com/problems/unknown-tenant\",\n              \"https://vcon-server.com/problems/unknown-tool\",\n              \"https://vcon-server.com/problems/unsupported-extension\",\n              \"https://vcon-server.com/problems/unsupported-media-type\",\n              \"https://vcon-server.com/problems/uuid-mismatch\"\n            ]\n          },\n          \"title\": {\n            \"type\": \"string\"\n          },\n          \"status\": {\n            \"type\": \"integer\"\n          }\n        }\n      },\n      \"Listed\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"uuid\",\n          \"version\",\n          \"stored_at\",\n          \"updated_at\"\n        ],\n        \"properties\": {\n          \"uuid\": {\n            \"type\": \"string\",\n            \"format\": \"uuid\"\n          },\n          \"version\": {\n            \"type\": \"string\",\n            \"pattern\": \"^[0-9a-f]{32}$\"\n          },\n          \"stored_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\",\n            \"description\": \"When the uuid was first stored\"\n          },\n          \"updated_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\",\n            \"description\": \"When its current version was stored\"\n          }\n        }\n      },\n      \"Listing\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"vcons\",\n          \"next\"\n        ],\n        \"properties\": {\n          \"vcons\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"$ref\": \"#/components/schemas/Listed\"\n            }\n          },\n          \"next\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"description\": \"The next page\'s cursor; null on the last\"\n          }\n        }\n      },\n      \"VersionInfo\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"version\",\n          \"stored_at\",\n          \"hidden_at\",\n          \"current\"\n        ],\n        \"properties\": {\n          \"version\": {\n            \"type\": \"string\",\n            \"pattern\": \"^[0-9a-f]{32}$\"\n          },\n          \"stored_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          },\n          \"hidden_at\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"format\": \"date-time\"\n          },\n          \"current\": {\n            \"type\": \"boolean\"\n          }\n        }\n      },\n      \"Health\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"status\"\n        ],\n        \"properties\": {\n          \"status\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"ok\"\n            ]\n          }\n        }\n      },\n      \"NewTenant\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"name\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"minLength\": 1,\n            \"maxLength\": 128\n          },\n          \"retention\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"description\": \"A period such as 7y, 18m or 90d; null or absent for the server default\"\n          }\n        }\n      },\n      \"TenantId\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"pattern\": \"^[0-9a-f]{32}$\"\n          }\n        }\n      },\n      \"Tenant\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"name\",\n          \"retention\",\n          \"metadata\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"pattern\": \"^[0-9a-f]{32}$\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"retention\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ]\n          },\n          \"metadata\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"none\",\n              \"counts\",\n              \"full\"\n            ]\n          }\n        }\n      },\n      \"NewRetention\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"retention\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"retention\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ]\n          }\n        }\n      },\n      \"TenantRetention\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"retention\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"pattern\": \"^[0-9a-f]{32}$\"\n          },\n          \"retention\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ]\n          }\n        }\n      },\n      \"NewKeyRequest\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"scopes\",\n          \"label\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"scopes\": {\n            \"type\": \"array\",\n            \"minItems\": 1,\n            \"uniqueItems\": true,\n            \"items\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"write\",\n                \"read\",\n                \"delete\",\n                \"legal\",\n                \"audit\",\n                \"tenant_admin\"\n              ]\n            }\n          },\n          \"label\": {\n            \"type\": \"string\"\n          },\n          \"expires_in_days\": {\n            \"description\": \"The days until the key expires. Absent, the key expires in 90 days.\",\n            \"type\": \"integer\",\n            \"minimum\": 1,\n            \"maximum\": 365\n          },\n          \"no_expiry\": {\n            \"description\": \"True for a key that never expires; refused with bad-expiry when sent with expires_in_days, or when the configuration sets keys.no_expiry to false.\",\n            \"type\": \"boolean\"\n          }\n        }\n      },\n      \"KeyInfoSelf\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"tenant\",\n          \"scopes\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"tenant\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ]\n          },\n          \"scopes\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          }\n        }\n      },\n      \"NewKey\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"token\",\n          \"expires_at\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"token\": {\n            \"type\": \"string\"\n          },\n          \"expires_at\": {\n            \"description\": \"From when the key is refused with key-expired; null for a key that never expires.\",\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"format\": \"date-time\"\n          }\n        }\n      },\n      \"KeyInfo\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"tenant\",\n          \"scopes\",\n          \"label\",\n          \"created_at\",\n          \"revoked_at\",\n          \"expires_at\",\n          \"last_used_at\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"tenant\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ]\n          },\n          \"scopes\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"label\": {\n            \"type\": \"string\"\n          },\n          \"created_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          },\n          \"revoked_at\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"format\": \"date-time\"\n          },\n          \"expires_at\": {\n            \"description\": \"From when the key is refused with key-expired; null for a key that never expires.\",\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"format\": \"date-time\"\n          },\n          \"last_used_at\": {\n            \"description\": \"The start of the minute of an accepted request by the key, written at most once a minute; null for a key no request has used.\",\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"format\": \"date-time\"\n          }\n        }\n      },\n      \"NewMetadata\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"metadata\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"metadata\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"none\",\n              \"counts\",\n              \"full\"\n            ]\n          }\n        }\n      },\n      \"TenantMetadata\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"metadata\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"pattern\": \"^[0-9a-f]{32}$\"\n          },\n          \"metadata\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"none\",\n              \"counts\",\n              \"full\"\n            ]\n          }\n        }\n      },\n      \"Settings\": {\n        \"type\": \"object\",\n        \"description\": \"Every setting of a tenant. A masking name is true while the console masks personal data for a user holding the role. session.idle_seconds is never above session.absolute_seconds.\",\n        \"required\": [\n          \"masking.reader\",\n          \"masking.producer\",\n          \"masking.records\",\n          \"masking.legal\",\n          \"masking.auditor\",\n          \"masking.tenant-admin\",\n          \"session.idle_seconds\",\n          \"session.absolute_seconds\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"masking.reader\": {\n            \"type\": \"boolean\"\n          },\n          \"masking.producer\": {\n            \"type\": \"boolean\"\n          },\n          \"masking.records\": {\n            \"type\": \"boolean\"\n          },\n          \"masking.legal\": {\n            \"type\": \"boolean\"\n          },\n          \"masking.auditor\": {\n            \"type\": \"boolean\"\n          },\n          \"masking.tenant-admin\": {\n            \"type\": \"boolean\"\n          },\n          \"session.idle_seconds\": {\n            \"type\": \"integer\",\n            \"minimum\": 60,\n            \"maximum\": 900\n          },\n          \"session.absolute_seconds\": {\n            \"type\": \"integer\",\n            \"minimum\": 300,\n            \"maximum\": 28800\n          }\n        }\n      },\n      \"SettingsChange\": {\n        \"type\": \"object\",\n        \"description\": \"The names to change, each with its new value or null for its default. A name left out is not changed.\",\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"masking.reader\": {\n            \"type\": [\n              \"boolean\",\n              \"null\"\n            ]\n          },\n          \"masking.producer\": {\n            \"type\": [\n              \"boolean\",\n              \"null\"\n            ]\n          },\n          \"masking.records\": {\n            \"type\": [\n              \"boolean\",\n              \"null\"\n            ]\n          },\n          \"masking.legal\": {\n            \"type\": [\n              \"boolean\",\n              \"null\"\n            ]\n          },\n          \"masking.auditor\": {\n            \"type\": [\n              \"boolean\",\n              \"null\"\n            ]\n          },\n          \"masking.tenant-admin\": {\n            \"type\": [\n              \"boolean\",\n              \"null\"\n            ]\n          },\n          \"session.idle_seconds\": {\n            \"type\": [\n              \"integer\",\n              \"null\"\n            ],\n            \"minimum\": 60,\n            \"maximum\": 900\n          },\n          \"session.absolute_seconds\": {\n            \"type\": [\n              \"integer\",\n              \"null\"\n            ],\n            \"minimum\": 300,\n            \"maximum\": 28800\n          }\n        }\n      },\n      \"NewTenantKeyRequest\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"scopes\",\n          \"label\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"scopes\": {\n            \"type\": \"array\",\n            \"minItems\": 1,\n            \"uniqueItems\": true,\n            \"items\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"write\",\n                \"read\",\n                \"delete\",\n                \"legal\",\n                \"audit\"\n              ]\n            }\n          },\n          \"label\": {\n            \"type\": \"string\"\n          }\n        }\n      },\n      \"Member\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"user\",\n          \"label\",\n          \"roles\",\n          \"scopes\",\n          \"granted_at\"\n        ],\n        \"additionalProperties\": false,\n        \"properties\": {\n          \"user\": {\n            \"type\": \"string\",\n            \"description\": \"The user\'s id\"\n          },\n          \"label\": {\n            \"type\": \"string\"\n          },\n          \"roles\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"reader\",\n                \"producer\",\n                \"records\",\n                \"legal\",\n                \"auditor\",\n                \"tenant-admin\"\n              ]\n            }\n          },\n          \"scopes\": {\n            \"type\": \"array\",\n            \"description\": \"The scopes the roles give under the tenant\'s role cap\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"granted_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          }\n        }\n      },\n      \"Session\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"user\",\n          \"tenant\",\n          \"scopes\",\n          \"amr\",\n          \"created_at\",\n          \"last_seen_at\",\n          \"idle_expires_at\",\n          \"expires_at\",\n          \"csrf_token\"\n        ],\n        \"properties\": {\n          \"user\": {\n            \"type\": \"string\",\n            \"description\": \"The user\'s id, 32 hex digits\"\n          },\n          \"tenant\": {\n            \"type\": [\n              \"string\",\n              \"null\"\n            ],\n            \"description\": \"The tenant the session works in; null on the operator plane\"\n          },\n          \"scopes\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            },\n            \"description\": \"The scopes the membership gave when the session started\"\n          },\n          \"amr\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            },\n            \"description\": \"The authentication methods the sign-in showed (RFC 8176 names)\"\n          },\n          \"created_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          },\n          \"last_seen_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          },\n          \"idle_expires_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\",\n            \"description\": \"When the session ends unless a request is seen before\"\n          },\n          \"expires_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\",\n            \"description\": \"When the session ends whatever is seen\"\n          },\n          \"csrf_token\": {\n            \"type\": \"string\",\n            \"description\": \"The value of X-CSRF-Token on every other request by this session\"\n          }\n        }\n      }\n    }\n  }\n}\n";
Expand description

The OpenAPI description of every route, as GET /openapi.json serves it and the website publishes it.