{
  "openapi": "3.1.1",
  "info": {
    "title": "Cloud API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.vion.swiss/"
    }
  ],
  "paths": {
    "/tenant/{tenantId}/widgetDefinitions": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the widget definitions the tenant may use.\n\nThese are its integrator's, its own and those with no owner, and none of another integrator or tenant.",
        "operationId": "tenant.widgetDefinition.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose usable widget definitions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The widget definitions the tenant may use.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Creates a widget definition owned by the tenant.\n\nThe name, the description and the icon are stored trimmed, an empty icon as null. An invalid definition\nis refused with 400 and nothing is stored.",
        "operationId": "tenant.widgetDefinition.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the definition is created under.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The widget definition to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantWidgetDefinitionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created definition as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageWidgetDefinitions"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/widgetDefinitions/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Replaces a widget definition of the tenant.\n\nA definition the tenant does not own, its integrator's included, is answered 404 whatever the body, and a\nstale version 412.",
        "operationId": "tenant.widgetDefinition.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the definition belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The widget definition to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The widget definition to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantWidgetDefinitionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated definition as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageWidgetDefinitions"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Deletes a widget definition of the tenant.\n\nThe compositions and dashboards that name it keep its id. A definition the tenant does not own, its\nintegrator's included, is answered 404.",
        "operationId": "tenant.widgetDefinition.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the definition belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The widget definition to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageWidgetDefinitions"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/whiteLabel": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the tenant's white-label theme merged per member with its integrator's.\n\nEach member is the tenant's value, else its integrator's, else null, and the logo's bytes and type come\nfrom one level. `meta.version` is null, since the answer merges two rows.",
        "operationId": "tenant.whiteLabelTheme.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose theme is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The merged theme, the logo as a `data:` URI.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WhiteLabelThemeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/systemHealth": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Retrieves the latest system health for all edge gateways in a tenant.",
        "operationId": "tenant.systemHealth.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose system health is listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The latest health of each edge gateway the caller reads that has reported one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSystemHealthOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/systemEvents": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the system events of a tenant the caller reads, newest first.\n\nAn event is in the project its gateway was in when it occurred, and on that gateway. The list ends where\n`nextCursor` is null.",
        "operationId": "tenant.systemEvent.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose system events are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Lists only the events that occurred at or after this time.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Lists only the events that occurred before this time, which must be later than\nfrom.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The largest number of events on the page, 100 when omitted. A value above the maximum of 500 returns 500 events\nand is not an error, and a value below 1 is.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `nextCursor` of the previous page, or none for the first page. A cursor is not bound to the filters it\nwas read with, so sending it with other filters pages a list it was not issued for. An event that arrives after\na page was read, with a time later than the last one that page listed, is on none of the pages that follow it;\none with an earlier time is.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of system events and the cursor of the next page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageOutputOfSystemEventOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/supportAccess/grants": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "The grants the caller may see — the consent inbox (the `Requested` ones) and the audit trail of the\ntenant's consent in one list.\n\nA holder of `EdgeGateway.ManageSupportAccess` at the root sees every grant. Anyone else sees the grants\ncovering a gateway they read, and the grants at a scope where they hold it.",
        "operationId": "tenant.supportGrant.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The visible grants, newest first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSupportAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "\"Invite support\": create consent directly, with no pending request behind it. Sessions of the granted\nkinds then start without entering the inbox at all.",
        "operationId": "tenant.supportGrant.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The support grant to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupportAccessGrantInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAccessGrantsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "EdgeGateway.ManageSupportAccess"
          ],
          "scopeType": null,
          "scopeFrom": "input.ScopeId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/supportAccess/grants/{id}/approve": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Approve a pending request on the terms the tenant chooses. One grant per checked grantee kind, each\nindependently listed and revocable; the grantee then opens its own sessions under it.",
        "operationId": "tenant.supportGrant.approve",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The support grant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The support grant to approve.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveSupportAccessRequestInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAccessGrantsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "EdgeGateway.ManageSupportAccess"
          ],
          "scopeType": null,
          "scopeFrom": "meta"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/supportAccess/grants/{id}/deny": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Deny a pending request. Nothing was admitted under it, so the refusal is the whole effect.",
        "operationId": "tenant.supportGrant.deny",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The support grant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DenySupportAccessRequestOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "EdgeGateway.ManageSupportAccess"
          ],
          "scopeType": null,
          "scopeFrom": "meta"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/supportAccess/grants/{id}": {
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Withdraw consent. New sessions of that kind stop immediately and the reaper terminates the ones already\nriding this grant.",
        "operationId": "tenant.supportGrant.revoke",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The support grant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RevokeSupportAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "EdgeGateway.ManageSupportAccess"
          ],
          "scopeType": null,
          "scopeFrom": "meta"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/supportAccess/sessions": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "What support is doing now, or did: the sessions a tenant user did not open, on gateways the caller reads.\nEach one rides a grant this tenant gave — none of them is waiting for an answer here.\n\nA caller sees the sessions whose anchor gateway they read.",
        "operationId": "tenant.supportSession.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The visible support sessions, newest first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicBlockInstances": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the active logic-block instances of the tenant the caller reads.",
        "operationId": "tenant.logicBlockInstance.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose logic-block instances are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every instance at which the caller holds `LogicBlock.Read`, ordered by its position in its logic\nconfiguration.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfServiceLogicBlockInstanceOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "LogicBlock.Read"
          ],
          "scopeType": "LogicBlock",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicBlockInstances/{id}/displayName": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Sets the name shown for an active logic-block instance in place of the name its configuration declares.\n\nThe name is kept by the instance id, so it outlives a re-activation of the configuration. A `null` or\nblank `displayName` shows the declared name again.",
        "operationId": "tenant.logicBlockInstance.rename",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant of the instance.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The id of the logic-block instance.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block instance to rename.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameLogicBlockInstanceInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The instance as the instance list reads it.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RenameLogicBlockInstanceOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "LogicBlock.Write"
          ],
          "scopeType": "LogicBlock",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/services": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the services of the tenant the caller reads, each with its properties, measuring points and relations.",
        "operationId": "tenant.service.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose services are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every service at whose logic block the caller holds `LogicBlock.Read`, or at whose service provider it\nholds `ServiceProvider.Read`, with the relations whose other end it reads too and the filter keeps.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfServiceOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "LogicBlock.Read",
            "ServiceProvider.Read"
          ],
          "scopeType": null,
          "scopeFrom": "meta"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "stable"
      }
    },
    "/tenant/{tenantId}/services/subscribeProperties": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Registers a subscriber for the values of the named service properties with their edge gateways.\n\n        The values arrive on the topics each service row of the services list hands out in meta.topics. A\nclient connects to the MQTT broker with the same bearer token, subscribes to those topics, waits for the\nbroker's acknowledgement and only then calls this operation, since the values a gateway publishes on\nregistration find no subscription to arrive on otherwise.\n        subscriberId is not free-form: it must equal the MQTT client id used on that connection, which\nme.subscriber.create mints as {identityProviderUserId}_{exactly 6 alphanumeric characters}_,\ntrailing underscore included; an id that is not the caller's in this form is refused with 400. The\nsubscription must be made at QoS 0, which RabbitMQ enforces silently: CONNECT succeeds, SUBSCRIBE is\nrefused, the connection closes, nothing names a reason.\n        The gateway keeps the registration until the subscriber's last will is published, so the client must\nregister the last will topic cloud/subscriber/lastWill/{identityProviderUserId}/{subscriberId}. The\nbroker publishes the will when the connection ends without a clean disconnect, and the client publishes it\nitself, empty, before a clean one. After a reconnect the client subscribes and calls this operation again,\nunder a new Idempotency-Key or none.\n        A named property that is not the tenant's, or that the caller does not read, is left out without a refusal.\n        Worked examples: https://docs.vion.swiss/cloud-api/minimal-client",
        "operationId": "tenant.serviceProperty.subscribe",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose service properties are subscribed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service property to subscribe.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscribePropertiesInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "An empty object, the same whichever named properties were left out.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscribePropertiesOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "LogicBlock.Read",
            "ServiceProvider.Read"
          ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/services/{edgeGatewayId}/{serviceProviderIdentifier}/{serviceIdentifier}/property/{propertyIdentifier}": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Sends a new value of a service property to the edge gateway the property's service runs on.\n\n        The answer is given once the value is recorded to be sent to the gateway, not once the gateway has applied\nit, and no answer of the gateway is awaited. The answer does not say whether the gateway applied the value; a\nclient follows the property's state through a subscription that tenant.serviceProperty.subscribe\nregisters.\n        A property with no schema, one whose schema cannot be read, a read-only one and an instantiation parameter are\nrefused with 409, whatever the value. Otherwise a value the property's schema refuses is answered 400. A\nproperty of a service provider that is not accepted is answered as missing.",
        "operationId": "tenant.serviceProperty.set",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the property belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "path",
            "description": "The edge gateway the property's service runs on.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceProviderIdentifier",
            "in": "path",
            "description": "The service provider of the property's service, `dale` for a logic\nblock's.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceIdentifier",
            "in": "path",
            "description": "The service the property belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "propertyIdentifier",
            "in": "path",
            "description": "The property to set.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service property to set.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPropertyValueInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "An empty object, given before the gateway has applied the value.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetPropertyValueOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "LogicBlock.Write",
            "ServiceProvider.Write"
          ],
          "scopeType": null,
          "scopeFrom": "meta"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/serviceProviders": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the active service providers of the tenant the caller reads, the dale provider of each gateway included.",
        "operationId": "tenant.serviceProvider.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose service providers are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every provider at which the caller holds `ServiceProvider.Read`; the dale provider, which is no scope of its\nown, where the caller holds it at the gateway.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfServiceProviderOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "ServiceProvider.Read"
          ],
          "scopeType": null,
          "scopeFrom": "meta"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "stable"
      }
    },
    "/tenant/{tenantId}/serviceProviders/contracts": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the declared contracts of the service providers on the edge gateways the caller reads, narrowed by\n`projectId` and `edgeGatewayId`.",
        "operationId": "tenant.serviceProviderContract.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose contracts are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The contracts of each service provider on a gateway the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfServiceProviderContractsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/serviceProviders/setups": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the setup state, schema and selection, of the service providers on the edge gateways the caller reads,\nnarrowed by `projectId` and `edgeGatewayId`.",
        "operationId": "tenant.serviceProviderSetup.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose setups are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The setup state of each service provider on a gateway the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfServiceProviderSetupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/serviceProviders/{edgeGatewayId}/{serviceProviderIdentifier}/setup": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Submit setup selection for a service provider.",
        "operationId": "tenant.serviceProviderSetup.submit",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceProviderIdentifier",
            "in": "path",
            "description": "The service provider identifier.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service provider setup to submit.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitSetupSelectionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceProviderSetupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageEdgeGateways"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/serviceProviders/{edgeGatewayId}/{serviceProviderIdentifier}/registration": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Accepts or denies the pending registration of a service provider with an edge gateway.\n\nAn accepted provider is placed below its gateway, a denied one nowhere, and the decision is sent to the gateway. A\n`status` other than `Accepted` or `Denied` is refused with 400, and a provider that is not pending\nwith 409. An `If-Match` naming another version than the provider's is refused with 412 first, a version a\ngateway's report moved since it was read included.",
        "operationId": "tenant.serviceProviderRegistration.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the gateway belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "path",
            "description": "The edge gateway the provider registered with.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceProviderIdentifier",
            "in": "path",
            "description": "The provider whose registration is decided.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service provider registration to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRegistrationStatusInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The provider's setup row after the decision.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceProviderSetupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageEdgeGateways"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/serviceProviders/{edgeGatewayId}/{serviceProviderIdentifier}": {
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Deletes a service provider of an edge gateway, whatever its registration status.\n\nThe deletion is sent to the gateway. The provider's services, properties and measuring points are no longer\nanswered, and its measuring-point values are kept. Deleting the `dale` provider keeps the services of the\nlogic blocks the gateway runs.",
        "operationId": "tenant.serviceProvider.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the gateway belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "path",
            "description": "The edge gateway the provider is registered with.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceProviderIdentifier",
            "in": "path",
            "description": "The provider to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An empty object.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteServiceProviderOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageEdgeGateways"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/restarts/{id}/{component}": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Restarts a single component on one of the tenant's edge gateways.",
        "operationId": "tenant.edgeGateway.restart",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The edge gateway whose component is restarted.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "component",
            "in": "path",
            "description": "The component to restart.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An empty output once the restart message is queued for the gateway.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantRestartOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageEdgeGateways"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/internal/remoteAccess/console/join": {
      "post": {
        "tags": [
          "Internal"
        ],
        "description": "Authorizes one browser attach and returns what the bridge needs to reach the gateway leg. Fails closed:\nan unknown service token, an invalid end-user token, a session the user may not use, or a session that\nis not ready all produce a non-200 and no material at all.",
        "operationId": "system.consoleSession.join",
        "requestBody": {
          "description": "The console session to join.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleJoinInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsoleJoinOutput"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "security": [ ],
        "x-vion-authorization": {
          "mode": "Anonymous",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/remoteAccess": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "List the remote-access sessions on gateways the caller can read within the tenant.",
        "operationId": "tenant.remoteAccessSession.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose sessions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The sessions on gateways the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "EdgeGateway.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/remoteAccess/vpn": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Request a new VPN session on a gateway; provisioning proceeds asynchronously.",
        "operationId": "tenant.vpnSession.request",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the gateway belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The vpn session to request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestTenantRemoteAccessSessionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The requested session.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "EdgeGateway.RemoteAccess"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "input.EdgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/remoteAccess/console": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Request a new console session on a gateway; provisioning proceeds asynchronously.",
        "operationId": "tenant.consoleSession.request",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the gateway belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The console session to request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestTenantRemoteAccessSessionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The requested session.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "EdgeGateway.RemoteAccess"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "input.EdgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/remoteAccess/{id}": {
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Terminate a session: stops the gateway unit and tears the session's data plane down.",
        "operationId": "tenant.remoteAccessSession.terminate",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The remote access session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerminateRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "EdgeGateway.RemoteAccess"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/remoteAccess/{remoteAccessSessionId}/connection": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "VPN join info for an active session: the Headscale login-server URL and the technician's single-use\nephemeral key (reused while un-consumed, so repeat calls return the same key). Serves the tenant user who\nopened the session; refused with 409 once the session's node cap is reached; never persisted.",
        "operationId": "tenant.vpnConnection.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "remoteAccessSessionId",
            "in": "path",
            "description": "The remote access session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteAccessConnectionInfoOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "EdgeGateway.RemoteAccess"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/remoteAccess/{remoteAccessSessionId}/console": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Console connection info: the per-session WSS endpoint the dashboard's `xterm.js` terminal opens\nagainst the web-SSH bridge, for the tenant user who opened the session. Carries NO credential — the short-lived\nSSH certificate is minted and held by the bridge; the user authenticates over WSS with their own VION\nidentity, and acknowledges the recording banner to the bridge before it opens the PTY.",
        "operationId": "tenant.consoleConnection.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "remoteAccessSessionId",
            "in": "path",
            "description": "The remote access session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteAccessConsoleConnectionOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "EdgeGateway.RemoteAccess"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/projects": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the projects of a tenant that the caller may read.",
        "operationId": "tenant.project.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose projects are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The projects the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfProjectOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new project for a tenant.",
        "operationId": "tenant.project.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The project to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created project.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateProjectOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageProjects"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/projects/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update an existing project of a tenant.",
        "operationId": "tenant.project.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The project to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The project to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated project.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateProjectOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageProjects"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a project of a tenant.",
        "operationId": "tenant.project.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The project to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteProjectOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageProjects"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/projects/{projectId}/image": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the site photo of a project as raw bytes.\n\nA project without a photo answers 404.",
        "operationId": "tenant.projectImage.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose photo is served.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The photo under its stored content type.",
            "content": {
              "image/jpeg": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              },
              "image/png": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Set or replace the site photo of a project.\n\nOnly JPEG and PNG are accepted, and the file's content must match its declared type.",
        "operationId": "tenant.projectImage.set",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose photo is set.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The project image to set.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetProjectImageInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The project with its new image version.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetProjectImageOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageProjects"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Remove the site photo of a project.\n\nRemoving a photo that is not there succeeds.",
        "operationId": "tenant.projectImage.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose photo is removed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteProjectImageOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageProjects"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/overviewComposition": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the tenant's overview composition resolved per section.\n\nEach section is the tenant's own, else its integrator's layer for it, else its integrator's default, else\nempty; a section authored empty hides those beneath it. `origins` names the layer each section came\nfrom, `own` is the tenant's layer as stored, and `meta.version` is that layer's version or null.",
        "operationId": "tenant.overviewComposition.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose composition is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved composition.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResolvedTenantOverviewCompositionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Replaces the tenant's own overview composition layer.\n\nA section sent null inherits, and one sent empty hides what it would inherit. The answer is the resolved\ncomposition, as a read after the write answers it.",
        "operationId": "tenant.overviewComposition.upsert",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose own layer is replaced.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The overview composition to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertOwnOverviewCompositionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The resolved composition after the write.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertOwnOverviewCompositionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageTenantOverview"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Removes the tenant's own overview composition layer.\n\nThe integrator's layer for the tenant stays, and removing a layer that is not stored succeeds.",
        "operationId": "tenant.overviewComposition.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose own layer is removed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The reset's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteOwnOverviewCompositionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageTenantOverview"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/nodeAssignments": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the node assignments of a tenant that the caller may read.",
        "operationId": "tenant.nodeAssignment.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose node assignments are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The node assignments the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfNodeAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new node assignment for a tenant.",
        "operationId": "tenant.nodeAssignment.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the assignment is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The node assignment to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNodeAssignmentInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created node assignment.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNodeAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/nodeAssignments/{id}": {
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a node assignment of a tenant.",
        "operationId": "tenant.nodeAssignment.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the assignment belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The node assignment to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteNodeAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/nodes": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the nodes of a tenant that the caller may read.",
        "operationId": "tenant.node.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose nodes are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The nodes the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfNodeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Node",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new node for a tenant.",
        "operationId": "tenant.node.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the node is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The node to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNodeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created node.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNodeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/nodes/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update an existing node of a tenant.",
        "operationId": "tenant.node.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the node belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The node to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The node to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNodeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated node.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateNodeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Node",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a node of a tenant.\n\nA node with child nodes is refused with 409, and the assignments on the node are deleted with it.",
        "operationId": "tenant.node.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the node belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The node to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteNodeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Node",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/measuringPoints/data": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Retrieves measured and calculated data for measuring points.",
        "operationId": "tenant.measuringPointSeries.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose measuring points are read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "The time the series starts at, the values measured at or after it included.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "The time the series ends at, the values measured before it included, which must be later than\n`from`.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "aggregationInterval",
            "in": "query",
            "description": "The interval in which the data should be aggregated.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/IntervalEnum"
            }
          },
          {
            "name": "edgeGatewayIds",
            "in": "query",
            "description": "A list of GUIDs, each uniquely identifying an edge gateway.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          {
            "name": "serviceProviderIdentifiers",
            "in": "query",
            "description": "A list of service provider identifiers to filter by.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "serviceIdentifiers",
            "in": "query",
            "description": "A list of service identifiers to filter by.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "measuringPointIdentifiers",
            "in": "query",
            "description": "A list of human-readable identifiers unique within the service",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "measuringPointUniqueIdentifiers",
            "in": "query",
            "description": "A list of unique measuring point identifiers",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "fillingMode",
            "in": "query",
            "description": "Specifies whether buckets without measurements are filled, and how. None, the default, leaves them out. Linear\ndraws a line between the neighbouring buckets; Stepwise carries the last value forward. Buckets before the first\nvalue are omitted, as are buckets after the last one under Linear and after now under Stepwise. A filled bucket\nsits on the same grid as the measured ones and carries Interpolated quality and no extremes. A filled series\nholds at most 20000 buckets; a longer window is refused with a 400.",
            "schema": {
              "default": "None",
              "$ref": "#/components/schemas/GapFillingMode"
            }
          },
          {
            "name": "includeExtremes",
            "in": "query",
            "description": "Specifies whether each bucket's minimum and maximum value should be returned alongside its average.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One series per measuring point the caller reads that has values in the range.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfMeasuringPointSeriesOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "LogicBlock.Read",
            "Project.Read",
            "ServiceProvider.Read"
          ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logLevels": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the latest log level per component for every edge gateway in the tenant the caller is authorized to read.\nGateways with no reported state yet are returned with an empty `Components` list.",
        "operationId": "tenant.logLevel.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose log levels are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The log levels of each edge gateway the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfEdgeGatewayLogLevelsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "edgeGatewayId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logLevels/{edgeGatewayId}/{component}": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Set the log level for a specific component (`\"mesh\"` or a service provider identifier) on an edge gateway.",
        "operationId": "tenant.logLevel.set",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "component",
            "in": "path",
            "description": "The component.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The log level to set.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetLogLevelInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetLogLevelOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageEdgeGateways"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicConfigurationTemplates": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the logic configuration templates of the tenant's integrator.",
        "operationId": "tenant.logicConfigurationTemplate.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose integrator's templates are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The templates of the tenant's integrator.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicConfigurationTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicConfigurations": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the logic configurations of a tenant that the caller may read.",
        "operationId": "tenant.logicConfiguration.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose logic configurations are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The logic configurations the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new logic configuration in a project of a tenant.\n\nWith `sourceId`, a copy of that configuration of the same project, not current: the way to change the\ncurrent configuration is to copy it, apply to the copy and activate the copy.",
        "operationId": "tenant.logicConfiguration.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the logic configuration is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic configuration to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLogicConfigurationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created logic configuration.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateLogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageLogicConfigurations"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicConfigurations/{id}": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get a logic configuration of a tenant.",
        "operationId": "tenant.logicConfiguration.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the logic configuration belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The logic configuration to read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The logic configuration, with its version in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update an existing logic configuration of a tenant.\n\nWhile the configuration is the active one, a change to its content fails with 409, and its name, description\nand editor layout stay editable. A logic block instance's name is content, so renaming one fails too.",
        "operationId": "tenant.logicConfiguration.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the logic configuration belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The logic configuration to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on, and with 428 when the header is missing.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic configuration to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLogicConfigurationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated logic configuration.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "428": {
            "description": "The request carries no If-Match header, which this replace of the whole row requires; send the ETag header or meta.version in double quotes.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageLogicConfigurations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a logic configuration of a tenant.\n\nDeleting the active configuration fails with 409.",
        "operationId": "tenant.logicConfiguration.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the logic configuration belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The logic configuration to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageLogicConfigurations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicConfigurations/{id}/export": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Export a logic configuration of a tenant as its document.\n\nThe document names logic blocks, groups, edge gateways and definitions by identifier and holds no server id; sent\nto `apply`, it changes nothing. A configuration whose logic blocks use one library at two versions, or that\nnames a definition, a logic block or an edge gateway that does not exist in its project, or that holds a logic\nblock without an identifier, has no document: 409.",
        "operationId": "tenant.logicConfiguration.export",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the logic configuration belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The logic configuration to export.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The logic configuration's document, with its version in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportLogicConfigurationOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicConfigurations/{id}/apply": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Make a logic configuration of a tenant match a document, and answer what changed.\n\nA logic block is the configuration's logic block of its identifier, else the project's current configuration's,\nwhose id and service ids it takes over, else a new one; one of another type is deleted and created anew. What the\ndocument does not state stays, unless `prune`. A document that can never be valid is refused with every\nproblem; what activation would still refuse is answered under `warnings`. A deleted logic block marked\n`active` belongs to the project's current configuration, so activating the result removes it and what hangs\non its id and service ids: grants scoped to it, its node assignment, its services' addresses with the values and\nseries behind them, and its display name. The current configuration is never applied to: 409, the dry run too.\nTo change it, create a copy with `sourceId` set to its id, apply the document to the copy, then activate\nthe copy. A dry run answers what the apply would.",
        "operationId": "tenant.logicConfiguration.apply",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the logic configuration belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The logic configuration to apply the document to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "prune",
            "in": "query",
            "description": "True to delete what the document does not state and take its order as written.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on, and with 428 when the header is missing.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dryRun",
            "in": "query",
            "description": "true previews the call: it is authorized and validated as the real call, answers the same status and output, and writes nothing and calls out to nothing. Fields only the skipped write would produce are left empty.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "description": "The logic configuration to apply.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyLogicConfigurationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "What changed, the warnings, and the configuration's version in `meta`.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplyLogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "428": {
            "description": "The request carries no If-Match header, which this replace of the whole row requires; send the ETag header or meta.version in double quotes.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageLogicConfigurations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": true,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicConfigurations/{id}/activate": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Activate a logic configuration of a tenant in place of its project's current one.\n\nEvery edge gateway the configuration reaches is sent its share of it, and an edge gateway the replaced\nconfiguration reached and this one does not is sent an empty configuration. A dry run validates the\nconfiguration and answers the same output and warnings without activating it.",
        "operationId": "tenant.logicConfiguration.activate",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The logic configuration's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "dryRun",
            "in": "query",
            "description": "true previews the call: it is authorized and validated as the real call, answers the same status and output, and writes nothing and calls out to nothing. Fields only the skipped write would produce are left empty.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The activated logic configuration with its warnings.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivateLogicConfigurationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageLogicConfigurations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": true,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicBlockTranslations": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the translations into one locale of every library the tenant's integrator may use.\n\nThe libraries are the integrator's own, the public ones and the ones granted to it. A key with no\ntranslation into exactly the requested locale is absent, and no other locale stands in for it.",
        "operationId": "tenant.logicBlockTranslationBundle.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose bundle is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The language of the bundle, a BCP 47 plain-language tag such as `de`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The translations of the locale, by key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogicBlockTranslationBundleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicBlockLibraryVersions": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the versions of every logic block library a tenant's integrator may see, optionally of a single library.\n\nThe integrator may see its own libraries, the public ones and the ones granted to it, archived ones included.",
        "operationId": "tenant.logicBlockLibraryVersion.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose integrator's visible library versions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The NuGet package id of the library to list the versions of, matched whatever its case, every library the\nintegrator may see when omitted.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The versions of the libraries the tenant's integrator may see.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicBlockLibraryVersionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/logicBlockDefinitions": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the logic block definitions a tenant can use, which are those of every library its integrator may see.\n\nThe integrator may see its own libraries, the public ones and the ones granted to it.",
        "operationId": "tenant.logicBlockDefinition.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose usable definitions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The definitions the tenant can use.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantLogicBlockDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/edgeGateways": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns all edge gateways for a tenant",
        "operationId": "tenant.edgeGateway.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose edge gateways are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The edge gateways the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/edgeGateways/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Renames an edge gateway and rewrites its description.\n\nA project given in the body moves the gateway to that project of the tenant; none leaves it where it is.",
        "operationId": "tenant.edgeGateway.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The edge gateway to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The edge gateway to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateEdgeGatewayInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The edge gateway as updated.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantUpdateEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageEdgeGateways"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "id"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/dashboardTemplates": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the dashboard templates the tenant renders.\n\nThese are its integrator's, or those with no owner where its integrator has authored none.",
        "operationId": "tenant.dashboardTemplate.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose templates are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The templates the tenant renders.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantDashboardTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/dashboards": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the dashboards of the tenant's projects that the caller may read.",
        "operationId": "tenant.dashboard.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose dashboards are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The dashboards the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfDashboardOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Creates a dashboard in a project of the tenant.\n\nThe name and the description are stored trimmed, and the widgets as sent.",
        "operationId": "tenant.dashboard.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the dashboard is created under.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The dashboard to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDashboardInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created dashboard as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDashboardOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageDashboards"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/dashboards/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Replaces the name, the description and the widgets of a dashboard of the tenant.\n\nThe dashboard keeps its project. The update requires `If-Match`, and a stale version is answered\n412. A dashboard that is not the tenant's is answered 404.",
        "operationId": "tenant.dashboard.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the dashboard belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The dashboard to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on, and with 428 when the header is missing.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The dashboard to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDashboardInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated dashboard as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateDashboardOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "428": {
            "description": "The request carries no If-Match header, which this replace of the whole row requires; send the ETag header or meta.version in double quotes.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageDashboards"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Deletes a dashboard of the tenant.\n\nA dashboard that is not the tenant's is answered 404.",
        "operationId": "tenant.dashboard.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the dashboard belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The dashboard to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDashboardOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageDashboards"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/alertRules": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the alert rules of a tenant that the caller may read.",
        "operationId": "tenant.alertRule.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose alert rules are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The alert rules the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfAlertRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new alert rule on an edge gateway of a tenant's project.",
        "operationId": "tenant.alertRule.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the alert rule is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The alert rule to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAlertRuleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created alert rule.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAlertRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/alertRules/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update an existing alert rule of a tenant.",
        "operationId": "tenant.alertRule.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the alert rule belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The alert rule to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The alert rule to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlertRuleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated alert rule.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAlertRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete an alert rule of a tenant.",
        "operationId": "tenant.alertRule.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the alert rule belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The alert rule to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAlertRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/rules": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the rules of a tenant that the caller may read.",
        "operationId": "tenant.rule.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose rules are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The rules the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new rule on an edge gateway of a tenant's project.",
        "operationId": "tenant.rule.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the rule is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The rule to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRuleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created rule.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/rules/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update an existing rule of a tenant.",
        "operationId": "tenant.rule.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the rule belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The rule to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The rule to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRuleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated rule.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a rule of a tenant.",
        "operationId": "tenant.rule.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the rule belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The rule to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRuleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/schedules": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get the schedules of a tenant that the caller may read.",
        "operationId": "tenant.schedule.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose schedules are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The schedules the caller reads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfScheduleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new schedule on an edge gateway of a tenant's project.",
        "operationId": "tenant.schedule.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the schedule is created in.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The schedule to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScheduleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created schedule.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateScheduleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "input.ProjectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/schedules/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update an existing schedule of a tenant.",
        "operationId": "tenant.schedule.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the schedule belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The schedule to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The schedule to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScheduleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated schedule.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateScheduleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a schedule of a tenant.",
        "operationId": "tenant.schedule.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the schedule belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The schedule to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteScheduleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Entity",
          "permissions": [
            "Project.ManageAutomations"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/scopes/{scopeId}/access": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Who is effective at the given scope, with provenance (direct / inherited / via group).",
        "operationId": "tenant.scopeAccess.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scopeId",
            "in": "path",
            "description": "The scope's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/principals/{principalId}/access": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "The effective roles a principal has across scopes, with provenance.",
        "operationId": "tenant.principalAccess.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "principalId",
            "in": "path",
            "description": "The principal's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/me/access": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "The current caller's own effective roles across scopes. Self-service: any authenticated tenant member.",
        "operationId": "tenant.myAccess.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/me/permissions": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "The current caller's effective permissions in the tenant, at the root and at a set of scopes.\n\nSelf-service: any authenticated tenant member, user or service account. Without `scopeId`, the scopes\nare those where the caller or one of its groups holds an assignment of its own; a scope not listed has the\npermissions of its nearest listed ancestor, or the root's. A `scopeId` that is not part of the tenant\nanswers with no scope type and no permissions.",
        "operationId": "tenant.myPermissions.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scopeId",
            "in": "query",
            "description": "The scopes to resolve, the parameter repeated once per scope; none for the caller's own.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The effective permissions at the root and at each scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEffectivePermissionsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/groups": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get all groups in the tenant with members and roles.",
        "operationId": "tenant.group.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantGroupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new group.",
        "operationId": "tenant.group.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The group to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantGroupInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantGroupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/groups/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update a group (including members).",
        "operationId": "tenant.group.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The group's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The group to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantGroupInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantGroupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a group.",
        "operationId": "tenant.group.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The group's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantGroupOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/invitations/accept": {
      "post": {
        "tags": [
          "User"
        ],
        "description": "Accept a tenant invitation using the invitation token.",
        "operationId": "tenant.invitation.accept",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The invitation to accept.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptTenantInvitationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptTenantInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/roleAssignments": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get all role assignments in the tenant.",
        "operationId": "tenant.roleAssignment.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a new role assignment.",
        "operationId": "tenant.roleAssignment.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The role assignment to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantRoleAssignmentInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/roleAssignments/{id}": {
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a role assignment.",
        "operationId": "tenant.roleAssignment.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The role assignment's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/roles": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get all available roles (built-in only).\nEach role includes its AssignableScopes for UI filtering.",
        "operationId": "tenant.role.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantRoleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/scopes": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get all scopes available for role assignment.",
        "operationId": "tenant.scope.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantScopeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/serviceAccounts": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get all service accounts for this tenant.",
        "operationId": "tenant.serviceAccount.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageServiceAccounts"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Create a service account. Returns the client ID and secret (secret shown only once).",
        "operationId": "tenant.serviceAccount.create",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The service account to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageServiceAccounts"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/serviceAccounts/{id}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Update a service account's name and description.",
        "operationId": "tenant.serviceAccount.update",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service account to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageServiceAccounts"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Delete a service account (also deletes the identity provider client).",
        "operationId": "tenant.serviceAccount.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageServiceAccounts"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/serviceAccounts/{serviceAccountId}/rotate": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Rotate the client secret for a service account.",
        "operationId": "tenant.serviceAccountSecret.rotate",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceAccountId",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateServiceAccountSecretOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageServiceAccounts"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/users": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Get all users in the tenant (pending and active).",
        "operationId": "tenant.user.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Invite a user to the tenant by email.\nMails the invitation link and returns it, along with the token, so the operator can also share it.",
        "operationId": "tenant.user.invite",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The user to invite.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteTenantUserInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteTenantUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/users/{userId}/resend": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Resend an invitation to a user for the tenant by email.\nMails the freshly minted invitation link and returns it, along with the token.",
        "operationId": "tenant.userInvitation.resend",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResendTenantInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/access/users/{id}": {
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Remove or revoke a user from the tenant.",
        "operationId": "tenant.user.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageUsers"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/arrangements/{collection}": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the tenant's arrangement of its overview sections.",
        "operationId": "tenant.overviewSectionArrangement.get",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose arrangement is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "description": "The collection's name, exactly `OverviewSections`; any other name is answered 404.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The stored arrangement, or the default with nothing ordered and nothing hidden when none is stored.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Replaces the tenant's arrangement of its overview sections.\n\nAn entry may stand in both lists. A body the arrangement refuses is answered 400 whatever the version the\nwrite names.",
        "operationId": "tenant.overviewSectionArrangement.upsert",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose arrangement is replaced.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "description": "The collection's name, exactly `OverviewSections`; any other name is answered 404.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The overview section arrangement to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertArrangementInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The stored arrangement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageTenantOverview"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Resets the tenant's arrangement of its overview sections.",
        "operationId": "tenant.overviewSectionArrangement.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose arrangement is reset.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "description": "The collection's name, exactly `OverviewSections`; any other name is answered 404.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The reset's acknowledgement; resetting an arrangement that is already reset succeeds.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Tenant.ManageTenantOverview"
          ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/arrangements/projects": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Returns the arrangements of the tenant's projects that the caller may read.",
        "operationId": "tenant.projectArrangement.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose projects' arrangements are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The stored arrangements, a project that has arranged nothing absent.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/arrangements/dashboards/{projectId}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Replaces a project's arrangement of its dashboards.\n\nA project that is not the tenant's is answered 404 and nothing is written.",
        "operationId": "tenant.dashboardArrangement.upsert",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose dashboards are arranged.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The dashboard arrangement to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertArrangementInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The stored arrangement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageDashboards"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Resets a project's arrangement of its dashboards.\n\nA project that is not the tenant's is answered 404.",
        "operationId": "tenant.dashboardArrangement.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose dashboards' arrangement is reset.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The reset's acknowledgement; resetting an arrangement that is already reset succeeds.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageDashboards"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/arrangements/assetTree/{projectId}": {
      "put": {
        "tags": [
          "Tenant"
        ],
        "description": "Replaces a project's arrangement of its asset tree.\n\nA project that is not the tenant's is answered 404 and nothing is written.",
        "operationId": "tenant.assetTreeArrangement.upsert",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose asset tree is arranged.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The asset tree arrangement to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertArrangementInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The stored arrangement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Tenant"
        ],
        "description": "Resets a project's arrangement of its asset tree.\n\nA project that is not the tenant's is answered 404.",
        "operationId": "tenant.assetTreeArrangement.delete",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the project belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "The project whose asset tree's arrangement is reset.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The reset's acknowledgement; resetting an arrangement that is already reset succeeds.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteArrangementOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Scope",
          "permissions": [
            "Project.ManageNodes"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/alerts": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the alerts of a tenant the caller reads, newest raised first.\n\nAn alert is in the project its gateway was in when it was raised, and on that gateway. The list ends where\n`nextCursor` is null.",
        "operationId": "tenant.alert.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose alerts are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Lists only the alerts raised at or after this time.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Lists only the alerts raised before this time, which must be later than from.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Lists only the active alerts, those not resolved, or only the resolved ones.",
            "schema": {
              "$ref": "#/components/schemas/AlertStatus"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The largest number of alerts on the page, 100 when omitted. A value above the maximum of 500 returns 500 alerts\nand is not an error, and a value below 1 is.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `nextCursor` of the previous page, or none for the first page. A cursor is not bound to the filters it\nwas read with, so sending it with other filters pages a list it was not issued for.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of alerts and the cursor of the next page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageOutputOfAlertOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "Project",
          "scopeFrom": "projectId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/aiGeneration/generate": {
      "post": {
        "tags": [
          "Tenant"
        ],
        "description": "Generates text with a language model from the prompt of a domain, a context and the caller's prompt.\n\nNothing of the tenant is read. `domain` names one of the service's prompts, `widget` where none is\nsent, and any other is refused with 400. `model` names the model to call, the configured default where none\nis sent. A failed call is answered 200 with `error` a fixed text naming no cause, `rawText` null and\nzero cost.",
        "operationId": "tenant.chart.generate",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the caller is a member of.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The chart to generate.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The generated text with the call's timing and estimated cost, or the error of a failed call.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Tenant",
          "scopeFrom": "tenantId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/tenant/{tenantId}/syncStatus": {
      "get": {
        "tags": [
          "Tenant"
        ],
        "description": "Lists the current synchronization status of every edge gateway the caller reads.",
        "operationId": "tenant.syncStatus.list",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose synchronization status is listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "Lists only the rows in this project of the tenant. It narrows the rows the caller may read and never adds one,\nan id that is no project of the tenant is a 400, and a row of a gateway in no project matches no project.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "query",
            "description": "Lists only the rows of this edge gateway of the tenant. It narrows the rows the caller may read and never adds\none, and an id that is no edge gateway of the tenant is a 400.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The synchronization status rows of the gateways.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSyncStatusOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Filtered",
          "permissions": [
            "Project.Read"
          ],
          "scopeType": "EdgeGateway",
          "scopeFrom": "targetId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/certificateApproval": {
      "post": {
        "tags": [
          "CertificateApproval"
        ],
        "description": "Decides whether the Step CA may sign an edge gateway's certificate request.\n\nCalled by the Step CA webhook, which signs the body with a preshared secret; an invalid signature or a denial\nanswers 401.",
        "operationId": "system.certificateRequest.submit",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateApprovalOutput"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateApprovalOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "security": [ ],
        "x-vion-authorization": {
          "mode": "Anonymous",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/certificateApproval/token": {
      "post": {
        "tags": [
          "CertificateApproval"
        ],
        "description": "Issues JWT tokens for Step CA integration and device authentication",
        "operationId": "system.gatewayToken.issue",
        "requestBody": {
          "description": "JWT token request containing device information",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JwtInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwtOutput"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "security": [ ],
        "x-vion-authorization": {
          "mode": "Anonymous",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportAccess/grants": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Every grant given to or asked for by VION support, in every state — pending, answered, run out.",
        "operationId": "platform.supportGrant.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSupportAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Ask a customer for standing consent over a scope of theirs. It lands in that tenant's consent inbox and\nadmits nothing until a `ManageSupportAccess` holder at its scope answers it.",
        "operationId": "platform.supportGrant.request",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The support grant to request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestSupportAccessGrantInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestSupportAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.SupportAccess"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportAccess/tenants": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Every tenant on the platform, named well enough to choose which of them to ask for consent.\n\nVION support is bound to no integrator, so a tenant it may ask for consent is named from nowhere else.",
        "operationId": "platform.supportTenant.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSupportAccessTenantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportAccess/tenants/{tenantId}/scopes": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "The scopes of one tenant a grant can be asked for: its gateways, its projects and its root, with the\nancestors that say how they nest.\n\nThe same tree the tenant itself reads when it answers, so requester and approver name one structure.\nIt carries scope ids, names and types only, and no principal.",
        "operationId": "platform.supportTenantScope.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantScopeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportSessions": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Every VION support session across every tenant, whoever of the support staff opened it. Platform\nprincipals have no push channel, so this is polled.",
        "operationId": "platform.supportSession.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Start a support session on a gateway, under a grant that already covers it. The session names its own\nduration, capped by the support maximum and by what is left of the grant — the grant is not one\nsession's budget.",
        "operationId": "platform.supportSession.start",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The support session to start.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestRemoteAccessSessionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.SupportAccess"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportSessions/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "End one's own support session early.",
        "operationId": "platform.supportSession.terminate",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerminateRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.SupportAccess"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportSessions/{supportSessionId}/console": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Console connection info for one's own support session (see the tenant endpoint for the semantics).",
        "operationId": "platform.consoleConnection.get",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supportSessionId",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteAccessConsoleConnectionOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.SupportAccess"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportSessions/{supportSessionId}/connection": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "VPN join material for one's own support session.",
        "operationId": "platform.vpnConnection.get",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supportSessionId",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteAccessConnectionInfoOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.SupportAccess"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/supportSessions/{supportSessionId}/twincat": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "The one-time TwinCAT bundle: a freshly minted client certificate, its key, the CA root and a route file\nalready wired to them. Minted per call and never stored — there is no path that returns the same key\ntwice.",
        "operationId": "platform.twincatConnection.get",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supportSessionId",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.SupportAccess"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/rabbitMq/adminUsers": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Returns every RabbitMQ user carrying the administrator tag.",
        "operationId": "platform.rabbitMqAdminUser.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The RabbitMQ administrators.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfRabbitMqAdminUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Creates a RabbitMQ administrator.\n\nThe administrator's RabbitMQ user is named by the email trimmed and lower-cased, and tagged administrator and\nmanagement. A name that any RabbitMQ user already holds is refused.",
        "operationId": "platform.rabbitMqAdminUser.create",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The rabbit mq admin user to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRabbitMqAdminUserInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created administrator.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRabbitMqAdminUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/rabbitMq/adminUsers/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Deletes a RabbitMQ administrator with its permissions.\n\nA RabbitMQ user without the administrator tag is answered as unknown.",
        "operationId": "platform.rabbitMqAdminUser.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The administrator to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRabbitMqAdminUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/rabbitMq/permissions/recreate": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Reconciles the broker's users and permissions with the grants of every principal and edge gateway.\n\nEach broker user of an accepted tenant, integrator or platform user, of a tenant or integrator service account or\nof an edge gateway is left holding exactly the permissions its grants compute. A permission it keeps stays in\nplace throughout. Every other broker user is deleted with its permissions, except a user tagged administrator,\nwhich the reconcile leaves untouched.",
        "operationId": "platform.rabbitMqPermission.recreate",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An empty answer once the reconcile is committed.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutputBase"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/onboardingSessions": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Returns all onboarding sessions",
        "operationId": "platform.onboardingSession.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfOnboardingSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/onboardingSessions/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Deletes an onboarding session and all its associated resources (integrator, tenant, project, edge gateway, users)",
        "operationId": "platform.onboardingSession.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The onboarding session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteOnboardingSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageOnboardingSessions"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/observability/grafanaMaintenance/provisionDashboards": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Creates or replaces Grafana's dashboards for each tenant the body names.\n\nAn id that names no tenant refuses the request with 400 before any tenant is provisioned. A tenant Grafana\nfails for is answered with `success` false and a fixed `errorMessage`, and the others are still\nprovisioned.",
        "operationId": "platform.grafanaDashboard.provision",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform the caller administers.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The grafana dashboard to provision.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisionDashboardsInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "One result per distinct tenant id.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProvisionDashboardsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Returns every integrator, each with its owners.",
        "operationId": "platform.integrator.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every integrator.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Creates an integrator.",
        "operationId": "platform.integrator.create",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The integrator to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIntegratorInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created integrator, which has no owners yet.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIntegratorOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators/{id}": {
      "put": {
        "tags": [
          "Platform"
        ],
        "description": "Replaces the name and the slug of an integrator.",
        "operationId": "platform.integrator.update",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The integrator to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The integrator to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIntegratorInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated integrator with its owners.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateIntegratorOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Deletes an integrator.\n\nAn integrator that still has a tenant is refused.",
        "operationId": "platform.integrator.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The integrator to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIntegratorOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators/{integratorId}/owners": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Invite a user to become integrator owner.\nMails the invitation link and returns it, along with the token, so the operator can also share it.",
        "operationId": "platform.integratorOwner.invite",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The integrator owner to invite.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteIntegratorOwnerInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteIntegratorOwnerOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators/{integratorId}/owners/{userId}/resend": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Resend an invitation to a user to become integrator owner.\nMails the freshly minted invitation link and returns it, along with the token.",
        "operationId": "platform.integratorOwnerInvitation.resend",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResendIntegratorOwnerInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators/{integratorId}/owners/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Remove or revoke an owner from the integrator.",
        "operationId": "platform.integratorOwner.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The integrator owner's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators/{integratorId}/owners/serviceaccounts": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Create a service account that owns the integrator.\nReturns the client ID and the client secret; the secret is shown exactly once and only its hint is stored.\n\nThe machine-identity form of the owner invitation beside this: no email user, no token, no accept step —\nthe redeem is the client_credentials grant. The created account does NOT appear in the integrator's owners\nlist, which enumerates invited users; it appears in the integrator's own Access console, which is\nmembership-driven.",
        "operationId": "platform.integratorOwnerServiceAccount.create",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The integrator owner service account to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIntegratorOwnerServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Get the service accounts that own the integrator. Never returns a secret.",
        "operationId": "platform.integratorOwnerServiceAccount.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/integrators/{integratorId}/owners/serviceaccounts/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Revoke a service account that owns the integrator, destroying it and its identity provider client.\n\nA service account's identity and its membership are one row, so revoking ownership means destroying the\naccount — the honest mirror of removing an owner user.",
        "operationId": "platform.integratorOwnerServiceAccount.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The integrator owner service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageIntegrators"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/bootstrap": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Bootstrap the platform by creating the initial platform administrator",
        "operationId": "platform.administrator.bootstrap",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BootstrapOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/scopes/{scopeId}/access": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Who is effective at the given scope, with provenance (direct / inherited / via group).",
        "operationId": "platform.scopeAccess.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scopeId",
            "in": "path",
            "description": "The scope's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/principals/{principalId}/access": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "The effective roles a principal has across scopes, with provenance.",
        "operationId": "platform.principalAccess.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "principalId",
            "in": "path",
            "description": "The principal's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/me/access": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "The current caller's own effective roles across scopes. Self-service: any authenticated platform member.",
        "operationId": "platform.myAccess.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/me/permissions": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "The current caller's effective permissions in the platform, at the root and at a set of scopes.\n\nSelf-service: any authenticated platform member, user or service account. Without `scopeId`, the scopes\nare those where the caller or one of its groups holds an assignment of its own; a scope not listed has the\npermissions of its nearest listed ancestor, or the root's. A `scopeId` that is not part of the platform\nanswers with no scope type and no permissions.",
        "operationId": "platform.myPermissions.get",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scopeId",
            "in": "query",
            "description": "The scopes to resolve, the parameter repeated once per scope; none for the caller's own.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The effective permissions at the root and at each scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformEffectivePermissionsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/invitations/accept": {
      "post": {
        "tags": [
          "User"
        ],
        "description": "Accept a platform invitation using the invitation token.",
        "operationId": "platform.invitation.accept",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The invitation to accept.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptPlatformInvitationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptPlatformInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/roleAssignments": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Get all role assignments in the platform.",
        "operationId": "platform.roleAssignment.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Assign a role to a user in the platform.",
        "operationId": "platform.roleAssignment.create",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The role assignment to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePlatformRoleAssignmentInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePlatformRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/roleAssignments/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Remove a role assignment from the platform.",
        "operationId": "platform.roleAssignment.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The role assignment's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePlatformRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/roles": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Get all available roles for platforms.",
        "operationId": "platform.role.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformRoleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.Read"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/scopes": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Get all scopes available for role assignment.",
        "operationId": "platform.scope.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformScopeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/serviceAccounts": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Get all service accounts for the platform.",
        "operationId": "platform.serviceAccount.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageServiceAccounts"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Create a service account. Returns the client ID and secret (secret shown only once).",
        "operationId": "platform.serviceAccount.create",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The service account to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePlatformServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePlatformServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageServiceAccounts"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/serviceAccounts/{id}": {
      "put": {
        "tags": [
          "Platform"
        ],
        "description": "Update a service account's name and description.",
        "operationId": "platform.serviceAccount.update",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service account to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePlatformServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePlatformServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageServiceAccounts"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Delete a service account (also deletes the identity provider client).",
        "operationId": "platform.serviceAccount.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePlatformServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageServiceAccounts"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/serviceAccounts/{serviceAccountId}/rotate": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Rotate the client secret for a service account.",
        "operationId": "platform.serviceAccountSecret.rotate",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceAccountId",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateServiceAccountSecretOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageServiceAccounts"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/users": {
      "get": {
        "tags": [
          "Platform"
        ],
        "description": "Get all users in the platform (pending and active).",
        "operationId": "platform.user.list",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfPlatformUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Invite a user to the platform by email.\nMails the invitation link and returns it, along with the token, so the operator can also share it.",
        "operationId": "platform.user.invite",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The user to invite.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvitePlatformUserInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitePlatformUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/users/{userId}/resend": {
      "post": {
        "tags": [
          "Platform"
        ],
        "description": "Resend an invitation to a user for the platform by email.\nMails the freshly minted invitation link and returns it, along with the token.",
        "operationId": "platform.userInvitation.resend",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResendPlatformInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/platform/{platformId}/access/users/{id}": {
      "delete": {
        "tags": [
          "Platform"
        ],
        "description": "Remove or revoke a user from the platform.",
        "operationId": "platform.user.delete",
        "parameters": [
          {
            "name": "platformId",
            "in": "path",
            "description": "The platform's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePlatformUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Platform.ManageUsers"
          ],
          "scopeType": "Platform",
          "scopeFrom": "platformId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/onboarding/provision": {
      "post": {
        "tags": [
          "Onboarding"
        ],
        "description": "Provision a new onboarding environment.\nCreates Integrator, Tenant, Project, EdgeGateway, assigns roles, and triggers software deployments, and answers\nthe long-running operation that provisions a simulated gateway's namespace, already succeeded for any other; the\nlong-running operation's result is what was provisioned.",
        "operationId": "me.onboarding.provision",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The onboarding to provision.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "The work is queued and the long-running operation to poll is answered; its result, once Succeeded, is the body the operation names in x-vion-longRunningOperationResult.",
            "headers": {
              "Retry-After": {
                "description": "The seconds to wait before polling the long-running operation again; absent once it is Succeeded or Failed.",
                "schema": {
                  "type": "integer"
                }
              },
              "Operation-Location": {
                "description": "The long-running operation's own GET path, to be followed as given until the long-running operation is Succeeded or Failed.",
                "schema": {
                  "type": "string"
                }
              },
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "LongRunningOperation"
        },
        "x-stability-level": "beta",
        "x-vion-longRunningOperationResult": {
          "$ref": "#/components/schemas/ProvisionOutput"
        }
      }
    },
    "/me/notificationPreferences": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Reads the caller's notification preferences: one switch per category and channel, across every membership.\n\nA switch is on unless the caller turned it off. On, each notification of the category uses the channel where its\ntype does; off, none does. The inbox always receives, whatever the switches.",
        "operationId": "me.notificationPreferences.get",
        "parameters": [
          {
            "name": "locale",
            "in": "query",
            "description": "The language of the labels, `de` or `en`. Without it, the caller's own language, else\nEnglish.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every category that offers a channel, with its switches.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationPreferencesOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Replaces the caller's notification preferences with the channels switched off in the body.\n\nRepeatable: the same body again changes nothing. A switch can only turn a channel off for a category's\nnotifications, never add one their type does not use.",
        "operationId": "me.notificationPreferences.update",
        "parameters": [
          {
            "name": "locale",
            "in": "query",
            "description": "The language of the labels, `de` or `en`. Without it, the caller's own language, else\nEnglish.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The notification preferences to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationPreferencesInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The preferences as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateNotificationPreferencesOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/notifications": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Lists the caller's notifications, newest first, with the unread counts of the whole inbox.\n\nA notification of a context the caller is no longer a member of is not listed or counted. A service account\nhas an empty inbox. A page can hold fewer notifications than the limit while more follow; the list ends where\n`nextCursor` is null.",
        "operationId": "me.notification.list",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "The largest number of notifications on the page, 30 when omitted. A value above the maximum of 100 returns 100\nnotifications and is not an error, and a value below 1 is.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `nextCursor` of the previous page, or none for the first page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "unread",
            "in": "query",
            "description": "Lists only the unread notifications when true.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "authDomain",
            "in": "query",
            "description": "Lists only the notifications of one context, together with\nauthDomainRootScopeId.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "authDomainRootScopeId",
            "in": "query",
            "description": "Lists only the notifications of one context, together with\nauthDomain.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The language of the text, `de` or `en`. Without it, the caller's own language, else\nEnglish.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of notifications, the cursor of the next page and the unread counts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationListOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/notifications/{id}": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Reads one of the caller's notifications.",
        "operationId": "me.notification.get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The notification's id. Another person's notification is not found.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The language of the text, `de` or `en`. Without it, the caller's own language, else\nEnglish.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The notification.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/notifications/read": {
      "post": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Marks the caller's notifications read: the ones named, or every one, optionally of one context only.\n\nRepeatable: a notification already read keeps its time, and an id that is not the caller's changes nothing.",
        "operationId": "me.notification.markRead",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The notification to mark read.",
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/MarkNotificationsReadInput"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The unread counts of the whole inbox afterwards.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarkNotificationsReadOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/longRunningOperations": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Lists the long-running operations the caller started, newest first.\n\nAn operation another principal started is not listed. A finished operation is kept for the retention the host\nconfigures and then removed.",
        "operationId": "me.longRunningOperation.list",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "The largest number of operations on the page, 30 when omitted. A value above the maximum of 100 returns 100\noperations and is not an error, and a value below 1 is.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `nextCursor` of the previous page, or none for the first page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "description": "Lists only the operations in this state.",
            "schema": {
              "$ref": "#/components/schemas/LongRunningOperationState"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of operations and the cursor of the next page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageOutputOfLongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/longRunningOperations/{id}": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Reads one of the long-running operations the caller started.\n\nWhile the operation is `Queued` or `Running` the answer carries `Retry-After`; once it is\n`Succeeded` or `Failed` it carries none, and exactly one of `result` and `error`.",
        "operationId": "me.longRunningOperation.get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The operation's id. An operation another principal started is not found.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The operation.",
            "headers": {
              "Retry-After": {
                "description": "The seconds to wait before polling the long-running operation again; absent once it is Succeeded or Failed.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/widgetDefinitions": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns the widget definitions the integrator owns.\n\nThe definitions of the integrator's tenants are not listed.",
        "operationId": "integrator.widgetDefinition.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose widget definitions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The integrator's widget definitions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Creates a widget definition owned by the integrator.\n\nThe name, the description and the icon are stored trimmed, an empty icon as null. An invalid definition\nis refused with 400 and nothing is stored.",
        "operationId": "integrator.widgetDefinition.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the definition is created under.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The widget definition to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWidgetDefinitionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created definition as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWidgetDefinitions"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/widgetDefinitions/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces a widget definition of the integrator.\n\nA definition that is not the integrator's own is answered 404 whatever the body, and a stale version 412.",
        "operationId": "integrator.widgetDefinition.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the definition belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The widget definition to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The widget definition to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWidgetDefinitionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated definition as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWidgetDefinitions"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Deletes a widget definition of the integrator.\n\nThe templates, compositions and dashboards that name it keep its id. A definition that is not the\nintegrator's own is answered 404.",
        "operationId": "integrator.widgetDefinition.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the definition belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The widget definition to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteWidgetDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWidgetDefinitions"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/whiteLabel": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns the stored white-label theme of each of the integrator's tenants.\n\nEach theme is the tenant's own as stored, not merged with the integrator's. A tenant never themed is\nabsent, and one reset by an all-null upsert is listed with every member null.",
        "operationId": "integrator.tenantWhiteLabelTheme.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose tenants' themes are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tenants' themes, each with its `tenantId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantWhiteLabelThemeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWhiteLabel"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/whiteLabel": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces the white-label theme of one of the integrator's tenants.\n\nA member sent null is cleared, so the tenant inherits the integrator's, and an all-null body keeps a row\nthat reads as none. A tenant that is not the integrator's is answered 404 whatever the body.",
        "operationId": "integrator.tenantWhiteLabelTheme.upsert",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the tenant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant whose theme is replaced.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant white label theme to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertWhiteLabelThemeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The tenant's theme as stored after the write, not merged with the integrator's.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertWhiteLabelThemeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWhiteLabel"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/whiteLabel": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns the integrator's white-label theme as stored.\n\nA member the integrator has not set is null, and the server fills no default. An integrator never themed\nis answered every member null with `meta.version` null.",
        "operationId": "integrator.whiteLabelTheme.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose theme is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The integrator's theme, the logo as a `data:` URI.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WhiteLabelThemeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces the integrator's white-label theme.\n\nA member sent null is cleared, and an all-null body keeps a row that reads as none. A body the theme\nrefuses is answered 400 whatever the version the write names.",
        "operationId": "integrator.whiteLabelTheme.upsert",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose theme is replaced.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The white label theme to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertWhiteLabelThemeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The theme as stored after the write.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertWhiteLabelThemeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWhiteLabel"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns the tenants of the integrator, each with its owners.",
        "operationId": "integrator.tenant.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose tenants are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The integrator's tenants.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Creates a tenant under the integrator.",
        "operationId": "integrator.tenant.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the tenant is created under.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created tenant, which has no owners yet.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces the name and the slug of a tenant of the integrator.",
        "operationId": "integrator.tenant.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the tenant belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The tenant to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated tenant with its owners.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Deletes a tenant of the integrator.\n\nThe tenant is deleted with its gateways, users and service accounts. A tenant with a live remote-access session\nis refused.",
        "operationId": "integrator.tenant.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the tenant belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The tenant to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/owners": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Invite a user to become tenant owner.\nMails the invitation link and returns it, along with the token, so the operator can also share it.",
        "operationId": "integrator.tenantOwner.invite",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant owner to invite.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteTenantOwnerInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteTenantOwnerOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/owners/{userId}/resend": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Resend an invitation to a user to become tenant owner.\nMails the freshly minted invitation link and returns it, along with the token.",
        "operationId": "integrator.tenantOwnerInvitation.resend",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResendTenantOwnerInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/owners/{id}": {
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Remove or revoke an owner from the tenant.",
        "operationId": "integrator.tenantOwner.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The tenant owner's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/owners/serviceaccounts": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Create a service account that owns the tenant.\nReturns the client ID and the client secret; the secret is shown exactly once and only its hint is stored.\n\nThe machine-identity form of the owner invitation beside this: no email user, no token, no accept step —\nthe redeem is the client_credentials grant. The created account does NOT appear in the tenant's owners\nlist, which enumerates invited users; it appears in the tenant's own Access console, which is\nmembership-driven.",
        "operationId": "integrator.tenantOwnerServiceAccount.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant owner service account to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantOwnerServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the service accounts that own the tenant. Never returns a secret.",
        "operationId": "integrator.tenantOwnerServiceAccount.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/owners/serviceaccounts/{id}": {
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Revoke a service account that owns the tenant, destroying it and its identity provider client.\n\nA service account's identity and its membership are one row, so revoking ownership means destroying the\naccount — the honest mirror of removing an owner user.",
        "operationId": "integrator.tenantOwnerServiceAccount.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The tenant owner service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenants"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenantOverviewComposition": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns the integrator's default overview composition as stored.\n\nA section the integrator has not composed is answered empty, and an integrator that has composed nothing\nis answered two empty sections with `meta.version` null.",
        "operationId": "integrator.tenantOverviewComposition.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose composition is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The integrator's default composition.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantOverviewCompositionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces the integrator's default overview composition.\n\nA section sent null is answered empty, and a body of two empty sections keeps the stored row. A card or\nwidget naming a definition the integrator may not use is refused with 400 and nothing is written.",
        "operationId": "integrator.tenantOverviewComposition.upsert",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose composition is replaced.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant overview composition to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertTenantOverviewCompositionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The composition as stored after the write.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertTenantOverviewCompositionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/overviewComposition": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns every overview composition layer of the integrator's tenants as stored.\n\nThe integrator's layers and the tenants' own are both listed, each with its `tenantId` and\n`author`, and the integrator's default is not. A tenant with no layer is absent.",
        "operationId": "integrator.tenantOverviewCompositionLayer.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose tenants' layers are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The layers of the integrator's tenants.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantOverviewCompositionLayerOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenants/{tenantId}/overviewComposition": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces the integrator's overview composition layer for one of its tenants.\n\nA section sent null inherits the integrator's default, and one sent empty hides it. A tenant that is not\nthe integrator's is answered 404 whatever the body.",
        "operationId": "integrator.tenantOverviewCompositionLayer.upsert",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that authors the layer.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the layer is for.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant overview composition layer to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertTenantOverviewCompositionLayerInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The layer as stored, its sections as authored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertTenantOverviewCompositionLayerOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Removes the integrator's overview composition layer for one of its tenants.\n\nThe tenant's own layer stays, and removing a layer that is not stored succeeds. A tenant that is not the\nintegrator's is answered 404.",
        "operationId": "integrator.tenantOverviewCompositionLayer.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that authored the layer.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant the layer is for.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The reset's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantOverviewCompositionLayerOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenantDashboardTemplates": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns the dashboard templates the integrator authored.",
        "operationId": "integrator.tenantDashboardTemplate.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose templates are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The integrator's templates.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantDashboardTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Creates a dashboard template owned by the integrator.\n\nThe name and the description are stored trimmed. A widget naming a definition the integrator may not use,\nor one that no longer exists, is refused with 400 and nothing is stored.",
        "operationId": "integrator.tenantDashboardTemplate.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the template is created under.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant dashboard template to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantDashboardTemplateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created template as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantDashboardTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/tenantDashboardTemplates/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Replaces the name, the description and the widgets of a dashboard template of the integrator.\n\nA template that is not the integrator's is answered 404 whatever the body, and a stale version 412.",
        "operationId": "integrator.tenantDashboardTemplate.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the template belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The template to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tenant dashboard template to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantDashboardTemplateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated template as stored.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantDashboardTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Deletes a dashboard template of the integrator.\n\nA template that is not the integrator's is answered 404.",
        "operationId": "integrator.tenantDashboardTemplate.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the template belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The template to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantDashboardTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageTenantDashboardTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/systemHealth": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Retrieves the latest system health for every edge gateway under an integrator, spanning all its tenants.\nMirrors the tenant `GET /tenant/{tenantId}/systemHealth`; a gateway with no snapshot is absent from\nthe list (→ frontend Unknown badge).",
        "operationId": "integrator.systemHealth.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSystemHealthOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportAccess/grants": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Every integrator-kind grant on the integrator's own tenants, in every state — the requests its staff\nasked for and the invites its customers gave.",
        "operationId": "integrator.supportGrant.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSupportAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Ask one of the integrator's own tenants for standing consent over a scope of theirs. It lands in that\ntenant's consent inbox and admits nothing until a `ManageSupportAccess` holder at its scope answers it.",
        "operationId": "integrator.supportGrant.request",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The support grant to request.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestSupportAccessGrantInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestSupportAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.SupportAccess"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportAccess/tenants/{tenantId}/scopes": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "The scopes of one of the integrator's own tenants a grant can be asked for: its gateways, its projects\nand its root, with the ancestors that say how they nest.\n\nThe same tree the tenant itself reads when it answers, so requester and approver name one structure.\nIt carries scope ids, names and types only, and no principal.",
        "operationId": "integrator.supportTenantScope.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "description": "The tenant's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfTenantScopeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportSessions": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Every integrator-requested support session on the integrator's gateways, whoever of its staff opened it.",
        "operationId": "integrator.supportSession.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Start a support session on a gateway this integrator owns, under a grant that already covers it.\nWithout one the session is refused and the caller asks for consent at the sibling\n`SupportAccess` controller.",
        "operationId": "integrator.supportSession.start",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The support session to start.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestRemoteAccessSessionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.SupportAccess"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportSessions/{id}": {
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "End one's own support session early.",
        "operationId": "integrator.supportSession.terminate",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerminateRemoteAccessSessionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.SupportAccess"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportSessions/{supportSessionId}/console": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Console connection info for one's own support session.",
        "operationId": "integrator.consoleConnection.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supportSessionId",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteAccessConsoleConnectionOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.SupportAccess"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportSessions/{supportSessionId}/connection": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "VPN join material for one's own support session.",
        "operationId": "integrator.vpnConnection.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supportSessionId",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteAccessConnectionInfoOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.SupportAccess"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/supportSessions/{supportSessionId}/twincat": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "The one-time TwinCAT bundle for one's own session; minted per call and never stored.",
        "operationId": "integrator.twincatConnection.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supportSessionId",
            "in": "path",
            "description": "The support session's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.SupportAccess"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/softwareDeployments": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Deploy Software Release to Edge Gateways",
        "operationId": "integrator.softwareRelease.deploy",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "dryRun",
            "in": "query",
            "description": "true previews the call: it is authorized and validated as the real call, answers the same status and output, and writes nothing and calls out to nothing. Fields only the skipped write would produce are left empty.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "description": "The software release to deploy.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeployInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeployOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": true,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all deployments for an integrator, grouped by software release. This will return the latest deployment for each\nsoftware release and the edge gateways it is deployed to.",
        "operationId": "integrator.softwareDeployment.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The ID of the integrator.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of deployment outputs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfDeploymentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/softwareReleases": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Available software releases (the gateway-independent release catalog). Each entry is a single\nactive Mender release enriched with its parsed software name and version, an `IsLatest` flag\n(newest version for its software name), and the device types it is compatible with. The list is\nnot filtered by the integrator's existing gateways so that software profiles can pin and upgrade\nreleases for hardware that has not been onboarded yet; callers filter by device type client-side.",
        "operationId": "integrator.softwareRelease.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSoftwareReleaseInfo"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/softwareProfiles": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all software profiles for an integrator",
        "operationId": "integrator.softwareProfile.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfSoftwareProfileOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Create a new software profile",
        "operationId": "integrator.softwareProfile.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The software profile to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSoftwareProfileInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSoftwareProfileOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageSoftwareProfiles"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/softwareProfiles/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Update an existing software profile",
        "operationId": "integrator.softwareProfile.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The software profile's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The software profile to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSoftwareProfileInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateSoftwareProfileOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageSoftwareProfiles"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Delete a software profile",
        "operationId": "integrator.softwareProfile.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The software profile's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteSoftwareProfileOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageSoftwareProfiles"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/restarts/{id}/{component}": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Restarts a single component on one of the integrator's edge gateways. Mirrors the tenant\n`POST /Tenant/{tenantId}/Restarts/{id}/{component}`, but is authorized at the\nintegrator root instead of at the gateway's project.",
        "operationId": "integrator.edgeGateway.restart",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "component",
            "in": "path",
            "description": "The component.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegratorRestartOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/longRunningOperations": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Lists the long-running operations started under the integrator, newest first.\n\nA finished operation is kept for the retention the host configures and then removed.",
        "operationId": "integrator.longRunningOperation.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The largest number of operations on the page, 30 when omitted. A value above the maximum of 100 returns 100\noperations and is not an error, and a value below 1 is.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The `nextCursor` of the previous page, or none for the first page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "description": "Lists only the operations in this state.",
            "schema": {
              "$ref": "#/components/schemas/LongRunningOperationState"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of operations and the cursor of the next page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageOutputOfLongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/longRunningOperations/{id}": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Reads one long-running operation started under the integrator.\n\nWhile the operation is `Queued` or `Running` the answer carries `Retry-After`; once it is\n`Succeeded` or `Failed` it carries none, and exactly one of `result` and `error`.",
        "operationId": "integrator.longRunningOperation.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The operation's id. An operation of another integrator is not found.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The operation.",
            "headers": {
              "Retry-After": {
                "description": "The seconds to wait before polling the long-running operation again; absent once it is Succeeded or Failed.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicConfigurationTemplates": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the logic configuration templates of an integrator.",
        "operationId": "integrator.logicConfigurationTemplate.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose templates are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The integrator's templates.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicConfigurationTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Create a new logic configuration template for an integrator.",
        "operationId": "integrator.logicConfigurationTemplate.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the template is created for.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic configuration template to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLogicConfigurationTemplateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created template.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateLogicConfigurationTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLogicConfigurationTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicConfigurationTemplates/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Update an existing logic configuration template of an integrator.",
        "operationId": "integrator.logicConfigurationTemplate.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the template belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The template to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic configuration template to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLogicConfigurationTemplateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated template.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLogicConfigurationTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLogicConfigurationTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Delete a logic configuration template of an integrator.",
        "operationId": "integrator.logicConfigurationTemplate.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the template belongs to.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The template to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The delete's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLogicConfigurationTemplateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLogicConfigurationTemplates"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraries/{logicBlockLibraryId}/translations": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the translation matrix of a library the integrator owns.\n\nA key the latest version no longer emits stays in the matrix, flagged as orphaned, so its translations can\nstill be copied to the key that replaced it.",
        "operationId": "integrator.logicBlockLibraryTranslation.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "logicBlockLibraryId",
            "in": "path",
            "description": "The library whose matrix is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every catalog row of the library with its translation into each locale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicBlockTranslationMatrixRowOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Write translations into the matrix of a library the integrator owns.\n\nA translation already stored for a key and locale is overwritten, the last write winning, and every written\ntranslation stops being outdated. A key that is not in the library's catalog fails the whole request.",
        "operationId": "integrator.logicBlockLibraryTranslation.upsert",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "logicBlockLibraryId",
            "in": "path",
            "description": "The library whose translations are written.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library translation to upsert.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertLogicBlockTranslationsInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The counts inserted and updated, and every matrix row a written translation belongs to.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertLogicBlockTranslationsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Delete the translations of the listed keys, so their compiled source strings render again.\n\nWithout a `locale`, the translations into every locale of each key are deleted. The catalog rows stay.",
        "operationId": "integrator.logicBlockLibraryTranslation.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "logicBlockLibraryId",
            "in": "path",
            "description": "The library whose translations are deleted.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library translation to delete.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteLogicBlockTranslationsInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The number of translations deleted.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLogicBlockTranslationsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraries/{logicBlockLibraryId}/translations/csv": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Export the catalog of a library the integrator owns, with its translations into one locale, as a CSV file.\n\nThe columns are `key`, `context`, `source`, `target`, `status` and\n`outdated`, separated by semicolons, in UTF-8 with a byte-order mark, which is how German-locale Excel\nreads a CSV file.",
        "operationId": "integrator.logicBlockLibraryTranslation.export",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "logicBlockLibraryId",
            "in": "path",
            "description": "The library whose catalog is exported.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The language exported, a BCP 47 plain-language tag such as `de`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The catalog as a CSV file.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Import a translated CSV file into one locale of a library the integrator owns.\n\nEvery valid row is applied and every invalid one is reported with its line number and a reason. Only a file\nthat is empty or lacks a `key` or a `target` column is refused as a whole.",
        "operationId": "integrator.logicBlockLibraryTranslation.import",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "logicBlockLibraryId",
            "in": "path",
            "description": "The library whose catalog the file translates.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The language imported, a BCP 47 plain-language tag such as `de`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library translation to import.",
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The rows applied and the rows refused with their reasons.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportLogicBlockTranslationsCsvOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockTranslations": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the translations into one locale of every library the integrator may use.\n\nThe libraries are the integrator's own, the public ones and the ones granted to it. A key with no\ntranslation into exactly the requested locale is absent, and no other locale stands in for it.",
        "operationId": "integrator.logicBlockTranslationBundle.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose bundle is read.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The language of the bundle, a BCP 47 plain-language tag such as `de`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The translations of the locale, by key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogicBlockTranslationBundleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraries": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the logic block libraries an integrator may see, which are its own, the public ones and the ones granted to it.\n\nA library whose integrator id is another integrator's can be read but not updated, archived or granted.",
        "operationId": "integrator.logicBlockLibrary.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose visible libraries are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The libraries the integrator may see.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicBlockLibraryOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraries/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Update the name, description and visibility of one of an integrator's own logic block libraries.",
        "operationId": "integrator.logicBlockLibrary.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The library to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLogicBlockLibraryInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated library.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLogicBlockLibraryOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Archive one of an integrator's own logic block libraries.\n\nAn archived library is kept and still listed, and an upload of a new version of it is refused.",
        "operationId": "integrator.logicBlockLibrary.archive",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The library to archive.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The archive's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArchiveLogicBlockLibraryOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraryGrants": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the grants an integrator has made on its own logic block libraries.",
        "operationId": "integrator.logicBlockLibraryGrant.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose grants are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "logicBlockLibraryId",
            "in": "query",
            "description": "The library to list the grants of, every library of the integrator when omitted.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The grants the integrator has made.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicBlockLibraryGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Grant one of an integrator's own logic block libraries to another integrator.\n\nA grant to the owning integrator, and a second grant of a library to the same integrator, are refused.",
        "operationId": "integrator.logicBlockLibraryGrant.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library grant to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLogicBlockLibraryGrantInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created grant.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateLogicBlockLibraryGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraryGrants/{id}": {
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Revoke a grant an integrator has made on one of its own logic block libraries.\n\nGateways already running a configuration that uses the library keep running it. Such a configuration fails\nits next activation until the library's blocks are removed from it.",
        "operationId": "integrator.logicBlockLibraryGrant.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that made the grant.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The grant to revoke.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The revocation's acknowledgement.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLogicBlockLibraryGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraryVersions": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the versions of every logic block library an integrator may see, optionally of a single library.\n\nThe integrator may see its own libraries, the public ones and the ones granted to it, archived ones included.\nA version's `integratorId` tells the integrator's own versions from another integrator's.",
        "operationId": "integrator.logicBlockLibraryVersion.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose visible library versions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "packageId",
            "in": "query",
            "description": "The NuGet package id of the library to list the versions of, matched whatever its case, every library the\nintegrator may see when omitted.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The versions of the libraries the integrator may see.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfLogicBlockLibraryVersionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Create a new version of a logic block library by uploading its NuGet package.\n\nThe version is added to the integrator's library for the package id the package's .nuspec declares, matched\ncase-insensitively, and that library is created when the integrator has none. A package id another\nintegrator has registered is refused, and so is a new version of an archived library.",
        "operationId": "integrator.logicBlockLibraryVersion.upload",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library version to upload.",
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "nugetPackageFile": {
                        "$ref": "#/components/schemas/IFormFile"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "releaseNotes": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created version.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateLogicBlockLibraryVersionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockLibraryVersions/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Update the release notes and tags of a version of one of an integrator's own logic block libraries.",
        "operationId": "integrator.logicBlockLibraryVersion.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator that owns the library.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The library version to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The logic block library version to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLogicBlockLibraryVersionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated version.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLogicBlockLibraryVersionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageLibraries"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/logicBlockDefinitions": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get the logic block definitions of every library an integrator may see, which are its own, the public ones\nand the ones granted to it.",
        "operationId": "integrator.logicBlockDefinition.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator whose visible definitions are listed.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The definitions the integrator may see.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorLogicBlockDefinitionOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/edgeGateways": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Returns all edge gateways for an integrator",
        "operationId": "integrator.edgeGateway.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Creates an edge gateway for an integrator and answers the long-running operation that provisions a simulated\ngateway's namespace, already succeeded for any other; the long-running operation's result is the gateway's row.",
        "operationId": "integrator.edgeGateway.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "dryRun",
            "in": "query",
            "description": "true previews the call: it is authorized and validated as the real call, answers the same status and output, and writes nothing and calls out to nothing. Fields only the skipped write would produce are left empty.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "description": "The edge gateway to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEdgeGatewayInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "The work is queued and the long-running operation to poll is answered; its result, once Succeeded, is the body the operation names in x-vion-longRunningOperationResult.",
            "headers": {
              "Retry-After": {
                "description": "The seconds to wait before polling the long-running operation again; absent once it is Succeeded or Failed.",
                "schema": {
                  "type": "integer"
                }
              },
              "Operation-Location": {
                "description": "The long-running operation's own GET path, to be followed as given until the long-running operation is Succeeded or Failed.",
                "schema": {
                  "type": "string"
                }
              },
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": true,
          "completion": "LongRunningOperation"
        },
        "x-stability-level": "beta",
        "x-vion-longRunningOperationResult": {
          "$ref": "#/components/schemas/CreateEdgeGatewayOutput"
        }
      }
    },
    "/integrator/{integratorId}/edgeGateways/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Allows to assign an edge gateway to a tenant",
        "operationId": "integrator.edgeGateway.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The edge gateway to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegratorUpdateEdgeGatewayInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegratorUpdateEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Deletes an edge gateway",
        "operationId": "integrator.edgeGateway.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/edgeGateways/pendingCertificateRequest/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Updates the status of a pending certificate request",
        "operationId": "integrator.certificateRequest.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The certificate request's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The certificate request to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePendingCertificateRequestInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegratorUpdateEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/edgeGateways/{id}/recommission": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Re-commissions an existing edge gateway (preserves the gateway id).",
        "operationId": "integrator.edgeGateway.recommission",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The edge gateway to recommission.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecommissionEdgeGatewayInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEdgeGatewayOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/edgeGateways/{edgeGatewayId}/updateSimulation": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Queues the update of a simulated edge gateway's namespace to the current templates and image versions, and\nanswers the long-running operation to poll; the long-running operation's result is the gateway's row. Persistent\nvolume claims are preserved.",
        "operationId": "integrator.edgeGatewaySimulation.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "edgeGatewayId",
            "in": "path",
            "description": "The edge gateway's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The work is queued and the long-running operation to poll is answered; its result, once Succeeded, is the body the operation names in x-vion-longRunningOperationResult.",
            "headers": {
              "Retry-After": {
                "description": "The seconds to wait before polling the long-running operation again; absent once it is Succeeded or Failed.",
                "schema": {
                  "type": "integer"
                }
              },
              "Operation-Location": {
                "description": "The long-running operation's own GET path, to be followed as given until the long-running operation is Succeeded or Failed.",
                "schema": {
                  "type": "string"
                }
              },
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningOperationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageEdgeGateways"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "LongRunningOperation"
        },
        "x-stability-level": "beta",
        "x-vion-longRunningOperationResult": {
          "$ref": "#/components/schemas/CreateEdgeGatewayOutput"
        }
      }
    },
    "/integrator/{integratorId}/access/scopes/{scopeId}/access": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Who is effective at the given scope, with provenance (direct / inherited / via group).",
        "operationId": "integrator.scopeAccess.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scopeId",
            "in": "path",
            "description": "The scope's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/principals/{principalId}/access": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "The effective roles a principal has across scopes, with provenance.",
        "operationId": "integrator.principalAccess.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "principalId",
            "in": "path",
            "description": "The principal's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/me/access": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "The current caller's own effective roles across scopes. Self-service: any authenticated integrator member.",
        "operationId": "integrator.myAccess.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorAccessGrantOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/me/permissions": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "The current caller's effective permissions in the integrator, at the root and at a set of scopes.\n\nSelf-service: any authenticated integrator member, user or service account. Without `scopeId`, the\nscopes are those where the caller or one of its groups holds an assignment of its own; a scope not listed has\nthe permissions of its nearest listed ancestor, or the root's. A `scopeId` that is not part of the\nintegrator answers with no scope type and no permissions.",
        "operationId": "integrator.myPermissions.get",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scopeId",
            "in": "query",
            "description": "The scopes to resolve, the parameter repeated once per scope; none for the caller's own.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The effective permissions at the root and at each scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegratorEffectivePermissionsOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Membership",
          "permissions": [ ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/invitations/accept": {
      "post": {
        "tags": [
          "User"
        ],
        "description": "Accept an integrator invitation using the invitation token.",
        "operationId": "integrator.invitation.accept",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The invitation to accept.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptIntegratorInvitationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptIntegratorInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/roleAssignments": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all role assignments in the integrator.",
        "operationId": "integrator.roleAssignment.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Assign a role to a user in the integrator.",
        "operationId": "integrator.roleAssignment.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The role assignment to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIntegratorRoleAssignmentInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIntegratorRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/roleAssignments/{id}": {
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Remove a role assignment from the integrator.",
        "operationId": "integrator.roleAssignment.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The role assignment's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIntegratorRoleAssignmentOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/roles": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all available roles for integrators.",
        "operationId": "integrator.role.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorRoleOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.Read"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/scopes": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all scopes available for role assignment.",
        "operationId": "integrator.scope.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorScopeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/serviceAccounts": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all service accounts for this integrator.",
        "operationId": "integrator.serviceAccount.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageServiceAccounts"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Create a service account. Returns the client ID and secret (secret shown only once).",
        "operationId": "integrator.serviceAccount.create",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The service account to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIntegratorServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageServiceAccounts"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/serviceAccounts/{id}": {
      "put": {
        "tags": [
          "Integrator"
        ],
        "description": "Update a service account's name and description.",
        "operationId": "integrator.serviceAccount.update",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "The version the change was made on, as the ETag header or meta.version in double quotes, or *; the write is refused with 412 when the row has moved on.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The service account to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIntegratorServiceAccountInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              },
              "ETag": {
                "description": "The row's version after the write, as a strong tag.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "412": {
            "description": "The If-Match header names a version the row has moved on from; the body's currentVersion and the ETag header name the current one.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageServiceAccounts"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": true,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Delete a service account (also deletes the identity provider client).",
        "operationId": "integrator.serviceAccount.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIntegratorServiceAccountOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageServiceAccounts"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/serviceAccounts/{serviceAccountId}/rotate": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Rotate the client secret for a service account.",
        "operationId": "integrator.serviceAccountSecret.rotate",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serviceAccountId",
            "in": "path",
            "description": "The service account's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateServiceAccountSecretOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageServiceAccounts"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/users": {
      "get": {
        "tags": [
          "Integrator"
        ],
        "description": "Get all users in the integrator (pending and active).",
        "operationId": "integrator.user.list",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfIntegratorUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      },
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Invite a user to the integrator by email.\nMails the invitation link and returns it, along with the token, so the operator can also share it.",
        "operationId": "integrator.user.invite",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The user to invite.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteIntegratorUserInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteIntegratorUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/users/{userId}/resend": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Resend an invitation to a user for the integrator by email.\nMails the freshly minted invitation link and returns it, along with the token.",
        "operationId": "integrator.userInvitation.resend",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResendIntegratorInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/access/users/{id}": {
      "delete": {
        "tags": [
          "Integrator"
        ],
        "description": "Remove or revoke a user from the integrator.",
        "operationId": "integrator.user.delete",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The user's id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIntegratorUserOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageUsers"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/integrator/{integratorId}/aiGeneration/generate": {
      "post": {
        "tags": [
          "Integrator"
        ],
        "description": "Generates text with a language model from the prompt of a domain, a context and the caller's prompt.\n\nThe answer is what a tenant member's generation answers for the same body, and nothing of the integrator is\nread. `domain` names one of the service's prompts, `widget` where none is sent, and any other is\nrefused with 400. A failed call is answered 200 with `error` a fixed text naming no cause.",
        "operationId": "integrator.widgetDefinition.generate",
        "parameters": [
          {
            "name": "integratorId",
            "in": "path",
            "description": "The integrator the caller manages widget definitions of.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The widget definition to generate.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The generated text with the call's timing and estimated cost, or the error of a failed call.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Root",
          "permissions": [
            "Integrator.ManageWidgetDefinitions"
          ],
          "scopeType": "Integrator",
          "scopeFrom": "integratorId"
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Bootstrap endpoint after login. Works for both regular users and service accounts.\nReturns the caller's identity and their tenant, integrator, and platform memberships.",
        "operationId": "me.identity.get",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "stable"
      }
    },
    "/me/subscribers": {
      "post": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Mints a subscriber for the caller to connect to the broker as, and stores nothing.\n\nEach call answers a new subscriber id, so two connections never share one. A caller whose broker user does not\nexist yet, such as a platform service account, is refused with 409.",
        "operationId": "me.subscriber.create",
        "responses": {
          "200": {
            "description": "The subscriber id, the broker, the protocol and quality of service to use, and the will to\nregister.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriberOutput"
                }
              }
            }
          },
          "409": {
            "description": "The target's state forbids the request, or another request changed it first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/profile": {
      "put": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Replaces the caller's own profile, which holds across every membership of the caller.",
        "operationId": "me.profile.update",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The profile to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertPersonProfileInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The stored profile.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertPersonProfileOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Reversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/capabilities": {
      "get": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Lists every declared operation of the API with what it requires of its caller.\n\nEach row's `authorization` is the object the document carries on the operation as\n`x-vion-authorization`. A client gates a control on the operation it calls by joining the row with the\ncaller's own permissions. The list is the same for every caller and changes only with a deployment, so the\ncaller may cache it.",
        "operationId": "system.capability.list",
        "responses": {
          "200": {
            "description": "The declared operations, ordered by operationId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOutputOfCapabilityOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Read",
          "idempotent": false,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    },
    "/me/invitations/{id}/accept": {
      "post": {
        "tags": [
          "User",
          "Tenant",
          "Integrator"
        ],
        "description": "Accepts an invitation sent to the caller's email address, by its id rather than the mailed token.\n\nThe token must carry an email address its identity provider verified, else the answer is 403. An invitation sent\nto another address is not found, as is an id nobody has. An invitation already accepted is a conflict, and an\nexpired one is refused as invalid.",
        "operationId": "me.invitation.accept",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The invitation's id, the id of the user membership it creates.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "An opaque key of 1 to 255 characters naming this request; a repeat under the same key answers the first successful response with Idempotency-Replayed: true, for at least a day, whatever If-Match it carries, though an operation requiring If-Match refuses a repeat without it with 428 first. The body is compared as sent, so a repeat sends the same correlationId or none; another body under the key is a 400.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The membership the invitation became.",
            "headers": {
              "Idempotency-Replayed": {
                "description": "true when this answer replays the first response to a request under the same Idempotency-Key; absent from a first answer, never false.",
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInvitationOutput"
                }
              }
            }
          },
          "400": {
            "description": "The request was malformed or failed input validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server-side error. The exceptionId correlates the response with the server logs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated, but the caller lacks the required permission at the requested scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated. The response has no body by design; the WWW-Authenticate header carries the reason.",
            "headers": {
              "WWW-Authenticate": {
                "description": "Bearer challenge naming the error and, when the token was rejected rather than missing, why.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "A request with the same Idempotency-Key is still running, or the target's state forbids the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          },
          "404": {
            "description": "A route parameter names a target that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiExceptionDto"
                }
              }
            }
          }
        },
        "x-vion-authorization": {
          "mode": "Caller",
          "permissions": [ ],
          "scopeType": null,
          "scopeFrom": null
        },
        "x-vion-capability": {
          "effect": "Irreversible",
          "idempotent": true,
          "versioned": false,
          "dryRun": false,
          "completion": "Response"
        },
        "x-stability-level": "beta"
      }
    }
  },
  "components": {
    "schemas": {
      "AcceptIntegratorInvitationInput": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "The invitation token."
          }
        },
        "description": "Input for accepting an integrator invitation."
      },
      "AcceptIntegratorInvitationOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after accepting an integrator invitation."
      },
      "AcceptInvitationOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after accepting a domain invitation."
      },
      "AcceptPlatformInvitationInput": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "The invitation token."
          }
        },
        "description": "Input for accepting a Platform invitation."
      },
      "AcceptPlatformInvitationOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The Platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after accepting a Platform invitation."
      },
      "AcceptTenantInvitationInput": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "The invitation token."
          }
        },
        "description": "Input for accepting a tenant invitation."
      },
      "AcceptTenantInvitationOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after accepting a tenant invitation."
      },
      "AccessOrigin": {
        "enum": [
          "Direct",
          "Inherited",
          "ViaGroup",
          "ViaGroupInherited"
        ],
        "type": "string",
        "description": "Where an effective access grant originates from, relative to the scope/principal it is projected for.\nSerialized as a string (global `JsonStringEnumConverter`)."
      },
      "ActivateLogicConfigurationOutput": {
        "required": [
          "warnings",
          "id",
          "tenantId",
          "projectId",
          "createdAt",
          "changedAt",
          "activatedAt",
          "isCurrent",
          "createdBy",
          "createdByName",
          "activatedBy",
          "activatedByName",
          "name",
          "description",
          "logicBlockInstances",
          "interfaceMappings",
          "contractMappings"
        ],
        "type": "object",
        "properties": {
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationActivationWarningOutput"
            },
            "description": "The problems the configuration may meet on a gateway once it runs, none of which refuses the activation."
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "activatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "createdBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the creator.",
            "format": "uuid"
          },
          "createdByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.CreatedBy."
          },
          "activatedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the last activator.",
            "format": "uuid"
          },
          "activatedByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.ActivatedBy."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationGroup"
            },
            "description": "The groups the configuration's logic blocks sit in, a tree by each group's parent, in reading order."
          },
          "logicBlockInstances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockInstance"
            }
          },
          "interfaceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMapping"
            }
          },
          "contractMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractMapping"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AlertOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "raisedDateTime",
          "alertRuleId",
          "name",
          "severity",
          "expression",
          "expressionParameters"
        ],
        "type": "object",
        "properties": {
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "raisedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedDateTime": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "alertRuleId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/SeverityLevel"
          },
          "expression": {
            "type": "string"
          },
          "expressionParameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterConfigDto"
            }
          }
        }
      },
      "AlertRuleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "severity",
          "condition"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/SeverityLevel"
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          }
        }
      },
      "AlertStatus": {
        "enum": [
          "Active",
          "Resolved"
        ],
        "type": "string"
      },
      "ApiExceptionDto": {
        "required": [
          "statusCode",
          "exceptionId"
        ],
        "type": "object",
        "properties": {
          "statusCode": {
            "enum": [
              "Continue",
              "SwitchingProtocols",
              "Processing",
              "EarlyHints",
              "OK",
              "Created",
              "Accepted",
              "NonAuthoritativeInformation",
              "NoContent",
              "ResetContent",
              "PartialContent",
              "MultiStatus",
              "AlreadyReported",
              "IMUsed",
              "MultipleChoices",
              "Ambiguous",
              "MovedPermanently",
              "Moved",
              "Found",
              "Redirect",
              "SeeOther",
              "RedirectMethod",
              "NotModified",
              "UseProxy",
              "Unused",
              "TemporaryRedirect",
              "RedirectKeepVerb",
              "PermanentRedirect",
              "BadRequest",
              "Unauthorized",
              "PaymentRequired",
              "Forbidden",
              "NotFound",
              "MethodNotAllowed",
              "NotAcceptable",
              "ProxyAuthenticationRequired",
              "RequestTimeout",
              "Conflict",
              "Gone",
              "LengthRequired",
              "PreconditionFailed",
              "RequestEntityTooLarge",
              "RequestUriTooLong",
              "UnsupportedMediaType",
              "RequestedRangeNotSatisfiable",
              "ExpectationFailed",
              "MisdirectedRequest",
              "UnprocessableEntity",
              "UnprocessableContent",
              "Locked",
              "FailedDependency",
              "UpgradeRequired",
              "PreconditionRequired",
              "TooManyRequests",
              "RequestHeaderFieldsTooLarge",
              "UnavailableForLegalReasons",
              "InternalServerError",
              "NotImplemented",
              "BadGateway",
              "ServiceUnavailable",
              "GatewayTimeout",
              "HttpVersionNotSupported",
              "VariantAlsoNegotiates",
              "InsufficientStorage",
              "LoopDetected",
              "NotExtended",
              "NetworkAuthenticationRequired"
            ],
            "type": "string"
          },
          "exceptionType": {
            "type": [
              "null",
              "string"
            ]
          },
          "exceptionId": {
            "type": "string",
            "format": "uuid"
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          },
          "requiredPermissions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Permission"
            }
          },
          "currentVersion": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int64"
          },
          "problems": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "required": [
                "code",
                "message"
              ],
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "The class name of that exception, as exceptionType names a single one."
                },
                "message": {
                  "type": "string",
                  "description": "Its message."
                }
              },
              "description": "One problem a validation found, named by the exception its check throws when it is the only one."
            }
          }
        }
      },
      "ApiProblem": {
        "required": [
          "code",
          "message"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The class name of that exception, as exceptionType names a single one."
          },
          "message": {
            "type": "string",
            "description": "Its message."
          }
        },
        "description": "One problem a validation found, named by the exception its check throws when it is the only one."
      },
      "ApplyLogicConfigurationInput": {
        "type": "object",
        "properties": {
          "libraries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentLibrary"
            },
            "description": "Each library the configuration uses, once, with the exact version every logic block of it runs."
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentGroup"
            },
            "description": "The groups, a tree by each group's parent, in reading order among siblings."
          },
          "logicBlocks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentLogicBlock"
            },
            "description": "The logic blocks, in reading order."
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentConnection"
            },
            "description": "The connections, each between two endpoints in either order."
          }
        },
        "description": "The logic configuration document to make the configuration match."
      },
      "ApplyLogicConfigurationOutput": {
        "required": [
          "changes",
          "warnings"
        ],
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationChange"
            },
            "description": "Each library, group, logic block and connection created, updated or deleted; empty when nothing changed."
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationWarningOutput"
            },
            "description": "What the configuration is not finished for, which activation refuses, and what is worth knowing, which it does\nnot; none refuses the apply."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "What an apply changed, or a dry run would change, and what activation would still refuse or meet."
      },
      "ApproveSupportAccessRequestInput": {
        "required": [
          "granteeKinds"
        ],
        "type": "object",
        "properties": {
          "granteeKinds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportAccessGranteeKind"
            },
            "description": "Which kinds of support staff the consent admits. One grant per checked kind, so each is listed and\nrevoked independently; both are pre-selected in the dashboard's dialog. The requested grant's own kind\nmust be among them — an approval that leaves it out is not a narrower yes, it is a no, and no is Deny."
          },
          "scopeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The scope consent is given over; omitted keeps the requested one.",
            "format": "uuid"
          },
          "profiles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RemoteAccessProfile"
            },
            "description": "The profiles consent covers; omitted keeps the requested set."
          },
          "elevation": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Whether the consent also admits root on a console. Its own tick, exactly as in the invite dialog:\nanswering a request for an elevated session without it is a legitimate narrower answer. Omitted keeps\nwhat was asked for.",
                "$ref": "#/components/schemas/SupportAccessElevation"
              }
            ]
          },
          "durationMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "How long sessions may start unasked, in minutes. Omitted keeps the requested validity, which may itself\nbe unlimited — the dashboard warns about that rather than the API forbidding it.",
            "format": "int32"
          }
        },
        "description": "Answering a pending grant request. The tenant restates the terms it is willing to give — every one of them\noptional, because leaving a field out means \"as asked\". Sessions under the resulting grant then start\nwithout another click, which is exactly what the duration below buys."
      },
      "ArchiveLogicBlockLibraryOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "ArrangementCollection": {
        "enum": [
          "Dashboards",
          "AssetTree",
          "OverviewSections"
        ],
        "type": "string",
        "description": "The collections a user can order and hide entries in. Closed on purpose: each member declares a scope and an\nid alphabet in `ArrangementCollections`, and a route naming anything else is a 404. Adding a member is a\ncontract change the dashboard compiles against."
      },
      "ArrangementOutput": {
        "required": [
          "scopeKind",
          "scopeId",
          "collection",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "scopeKind": {
            "$ref": "#/components/schemas/ArrangementScopeKind"
          },
          "scopeId": {
            "type": "string",
            "description": "The tenant id or the project id, matching ArrangementScopeKind ArrangementOutput.ScopeKind.",
            "format": "uuid"
          },
          "collection": {
            "$ref": "#/components/schemas/ArrangementCollection"
          },
          "tenantId": {
            "type": "string",
            "description": "The owning tenant, on every row — a project-scoped row's Guid ArrangementOutput.ScopeId is the project.",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The project on a project-scoped row, null on a tenant-scoped one. Restates Guid ArrangementOutput.ScopeId.",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "order": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Entry ids, first to last. Ids the collection does not contain are simply never matched."
          },
          "hidden": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Entry ids to leave out. Empty means everything the collection holds is shown."
          }
        },
        "description": "One stored arrangement row. Carries its own identity because the project read returns the rows of every\nproject in one list, and the client has to tell them apart."
      },
      "ArrangementScopeKind": {
        "enum": [
          "Tenant",
          "Project"
        ],
        "type": "string",
        "description": "The level an ArrangementEntity is authored at, and part of its identity — the rest is the\nscope id and the collection. Which kind a collection takes is not the caller's choice: it is declared once\nin `ArrangementCollections`, and a route that disagrees with the declaration is a 404."
      },
      "AuthorizationMode": {
        "enum": [
          "Root",
          "Scope",
          "Entity",
          "Filtered",
          "Membership",
          "Caller",
          "InCode",
          "Anonymous"
        ],
        "type": "string",
        "description": "How an operation decides who may call it, a closed set published whole, including the modes no declaration\nproduces yet."
      },
      "AutomationAction": {
        "required": [
          "type"
        ],
        "type": "object",
        "anyOf": [
          {
            "$ref": "#/components/schemas/AutomationActionSetProperty"
          }
        ],
        "description": "What an automation does when it fires, the kind in `type`.",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "SetProperty": "#/components/schemas/AutomationActionSetProperty"
          }
        }
      },
      "AutomationActionSetProperty": {
        "required": [
          "edgeGatewayId",
          "serviceProviderIdentifier",
          "serviceIdentifier",
          "propertyIdentifier",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "SetProperty"
            ],
            "type": "string"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "serviceProviderIdentifier": {
            "type": "string"
          },
          "serviceIdentifier": {
            "type": "string"
          },
          "propertyIdentifier": {
            "type": "string"
          },
          "value": { }
        },
        "description": "Sets a property of a service to a value."
      },
      "AutomationCondition": {
        "required": [
          "expression",
          "expressionParameters"
        ],
        "type": "object",
        "properties": {
          "expression": {
            "type": "string"
          },
          "expressionParameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterConfigDto"
            }
          },
          "sustain": {
            "pattern": "^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$",
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AutomationSchedule": {
        "required": [
          "type"
        ],
        "type": "object",
        "anyOf": [
          {
            "$ref": "#/components/schemas/AutomationScheduleOneTime"
          },
          {
            "$ref": "#/components/schemas/AutomationScheduleRecurring"
          }
        ],
        "description": "When a schedule fires, the kind in `type`.",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "OneTime": "#/components/schemas/AutomationScheduleOneTime",
            "Recurring": "#/components/schemas/AutomationScheduleRecurring"
          }
        }
      },
      "AutomationScheduleOneTime": {
        "required": [
          "dateTime",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "OneTime"
            ],
            "type": "string"
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "Fires once, at an instant."
      },
      "AutomationScheduleRecurring": {
        "required": [
          "localTime",
          "days",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "Recurring"
            ],
            "type": "string"
          },
          "localTime": {
            "type": "string",
            "format": "time"
          },
          "days": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayOfWeek"
            }
          },
          "timeZone": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "Fires at a local time on each of its days."
      },
      "BootstrapOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "CapabilityDeprecationOutput": {
        "required": [
          "since",
          "sunset",
          "replacedBy"
        ],
        "type": "object",
        "properties": {
          "since": {
            "type": "string",
            "description": "The day the deprecation began.",
            "format": "date"
          },
          "sunset": {
            "type": "string",
            "description": "The first day the operation may be gone.",
            "format": "date"
          },
          "replacedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The operationId of the operation to call instead, or null where the deprecation names none."
          }
        },
        "description": "When a deprecated operation ends and what to call instead."
      },
      "CapabilityOutput": {
        "required": [
          "id",
          "method",
          "path",
          "effect",
          "idempotent",
          "versioned",
          "dryRun",
          "completion",
          "stability",
          "deprecation",
          "authorization"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The operation's name, `{domain}.{aggregate}.{verb}`, which is its operationId in the document."
          },
          "method": {
            "type": "string",
            "description": "The HTTP method, upper-cased."
          },
          "path": {
            "type": "string",
            "description": "The path as the document keys it."
          },
          "effect": {
            "description": "What calling the operation does to the state, and so whether a client confirms the call first.",
            "$ref": "#/components/schemas/Effect"
          },
          "idempotent": {
            "type": "boolean",
            "description": "Whether the operation honours an `Idempotency-Key` header, answering a repeat of a request under the same key\nwith the first one's response."
          },
          "versioned": {
            "type": "boolean",
            "description": "Whether the operation honours an `If-Match` header naming the version a row's `meta` carries, and refuses\nto replace a row whose version moved since."
          },
          "dryRun": {
            "type": "boolean",
            "description": "Whether the operation takes `dryRun=true` to check a request without applying it."
          },
          "completion": {
            "description": "How the caller learns the outcome: the response itself, or a long-running operation to poll until it ends.",
            "$ref": "#/components/schemas/Completion"
          },
          "stability": {
            "description": "Whether the operation changes only additively or by a deprecation, or without notice.",
            "$ref": "#/components/schemas/Stability"
          },
          "deprecation": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "When the operation ends, or null for an operation that is not deprecated.",
                "$ref": "#/components/schemas/CapabilityDeprecationOutput"
              }
            ]
          },
          "authorization": {
            "description": "What the operation requires of its caller.",
            "$ref": "#/components/schemas/OperationAuthorizationOutput"
          }
        },
        "description": "One operation of the API and what it requires of its caller."
      },
      "CellDefinition": {
        "required": [
          "row",
          "col",
          "contentJson"
        ],
        "type": "object",
        "properties": {
          "row": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "col": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "rowSpan": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "colSpan": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "contentJson": {
            "type": "string"
          }
        }
      },
      "CertificateApprovalOutput": {
        "required": [
          "allow",
          "data"
        ],
        "type": "object",
        "properties": {
          "allow": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "CertificateInfo": {
        "required": [
          "notBefore",
          "notAfter"
        ],
        "type": "object",
        "properties": {
          "notBefore": {
            "type": "string",
            "format": "date-time"
          },
          "notAfter": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CertificateRenewalRequestInfo": {
        "required": [
          "id",
          "requestedAt",
          "lastPingAt",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastPingAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/CertificateRenewalRequestStatus"
          },
          "processedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "processingReason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CertificateRenewalRequestStatus": {
        "enum": [
          "Pending",
          "Approved",
          "Denied",
          "Completed"
        ],
        "type": "string"
      },
      "CommissioningStatus": {
        "enum": [
          "IdentifierApprovedByIntegrator",
          "DeviceRequestedCertificateSuccessfully",
          "AcceptedInMender",
          "Ready",
          "TimedOut",
          "Failed",
          null
        ],
        "type": [
          "null",
          "string"
        ]
      },
      "Completion": {
        "enum": [
          "Response",
          "LongRunningOperation"
        ],
        "type": "string",
        "description": "How the caller learns an operation's outcome, a closed set published whole."
      },
      "CompositionAuthor": {
        "enum": [
          "Integrator",
          "Tenant"
        ],
        "type": "string",
        "description": "        Who wrote a TenantOverviewCompositionEntity, and the third part of its identity: the same\n        `(Tenant, tenantId)` scope holds one row the owning integrator authored for that tenant and one the\n        tenant authored for itself, so a tenant resetting its own row cannot take the integrator's work with it.\n        CompositionAuthor.Integrator is declared first on purpose. An event written before this member existed\ncarries no author, and System.Text.Json leaves an absent enum at default(TEnum) — which\nhas to be CompositionAuthor.Integrator, because every row that predates the column was the integrator's.\nCompositionScopeKind works for the same reason."
      },
      "CompositionOrigin": {
        "enum": [
          "None",
          "IntegratorDefault",
          "IntegratorForTenant",
          "Tenant"
        ],
        "type": "string",
        "description": "        Which layer supplied a section of the resolved composition. Precedence is strict per section and there is\n        no merging inside one, so exactly one layer supplies it — or none.\n        The tenant is told which layer it inherited from so it can say \"this comes from your integrator\"\ninstead of pretending it authored it. It is not told what the layers it did not get hold: an\ninherited value looks the same whether the integrator aimed it at this tenant or ships it to all of\nthem, and reaching past a per-tenant setting to the default beneath is not something a tenant can do."
      },
      "CompositionSectionOrigins": {
        "required": [
          "cards",
          "area"
        ],
        "type": "object",
        "properties": {
          "cards": {
            "$ref": "#/components/schemas/CompositionOrigin"
          },
          "area": {
            "$ref": "#/components/schemas/CompositionOrigin"
          }
        },
        "description": "One CompositionOrigin per section of the overview."
      },
      "CompositionSlot": {
        "required": [
          "definitionId"
        ],
        "type": "object",
        "properties": {
          "definitionId": {
            "type": "string"
          },
          "bindings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateBinding"
            }
          }
        },
        "description": "One card. Narrower than a TemplateWidget: the strip lays cards out, so it carries no position\nor size."
      },
      "CompositionTemplate": {
        "required": [
          "columns",
          "rows",
          "cells"
        ],
        "type": "object",
        "properties": {
          "columns": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "rows": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "gap": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CellDefinition"
            }
          },
          "rowSizes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Explicit CSS grid track lists, e.g. `['auto', '1fr']`. Omitted means every row and column shares\nthe space equally."
          },
          "colSizes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Explicit CSS grid track lists, e.g. `['auto', '1fr']`. Omitted means every row and column shares\nthe space equally."
          }
        }
      },
      "ConnectionStatus": {
        "enum": [
          "Unknown",
          "Offline",
          "Online"
        ],
        "type": "string"
      },
      "ConsoleJoinInput": {
        "required": [
          "sessionId"
        ],
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "description": "The web-SSH bridge's request to join a console session. Deliberately minimal: the bridge proves who it is\nwith its service token and who the human is with the forwarded end-user token, so the only thing left to\nsay is which session."
      },
      "ConsoleJoinOutput": {
        "required": [
          "tenantId",
          "relayEndpoint",
          "relaySessionToken",
          "gatewayHostPrincipal",
          "sshUserPrincipal",
          "sshLoginUser",
          "expiresAtUtc"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant that owns the session. Scopes the recording's object prefix, so a session without it cannot be\nrecorded.",
            "format": "uuid"
          },
          "relayEndpoint": {
            "type": "string",
            "description": "The relay's cluster-internal rendezvous address."
          },
          "relaySessionToken": {
            "type": "string",
            "description": "The BRIDGE leg token for this session."
          },
          "gatewayHostPrincipal": {
            "type": "string",
            "description": "The principal the gateway's SSH host certificate carries — the gateway id, checked with no trust on first use."
          },
          "sshUserPrincipal": {
            "type": "string",
            "description": "The per-device principal the bridge's short-lived user certificate must carry (audit C2: never fleet-wide)."
          },
          "sshLoginUser": {
            "type": "string",
            "description": "The account on the gateway to log in as. It is decided here and not by the bridge because the login\naccount and the certificate principal are two halves of one consent decision — the gateway admits the\nprincipal only for its own account, so sending them apart could only ever produce a refused login."
          },
          "expiresAtUtc": {
            "type": "string",
            "description": "Hard session expiry; the bridge closes the session at it regardless of anything else.",
            "format": "date-time"
          }
        },
        "description": "        Everything the bridge needs to reach the gateway leg and authenticate it, and nothing else. The original\n        six fields are required and the bridge fails closed on a missing one, so this contract is pinned on both\n        sides (architecture spec `2026-09-02-temporary-support-access` § 7, edge-access-services README);\n        string ConsoleJoinOutput.SshLoginUser arrived later and the bridge treats it as optional with a fallback, so cloud-api\n        sends it always and an older bridge keeps working.\n        string ConsoleJoinOutput.RelayEndpoint and string ConsoleJoinOutput.RelaySessionToken carry the same field names the\ngateway receives over mesh but this side's values: the INTERNAL rendezvous address and the BRIDGE leg\ntoken. Handing the bridge the gateway's pair would let it occupy the wrong leg."
      },
      "ContractMapping": {
        "required": [
          "logicBlockInstanceId",
          "contractIdentifier",
          "mappedEdgeGatewayId",
          "mappedServiceProviderIdentifier",
          "mappedServiceIdentifier",
          "mappedContractIdentifier"
        ],
        "type": "object",
        "properties": {
          "logicBlockInstanceId": {
            "type": "string",
            "format": "uuid"
          },
          "contractIdentifier": {
            "type": "string"
          },
          "mappedEdgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "mappedServiceProviderIdentifier": {
            "type": "string"
          },
          "mappedServiceIdentifier": {
            "type": "string"
          },
          "mappedContractIdentifier": {
            "type": "string"
          }
        }
      },
      "CostInfo": {
        "required": [
          "inputTokens",
          "outputTokens",
          "estimatedUsd"
        ],
        "type": "object",
        "properties": {
          "inputTokens": {
            "type": "integer",
            "format": "int32"
          },
          "outputTokens": {
            "type": "integer",
            "format": "int32"
          },
          "estimatedUsd": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "CreateAlertRuleInput": {
        "required": [
          "edgeGatewayId",
          "projectId",
          "name",
          "severity",
          "condition"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/SeverityLevel"
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          }
        }
      },
      "CreateAlertRuleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "severity",
          "condition"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/SeverityLevel"
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          }
        }
      },
      "CreateDashboardInput": {
        "required": [
          "projectId",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardWidget"
            }
          }
        }
      },
      "CreateDashboardOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardWidget"
            }
          }
        }
      },
      "CreateEdgeGatewayInput": {
        "required": [
          "identifier",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "softwareProfileId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional software profile to auto-deploy once the gateway reaches `Ready`. Only meaningful for\nEdgeGatewayManagementType.PlatformManaged gateways.",
            "format": "uuid"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The tenant of this integrator the gateway is assigned to on creation, or null to leave it unassigned.",
            "format": "uuid"
          }
        }
      },
      "CreateEdgeGatewayOutput": {
        "required": [
          "id",
          "integratorId",
          "identifier",
          "tenantId",
          "name",
          "integratorName",
          "integratorDescription",
          "tags",
          "displayName",
          "software",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The tenant's name for the gateway, written by the tenant."
          },
          "integratorName": {
            "type": "string"
          },
          "integratorDescription": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the gateway, string EdgeGatewayOutput.Name where it is set, else string EdgeGatewayOutput.IntegratorName, else\nstring EdgeGatewayOutput.Identifier."
          },
          "software": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareInfo"
            }
          },
          "deviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "certificateRenewalRequest": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CertificateRenewalRequestInfo"
              }
            ]
          },
          "commissioningStatus": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CommissioningStatus"
              }
            ]
          },
          "certificate": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CertificateInfo"
              }
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateIntegratorInput": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      },
      "CreateIntegratorOutput": {
        "required": [
          "id",
          "name",
          "slug",
          "owners"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorOwnerOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateIntegratorOwnerServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name for the service account."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional description."
          }
        },
        "description": "        Input for creating a service account that owns an integrator.\n        The machine-identity counterpart of InviteIntegratorOwnerInput: the caller is a platform\nprincipal, the owner is written into the integrator domain, and there is no email, no token and no\naccept step — a service account's \"redeem\" is the client_credentials grant itself."
      },
      "CreateIntegratorRoleAssignmentInput": {
        "required": [
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType"
        ],
        "type": "object",
        "properties": {
          "principalId": {
            "type": "string",
            "description": "The principal (user, service account or group) to assign the role to. It must belong to the domain root.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal: exactly \"User\", \"ServiceAccount\" or \"Group\"."
          },
          "roleId": {
            "type": "string",
            "description": "The role to assign.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope where the role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          }
        },
        "description": "Input for creating an integrator role assignment."
      },
      "CreateIntegratorRoleAssignmentOutput": {
        "required": [
          "id",
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role assignment ID.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user or group) ID that has this role.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\" or \"Group\")."
          },
          "roleId": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID where this role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "createdAt": {
            "type": "string",
            "description": "The creation timestamp.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating an integrator role assignment."
      },
      "CreateIntegratorServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name for the service account."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional description."
          }
        },
        "description": "Input for creating an integrator service account."
      },
      "CreateIntegratorServiceAccountOutput": {
        "required": [
          "clientSecret",
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "clientSecret": {
            "type": "string",
            "description": "The client secret. Only returned on creation and rotation.",
            "x-vion-secret": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating an integrator service account."
      },
      "CreateLogicBlockLibraryGrantInput": {
        "required": [
          "logicBlockLibraryId",
          "granteeIntegratorSlug"
        ],
        "type": "object",
        "properties": {
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "granteeIntegratorSlug": {
            "type": "string",
            "description": "The slug of the integrator the library is granted to."
          }
        }
      },
      "CreateLogicBlockLibraryGrantOutput": {
        "required": [
          "id",
          "logicBlockLibraryId",
          "ownerIntegratorId",
          "ownerIntegratorName",
          "ownerIntegratorSlug",
          "granteeIntegratorId",
          "granteeIntegratorName",
          "granteeIntegratorSlug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "ownerIntegratorId": {
            "type": "string",
            "format": "uuid"
          },
          "ownerIntegratorName": {
            "type": "string"
          },
          "ownerIntegratorSlug": {
            "type": "string"
          },
          "granteeIntegratorId": {
            "type": "string",
            "format": "uuid"
          },
          "granteeIntegratorName": {
            "type": "string"
          },
          "granteeIntegratorSlug": {
            "type": "string"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateLogicBlockLibraryVersionOutput": {
        "required": [
          "id",
          "integratorId",
          "logicBlockLibraryId",
          "packageId",
          "packageVersion",
          "releaseNotes",
          "tags"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          },
          "releaseNotes": {
            "type": "string",
            "description": "The version's release notes, as GitHub Flavored Markdown for clients to render."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Free-form labels of the version, such as \"Preview\" or \"Deprecated\"."
          },
          "targetDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The highest `Vion.Dale.Sdk` version, as `MAJOR.MINOR.PATCH`, that the library's package stamped as\nreferenced by its assemblies."
          },
          "minimumDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The minimum `Vion.Dale.Sdk` version, as `MAJOR.MINOR.PATCH`, that the library's author declared."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateLogicConfigurationInput": {
        "required": [
          "projectId",
          "name"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationGroup"
            },
            "description": "The groups the configuration's logic blocks sit in, a tree by each group's parent, in reading order."
          },
          "logicBlockInstances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockInstance"
            }
          },
          "interfaceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMapping"
            }
          },
          "contractMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractMapping"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The logic configuration of the same project to copy, as the first step of every change to a current one.",
            "format": "uuid"
          }
        }
      },
      "CreateLogicConfigurationOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "createdAt",
          "changedAt",
          "activatedAt",
          "isCurrent",
          "createdBy",
          "createdByName",
          "activatedBy",
          "activatedByName",
          "name",
          "description",
          "logicBlockInstances",
          "interfaceMappings",
          "contractMappings"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "activatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "createdBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the creator.",
            "format": "uuid"
          },
          "createdByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.CreatedBy."
          },
          "activatedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the last activator.",
            "format": "uuid"
          },
          "activatedByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.ActivatedBy."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationGroup"
            },
            "description": "The groups the configuration's logic blocks sit in, a tree by each group's parent, in reading order."
          },
          "logicBlockInstances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockInstance"
            }
          },
          "interfaceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMapping"
            }
          },
          "contractMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractMapping"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateLogicConfigurationTemplateInput": {
        "required": [
          "name",
          "description",
          "parameters",
          "logicBlockTemplates",
          "interfaceMappingTemplates"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateParameter"
            }
          },
          "logicBlockTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplate"
            }
          },
          "interfaceMappingTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMappingTemplate"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "CreateLogicConfigurationTemplateOutput": {
        "required": [
          "id",
          "integratorId",
          "createdAt",
          "name",
          "description",
          "parameters",
          "logicBlockTemplates",
          "interfaceMappingTemplates"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateParameter"
            }
          },
          "logicBlockTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplate"
            }
          },
          "interfaceMappingTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMappingTemplate"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "CreateNodeAssignmentInput": {
        "required": [
          "nodeId",
          "assignedObjectId",
          "assignedObjectType",
          "projectId"
        ],
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "format": "uuid"
          },
          "assignedObjectId": {
            "type": "string",
            "format": "uuid"
          },
          "assignedObjectType": {
            "type": "string",
            "description": "The type of the assigned object, `EdgeGateway` or `LogicBlock` in exactly that case."
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "CreateNodeAssignmentOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "nodeId",
          "assignedObjectId",
          "assignedObjectType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "nodeId": {
            "type": "string",
            "format": "uuid"
          },
          "assignedObjectId": {
            "type": "string",
            "format": "uuid"
          },
          "assignedObjectType": {
            "type": "string"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateNodeInput": {
        "required": [
          "projectId",
          "name"
        ],
        "type": "object",
        "properties": {
          "parentNodeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The parent node, or null for a root node.",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateNodeOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "parentNodeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The parent node, or null for a root node.",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreatePlatformRoleAssignmentInput": {
        "required": [
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType"
        ],
        "type": "object",
        "properties": {
          "principalId": {
            "type": "string",
            "description": "The principal (user, service account or group) to assign the role to. It must belong to the domain root.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal: exactly \"User\", \"ServiceAccount\" or \"Group\"."
          },
          "roleId": {
            "type": "string",
            "description": "The role to assign.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope where the role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          }
        },
        "description": "Input for creating a Platform role assignment."
      },
      "CreatePlatformRoleAssignmentOutput": {
        "required": [
          "id",
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The Platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role assignment ID.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user or group) ID that has this role.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\" or \"Group\")."
          },
          "roleId": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID where this role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "createdAt": {
            "type": "string",
            "description": "The creation timestamp.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating a Platform role assignment."
      },
      "CreatePlatformServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name for the service account."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional description."
          }
        },
        "description": "Input for creating a platform service account."
      },
      "CreatePlatformServiceAccountOutput": {
        "required": [
          "clientSecret",
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "clientSecret": {
            "type": "string",
            "description": "The client secret. Only returned on creation and rotation.",
            "x-vion-secret": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating a platform service account."
      },
      "CreateProjectInput": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ],
            "description": "Single-line display text rather than structured postal data, so a line break or other control character is\nrefused."
          },
          "latitude": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) latitude from -90 to 90, sent together with the longitude or not\nat all.",
            "format": "double"
          },
          "longitude": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) longitude from -180 to 180, sent together with the latitude or not\nat all.",
            "format": "double"
          }
        }
      },
      "CreateProjectOutput": {
        "required": [
          "id",
          "tenantId",
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "imageVersion": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The site photo's version, or null without a photo, which a client sends as the photo's query parameter\n`v` so that a replaced photo is never served from its cache.",
            "format": "int32"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ],
            "description": "Single-line display text rather than structured postal data, so a line break or other control character is\nrefused."
          },
          "latitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) latitude from -90 to 90, sent together with the longitude or not\nat all.",
            "format": "double"
          },
          "longitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) longitude from -180 to 180, sent together with the latitude or not\nat all.",
            "format": "double"
          }
        }
      },
      "CreateRabbitMqAdminUserInput": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email address of the admin user."
          }
        }
      },
      "CreateRabbitMqAdminUserOutput": {
        "required": [
          "id",
          "email",
          "enabled"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the RabbitMQ user in the Database",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The email address of the admin user."
          },
          "enabled": {
            "type": "boolean",
            "description": "Flag to enable/disable the user"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateRuleInput": {
        "required": [
          "edgeGatewayId",
          "projectId",
          "name",
          "condition",
          "actions"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "CreateRuleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "condition",
          "actions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "CreateScheduleInput": {
        "required": [
          "edgeGatewayId",
          "projectId",
          "name",
          "schedules",
          "actions"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "schedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationSchedule"
            }
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "CreateScheduleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "schedules",
          "actions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "schedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationSchedule"
            }
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "CreateSoftwareProfileInput": {
        "required": [
          "name",
          "items"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareProfileItem"
            }
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "CreateSoftwareProfileOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "items",
          "annotations",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareProfileItemOutput"
            },
            "description": "The ordered profile items, enriched with the release line and version parsed from each pinned\nstring SoftwareProfileItemOutput.ReleaseName so the client can drive upgrade decisions\nagainst the release catalog without re-parsing names."
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateSupportAccessGrantInput": {
        "required": [
          "scopeId",
          "granteeKinds",
          "profiles"
        ],
        "type": "object",
        "properties": {
          "scopeId": {
            "type": "string",
            "description": "The tenant scope consent covers: the tenant root, a project, or a single edge gateway.",
            "format": "uuid"
          },
          "granteeKinds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportAccessGranteeKind"
            },
            "description": "Which kinds of support staff the consent admits. One grant is created per kind, so each is listed and\nrevoked independently. Both are pre-selected in the dashboard's dialog."
          },
          "profiles": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteAccessProfile"
            },
            "description": "The profiles consent covers. A session whose profile is absent is refused even inside the scope."
          },
          "elevation": {
            "description": "Whether the consent also admits root on a console session. Optional and `None` by default, so a\ncaller that does not know about elevation grants exactly what it did before. Only valid when\nList&lt;RemoteAccessProfile&gt; CreateSupportAccessGrantInput.Profiles contains `Console`.",
            "default": "None",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "durationMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "How long sessions may start unasked, in minutes. Omitted means unlimited — deliberately expressible,\nand deliberately something the dashboard warns about.",
            "format": "int32"
          }
        },
        "description": "\"Invite support\": consent given without any pending request. Identical in shape to what the approval dialog\ncollects, because it is the same decision taken from the other direction."
      },
      "CreateTenantDashboardTemplateInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Never null once stored: a template with no description carries the empty string."
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          }
        }
      },
      "CreateTenantDashboardTemplateOutput": {
        "required": [
          "id",
          "createdAt",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The owning integrator, or null for a platform template.",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Never null once stored: a template with no description carries the empty string."
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          }
        }
      },
      "CreateTenantGroupInput": {
        "required": [
          "name",
          "description",
          "memberPrincipalIds"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The group name."
          },
          "description": {
            "type": "string",
            "description": "The group description."
          },
          "memberPrincipalIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Initial member principal IDs."
          }
        },
        "description": "Input for creating a tenant group."
      },
      "CreateTenantGroupOutput": {
        "required": [
          "id",
          "name",
          "description",
          "memberPrincipalIds",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The group ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The group name."
          },
          "description": {
            "type": "string",
            "description": "The group description."
          },
          "memberPrincipalIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The principal IDs of users in this group."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating a tenant group."
      },
      "CreateTenantInput": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      },
      "CreateTenantOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "slug",
          "owners"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantOwnerOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "CreateTenantOwnerServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name for the service account."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional description."
          }
        },
        "description": "        Input for creating a service account that owns a tenant.\n        The machine-identity counterpart of InviteTenantOwnerInput: the caller is an integrator\nprincipal, the owner is written into the tenant domain, and there is no email, no token and no accept\nstep — a service account's \"redeem\" is the client_credentials grant itself."
      },
      "CreateTenantRoleAssignmentInput": {
        "required": [
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType"
        ],
        "type": "object",
        "properties": {
          "principalId": {
            "type": "string",
            "description": "The principal (user, service account or group) to assign the role to. It must belong to the domain root.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal: exactly \"User\", \"ServiceAccount\" or \"Group\"."
          },
          "roleId": {
            "type": "string",
            "description": "The role to assign.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope where the role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          }
        },
        "description": "Input for creating a tenant role assignment."
      },
      "CreateTenantRoleAssignmentOutput": {
        "required": [
          "id",
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role assignment ID.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user or group) ID that has this role.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\" or \"Group\")."
          },
          "roleId": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID where this role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "createdAt": {
            "type": "string",
            "description": "The creation timestamp.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating a tenant role assignment."
      },
      "CreateTenantServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name for the service account."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional description."
          }
        },
        "description": "Input for creating a tenant service account."
      },
      "CreateTenantServiceAccountOutput": {
        "required": [
          "clientSecret",
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "clientSecret": {
            "type": "string",
            "description": "The client secret. Only returned on creation and rotation.",
            "x-vion-secret": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after creating a tenant service account."
      },
      "CreateTenantWidgetDefinitionInput": {
        "required": [
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "CreateTenantWidgetDefinitionOutput": {
        "required": [
          "id",
          "createdAt",
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "CreateWidgetDefinitionInput": {
        "required": [
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "CreateWidgetDefinitionOutput": {
        "required": [
          "id",
          "createdAt",
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "DaleRuntimeOutput": {
        "type": "object",
        "properties": {
          "version": {
            "type": [
              "null",
              "string"
            ],
            "description": "The version of dale the gateway runs, as dale declares it; absent when it declares none."
          },
          "sdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The `Vion.Dale.Sdk` version the gateway's dale hosts, `MAJOR.MINOR.PATCH`; absent when it declares\nnone."
          }
        }
      },
      "DashboardOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardWidget"
            }
          }
        }
      },
      "DashboardWidget": {
        "required": [
          "id",
          "type",
          "w",
          "h",
          "configJson"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "type": "string"
          },
          "x": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Null means auto-position: the renderer places the widget in the first free slot.",
            "format": "int32"
          },
          "y": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Null means auto-position: the renderer places the widget in the first free slot.",
            "format": "int32"
          },
          "w": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "h": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "configJson": {
            "type": "string"
          }
        }
      },
      "DataSourceDefinition": {
        "required": [
          "name",
          "shape",
          "sourceType"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "shape": {
            "type": "string"
          },
          "sourceType": {
            "type": "string"
          },
          "params": {
            "type": "object",
            "additionalProperties": { },
            "description": "The fetcher's configuration bag, keyed per `sourceType`. The keys are data, so they opt out of the\nglobal `DictionaryKeyPolicy = CamelCase` with a key-preserving converter."
          }
        }
      },
      "DayOfWeek": {
        "enum": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "type": "string"
      },
      "DeleteAlertRuleOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteArrangementOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteDashboardOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteEdgeGatewayOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteIntegratorOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteIntegratorRoleAssignmentOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting an integrator role assignment."
      },
      "DeleteIntegratorServiceAccountOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting an integrator service account."
      },
      "DeleteIntegratorUserOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting an Integrator user."
      },
      "DeleteLogicBlockLibraryGrantOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteLogicBlockTranslationsInput": {
        "required": [
          "keys"
        ],
        "type": "object",
        "properties": {
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The catalog keys whose translations are deleted, at least one."
          },
          "locale": {
            "type": [
              "null",
              "string"
            ],
            "description": "The one locale whose translations are deleted, or `null` for every locale."
          }
        }
      },
      "DeleteLogicBlockTranslationsOutput": {
        "required": [
          "deleted"
        ],
        "type": "object",
        "properties": {
          "deleted": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DeleteLogicConfigurationOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteLogicConfigurationTemplateOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteNodeAssignmentOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteNodeOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteOnboardingSessionOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteOwnOverviewCompositionOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeletePlatformRoleAssignmentOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting an Platform role assignment."
      },
      "DeletePlatformServiceAccountOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting a platform service account."
      },
      "DeletePlatformUserOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting a Platform user."
      },
      "DeleteProjectImageOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteProjectOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteRabbitMqAdminUserOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteRuleOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteScheduleOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteServiceProviderOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteSoftwareProfileOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteTenantDashboardTemplateOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteTenantGroupOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting a tenant group."
      },
      "DeleteTenantOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteTenantOverviewCompositionLayerOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteTenantRoleAssignmentOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting a tenant role assignment."
      },
      "DeleteTenantServiceAccountOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting a tenant service account."
      },
      "DeleteTenantUserOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Output after deleting an Tenant user."
      },
      "DeleteTenantWidgetDefinitionOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteWidgetDefinitionOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "DenySupportAccessRequestOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Denying a request changes only that grant, which the caller re-reads from the grant list."
      },
      "DeployInput": {
        "required": [
          "edgeGatewayIds",
          "softwareReleaseName",
          "softwareReleaseVersion"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "softwareReleaseName": {
            "type": "string"
          },
          "softwareReleaseVersion": {
            "type": "string"
          }
        }
      },
      "DeploymentOutput": {
        "required": [
          "createdAt",
          "softwareReleaseName",
          "softwareReleaseVersion",
          "edgeGatewayIds",
          "edgeGateways",
          "status"
        ],
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string"
          },
          "softwareReleaseName": {
            "type": "string"
          },
          "softwareReleaseVersion": {
            "type": "string"
          },
          "edgeGatewayIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "deprecated": true,
            "x-sunset": "2027-02-01"
          },
          "edgeGateways": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EdgeGatewayInfoOutput"
            }
          },
          "status": {
            "type": "string"
          },
          "finished": {
            "type": [
              "null",
              "string"
            ],
            "description": "Date and time when the deployment finished, null if not finished yet,"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "DeployOutput": {
        "required": [
          "createdAt",
          "softwareReleaseName",
          "softwareReleaseVersion",
          "edgeGatewayIds"
        ],
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "softwareReleaseName": {
            "type": "string"
          },
          "softwareReleaseVersion": {
            "type": "string"
          },
          "edgeGatewayIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "EdgeGatewayInfoOutput": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "EdgeGatewayLogLevelsOutput": {
        "required": [
          "edgeGatewayId",
          "components"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogLevelStateOutput"
            },
            "description": "Latest log level per component (`\"mesh\"` or service provider identifier) on this gateway.\nEmpty if no state messages have been received yet."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Latest log levels for all components of a single edge gateway."
      },
      "EdgeGatewayManagementType": {
        "enum": [
          "PlatformManaged",
          "ExternallyManaged",
          "Simulated"
        ],
        "type": "string"
      },
      "Effect": {
        "enum": [
          "Read",
          "Reversible",
          "Irreversible"
        ],
        "type": "string",
        "description": "What a client must do before calling an operation, a closed set published whole."
      },
      "EventsSyncStatus": {
        "enum": [
          "Pending",
          "InProgress",
          "Completed",
          "Failed"
        ],
        "type": "string"
      },
      "ExportLogicConfigurationOutput": {
        "type": "object",
        "properties": {
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "libraries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentLibrary"
            },
            "description": "Each library the configuration uses, once, with the exact version every logic block of it runs."
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentGroup"
            },
            "description": "The groups, a tree by each group's parent, in reading order among siblings."
          },
          "logicBlocks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentLogicBlock"
            },
            "description": "The logic blocks, in reading order."
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentConnection"
            },
            "description": "The connections, each between two endpoints in either order."
          }
        },
        "description": "A logic configuration's document, with the configuration's version in `meta`."
      },
      "FieldInfo": {
        "required": [
          "identifier",
          "type"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "Unique key for this field, used as the key in the selection dictionary.\ne.g. \"has_rs485\", \"baudrate\", \"gpio4\""
          },
          "type": {
            "type": "string",
            "description": "Data type of the field value.\ne.g. \"Bool\", \"Enum\", \"String\", \"Number\""
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { },
            "description": "UI metadata for rendering the field. Common keys:\n- \"name\" (string): display label, e.g. \"RS485 Baudrate\"\n- \"group\" (string): visual grouping, e.g. \"Extension Boards\", \"GPIO Pins\"\n- \"default\" (bool|int|string): default value, e.g. false, 9600, \"Unused\"\n- \"options\" (list): allowed values for Enum type, e.g. [9600, 19200, 38400]\n- \"visibleWhen\" (object): conditional visibility, e.g. { \"fieldId\": \"has_rs485\", \"equals\": true }"
          }
        }
      },
      "GapFillingMode": {
        "enum": [
          "None",
          "Linear",
          "Stepwise"
        ],
        "type": "string"
      },
      "GenerateInput": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "context": {
            "type": [
              "null",
              "string"
            ]
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "GenerateOutput": {
        "required": [
          "timing",
          "cost"
        ],
        "type": "object",
        "properties": {
          "rawText": {
            "type": [
              "null",
              "string"
            ]
          },
          "timing": {
            "$ref": "#/components/schemas/TimingInfo"
          },
          "cost": {
            "$ref": "#/components/schemas/CostInfo"
          },
          "error": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "HealthStatus": {
        "enum": [
          "Unknown",
          "Unhealthy",
          "Healthy"
        ],
        "type": "string"
      },
      "HttpStatusCode": {
        "enum": [
          "Continue",
          "SwitchingProtocols",
          "Processing",
          "EarlyHints",
          "OK",
          "Created",
          "Accepted",
          "NonAuthoritativeInformation",
          "NoContent",
          "ResetContent",
          "PartialContent",
          "MultiStatus",
          "AlreadyReported",
          "IMUsed",
          "MultipleChoices",
          "Ambiguous",
          "MovedPermanently",
          "Moved",
          "Found",
          "Redirect",
          "SeeOther",
          "RedirectMethod",
          "NotModified",
          "UseProxy",
          "Unused",
          "TemporaryRedirect",
          "RedirectKeepVerb",
          "PermanentRedirect",
          "BadRequest",
          "Unauthorized",
          "PaymentRequired",
          "Forbidden",
          "NotFound",
          "MethodNotAllowed",
          "NotAcceptable",
          "ProxyAuthenticationRequired",
          "RequestTimeout",
          "Conflict",
          "Gone",
          "LengthRequired",
          "PreconditionFailed",
          "RequestEntityTooLarge",
          "RequestUriTooLong",
          "UnsupportedMediaType",
          "RequestedRangeNotSatisfiable",
          "ExpectationFailed",
          "MisdirectedRequest",
          "UnprocessableEntity",
          "UnprocessableContent",
          "Locked",
          "FailedDependency",
          "UpgradeRequired",
          "PreconditionRequired",
          "TooManyRequests",
          "RequestHeaderFieldsTooLarge",
          "UnavailableForLegalReasons",
          "InternalServerError",
          "NotImplemented",
          "BadGateway",
          "ServiceUnavailable",
          "GatewayTimeout",
          "HttpVersionNotSupported",
          "VariantAlsoNegotiates",
          "InsufficientStorage",
          "LoopDetected",
          "NotExtended",
          "NetworkAuthenticationRequired"
        ],
        "type": "string"
      },
      "IFormFile": {
        "type": "string",
        "format": "binary"
      },
      "ImportLogicBlockTranslationsCsvOutput": {
        "required": [
          "inserted",
          "updated",
          "rejected",
          "rejections"
        ],
        "type": "object",
        "properties": {
          "inserted": {
            "type": "integer",
            "format": "int32"
          },
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "rejected": {
            "type": "integer",
            "format": "int32"
          },
          "rejections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportLogicBlockTranslationsCsvRejectionOutput"
            },
            "description": "One entry per rejected row, in file order."
          }
        }
      },
      "ImportLogicBlockTranslationsCsvRejectionOutput": {
        "required": [
          "line",
          "key",
          "reason"
        ],
        "type": "object",
        "properties": {
          "line": {
            "type": "integer",
            "description": "The row's 1-based number in the uploaded file, counting the header row as a spreadsheet does.",
            "format": "int32"
          },
          "key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      },
      "InstantiationParameterValue": {
        "required": [
          "identifier"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "The case-sensitive identifier of the instantiation parameter's introspection property."
          },
          "value": {
            "description": "The chosen value as a JSON scalar, with an enum as its member name string, an integer as a number, a boolean\nor a string."
          }
        }
      },
      "IntegratorAccessGrantOutput": {
        "required": [
          "roleAssignmentId",
          "principalId",
          "principalType",
          "principalName",
          "roleId",
          "roleName",
          "targetScopeId",
          "targetScopeType",
          "targetScopeName",
          "origin",
          "sourceScopeId",
          "sourceScopeType",
          "sourceScopeName"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "roleAssignmentId": {
            "type": "string",
            "description": "The underlying role assignment this grant resolves from — the removal target for deleting the grant.\nNote: one assignment can back several rows (a group assignment yields the group's own row plus one per\nmember), so inherited / via-group rows point at the ancestor / group assignment, not a per-row one.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user, group or service account) the grant applies to.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\", \"Group\" or \"ServiceAccount\")."
          },
          "principalName": {
            "type": "string",
            "description": "Display name of the principal (user full name or email, group name, service account name)."
          },
          "roleId": {
            "type": "string",
            "description": "The role granted.",
            "format": "uuid"
          },
          "roleName": {
            "type": "string",
            "description": "Display name of the role."
          },
          "targetScopeId": {
            "type": "string",
            "description": "The scope this grant is projected for (the queried scope for the scope view;\nequal to the source scope for the principal view).",
            "format": "uuid"
          },
          "targetScopeType": {
            "type": "string",
            "description": "The type of the target scope."
          },
          "targetScopeName": {
            "type": "string",
            "description": "Display name of the target scope."
          },
          "origin": {
            "description": "Where the grant comes from: direct, inherited from an ancestor, via a group, or via a group on an ancestor.",
            "$ref": "#/components/schemas/AccessOrigin"
          },
          "sourceScopeId": {
            "type": "string",
            "description": "The scope where the underlying assignment actually lives (self or an ancestor of the target scope).",
            "format": "uuid"
          },
          "sourceScopeType": {
            "type": "string",
            "description": "The type of the source scope."
          },
          "sourceScopeName": {
            "type": "string",
            "description": "Display name of the source scope."
          },
          "viaGroupId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The group the grant is inherited through. Null unless AccessOrigin AccessGrantOutput.Origin is\nAccessOrigin.ViaGroup or AccessOrigin.ViaGroupInherited.",
            "format": "uuid"
          },
          "viaGroupName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Display name of the group the grant is inherited through. Null when Guid? AccessGrantOutput.ViaGroupId is null."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Integrator wrapper for an effective access grant with provenance."
      },
      "IntegratorEdgeGatewayOutput": {
        "required": [
          "id",
          "integratorId",
          "identifier",
          "tenantId",
          "name",
          "integratorName",
          "integratorDescription",
          "tags",
          "displayName",
          "software",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The tenant's name for the gateway, written by the tenant."
          },
          "integratorName": {
            "type": "string"
          },
          "integratorDescription": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the gateway, string EdgeGatewayOutput.Name where it is set, else string EdgeGatewayOutput.IntegratorName, else\nstring EdgeGatewayOutput.Identifier."
          },
          "software": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareInfo"
            }
          },
          "deviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "certificateRenewalRequest": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CertificateRenewalRequestInfo"
              }
            ]
          },
          "commissioningStatus": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CommissioningStatus"
              }
            ]
          },
          "certificate": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CertificateInfo"
              }
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "IntegratorEffectivePermissionsOutput": {
        "required": [
          "root",
          "scopes"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "root": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The effective permissions at the domain root, which a scope inherits when neither it nor any of its\nancestors is among the listed scopes."
          },
          "scopes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScopePermissionsOutput"
            },
            "description": "The requested scopes, or else the scopes where the caller or one of its groups holds an assignment of its\nown, each with its full effective set."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Integrator wrapper for the caller's effective permissions."
      },
      "IntegratorLogicBlockDefinitionOutput": {
        "required": [
          "id",
          "integratorId",
          "ownerIntegratorName",
          "ownerIntegratorSlug",
          "logicBlockLibraryId",
          "packageId",
          "packageVersion",
          "name",
          "description",
          "tags"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "description": "The integrator that owns the definition's library, which is not the requesting integrator for a public or\ngranted library.",
            "format": "uuid"
          },
          "ownerIntegratorName": {
            "type": "string",
            "description": "The display name of the integrator that owns the definition's library."
          },
          "ownerIntegratorSlug": {
            "type": "string"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "typeFullName": {
            "type": "string"
          },
          "interfaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceInfo"
            }
          },
          "contracts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockIntrospectionResultContractInfo"
            }
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockIntrospectionResultServiceInfo"
            }
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "IntegratorOutput": {
        "required": [
          "id",
          "name",
          "slug",
          "owners"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorOwnerOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "IntegratorOwnerOutput": {
        "required": [
          "id",
          "email",
          "status",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "IntegratorRestartOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "IntegratorRoleAssignmentOutput": {
        "required": [
          "id",
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role assignment ID.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user or group) ID that has this role.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\" or \"Group\")."
          },
          "roleId": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID where this role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "createdAt": {
            "type": "string",
            "description": "The creation timestamp.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for integrator role assignment information."
      },
      "IntegratorRoleOutput": {
        "required": [
          "id",
          "name",
          "description",
          "permissions",
          "assignableScopeTypes"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The display name of the role."
          },
          "description": {
            "type": "string",
            "description": "Description of what the role allows."
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The permissions granted by this role."
          },
          "assignableScopeTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The scopes to which this role can be assigned."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for integrator role information."
      },
      "IntegratorScopeOutput": {
        "required": [
          "scopeId",
          "scopeType",
          "name",
          "ancestors"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "name": {
            "type": "string",
            "description": "The name of the scope"
          },
          "ancestors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScopeAncestor"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "IntegratorServiceAccountOutput": {
        "required": [
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for integrator service account information."
      },
      "IntegratorUpdateEdgeGatewayInput": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "integratorName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The integrator's name for the gateway, or `null` to leave it unchanged."
          },
          "integratorDescription": {
            "type": [
              "null",
              "string"
            ],
            "description": "The integrator's description of the gateway, or `null` to leave it unchanged."
          },
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "The integrator's tags for the gateway, the whole list, or `null` to leave them unchanged."
          }
        }
      },
      "IntegratorUpdateEdgeGatewayOutput": {
        "required": [
          "id",
          "integratorId",
          "identifier",
          "tenantId",
          "name",
          "integratorName",
          "integratorDescription",
          "tags",
          "displayName",
          "software",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The tenant's name for the gateway, written by the tenant."
          },
          "integratorName": {
            "type": "string"
          },
          "integratorDescription": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the gateway, string EdgeGatewayOutput.Name where it is set, else string EdgeGatewayOutput.IntegratorName, else\nstring EdgeGatewayOutput.Identifier."
          },
          "software": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareInfo"
            }
          },
          "deviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "certificateRenewalRequest": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CertificateRenewalRequestInfo"
              }
            ]
          },
          "commissioningStatus": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CommissioningStatus"
              }
            ]
          },
          "certificate": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CertificateInfo"
              }
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "IntegratorUserOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for integrator user information."
      },
      "InterfaceInfo": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "interfaceTypeFullNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "matchingInterfaceTypeFullNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "InterfaceMapping": {
        "required": [
          "logicBlockInstanceId",
          "interfaceIdentifier",
          "mappedLogicBlockInstanceId",
          "mappedInterfaceIdentifier"
        ],
        "type": "object",
        "properties": {
          "logicBlockInstanceId": {
            "type": "string",
            "format": "uuid"
          },
          "interfaceIdentifier": {
            "type": "string"
          },
          "mappedLogicBlockInstanceId": {
            "type": "string",
            "format": "uuid"
          },
          "mappedInterfaceIdentifier": {
            "type": "string"
          }
        }
      },
      "InterfaceMappingTemplate": {
        "required": [
          "logicBlockTemplateLocalId",
          "interfaceIdentifier",
          "mappedLogicBlockTemplateLocalId",
          "mappedInterfaceIdentifier"
        ],
        "type": "object",
        "properties": {
          "logicBlockTemplateLocalId": {
            "type": "string"
          },
          "interfaceIdentifier": {
            "type": "string"
          },
          "mappedLogicBlockTemplateLocalId": {
            "type": "string"
          },
          "mappedInterfaceIdentifier": {
            "type": "string"
          }
        }
      },
      "IntervalEnum": {
        "enum": [
          "OneMinute",
          "FiveMinutes",
          "FifteenMinutes",
          "Hourly",
          "Daily",
          "Monthly",
          "Yearly"
        ],
        "type": "string"
      },
      "InviteIntegratorOwnerInput": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "description": "Input for inviting a user as an Integrator owner."
      },
      "InviteIntegratorOwnerOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "invitationToken": {
            "type": "string"
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side. Empty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after inviting a user as an Integrator owner."
      },
      "InviteIntegratorUserInput": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email address of the user to invite."
          }
        },
        "description": "Input for inviting a user to an integrator."
      },
      "InviteIntegratorUserOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "invitationToken": {
            "type": "string",
            "description": "The invitation token to send to the user. Kept for backwards compatibility; prefer\nstring InviteUserOutput.InvitationLink."
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side so the mailed link and the copy-link are identical.\nEmpty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation. When\n`false` the invitation is still valid and the operator must share string InviteUserOutput.InvitationLink\nthemselves — so every surface has to render this."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after inviting a user to an integrator."
      },
      "InvitePlatformUserInput": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email address of the user to invite."
          }
        },
        "description": "Input for inviting a user to a Platform."
      },
      "InvitePlatformUserOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The Platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "invitationToken": {
            "type": "string",
            "description": "The invitation token to send to the user. Kept for backwards compatibility; prefer\nstring InviteUserOutput.InvitationLink."
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side so the mailed link and the copy-link are identical.\nEmpty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation. When\n`false` the invitation is still valid and the operator must share string InviteUserOutput.InvitationLink\nthemselves — so every surface has to render this."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after inviting a user to a Platform."
      },
      "InviteTenantOwnerInput": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "description": "Input for inviting a user as a Tenant owner."
      },
      "InviteTenantOwnerOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "invitationToken": {
            "type": "string"
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side. Empty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after inviting a user as a Tenant owner."
      },
      "InviteTenantUserInput": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email address of the user to invite."
          }
        },
        "description": "Input for inviting a user to a tenant.\nShares Email property with InviteDomainUserInput."
      },
      "InviteTenantUserOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "invitationToken": {
            "type": "string",
            "description": "The invitation token to send to the user. Kept for backwards compatibility; prefer\nstring InviteUserOutput.InvitationLink."
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side so the mailed link and the copy-link are identical.\nEmpty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation. When\n`false` the invitation is still valid and the operator must share string InviteUserOutput.InvitationLink\nthemselves — so every surface has to render this."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after inviting a user to a tenant."
      },
      "JwtInput": {
        "required": [
          "sub"
        ],
        "type": "object",
        "properties": {
          "sub": {
            "type": "string"
          }
        }
      },
      "JwtOutput": {
        "required": [
          "token",
          "type",
          "expiresAt",
          "issuedAt"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "expiresAt": {
            "type": "integer",
            "format": "int64"
          },
          "issuedAt": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "LibraryVisibility": {
        "enum": [
          "Private",
          "Public"
        ],
        "type": "string"
      },
      "ListOutputOfAlertRuleOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlertRuleOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfArrangementOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArrangementOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfCapabilityOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CapabilityOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfDashboardOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfDeploymentOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeploymentOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfEdgeGatewayLogLevelsOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EdgeGatewayLogLevelsOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorAccessGrantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorAccessGrantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorEdgeGatewayOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorEdgeGatewayOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorLogicBlockDefinitionOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorLogicBlockDefinitionOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorRoleAssignmentOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorRoleAssignmentOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorRoleOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorRoleOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorScopeOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorScopeOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorServiceAccountOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorServiceAccountOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfIntegratorUserOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorUserOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfLogicBlockLibraryGrantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockLibraryGrantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfLogicBlockLibraryOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockLibraryOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfLogicBlockLibraryVersionOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockLibraryVersionOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfLogicBlockTranslationMatrixRowOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTranslationMatrixRowOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfLogicConfigurationOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfLogicConfigurationTemplateOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationTemplateOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfMeasuringPointSeriesOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MeasuringPointSeriesOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfNodeAssignmentOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NodeAssignmentOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfNodeOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NodeOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfOnboardingSessionOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OnboardingSessionOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfPlatformAccessGrantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformAccessGrantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfPlatformRoleAssignmentOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformRoleAssignmentOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfPlatformRoleOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformRoleOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfPlatformScopeOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformScopeOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfPlatformServiceAccountOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformServiceAccountOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfPlatformUserOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformUserOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfProjectOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfRabbitMqAdminUserOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RabbitMqAdminUserOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfRemoteAccessSessionOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteAccessSessionOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfRuleOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuleOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfScheduleOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduleOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfServiceLogicBlockInstanceOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceLogicBlockInstanceOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfServiceOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfServiceProviderContractsOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceProviderContractsOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfServiceProviderOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceProviderOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfServiceProviderSetupOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceProviderSetupOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfSoftwareProfileOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareProfileOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfSoftwareReleaseInfo": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareReleaseInfo"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfSupportAccessGrantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportAccessGrantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfSupportAccessTenantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportAccessTenantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfSyncStatusOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SyncStatusOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfSystemHealthOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SystemHealthOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantAccessGrantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantAccessGrantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantDashboardTemplateOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantDashboardTemplateOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantEdgeGatewayOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantEdgeGatewayOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantGroupOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantGroupOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantLogicBlockDefinitionOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantLogicBlockDefinitionOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantOverviewCompositionLayerOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantOverviewCompositionLayerOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantRoleAssignmentOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantRoleAssignmentOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantRoleOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantRoleOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantScopeOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantScopeOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantServiceAccountOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantServiceAccountOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantUserOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantUserOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfTenantWhiteLabelThemeOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantWhiteLabelThemeOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ListOutputOfWidgetDefinitionOutput": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WidgetDefinitionOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "LogicBlockInstance": {
        "required": [
          "id",
          "edgeGatewayId",
          "logicBlockDefinitionId",
          "name",
          "services"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": [
              "null",
              "string"
            ],
            "description": "The block's reference in the logic configuration document, unique among the configuration's blocks."
          },
          "group": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the group the block sits in; null for none."
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "logicBlockDefinitionId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceIdMapping"
            }
          },
          "instantiationParameterValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstantiationParameterValue"
            },
            "description": "The operator-chosen `[InstantiationParameter]` values of the instance, applied to the logic block before\nits `Configure` runs."
          }
        }
      },
      "LogicBlockIntrospectionResultContractInfo": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "contractTypeFullName": {
            "type": "string"
          },
          "matchingContractType": {
            "type": "string"
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "LogicBlockIntrospectionResultServiceInfo": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "includedWhen": {
            "type": [
              "null",
              "string"
            ]
          },
          "interfaceTypeFullNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServicePropertyInfo"
            }
          },
          "measuringPoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceMeasuringPointInfo"
            }
          },
          "inwardRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceRelationInfo"
            }
          },
          "outwardRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceRelationInfo"
            }
          }
        }
      },
      "LogicBlockLibraryGrantOutput": {
        "required": [
          "id",
          "logicBlockLibraryId",
          "ownerIntegratorId",
          "ownerIntegratorName",
          "ownerIntegratorSlug",
          "granteeIntegratorId",
          "granteeIntegratorName",
          "granteeIntegratorSlug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "ownerIntegratorId": {
            "type": "string",
            "format": "uuid"
          },
          "ownerIntegratorName": {
            "type": "string"
          },
          "ownerIntegratorSlug": {
            "type": "string"
          },
          "granteeIntegratorId": {
            "type": "string",
            "format": "uuid"
          },
          "granteeIntegratorName": {
            "type": "string"
          },
          "granteeIntegratorSlug": {
            "type": "string"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "LogicBlockLibraryOutput": {
        "required": [
          "id",
          "integratorId",
          "ownerIntegratorName",
          "ownerIntegratorSlug",
          "packageId",
          "name",
          "description",
          "isArchived",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "description": "The integrator that owns the library, which is not the requesting integrator for a public or granted library.",
            "format": "uuid"
          },
          "ownerIntegratorName": {
            "type": "string",
            "description": "The display name of the integrator that owns the library."
          },
          "ownerIntegratorSlug": {
            "type": "string"
          },
          "packageId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isArchived": {
            "type": "boolean"
          },
          "visibility": {
            "$ref": "#/components/schemas/LibraryVisibility"
          },
          "latestPackageVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "LogicBlockLibraryVersionOutput": {
        "required": [
          "id",
          "integratorId",
          "logicBlockLibraryId",
          "packageId",
          "packageVersion",
          "releaseNotes",
          "tags"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          },
          "releaseNotes": {
            "type": "string",
            "description": "The version's release notes, as GitHub Flavored Markdown for clients to render."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Free-form labels of the version, such as \"Preview\" or \"Deprecated\"."
          },
          "targetDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The highest `Vion.Dale.Sdk` version, as `MAJOR.MINOR.PATCH`, that the library's package stamped as\nreferenced by its assemblies."
          },
          "minimumDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The minimum `Vion.Dale.Sdk` version, as `MAJOR.MINOR.PATCH`, that the library's author declared."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "LogicBlockTemplate": {
        "required": [
          "localId",
          "logicBlockDefinitionId",
          "nameTemplate",
          "services"
        ],
        "type": "object",
        "properties": {
          "localId": {
            "type": "string"
          },
          "logicBlockDefinitionId": {
            "type": "string",
            "format": "uuid"
          },
          "nameTemplate": {
            "type": "string"
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplateServiceDefinition"
            }
          },
          "conditionalOnParameter": {
            "type": [
              "null",
              "string"
            ]
          },
          "variantParameterIdentifier": {
            "type": [
              "null",
              "string"
            ]
          },
          "variants": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplateVariant"
            }
          },
          "repeatParameterIdentifier": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "LogicBlockTemplateServiceDefinition": {
        "required": [
          "identifier"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          }
        }
      },
      "LogicBlockTemplateVariant": {
        "required": [
          "choiceValue",
          "logicBlockDefinitionId"
        ],
        "type": "object",
        "properties": {
          "choiceValue": {
            "type": "string"
          },
          "logicBlockDefinitionId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "LogicBlockTranslationBundleOutput": {
        "required": [
          "translations"
        ],
        "type": "object",
        "properties": {
          "translations": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The translation of each key into the locale, each key served exactly as it is stored."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "LogicBlockTranslationCellInput": {
        "required": [
          "key",
          "locale",
          "value"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The catalog key, which must be in the library's catalog."
          },
          "locale": {
            "type": "string",
            "description": "The locale, a BCP 47 plain-language tag such as `de`."
          },
          "value": {
            "type": "string"
          },
          "status": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Who produced the value, TranslationStatus.Human when omitted.",
                "$ref": "#/components/schemas/TranslationStatus"
              }
            ]
          }
        }
      },
      "LogicBlockTranslationCellOutput": {
        "required": [
          "value",
          "status",
          "isOutdated"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/TranslationStatus"
          },
          "isOutdated": {
            "type": "boolean"
          }
        }
      },
      "LogicBlockTranslationMatrixRowOutput": {
        "required": [
          "key",
          "context",
          "sourceValue",
          "isOrphaned",
          "cells"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "context": {
            "type": "string"
          },
          "sourceValue": {
            "type": "string"
          },
          "isOrphaned": {
            "type": "boolean"
          },
          "cells": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LogicBlockTranslationCellOutput"
            },
            "description": "The translation into each locale that has one, by locale."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "LogicConfigurationActivationWarningOutput": {
        "required": [
          "code",
          "message",
          "packageId",
          "packageVersion",
          "effectiveMinimumDaleSdkVersion",
          "edgeGatewayId",
          "edgeGatewayDaleSdkVersion"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "What the warning is about."
          },
          "message": {
            "type": "string"
          },
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          },
          "targetDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The highest `Vion.Dale.Sdk` version the library's assemblies reference."
          },
          "minimumDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The minimum `Vion.Dale.Sdk` version the library's author declared."
          },
          "effectiveMinimumDaleSdkVersion": {
            "type": "string",
            "description": "The version compared with the gateway's, which is string? LogicConfigurationActivationWarningOutput.MinimumDaleSdkVersion where it is set and\nstring? LogicConfigurationActivationWarningOutput.TargetDaleSdkVersion otherwise."
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayDaleSdkVersion": {
            "type": "string",
            "description": "The `Vion.Dale.Sdk` version the gateway's dale declares it hosts."
          }
        }
      },
      "LogicConfigurationChange": {
        "required": [
          "action",
          "type"
        ],
        "type": "object",
        "properties": {
          "action": {
            "$ref": "#/components/schemas/LogicConfigurationChangeAction"
          },
          "type": {
            "description": "What the change is about; `Configuration` for a changed order, one entry for the whole order.",
            "$ref": "#/components/schemas/LogicConfigurationChangeSubject"
          },
          "identifier": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the group or logic block, or a library's package id; absent for a connection and the order."
          },
          "endpoints": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentEndpoint"
            },
            "description": "A connection's two endpoints; absent for anything else."
          },
          "differences": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDifference"
            },
            "description": "On an update, each member that changed, by its path in the document."
          },
          "active": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "On the delete of a logic block of the project's current configuration: true, as activating the result removes it\nand what hangs on its id and its service ids — grants scoped to it, its node assignment, its services' addresses\nwith the values and series behind them, and its display name."
          }
        }
      },
      "LogicConfigurationChangeAction": {
        "enum": [
          "Create",
          "Update",
          "Delete"
        ],
        "type": "string"
      },
      "LogicConfigurationChangeSubject": {
        "enum": [
          "Library",
          "Configuration",
          "Group",
          "LogicBlock",
          "Connection"
        ],
        "type": "string"
      },
      "LogicConfigurationDifference": {
        "required": [
          "member"
        ],
        "type": "object",
        "properties": {
          "member": {
            "type": "string",
            "description": "The member's path in the document, such as `parent` or `instantiationParameters.MaxCurrent`."
          },
          "from": {
            "description": "The value before; absent where the member had none or the difference is an order."
          },
          "to": {
            "description": "The value after; absent where the member has none or the difference is an order."
          }
        }
      },
      "LogicConfigurationDocumentConnection": {
        "required": [
          "endpoints"
        ],
        "type": "object",
        "properties": {
          "endpoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationDocumentEndpoint"
            },
            "description": "Exactly two: two logic block interfaces, or a logic block contract and a service provider's contract."
          }
        }
      },
      "LogicConfigurationDocumentDefinition": {
        "required": [
          "packageId",
          "typeFullName"
        ],
        "type": "object",
        "properties": {
          "packageId": {
            "type": "string"
          },
          "typeFullName": {
            "type": "string"
          }
        },
        "description": "A logic block definition, whose version is its library's in `libraries`."
      },
      "LogicConfigurationDocumentEndpoint": {
        "required": [
          "type"
        ],
        "type": "object",
        "anyOf": [
          {
            "$ref": "#/components/schemas/LogicConfigurationDocumentEndpointLogicBlockInterface"
          },
          {
            "$ref": "#/components/schemas/LogicConfigurationDocumentEndpointLogicBlockContract"
          },
          {
            "$ref": "#/components/schemas/LogicConfigurationDocumentEndpointServiceProviderContract"
          }
        ],
        "description": "One end of a connection, the kind in `type`.",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "LogicBlockInterface": "#/components/schemas/LogicConfigurationDocumentEndpointLogicBlockInterface",
            "LogicBlockContract": "#/components/schemas/LogicConfigurationDocumentEndpointLogicBlockContract",
            "ServiceProviderContract": "#/components/schemas/LogicConfigurationDocumentEndpointServiceProviderContract"
          }
        }
      },
      "LogicConfigurationDocumentEndpointLogicBlockContract": {
        "required": [
          "logicBlock",
          "contract",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "LogicBlockContract"
            ],
            "type": "string"
          },
          "logicBlock": {
            "type": "string"
          },
          "contract": {
            "type": "string"
          }
        },
        "description": "A contract of a logic block."
      },
      "LogicConfigurationDocumentEndpointLogicBlockInterface": {
        "required": [
          "logicBlock",
          "interface",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "LogicBlockInterface"
            ],
            "type": "string"
          },
          "logicBlock": {
            "type": "string"
          },
          "interface": {
            "type": "string"
          }
        },
        "description": "An interface of a logic block."
      },
      "LogicConfigurationDocumentEndpointServiceProviderContract": {
        "required": [
          "serviceProvider",
          "service",
          "contract",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "ServiceProviderContract"
            ],
            "type": "string"
          },
          "edgeGateway": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the service provider's edge gateway; absent for the logic block's own."
          },
          "serviceProvider": {
            "type": "string"
          },
          "service": {
            "type": "string"
          },
          "contract": {
            "type": "string"
          }
        },
        "description": "A contract of a service provider's service."
      },
      "LogicConfigurationDocumentGroup": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "The group's reference: lowercase letters, digits and `-`, starting with a letter, at most 40 characters."
          },
          "name": {
            "type": "string"
          },
          "parent": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the group this one is part of; absent for a root."
          }
        }
      },
      "LogicConfigurationDocumentLibrary": {
        "required": [
          "packageId",
          "packageVersion"
        ],
        "type": "object",
        "properties": {
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          }
        }
      },
      "LogicConfigurationDocumentLogicBlock": {
        "required": [
          "identifier",
          "name",
          "edgeGateway",
          "definition"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "The logic block's reference: lowercase letters, digits and `-`, starting with a letter, at most 40 characters."
          },
          "name": {
            "type": "string"
          },
          "edgeGateway": {
            "type": "string",
            "description": "The identifier of the edge gateway the logic block runs on."
          },
          "group": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the group the logic block sits in; absent for none."
          },
          "definition": {
            "$ref": "#/components/schemas/LogicConfigurationDocumentDefinition"
          },
          "instantiationParameters": {
            "type": "object",
            "additionalProperties": { },
            "description": "The values applied to the logic block before it starts, by parameter identifier as the definition declares it."
          }
        }
      },
      "LogicConfigurationGroup": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parent": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identifier of the group this one is part of; null for a root."
          }
        }
      },
      "LogicConfigurationOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "createdAt",
          "changedAt",
          "activatedAt",
          "isCurrent",
          "createdBy",
          "createdByName",
          "activatedBy",
          "activatedByName",
          "name",
          "description",
          "logicBlockInstances",
          "interfaceMappings",
          "contractMappings"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "activatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "createdBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the creator.",
            "format": "uuid"
          },
          "createdByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.CreatedBy."
          },
          "activatedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the last activator.",
            "format": "uuid"
          },
          "activatedByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.ActivatedBy."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationGroup"
            },
            "description": "The groups the configuration's logic blocks sit in, a tree by each group's parent, in reading order."
          },
          "logicBlockInstances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockInstance"
            }
          },
          "interfaceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMapping"
            }
          },
          "contractMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractMapping"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "LogicConfigurationTemplateOutput": {
        "required": [
          "id",
          "integratorId",
          "createdAt",
          "name",
          "description",
          "parameters",
          "logicBlockTemplates",
          "interfaceMappingTemplates"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateParameter"
            }
          },
          "logicBlockTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplate"
            }
          },
          "interfaceMappingTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMappingTemplate"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "LogicConfigurationWarningOutput": {
        "required": [
          "code",
          "message"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "What the warning is about. More codes may follow, so a client shows one it does not know by its message."
          },
          "message": {
            "type": "string"
          }
        }
      },
      "LogLevel": {
        "enum": [
          "Trace",
          "Debug",
          "Information",
          "Warning",
          "Error",
          "Critical",
          "None"
        ],
        "type": "string"
      },
      "LogLevelStateOutput": {
        "required": [
          "component",
          "logLevel",
          "lastUpdatedAt"
        ],
        "type": "object",
        "properties": {
          "component": {
            "type": "string",
            "description": "Component identifier — either `\"mesh\"` or a service provider identifier."
          },
          "logLevel": {
            "description": "Latest log level reported by the component.",
            "$ref": "#/components/schemas/LogLevel"
          },
          "lastUpdatedAt": {
            "type": "string",
            "description": "Timestamp when this state was last updated.",
            "format": "date-time"
          }
        }
      },
      "LongRunningOperationOutput": {
        "required": [
          "operationId",
          "state",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "The long-running operation's id, or null for a dry run, which stores nothing.",
            "format": "uuid"
          },
          "operationId": {
            "type": "string",
            "description": "The operationId of the operation that started it."
          },
          "targetId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The id of the aggregate the start named, or null where it named none.",
            "format": "uuid"
          },
          "state": {
            "$ref": "#/components/schemas/LongRunningOperationState"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "startedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the work started, or null while it is queued.",
            "format": "date-time"
          },
          "finishedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the work ended, or null until it has.",
            "format": "date-time"
          },
          "result": {
            "description": "The body the synchronous call would have answered, present once the operation succeeded."
          },
          "error": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The error body the synchronous call would have answered, present once the operation failed.",
                "$ref": "#/components/schemas/ApiExceptionDto"
              }
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "The handle of work that outlives its request: the body a start answers with 202 and the body its reads answer."
      },
      "LongRunningOperationState": {
        "enum": [
          "Queued",
          "Running",
          "Succeeded",
          "Failed"
        ],
        "type": "string",
        "description": "Where an operation is between its start and its end, a closed set published whole."
      },
      "MarkNotificationsReadInput": {
        "type": "object",
        "properties": {
          "ids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The items to mark: absent for every item, empty for none. An id that is not the caller's changes nothing."
          },
          "authDomain": {
            "type": [
              "null",
              "string"
            ],
            "description": "Limits the marking to one context, together with Guid? MarkNotificationsReadInput.AuthDomainRootScopeId."
          },
          "authDomainRootScopeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Limits the marking to one context, together with string? MarkNotificationsReadInput.AuthDomain.",
            "format": "uuid"
          }
        }
      },
      "MarkNotificationsReadOutput": {
        "required": [
          "total",
          "personal",
          "byContext"
        ],
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "description": "The unread items of the whole inbox.",
            "format": "int32"
          },
          "personal": {
            "type": "integer",
            "description": "The unread items that belong to no context.",
            "format": "int32"
          },
          "byContext": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationContextUnreadOutput"
            },
            "description": "The unread items of each context that has any."
          }
        }
      },
      "MeasurementQuality": {
        "enum": [
          "Invalid",
          "Interpolated",
          "Virtual",
          "Raw"
        ],
        "type": "string",
        "description": "The quality of the measuring point, representing the data source or processing applied."
      },
      "MeasuringPointSeriesOutput": {
        "required": [
          "serviceProviderIdentifier",
          "serviceIdentifier",
          "identifier",
          "values"
        ],
        "type": "object",
        "properties": {
          "serviceProviderIdentifier": {
            "type": "string",
            "description": "The service provider identifier associated with the measuring point."
          },
          "serviceIdentifier": {
            "type": "string",
            "description": "The service identifier associated with the measuring point."
          },
          "identifier": {
            "type": "string",
            "description": "A unique, human-readable identifier for the measuring point, specific to the service."
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MeasuringPointSeriesValue"
            },
            "description": "A list of measurement values for the measuring point."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "MeasuringPointSeriesValue": {
        "required": [
          "dateTime",
          "quality"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": [
              "null",
              "number"
            ],
            "description": "The average of the values measured within the bucket, or the filled value of a bucket without measurements.",
            "format": "double"
          },
          "dateTime": {
            "type": "string",
            "description": "The start of the bucket, formatted as an ISO 8601 date string (e.g.,\n'2025-01-15T14:30:00Z').",
            "format": "date-time"
          },
          "quality": {
            "description": "The quality of the measuring point, representing the data source or processing applied. Possible values:\n0: Invalid — The value is not valid.\n1: Interpolated — The value was interpolated or reconstructed.\n2: Virtual — The value was derived through calculations, estimations, or aggregation from multiple measuring\npoints.\n3: Raw — The value was directly measured from a physical device or sensor without any modification, processing, or\ncalculation applied.",
            "$ref": "#/components/schemas/MeasurementQuality"
          },
          "min": {
            "type": [
              "null",
              "number"
            ],
            "description": "The minimum value observed within the bucket.",
            "format": "double"
          },
          "max": {
            "type": [
              "null",
              "number"
            ],
            "description": "The maximum value observed within the bucket.",
            "format": "double"
          }
        }
      },
      "MeIntegratorMembershipOutput": {
        "required": [
          "integratorUserId",
          "integratorId",
          "integratorSlug",
          "integratorName",
          "tags"
        ],
        "type": "object",
        "properties": {
          "integratorUserId": {
            "type": "string",
            "description": "The IntegratorUser.Id (PrincipalId) for this user in this integrator.\nUsed for role assignments and group memberships.",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "description": "The integrator ID.",
            "format": "uuid"
          },
          "integratorSlug": {
            "type": "string",
            "description": "Human-readable, globally unique, URL-compatible identifier for the integrator."
          },
          "integratorName": {
            "type": "string",
            "description": "Display name of the integrator."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Capability tags marking this integrator for special treatment — empty for ordinary integrators.\nExtensible by design: a new marking is a new tag string, so the schema doesn't change and the\nmechanism is reused for other per-integrator flags. See IntegratorMembershipTags."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TopicsMeta"
              }
            ]
          }
        }
      },
      "MeOutput": {
        "required": [
          "user",
          "locale",
          "tenantMemberships",
          "integratorMemberships",
          "platformMemberships"
        ],
        "type": "object",
        "properties": {
          "user": {
            "description": "Information about the user.",
            "$ref": "#/components/schemas/MeUserOutput"
          },
          "locale": {
            "type": [
              "null",
              "string"
            ],
            "description": "The language the caller chose for platform speech, or null for a caller who has chosen none."
          },
          "tenantMemberships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MeTenantMembershipOutput"
            },
            "description": "List of tenants where the user is an active member."
          },
          "integratorMemberships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MeIntegratorMembershipOutput"
            },
            "description": "List of integrators where the user is an active member."
          },
          "platformMemberships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MePlatformMembershipOutput"
            },
            "description": "List of platforms where the user is an active member."
          }
        }
      },
      "MePlatformMembershipOutput": {
        "required": [
          "platformUserId",
          "platformId"
        ],
        "type": "object",
        "properties": {
          "platformUserId": {
            "type": "string",
            "description": "The PlatformUser.Id (PrincipalId) for this user in this platform.\nUsed for role assignments and group memberships.",
            "format": "uuid"
          },
          "platformId": {
            "type": "string",
            "description": "The platform ID.",
            "format": "uuid"
          }
        }
      },
      "MeTenantMembershipOutput": {
        "required": [
          "tenantUserId",
          "tenantId",
          "tenantSlug",
          "tenantName"
        ],
        "type": "object",
        "properties": {
          "tenantUserId": {
            "type": "string",
            "description": "The TenantUser.Id (PrincipalId) for this user in this tenant.\nUsed for role assignments and group memberships.",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "description": "The tenant ID.",
            "format": "uuid"
          },
          "tenantSlug": {
            "type": "string",
            "description": "Human-readable, globally unique, URL-compatible identifier for the tenant."
          },
          "tenantName": {
            "type": "string",
            "description": "Display name of the tenant."
          }
        },
        "description": "Represents the user's membership in a tenant."
      },
      "MeUserOutput": {
        "required": [
          "identityProviderUserId",
          "email"
        ],
        "type": "object",
        "properties": {
          "identityProviderUserId": {
            "type": "string",
            "description": "The caller's identity at the identity provider: the token's `oid`.",
            "format": "uuid"
          },
          "email": {
            "type": [
              "null",
              "string"
            ],
            "description": "Email of the user."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TopicsMeta"
              }
            ]
          }
        }
      },
      "NodeAssignmentOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "nodeId",
          "assignedObjectId",
          "assignedObjectType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "nodeId": {
            "type": "string",
            "format": "uuid"
          },
          "assignedObjectId": {
            "type": "string",
            "format": "uuid"
          },
          "assignedObjectType": {
            "type": "string"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "NodeOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "parentNodeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The parent node, or null for a root node.",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "NotificationCategoryPreferencesOutput": {
        "required": [
          "key",
          "label",
          "description",
          "channels"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The category's key, the one a notification names as its category."
          },
          "label": {
            "type": "string",
            "description": "The category's name, in the requested language."
          },
          "description": {
            "type": "string",
            "description": "Which notifications the category holds, in the requested language."
          },
          "channels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationChannelPreferenceOutput"
            },
            "description": "One switch per channel the category offers."
          }
        }
      },
      "NotificationChannel": {
        "enum": [
          "Toast",
          "Email"
        ],
        "type": "string"
      },
      "NotificationChannelPreferenceOutput": {
        "required": [
          "channel",
          "enabled"
        ],
        "type": "object",
        "properties": {
          "channel": {
            "description": "The channel.",
            "$ref": "#/components/schemas/NotificationChannel"
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the category's notifications use the channel where their type does, which is the default."
          }
        }
      },
      "NotificationContextOutput": {
        "required": [
          "authDomain",
          "authDomainRootScopeId",
          "name"
        ],
        "type": "object",
        "properties": {
          "authDomain": {
            "type": "string",
            "description": "The authorization domain: `Tenant`, `Integrator` or `Platform`."
          },
          "authDomainRootScopeId": {
            "type": "string",
            "description": "The root scope of the domain: the tenant, integrator or platform id.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The context's name when the item was written."
          }
        }
      },
      "NotificationContextUnreadOutput": {
        "required": [
          "authDomain",
          "authDomainRootScopeId",
          "count"
        ],
        "type": "object",
        "properties": {
          "authDomain": {
            "type": "string",
            "description": "The authorization domain: `Tenant`, `Integrator` or `Platform`."
          },
          "authDomainRootScopeId": {
            "type": "string",
            "description": "The root scope of the domain: the tenant, integrator or platform id.",
            "format": "uuid"
          },
          "count": {
            "type": "integer",
            "description": "The context's unread items.",
            "format": "int32"
          }
        }
      },
      "NotificationListOutput": {
        "required": [
          "unread",
          "nextCursor",
          "items"
        ],
        "type": "object",
        "properties": {
          "unread": {
            "description": "The unread counts of the whole inbox, whatever the filters of this page.",
            "$ref": "#/components/schemas/NotificationUnreadOutput"
          },
          "nextCursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "The cursor of the next page, or null on the last page."
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "NotificationOutput": {
        "required": [
          "id",
          "type",
          "category",
          "createdAt",
          "readAt",
          "context",
          "title",
          "body",
          "reason",
          "subject",
          "params",
          "invalidates"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The item's id.",
            "format": "uuid"
          },
          "type": {
            "type": "string",
            "description": "The notification type, a stable key of the form `{family}.{aggregate}.{event}`."
          },
          "category": {
            "type": "string",
            "description": "The category the type belongs to."
          },
          "createdAt": {
            "type": "string",
            "description": "When the item was written to the inbox.",
            "format": "date-time"
          },
          "readAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the person marked the item read, or null while it is unread.",
            "format": "date-time"
          },
          "context": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The membership the item belongs to, or null for a personal item.",
                "$ref": "#/components/schemas/NotificationContextOutput"
              }
            ]
          },
          "title": {
            "type": "string",
            "description": "The title, in the requested language."
          },
          "body": {
            "type": "string",
            "description": "The text, in the requested language."
          },
          "reason": {
            "type": "string",
            "description": "Why the person received the item, in the requested language."
          },
          "subject": {
            "description": "What the item is about.",
            "$ref": "#/components/schemas/NotificationSubjectOutput"
          },
          "params": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The values the text was rendered from, keyed by the type's parameter names, which are served verbatim."
          },
          "invalidates": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The resource keys a client may re-read when the item arrives."
          }
        }
      },
      "NotificationPreferenceCellInput": {
        "required": [
          "category",
          "channel"
        ],
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "The category's key."
          },
          "channel": {
            "description": "A channel the category offers.",
            "$ref": "#/components/schemas/NotificationChannel"
          }
        },
        "description": "One switched-off channel of a category."
      },
      "NotificationPreferencesOutput": {
        "required": [
          "categories"
        ],
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationCategoryPreferencesOutput"
            },
            "description": "Every category that offers a channel, each with one switch per channel it offers."
          }
        }
      },
      "NotificationSubjectOutput": {
        "required": [
          "kind",
          "id"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "The kind of resource the item is about."
          },
          "id": {
            "type": "string",
            "description": "The resource's id."
          }
        }
      },
      "NotificationUnreadOutput": {
        "required": [
          "total",
          "personal",
          "byContext"
        ],
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "description": "The unread items of the whole inbox.",
            "format": "int32"
          },
          "personal": {
            "type": "integer",
            "description": "The unread items that belong to no context.",
            "format": "int32"
          },
          "byContext": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationContextUnreadOutput"
            },
            "description": "The unread items of each context that has any."
          }
        }
      },
      "OnboardingDemoType": {
        "enum": [
          "Developer",
          "Integrator",
          "EndUser"
        ],
        "type": "string"
      },
      "OnboardingSessionOutput": {
        "required": [
          "id",
          "createdByEmail",
          "createdByUserId",
          "createdAt",
          "demoType",
          "managementType",
          "integratorId",
          "deletedAt",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "createdByEmail": {
            "type": "string"
          },
          "createdByUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "demoType": {
            "$ref": "#/components/schemas/OnboardingDemoType"
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "deletedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "OnboardingUseCaseType": {
        "enum": [
          "None",
          "EnergyManagement",
          "BuildingAutomation"
        ],
        "type": "string"
      },
      "OperationAuthorizationOutput": {
        "required": [
          "mode",
          "permissions",
          "scopeType",
          "scopeFrom"
        ],
        "type": "object",
        "properties": {
          "mode": {
            "description": "How the requirement is decided.",
            "$ref": "#/components/schemas/AuthorizationMode"
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The permissions any one of which the caller must hold, empty when the mode asks for none."
          },
          "scopeType": {
            "type": [
              "null",
              "string"
            ],
            "description": "The scope type the permissions or the membership are resolved at, or null when the operation addresses no\nscope."
          },
          "scopeFrom": {
            "type": [
              "null",
              "string"
            ],
            "description": "The route parameter the scope id is read from, or null when the operation addresses no scope."
          }
        },
        "description": "What an operation requires of its caller, as the catalog lists it and the document carries it in\n`x-vion-authorization`."
      },
      "OutputBase": {
        "type": "object",
        "additionalProperties": false
      },
      "OutputMeta": {
        "required": [
          "permissions"
        ],
        "type": "object",
        "properties": {
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The caller's permissions at the row's scope that some operation evaluates at scopes of its type, in ordinal\norder."
          },
          "version": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The row's version, which an `If-Match` header names to replace the row only over it, or null when the row is\nof no versioned aggregate.",
            "format": "int64"
          },
          "topics": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "The topic or filter the caller subscribes to for each channel the row hands out, keyed by the channel's id."
          }
        },
        "description": "What the caller may do at a row's scope."
      },
      "PageOutputOfAlertOutput": {
        "required": [
          "nextCursor",
          "items"
        ],
        "type": "object",
        "properties": {
          "nextCursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "The cursor of the next page, or null on the last page."
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlertOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "PageOutputOfLongRunningOperationOutput": {
        "required": [
          "nextCursor",
          "items"
        ],
        "type": "object",
        "properties": {
          "nextCursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "The cursor of the next page, or null on the last page."
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LongRunningOperationOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "PageOutputOfSystemEventOutput": {
        "required": [
          "nextCursor",
          "items"
        ],
        "type": "object",
        "properties": {
          "nextCursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "The cursor of the next page, or null on the last page."
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SystemEventOutput"
            },
            "description": "The items of this list."
          }
        }
      },
      "ParameterConfigDto": {
        "required": [
          "type"
        ],
        "type": "object",
        "anyOf": [
          {
            "$ref": "#/components/schemas/ParameterConfigDtoProperty"
          },
          {
            "$ref": "#/components/schemas/ParameterConfigDtoMeasuringPoint"
          }
        ],
        "description": "A value the expression reads from an element of a gateway, the kind of element in `type`.",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "Property": "#/components/schemas/ParameterConfigDtoProperty",
            "MeasuringPoint": "#/components/schemas/ParameterConfigDtoMeasuringPoint"
          }
        }
      },
      "ParameterConfigDtoMeasuringPoint": {
        "required": [
          "name",
          "edgeGatewayId",
          "serviceProviderIdentifier",
          "serviceIdentifier",
          "measuringPointIdentifier",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "MeasuringPoint"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 500,
            "type": "string"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "serviceProviderIdentifier": {
            "type": "string"
          },
          "serviceIdentifier": {
            "type": "string"
          },
          "measuringPointIdentifier": {
            "maxLength": 1000,
            "type": "string"
          }
        },
        "description": "A measuring point of a service."
      },
      "ParameterConfigDtoProperty": {
        "required": [
          "name",
          "edgeGatewayId",
          "serviceProviderIdentifier",
          "serviceIdentifier",
          "propertyIdentifier",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "Property"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 500,
            "type": "string"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "serviceProviderIdentifier": {
            "type": "string"
          },
          "serviceIdentifier": {
            "type": "string"
          },
          "propertyIdentifier": {
            "maxLength": 1000,
            "type": "string"
          }
        },
        "description": "A property of a service."
      },
      "ParameterDefinition": {
        "required": [
          "name",
          "label",
          "type",
          "required"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "defaultValue": { },
          "options": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ParameterOption"
            }
          },
          "dependsOn": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ParameterOption": {
        "required": [
          "value",
          "label"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "Permission": {
        "enum": [
          "Tenant.Read",
          "Tenant.ManageUsers",
          "Tenant.ManageServiceAccounts",
          "Tenant.ManageProjects",
          "Tenant.ManageTenantOverview",
          "Tenant.ManageEdgeGateways",
          "Tenant.ManageWidgetDefinitions",
          "Project.Read",
          "Project.ManageDashboards",
          "Project.ManageEdgeGateways",
          "Project.ManageLogicConfigurations",
          "Project.ManageNodes",
          "Project.ManageAutomations",
          "Node.Read",
          "EdgeGateway.Read",
          "EdgeGateway.RemoteAccess",
          "EdgeGateway.ManageSupportAccess",
          "ServiceProvider.Read",
          "ServiceProvider.Write",
          "LogicBlock.Read",
          "LogicBlock.Write",
          "Integrator.Read",
          "Integrator.ManageUsers",
          "Integrator.ManageTenants",
          "Integrator.ManageLibraries",
          "Integrator.ManageEdgeGateways",
          "Integrator.ManageLogicConfigurationTemplates",
          "Integrator.ManageSoftwareProfiles",
          "Integrator.ManageWidgetDefinitions",
          "Integrator.ManageWhiteLabel",
          "Integrator.ManageTenantDashboardTemplates",
          "Integrator.ManageServiceAccounts",
          "Integrator.SupportAccess",
          "Platform.Read",
          "Platform.ManageUsers",
          "Platform.ManageServiceAccounts",
          "Platform.ManageIntegrators",
          "Platform.ManageOnboardingSessions",
          "Platform.SupportAccess"
        ],
        "type": "string"
      },
      "PlatformAccessGrantOutput": {
        "required": [
          "roleAssignmentId",
          "principalId",
          "principalType",
          "principalName",
          "roleId",
          "roleName",
          "targetScopeId",
          "targetScopeType",
          "targetScopeName",
          "origin",
          "sourceScopeId",
          "sourceScopeType",
          "sourceScopeName"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "roleAssignmentId": {
            "type": "string",
            "description": "The underlying role assignment this grant resolves from — the removal target for deleting the grant.\nNote: one assignment can back several rows (a group assignment yields the group's own row plus one per\nmember), so inherited / via-group rows point at the ancestor / group assignment, not a per-row one.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user, group or service account) the grant applies to.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\", \"Group\" or \"ServiceAccount\")."
          },
          "principalName": {
            "type": "string",
            "description": "Display name of the principal (user full name or email, group name, service account name)."
          },
          "roleId": {
            "type": "string",
            "description": "The role granted.",
            "format": "uuid"
          },
          "roleName": {
            "type": "string",
            "description": "Display name of the role."
          },
          "targetScopeId": {
            "type": "string",
            "description": "The scope this grant is projected for (the queried scope for the scope view;\nequal to the source scope for the principal view).",
            "format": "uuid"
          },
          "targetScopeType": {
            "type": "string",
            "description": "The type of the target scope."
          },
          "targetScopeName": {
            "type": "string",
            "description": "Display name of the target scope."
          },
          "origin": {
            "description": "Where the grant comes from: direct, inherited from an ancestor, via a group, or via a group on an ancestor.",
            "$ref": "#/components/schemas/AccessOrigin"
          },
          "sourceScopeId": {
            "type": "string",
            "description": "The scope where the underlying assignment actually lives (self or an ancestor of the target scope).",
            "format": "uuid"
          },
          "sourceScopeType": {
            "type": "string",
            "description": "The type of the source scope."
          },
          "sourceScopeName": {
            "type": "string",
            "description": "Display name of the source scope."
          },
          "viaGroupId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The group the grant is inherited through. Null unless AccessOrigin AccessGrantOutput.Origin is\nAccessOrigin.ViaGroup or AccessOrigin.ViaGroupInherited.",
            "format": "uuid"
          },
          "viaGroupName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Display name of the group the grant is inherited through. Null when Guid? AccessGrantOutput.ViaGroupId is null."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Platform wrapper for an effective access grant with provenance."
      },
      "PlatformEffectivePermissionsOutput": {
        "required": [
          "root",
          "scopes"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "root": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The effective permissions at the domain root, which a scope inherits when neither it nor any of its\nancestors is among the listed scopes."
          },
          "scopes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScopePermissionsOutput"
            },
            "description": "The requested scopes, or else the scopes where the caller or one of its groups holds an assignment of its\nown, each with its full effective set."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Platform wrapper for the caller's effective permissions."
      },
      "PlatformRoleAssignmentOutput": {
        "required": [
          "id",
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The role assignment ID.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user or group) ID that has this role.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\" or \"Group\")."
          },
          "roleId": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID where this role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "createdAt": {
            "type": "string",
            "description": "The creation timestamp.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for Platform role assignment information."
      },
      "PlatformRoleOutput": {
        "required": [
          "id",
          "name",
          "description",
          "permissions",
          "assignableScopeTypes"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The Platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The display name of the role."
          },
          "description": {
            "type": "string",
            "description": "Description of what the role allows."
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The permissions granted by this role."
          },
          "assignableScopeTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The scopes to which this role can be assigned."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for Platform role information."
      },
      "PlatformScopeOutput": {
        "required": [
          "scopeId",
          "scopeType",
          "name",
          "ancestors"
        ],
        "type": "object",
        "properties": {
          "scopeId": {
            "type": "string",
            "description": "The scope ID",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "name": {
            "type": "string",
            "description": "The name of the scope"
          },
          "ancestors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScopeAncestor"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "PlatformServiceAccountOutput": {
        "required": [
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for platform service account information."
      },
      "PlatformUserOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The Platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for Platform user information."
      },
      "ProjectImageInput": {
        "required": [
          "contentType",
          "dataBase64"
        ],
        "type": "object",
        "properties": {
          "contentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "dataBase64": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "An uploaded site photo, its declared content type and the file base64-encoded."
      },
      "ProjectOutput": {
        "required": [
          "id",
          "tenantId",
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "imageVersion": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The site photo's version, or null without a photo, which a client sends as the photo's query parameter\n`v` so that a replaced photo is never served from its cache.",
            "format": "int32"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ],
            "description": "Single-line display text rather than structured postal data, so a line break or other control character is\nrefused."
          },
          "latitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) latitude from -90 to 90, sent together with the longitude or not\nat all.",
            "format": "double"
          },
          "longitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) longitude from -180 to 180, sent together with the latitude or not\nat all.",
            "format": "double"
          }
        }
      },
      "ProvisionDashboardsInput": {
        "required": [
          "tenants"
        ],
        "type": "object",
        "properties": {
          "tenants": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantInput"
            }
          }
        }
      },
      "ProvisionDashboardsOutput": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantProvisionResult"
            }
          }
        }
      },
      "ProvisionInput": {
        "required": [
          "demoType",
          "useCaseType",
          "companyName",
          "companySlug",
          "projectName",
          "projectSlug",
          "edgeGatewayIdentifier",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "demoType": {
            "$ref": "#/components/schemas/OnboardingDemoType"
          },
          "useCaseType": {
            "$ref": "#/components/schemas/OnboardingUseCaseType"
          },
          "companyName": {
            "type": "string"
          },
          "companySlug": {
            "type": "string"
          },
          "projectName": {
            "type": "string"
          },
          "projectSlug": {
            "type": "string"
          },
          "edgeGatewayIdentifier": {
            "type": "string"
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          }
        }
      },
      "ProvisionOutput": {
        "required": [
          "integratorId",
          "integratorSlug",
          "tenantId",
          "tenantSlug",
          "projectId",
          "projectSlug",
          "edgeGatewayId",
          "edgeGatewayIdentifier",
          "deployments"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "integratorSlug": {
            "type": "string"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantSlug": {
            "type": "string"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayIdentifier": {
            "type": "string"
          },
          "deployments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProvisionOutputDeploymentInfo"
            }
          },
          "logicConfigurationTemplateId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "softwareProfileId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "ProvisionOutputDeploymentInfo": {
        "required": [
          "artifactName",
          "deploymentId"
        ],
        "type": "object",
        "properties": {
          "artifactName": {
            "type": "string"
          },
          "deploymentId": {
            "type": "string"
          }
        }
      },
      "RabbitMqAdminUserOutput": {
        "required": [
          "id",
          "email",
          "enabled"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the RabbitMQ user in the Database",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The email address of the admin user."
          },
          "enabled": {
            "type": "boolean",
            "description": "Flag to enable/disable the user"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "RecommissionEdgeGatewayInput": {
        "type": "object",
        "properties": {
          "newIdentifier": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional new device identifier (serial). Null/empty keeps the existing identifier (SD-failure case)."
          }
        }
      },
      "RegistrationStatus": {
        "enum": [
          "Pending",
          "Denied",
          "Accepted"
        ],
        "type": "string"
      },
      "RemoteAccessConnectionInfoOutput": {
        "required": [
          "loginServerUrl",
          "ephemeralAuthKey",
          "expiresAtUtc"
        ],
        "type": "object",
        "properties": {
          "loginServerUrl": {
            "type": "string"
          },
          "ephemeralAuthKey": {
            "type": "string"
          },
          "expiresAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "VPN join info for an active session: the session's Headscale control URL and a freshly minted single-use\nephemeral pre-auth key for the technician's Tailscale client. Minted on demand — never persisted."
      },
      "RemoteAccessConsoleConnectionOutput": {
        "required": [
          "webSocketUrl",
          "expiresAtUtc"
        ],
        "type": "object",
        "properties": {
          "webSocketUrl": {
            "type": "string",
            "description": "The per-session WSS endpoint the browser terminal connects to (`wss://.../console/&lt;sessionId&gt;`)."
          },
          "expiresAtUtc": {
            "type": "string",
            "description": "Hard session expiry; the bridge, the relay registration and the gateway unit all end at this time.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Console-profile connection info for a session: where the dashboard's `xterm.js` terminal opens its WSS\nconnection to the web-SSH bridge. Unlike the VPN profile this carries NO credential material — the\nshort-lived SSH certificate is minted and held by the bridge, and the user authenticates over WSS with their\nown VION identity. The recording-consent banner is not here either: the bridge enforces the acknowledgement\nover its own protocol, and the wording is translated text the dashboard owns."
      },
      "RemoteAccessProfile": {
        "enum": [
          "Vpn",
          "Console",
          "Twincat"
        ],
        "type": "string",
        "description": "The UX profile of a remote-access session. Every profile shares one aggregate, lifecycle and audit trail;\nthey differ in how the technician reaches the gateway, in what the session provisions, and in the gate.\nRemoteAccessProfile.Vpn and RemoteAccessProfile.Console share one tenant permission,\nstring Actions.RemoteAccess; RemoteAccessProfile.Twincat is\nsupport-lane-only and deliberately has none — it is gated by the support-access grant alone."
      },
      "RemoteAccessRequesterKind": {
        "enum": [
          "TenantUser",
          "VionSupport",
          "Integrator"
        ],
        "type": "string",
        "description": "Provenance of the principal who requested a session. A RemoteAccessRequesterKind.TenantUser session is the shipped\nself-service path and is gated by the per-profile tenant permission alone; every other value is a foreign\n(support-lane) session and additionally needs a covering\nSupportAccessGrantEntity — the two-key check."
      },
      "RemoteAccessSessionOutput": {
        "required": [
          "id",
          "tenantId",
          "edgeGatewayId",
          "additionalEdgeGatewayIds",
          "profile",
          "status",
          "elevation",
          "requesterKind",
          "requestedByUserId",
          "requestedAt",
          "expiresAtUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "additionalEdgeGatewayIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The rest of a multi-gateway twincat session's set; empty for every other case."
          },
          "profile": {
            "$ref": "#/components/schemas/RemoteAccessProfile"
          },
          "status": {
            "$ref": "#/components/schemas/RemoteAccessSessionStatus"
          },
          "elevation": {
            "description": "Whether the session runs as the privileged account — part of the tenant's audit record of it.",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "requesterKind": {
            "description": "Which domain the requester acted from — what makes a session visible in the tenant's support view.",
            "$ref": "#/components/schemas/RemoteAccessRequesterKind"
          },
          "requestedByUserId": {
            "type": "string"
          },
          "grantId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The consent this session rides; null for a tenant user's own session and while approval is pending.",
            "format": "uuid"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "activatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "endedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "failureReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "GET shape of a remote-access session — the audit record, never carrying key material."
      },
      "RemoteAccessSessionStatus": {
        "enum": [
          "Requested",
          "ProvisioningNetwork",
          "AwaitingGateway",
          "Active",
          "Expired",
          "Terminated",
          "Failed"
        ],
        "type": "string",
        "description": "Lifecycle state of a RemoteAccessSessionEntity. The provisioning path is split into two\nobservable states so the dashboard can narrate progress: setting up the trusted network, then connecting\nthe gateway. See the session-lifecycle state machine in the architecture spec\n`2026-06-30-on-demand-remote-gateway-access`."
      },
      "RenameLogicBlockInstanceInput": {
        "required": [
          "displayName"
        ],
        "type": "object",
        "properties": {
          "displayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The name to show for the instance, or `null` or blank to show its declared name again."
          }
        }
      },
      "RenameLogicBlockInstanceOutput": {
        "required": [
          "id",
          "projectId",
          "name",
          "displayName",
          "definitionName",
          "annotations"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the instance, the display name set for it where there is one and string ServiceLogicBlockInstanceOutput.Name\notherwise."
          },
          "definitionName": {
            "type": "string"
          },
          "packageId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The package id of the library the instance's definition came from, taken at activation."
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "The order of the block's sections, as the block declares it with `[LogicBlock(Groups = ...)]`."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "RequestRemoteAccessSessionInput": {
        "required": [
          "edgeGatewayId",
          "profile"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "profile": {
            "$ref": "#/components/schemas/RemoteAccessProfile"
          },
          "elevation": {
            "description": "Ask for the privileged console account. Optional and `None` by default; valid only with\nRemoteAccessProfile.Console. Support staff get it only when their covering grant was\nitself given as elevated; a tenant user gets it on its own gateway under the same\n`RemoteAccess` that opens the console, because that is the gateway's owner on its own\ndevice and no consent of anyone else's is involved.",
            "default": "None",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "ttlMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Optional requested TTL in minutes; capped at the configured maximum. Defaults to the configured TTL.",
            "format": "int32"
          },
          "additionalEdgeGatewayIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Further gateways to serve in one RemoteAccessProfile.Twincat session, allowed only when a\nsingle grant covers the whole set (a project- or tenant-scoped consent). Fixed for the session's life:\nthe broker pod's ACL and routes are rendered from it once and have no reload path."
          }
        }
      },
      "RequestRemoteAccessSessionOutput": {
        "required": [
          "id",
          "tenantId",
          "edgeGatewayId",
          "additionalEdgeGatewayIds",
          "profile",
          "status",
          "elevation",
          "requesterKind",
          "requestedByUserId",
          "requestedAt",
          "expiresAtUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "additionalEdgeGatewayIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The rest of a multi-gateway twincat session's set; empty for every other case."
          },
          "profile": {
            "$ref": "#/components/schemas/RemoteAccessProfile"
          },
          "status": {
            "$ref": "#/components/schemas/RemoteAccessSessionStatus"
          },
          "elevation": {
            "description": "Whether the session runs as the privileged account — part of the tenant's audit record of it.",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "requesterKind": {
            "description": "Which domain the requester acted from — what makes a session visible in the tenant's support view.",
            "$ref": "#/components/schemas/RemoteAccessRequesterKind"
          },
          "requestedByUserId": {
            "type": "string"
          },
          "grantId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The consent this session rides; null for a tenant user's own session and while approval is pending.",
            "format": "uuid"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "activatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "endedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "failureReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "RequestSupportAccessGrantInput": {
        "required": [
          "scopeId",
          "profiles"
        ],
        "type": "object",
        "properties": {
          "scopeId": {
            "type": "string",
            "description": "The scope asked for: an edge gateway, a project, or a tenant root. It is what identifies the target\ntenant as well — a supporter is on no tenant-bound route, so the tenant is derived from the scope.",
            "format": "uuid"
          },
          "profiles": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteAccessProfile"
            },
            "description": "The profiles the requester needs. A session whose profile the granted consent omits is refused."
          },
          "elevation": {
            "description": "Whether root on the console is being asked for. Its own field for the same reason it is its own tick in\nthe approval dialog: asking for a console is not asking to become root on the device.",
            "default": "None",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "durationMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "How long sessions should be allowed to start unasked, in minutes; omitted asks for an unlimited grant.\nIt is the CONSENT's duration and never a session's — a session names its own TTL when it starts.",
            "format": "int32"
          }
        },
        "description": "Support asking a customer for standing consent. The same fields the tenant's invite dialog collects, minus\nthe grantee kinds — a requester can only ask on its own behalf, and which kinds the consent ends up\ncovering is the tenant's choice at approval."
      },
      "RequestSupportAccessGrantOutput": {
        "required": [
          "grant"
        ],
        "type": "object",
        "properties": {
          "grant": {
            "$ref": "#/components/schemas/SupportAccessGrantOutput"
          }
        },
        "description": "A request produces exactly one grant — the requester can only ask on its own behalf — so this wraps one\nwhere SupportAccessGrantsOutput wraps the set an approval or an invite produces. Both carry\nthe same read shape, per the DTO rule that a write returns what a read would."
      },
      "RequestTenantRemoteAccessSessionInput": {
        "required": [
          "edgeGatewayId"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "elevation": {
            "description": "Ask for the privileged console account. Optional and `None` by default; valid only on the console route,\nunder the same `RemoteAccess` that opens the console.",
            "default": "None",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "ttlMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Optional requested TTL in minutes; capped at the configured maximum. Defaults to the configured TTL.",
            "format": "int32"
          }
        }
      },
      "ResendIntegratorInvitationOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "invitationToken": {
            "type": "string",
            "description": "The invitation token to send to the user. Kept for backwards compatibility; prefer\nstring ResendInvitationOutput.InvitationLink."
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side so the mailed link and the copy-link are identical.\nEmpty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation. When\n`false` the invitation is still valid and the operator must share string ResendInvitationOutput.InvitationLink\nthemselves — so every surface has to render this."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after resending an invitation to a user for an integrator."
      },
      "ResendIntegratorOwnerInvitationOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "invitationToken": {
            "type": "string"
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side. Empty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after resending an invitation to a user as integrator owner."
      },
      "ResendPlatformInvitationOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The Platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "invitationToken": {
            "type": "string",
            "description": "The invitation token to send to the user. Kept for backwards compatibility; prefer\nstring ResendInvitationOutput.InvitationLink."
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side so the mailed link and the copy-link are identical.\nEmpty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation. When\n`false` the invitation is still valid and the operator must share string ResendInvitationOutput.InvitationLink\nthemselves — so every surface has to render this."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after resending an invitation to a user for a Platform."
      },
      "ResendTenantInvitationOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "invitationToken": {
            "type": "string",
            "description": "The invitation token to send to the user. Kept for backwards compatibility; prefer\nstring ResendInvitationOutput.InvitationLink."
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side so the mailed link and the copy-link are identical.\nEmpty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation. When\n`false` the invitation is still valid and the operator must share string ResendInvitationOutput.InvitationLink\nthemselves — so every surface has to render this."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after resending an invitation to a user for a tenant."
      },
      "ResendTenantOwnerInvitationOutput": {
        "required": [
          "invitationToken",
          "invitationLink",
          "emailSent",
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "invitationToken": {
            "type": "string"
          },
          "invitationLink": {
            "type": "string",
            "description": "The invitation link, composed server-side. Empty when no dashboard base URL is configured."
          },
          "emailSent": {
            "type": "boolean",
            "description": "Whether the invitation mail was accepted by the provider. Not a delivery confirmation."
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after resending an invitation to a user as tenant owner."
      },
      "ResolvedTenantOverviewCompositionOutput": {
        "required": [
          "origins",
          "own",
          "cards",
          "area"
        ],
        "type": "object",
        "properties": {
          "origins": {
            "description": "Which layer supplied each resolved section.",
            "$ref": "#/components/schemas/CompositionSectionOrigins"
          },
          "own": {
            "description": "The tenant own row exactly as stored, so an authoring form can tell \"I set this\" from \"I inherited\nthis\" without a second request. Null sections throughout when the tenant has authored nothing.",
            "$ref": "#/components/schemas/TenantOverviewCompositionData"
          },
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            }
          },
          "area": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "        The tenant read: the composition to render, plus enough to author on top of it without being able to see\n        the layers above.\n        The inherited fields are additive on the resolved document rather than a second endpoint, because a\ntenant member has no standing in the integrator domain and cannot fetch the layers below to work out\nwhere a section came from. The server resolves them on their behalf — the same seam\nWhiteLabelThemeQuery.ReadForTenantAsync documents."
      },
      "RevokeSupportAccessGrantOutput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Revoking a grant carries no entity data back; the caller re-reads the grant list."
      },
      "RotateServiceAccountSecretOutput": {
        "required": [
          "clientId",
          "clientSecret",
          "clientSecretHint"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string"
          },
          "clientSecret": {
            "type": "string",
            "x-vion-secret": true
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          }
        },
        "description": "Output after rotating a service account secret."
      },
      "RuleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "condition",
          "actions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "ScheduleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "schedules",
          "actions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "schedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationSchedule"
            }
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "ScopeAncestor": {
        "required": [
          "scopeId",
          "scopeType",
          "name",
          "depth"
        ],
        "type": "object",
        "properties": {
          "scopeId": {
            "type": "string",
            "description": "The ancestor scope ID",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The ancestor scope type."
          },
          "name": {
            "type": "string",
            "description": "The name of the ancestor scope"
          },
          "depth": {
            "type": "integer",
            "description": "The depth of the ancestor in the hierarchy (1 = immediate parent, 2 = grandparent, etc.)",
            "format": "int32"
          }
        }
      },
      "ScopePermissionsOutput": {
        "required": [
          "scopeId",
          "scopeType",
          "permissions"
        ],
        "type": "object",
        "properties": {
          "scopeId": {
            "type": "string",
            "description": "The scope.",
            "format": "uuid"
          },
          "scopeType": {
            "type": [
              "null",
              "string"
            ],
            "description": "The scope's type, or null when the scope is not part of this domain."
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The effective permissions at the scope, inherited ones included, and none when the scope is not part of\nthis domain."
          }
        },
        "description": "The caller's effective permissions at one scope."
      },
      "ServiceContractsOutput": {
        "required": [
          "identifier",
          "contracts"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "contracts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceProviderDeclarationPayloadContractInfo"
            }
          }
        }
      },
      "ServiceIdMapping": {
        "required": [
          "identifier",
          "serviceId"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "The identifier of the service in the logic block definition."
          },
          "serviceId": {
            "type": "string",
            "description": "The service's address on its edge gateway, stored and answered in the case sent."
          }
        }
      },
      "ServiceLogicBlockInstanceOutput": {
        "required": [
          "id",
          "projectId",
          "name",
          "displayName",
          "definitionName",
          "annotations"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the instance, the display name set for it where there is one and string ServiceLogicBlockInstanceOutput.Name\notherwise."
          },
          "definitionName": {
            "type": "string"
          },
          "packageId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The package id of the library the instance's definition came from, taken at activation."
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "The order of the block's sections, as the block declares it with `[LogicBlock(Groups = ...)]`."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "ServiceMeasuringPointInfo": {
        "required": [
          "schema"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "schema": { },
          "presentation": { },
          "runtime": { }
        }
      },
      "ServiceMeasuringPointOutput": {
        "required": [
          "identifier"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "schema": { },
          "presentation": { },
          "runtime": { }
        }
      },
      "ServiceOutput": {
        "required": [
          "identifier",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "serviceProviderIdentifier",
          "logicBlockInstanceId",
          "serviceProviderId",
          "name",
          "displayName",
          "definitionIdentifier",
          "interfaceTypeFullNames",
          "properties",
          "measuringPoints",
          "relations",
          "annotations"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "serviceProviderIdentifier": {
            "type": "string"
          },
          "logicBlockInstanceId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "serviceProviderId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the service, the display name of its logic-block instance where one is set and\nstring ServiceOutput.Name otherwise."
          },
          "definitionIdentifier": {
            "type": "string"
          },
          "interfaceTypeFullNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServicePropertyOutput"
            }
          },
          "measuringPoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceMeasuringPointOutput"
            }
          },
          "relations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceRelationOutput"
            },
            "description": "The relations with this service at one end and a service the caller reads and the filter keeps at the other."
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "ServicePropertyInfo": {
        "required": [
          "schema"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "schema": { },
          "presentation": { },
          "runtime": { }
        }
      },
      "ServicePropertyOutput": {
        "required": [
          "identifier",
          "topic"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "schema": { },
          "presentation": { },
          "runtime": { },
          "topic": {
            "type": "string",
            "deprecated": true,
            "x-sunset": "2027-02-01"
          }
        }
      },
      "ServiceProviderContractsOutput": {
        "required": [
          "id",
          "tenantId",
          "edgeGatewayId",
          "identifier",
          "registrationStatus",
          "annotations",
          "services"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "registrationStatus": {
            "$ref": "#/components/schemas/RegistrationStatus"
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceContractsOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "ServiceProviderDeclarationPayloadContractInfo": {
        "required": [
          "identifier",
          "type"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      },
      "ServiceProviderOutput": {
        "required": [
          "edgeGatewayId",
          "serviceProviderId",
          "identifier",
          "annotations"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "serviceProviderId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "ServiceProviderSetupOutput": {
        "required": [
          "id",
          "tenantId",
          "edgeGatewayId",
          "identifier",
          "registrationStatus",
          "setupStatus",
          "schema",
          "selection"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "registrationStatus": {
            "$ref": "#/components/schemas/RegistrationStatus"
          },
          "setupStatus": {
            "type": "string"
          },
          "schema": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SetupSchemaOutput"
              }
            ]
          },
          "selection": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SetupSelectionOutput"
              }
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "ServiceRelationInfo": {
        "type": "object",
        "properties": {
          "relationType": {
            "type": "string"
          },
          "interfaceIdentifier": {
            "type": "string"
          },
          "interfaceTypeFullName": {
            "type": "string"
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "ServiceRelationOutput": {
        "required": [
          "relationType",
          "inwardEdgeGatewayId",
          "inwardServiceProviderIdentifier",
          "inwardServiceIdentifier",
          "outwardEdgeGatewayId",
          "outwardServiceProviderIdentifier",
          "outwardServiceIdentifier"
        ],
        "type": "object",
        "properties": {
          "relationType": {
            "type": "string"
          },
          "inwardEdgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "inwardServiceProviderIdentifier": {
            "type": "string"
          },
          "inwardServiceIdentifier": {
            "type": "string"
          },
          "outwardEdgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "outwardServiceProviderIdentifier": {
            "type": "string"
          },
          "outwardServiceIdentifier": {
            "type": "string"
          }
        }
      },
      "SetLogLevelInput": {
        "required": [
          "logLevel"
        ],
        "type": "object",
        "properties": {
          "logLevel": {
            "$ref": "#/components/schemas/LogLevel"
          }
        }
      },
      "SetLogLevelOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "SetProjectImageInput": {
        "required": [
          "image"
        ],
        "type": "object",
        "properties": {
          "image": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The photo to store, required because clearing the photo is the DELETE.",
                "$ref": "#/components/schemas/ProjectImageInput"
              }
            ]
          }
        }
      },
      "SetProjectImageOutput": {
        "required": [
          "id",
          "tenantId",
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "imageVersion": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The site photo's version, or null without a photo, which a client sends as the photo's query parameter\n`v` so that a replaced photo is never served from its cache.",
            "format": "int32"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ],
            "description": "Single-line display text rather than structured postal data, so a line break or other control character is\nrefused."
          },
          "latitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) latitude from -90 to 90, sent together with the longitude or not\nat all.",
            "format": "double"
          },
          "longitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) longitude from -180 to 180, sent together with the latitude or not\nat all.",
            "format": "double"
          }
        }
      },
      "SetPropertyValueInput": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "value": { }
        }
      },
      "SetPropertyValueOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "SetupSchemaOutput": {
        "required": [
          "fields",
          "receivedAt"
        ],
        "type": "object",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldInfo"
            }
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SetupSelectionOutput": {
        "required": [
          "values",
          "sentAt",
          "acknowledgedAt",
          "status"
        ],
        "type": "object",
        "properties": {
          "values": {
            "type": "object",
            "additionalProperties": { },
            "description": "The submitted value of each setup field, keyed by the field's identifier as submitted."
          },
          "sentAt": {
            "type": "string",
            "format": "date-time"
          },
          "acknowledgedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "SeverityLevel": {
        "enum": [
          "Critical",
          "High",
          "Medium",
          "Low"
        ],
        "type": "string"
      },
      "SoftwareInfo": {
        "required": [
          "name",
          "version",
          "deploymentStatus"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "deploymentStatus": {
            "type": "string"
          },
          "status": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SoftwareProfileItem": {
        "required": [
          "releaseName"
        ],
        "type": "object",
        "properties": {
          "releaseName": {
            "type": "string",
            "description": "The pinned Mender release to deploy, e.g. `vion-gateway-suite-2.0.1`. The release line and\nversion are derived from this name via <see cref=\"!:Helpers.ReleaseNameParser\" />."
          }
        }
      },
      "SoftwareProfileItemOutput": {
        "required": [
          "releaseName",
          "softwareName",
          "version"
        ],
        "type": "object",
        "properties": {
          "releaseName": {
            "type": "string",
            "description": "The pinned full release name, e.g. `vion-gateway-suite-2.0.1` (the deploy identifier)."
          },
          "softwareName": {
            "type": "string",
            "description": "The software name (version-independent identity) derived from the release name, e.g. `vion-gateway-suite`\n."
          },
          "version": {
            "type": "string",
            "description": "The version derived from the release name, e.g. `2.0.1`."
          }
        }
      },
      "SoftwareProfileOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "items",
          "annotations",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareProfileItemOutput"
            },
            "description": "The ordered profile items, enriched with the release line and version parsed from each pinned\nstring SoftwareProfileItemOutput.ReleaseName so the client can drive upgrade decisions\nagainst the release catalog without re-parsing names."
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "SoftwareReleaseInfo": {
        "required": [
          "name",
          "softwareName",
          "version",
          "isLatest",
          "edgeGatewayTypes"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The full Mender release name (the deploy identifier), e.g. `vion-gateway-suite-2.0.1`."
          },
          "softwareName": {
            "type": "string",
            "description": "The software name (version-independent identity) parsed from the release name, e.g. `vion-gateway-suite`."
          },
          "version": {
            "type": "string",
            "description": "The version parsed from the release name, e.g. `2.0.1`."
          },
          "isLatest": {
            "type": "boolean",
            "description": "True if this is the newest version for its software name (by semver precedence) — the upgrade target."
          },
          "edgeGatewayTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "Stability": {
        "enum": [
          "Beta",
          "Stable"
        ],
        "type": "string",
        "description": "How an operation may change, a closed set published whole."
      },
      "Stream": {
        "type": "string",
        "format": "binary"
      },
      "SubmitSetupSelectionInput": {
        "required": [
          "values"
        ],
        "type": "object",
        "properties": {
          "values": {
            "type": "object",
            "additionalProperties": { },
            "description": "Flat key-value map of the integrator's choices. Keys are field identifiers from the setup schema,\nvalues match the field's type.\ne.g. { \"has_rs485\": true, \"baudrate\": 9600, \"gpio4\": \"DigitalInput\", \"gpio4_pull\": \"PullUp\" }"
          }
        }
      },
      "SubscribePropertiesInput": {
        "required": [
          "subscriberId",
          "properties"
        ],
        "type": "object",
        "properties": {
          "subscriberId": {
            "type": "string",
            "description": "Must equal the MQTT client id used on the same connection, as `me.subscriber.create` mints it:\n`{identityProviderUserId}_{exactly 6 alphanumeric characters}_`, trailing underscore\nincluded, with the caller's own identity provider id; any other is refused with 400. The\nsubscription must be made at QoS 0, which RabbitMQ enforces silently: CONNECT succeeds,\nSUBSCRIBE is refused, the connection closes, nothing names a reason. The MQTT client must use\nthis id in its last will topic\n`cloud/subscriber/lastWill/{identityProviderUserId}/{subscriberId}`, where\n`identityProviderUserId` is the calling user's identity provider id."
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscribeProperty"
            }
          }
        }
      },
      "SubscribePropertiesOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "SubscribeProperty": {
        "required": [
          "edgeGatewayId",
          "serviceProviderIdentifier",
          "serviceIdentifier",
          "propertyIdentifier"
        ],
        "type": "object",
        "properties": {
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "serviceProviderIdentifier": {
            "type": "string"
          },
          "serviceIdentifier": {
            "type": "string"
          },
          "propertyIdentifier": {
            "type": "string"
          }
        }
      },
      "SubscriberLastWillOutput": {
        "required": [
          "topic",
          "qos"
        ],
        "type": "object",
        "properties": {
          "topic": {
            "type": "string",
            "description": "The topic the will is published to."
          },
          "qos": {
            "type": "integer",
            "description": "The quality of service the will is published with.",
            "format": "int32"
          }
        }
      },
      "SubscriberOutput": {
        "required": [
          "subscriberId",
          "brokerUrl",
          "protocolVersion",
          "subscribeQos",
          "lastWill"
        ],
        "type": "object",
        "properties": {
          "subscriberId": {
            "type": "string",
            "description": "The client id to connect as, which names the client's queue and the interest gateways keep in its properties."
          },
          "brokerUrl": {
            "type": "string",
            "description": "The broker's MQTT-over-WebSockets address."
          },
          "protocolVersion": {
            "type": "integer",
            "description": "The MQTT protocol version to connect with.",
            "format": "int32"
          },
          "subscribeQos": {
            "type": "integer",
            "description": "The quality of service to subscribe with, the only one the client's queue is granted.",
            "format": "int32"
          },
          "lastWill": {
            "description": "The will to register when connecting, which ends the subscriber's property subscriptions when its connection\nends without a clean disconnect.",
            "$ref": "#/components/schemas/SubscriberLastWillOutput"
          }
        }
      },
      "SupportAccessElevation": {
        "enum": [
          "None",
          "Root"
        ],
        "type": "string",
        "description": "        How far a console session may rise on the gateway. The first live end-to-end run landed the supporter as\n        the unprivileged `vion-remote` account with no path to root, which is the right default and the wrong\n        ceiling — some faults cannot be diagnosed from there.\n        Root is therefore not a property of the session's operator; it is a capability of the customer's own\nconsent, ticked separately from the profiles that consent covers. A tenant who allows a support\nengineer to look at a console has not thereby allowed them to become root on the device. It reaches\nthe gateway as a second SSH-certificate principal and a second login account, so an unelevated\nsession holds no credential that could be escalated after the fact."
      },
      "SupportAccessGranteeKind": {
        "enum": [
          "VionSupport",
          "Integrator"
        ],
        "type": "string",
        "description": "Which class of foreign support staff a SupportAccessGrantEntity admits. One grant per kind,\nso the tenant revokes VION's access and its integrator's access independently."
      },
      "SupportAccessGrantOutput": {
        "required": [
          "id",
          "tenantId",
          "granteeKind",
          "scopeId",
          "scopeType",
          "profiles",
          "elevation",
          "status",
          "createdBy",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "granteeKind": {
            "$ref": "#/components/schemas/SupportAccessGranteeKind"
          },
          "scopeId": {
            "type": "string",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string"
          },
          "profiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoteAccessProfile"
            }
          },
          "elevation": {
            "description": "Whether the consent includes root on a console session.",
            "$ref": "#/components/schemas/SupportAccessElevation"
          },
          "status": {
            "description": "Where in its lifecycle the consent is; `Requested` is what the tenant's consent inbox lists.",
            "$ref": "#/components/schemas/SupportAccessGrantStatus"
          },
          "validUntil": {
            "type": [
              "null",
              "string"
            ],
            "description": "Null means unlimited — the dashboard renders a warning for it.",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "description": "Who brought the grant into being: the requesting supporter, or the holder who invited support."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "approvedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "Who gave the consent. Equal to string SupportAccessGrantOutput.CreatedBy exactly when it was a direct invite."
          },
          "approvedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "deniedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "deniedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiredAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When an unanswered request timed out; no author, because nobody decided it.",
            "format": "date-time"
          },
          "revokedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "revokedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "GET shape of a support-access grant — authorization state, never a credential."
      },
      "SupportAccessGrantsOutput": {
        "required": [
          "grants"
        ],
        "type": "object",
        "properties": {
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportAccessGrantOutput"
            }
          }
        },
        "description": "One consent decision produces one grant per checked grantee kind, so the write endpoints return the whole\nset they created — the write output is the same shape the list endpoint serves, per the DTO rule that a\nwrite returns what a read would."
      },
      "SupportAccessGrantStatus": {
        "enum": [
          "Requested",
          "Active",
          "Denied",
          "Revoked",
          "Expired"
        ],
        "type": "string",
        "description": "Lifecycle state of a SupportAccessGrantEntity. It is the only pending state in the whole\nsupport lane: a session is never \"awaiting approval\", because what a tenant consents to is the grant and\nnever the individual session. See the architecture spec `2026-09-02-temporary-support-access` § 5."
      },
      "SupportAccessTenantOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "A tenant VION support may ask for consent, named well enough to pick one."
      },
      "SyncStatusOutput": {
        "required": [
          "id",
          "status",
          "tenantId",
          "targetId",
          "createdAt",
          "updatedAt",
          "objectId",
          "objectType",
          "receivedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "$ref": "#/components/schemas/EventsSyncStatus"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "targetId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "objectId": {
            "type": "string",
            "format": "uuid"
          },
          "objectType": {
            "maxLength": 1000,
            "type": "string"
          },
          "action": {
            "maxLength": 255,
            "type": [
              "null",
              "string"
            ]
          },
          "feedback": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "receivedAt": {
            "type": "string",
            "description": "When the gateway's feedback arrived; `0001-01-01T00:00:00` until it has.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "SystemEventOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "dateTime",
          "systemEventType",
          "systemEventSource",
          "status",
          "level"
        ],
        "type": "object",
        "properties": {
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "objectId": {
            "type": [
              "null",
              "string"
            ]
          },
          "correlationId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "systemEventType": {
            "type": "string"
          },
          "systemEventSource": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "data": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SystemHealthEntityComponent": {
        "required": [
          "name",
          "connectionStatus",
          "healthStatus"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "connectionStatus": {
            "$ref": "#/components/schemas/ConnectionStatus"
          },
          "healthStatus": {
            "$ref": "#/components/schemas/HealthStatus"
          },
          "since": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          },
          "subComponents": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/SystemHealthEntityComponent"
            }
          }
        },
        "description": "Hierarchical health DTO for a single component (mesh → dale → hal → service providers).\nShared by the tenant and integrator surfaces — produced from the stored health payload via\nSystemHealthComponentMapper."
      },
      "SystemHealthOutput": {
        "required": [
          "integratorId",
          "tenantId",
          "edgeGatewayId",
          "components"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SystemHealthEntityComponent"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "TemplateBinding": {
        "required": [
          "parameter",
          "kind"
        ],
        "type": "object",
        "properties": {
          "parameter": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "description": "One of TemplateBindingKinds."
          }
        },
        "description": "How one of the referenced definition's parameters is filled in when the template is rendered for a tenant."
      },
      "TemplateParameter": {
        "required": [
          "identifier",
          "type"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { },
            "description": "The parameter's display metadata, keyed by name."
          }
        }
      },
      "TemplateWidget": {
        "required": [
          "id",
          "type",
          "w",
          "h"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "type": "string",
            "description": "A classic widget type, or the data-driven type that renders string? TemplateWidget.DefinitionId."
          },
          "x": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Null means auto-position: the renderer places the widget in the first free slot.",
            "format": "int32"
          },
          "y": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Null means auto-position: the renderer places the widget in the first free slot.",
            "format": "int32"
          },
          "w": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "h": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "definitionId": {
            "type": [
              "null",
              "string"
            ],
            "description": "A GUID naming a stored widget definition, a `platform-*` id naming one the dashboard ships in code,\nor null for a classic widget. A definition deleted afterwards dangles and renders as a missing widget."
          },
          "repeatOver": {
            "type": [
              "null",
              "string"
            ],
            "description": "What to stamp this entry over, per TemplateRepeatSources. Null places it once."
          },
          "repeatInto": {
            "type": [
              "null",
              "string"
            ],
            "description": "Where each stamp's subject lands: a parameter name for a data-driven widget, a config field for a classic\none."
          },
          "bindings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateBinding"
            }
          },
          "configJson": {
            "type": [
              "null",
              "string"
            ],
            "description": "A classic widget's configuration, or fixed values for a data-driven widget's non-service parameters."
          }
        },
        "description": "One placed widget. Close to `DashboardWidget`, but a template is authored against a tenant it cannot\nsee, so int? TemplateWidget.X/int? TemplateWidget.Y are nullable, string? TemplateWidget.DefinitionId can name a data-driven\ndefinition, and string? TemplateWidget.RepeatOver stamps one entry per matching subject."
      },
      "TenantAccessGrantOutput": {
        "required": [
          "roleAssignmentId",
          "principalId",
          "principalType",
          "principalName",
          "roleId",
          "roleName",
          "targetScopeId",
          "targetScopeType",
          "targetScopeName",
          "origin",
          "sourceScopeId",
          "sourceScopeType",
          "sourceScopeName"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "roleAssignmentId": {
            "type": "string",
            "description": "The underlying role assignment this grant resolves from — the removal target for deleting the grant.\nNote: one assignment can back several rows (a group assignment yields the group's own row plus one per\nmember), so inherited / via-group rows point at the ancestor / group assignment, not a per-row one.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user, group or service account) the grant applies to.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\", \"Group\" or \"ServiceAccount\")."
          },
          "principalName": {
            "type": "string",
            "description": "Display name of the principal (user full name or email, group name, service account name)."
          },
          "roleId": {
            "type": "string",
            "description": "The role granted.",
            "format": "uuid"
          },
          "roleName": {
            "type": "string",
            "description": "Display name of the role."
          },
          "targetScopeId": {
            "type": "string",
            "description": "The scope this grant is projected for (the queried scope for the scope view;\nequal to the source scope for the principal view).",
            "format": "uuid"
          },
          "targetScopeType": {
            "type": "string",
            "description": "The type of the target scope."
          },
          "targetScopeName": {
            "type": "string",
            "description": "Display name of the target scope."
          },
          "origin": {
            "description": "Where the grant comes from: direct, inherited from an ancestor, via a group, or via a group on an ancestor.",
            "$ref": "#/components/schemas/AccessOrigin"
          },
          "sourceScopeId": {
            "type": "string",
            "description": "The scope where the underlying assignment actually lives (self or an ancestor of the target scope).",
            "format": "uuid"
          },
          "sourceScopeType": {
            "type": "string",
            "description": "The type of the source scope."
          },
          "sourceScopeName": {
            "type": "string",
            "description": "Display name of the source scope."
          },
          "viaGroupId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The group the grant is inherited through. Null unless AccessOrigin AccessGrantOutput.Origin is\nAccessOrigin.ViaGroup or AccessOrigin.ViaGroupInherited.",
            "format": "uuid"
          },
          "viaGroupName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Display name of the group the grant is inherited through. Null when Guid? AccessGrantOutput.ViaGroupId is null."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Tenant wrapper for an effective access grant with provenance."
      },
      "TenantDashboardTemplateOutput": {
        "required": [
          "id",
          "createdAt",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The owning integrator, or null for a platform template.",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Never null once stored: a template with no description carries the empty string."
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          }
        }
      },
      "TenantEdgeGatewayOutput": {
        "required": [
          "id",
          "identifier",
          "tenantId",
          "projectId",
          "name",
          "description",
          "displayName",
          "software",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the gateway, string EdgeGatewayOutput.Name where it is set, else the integrator's name for it, else\nstring EdgeGatewayOutput.Identifier."
          },
          "software": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareInfo"
            }
          },
          "dale": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The versions the gateway's dale declares it runs; absent when it declares none.",
                "$ref": "#/components/schemas/DaleRuntimeOutput"
              }
            ]
          },
          "deviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "TenantEffectivePermissionsOutput": {
        "required": [
          "root",
          "scopes"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "root": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The effective permissions at the domain root, which a scope inherits when neither it nor any of its\nancestors is among the listed scopes."
          },
          "scopes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantScopePermissionsOutput"
            },
            "description": "The requested scopes, or else the scopes where the caller or one of its groups holds an assignment of its\nown, each with its full effective set."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Tenant wrapper for the caller's effective permissions."
      },
      "TenantGroupOutput": {
        "required": [
          "id",
          "name",
          "description",
          "memberPrincipalIds",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The group ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The group name."
          },
          "description": {
            "type": "string",
            "description": "The group description."
          },
          "memberPrincipalIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The principal IDs of users in this group."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for tenant group information."
      },
      "TenantInput": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "TenantLogicBlockDefinitionOutput": {
        "required": [
          "id",
          "integratorId",
          "ownerIntegratorName",
          "ownerIntegratorSlug",
          "logicBlockLibraryId",
          "packageId",
          "packageVersion",
          "name",
          "description",
          "tags"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "description": "The integrator that owns the definition's library, which is not the tenant's integrator for a public or\ngranted library.",
            "format": "uuid"
          },
          "ownerIntegratorName": {
            "type": "string",
            "description": "The display name of the integrator that owns the definition's library."
          },
          "ownerIntegratorSlug": {
            "type": "string"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "typeFullName": {
            "type": "string"
          },
          "interfaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceInfo"
            }
          },
          "contracts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockIntrospectionResultContractInfo"
            }
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockIntrospectionResultServiceInfo"
            }
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "TenantOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "slug",
          "owners"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantOwnerOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "TenantOverviewCompositionData": {
        "type": "object",
        "properties": {
          "cards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            },
            "description": "The KPI strip along the top. Each slot places one `kpi`-form widget definition."
          },
          "area": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            },
            "description": "The main area below the cards — the same placed-widget entry a dashboard template carries."
          }
        },
        "description": "        The tenant overview page, as authored at one level.\n        A null section is not an empty one: null means \"not authored at this level\" and inherits, an empty list\nmeans \"deliberately nothing\" and does not."
      },
      "TenantOverviewCompositionLayerOutput": {
        "required": [
          "tenantId",
          "author"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "author": {
            "description": "The integrator sees the rows it wrote and the rows the tenant wrote. It may only write the former: a\ntenant-authored layer is read-only from here.",
            "$ref": "#/components/schemas/CompositionAuthor"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "cards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            },
            "description": "The KPI strip along the top. Each slot places one `kpi`-form widget definition."
          },
          "area": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            },
            "description": "The main area below the cards — the same placed-widget entry a dashboard template carries."
          }
        },
        "description": "        One tenant-scoped composition layer as stored, for the integrator that owns the tenant. Sections stay\n        nullable here, unlike a resolved read: this is what a layer authored, and null is how it says it authored\n        nothing for that section.\n        Only the tenant id, not its name — the name comes from the tenant list the authoring page already\nloads, and duplicating it here would give one fact two sources that can disagree."
      },
      "TenantOverviewCompositionOutput": {
        "required": [
          "cards",
          "area"
        ],
        "type": "object",
        "properties": {
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            }
          },
          "area": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "A resolved composition. The sections are never null here: a read has already applied whatever layering there\nis, and a scope with no composition at all is a 200 with two empty sections rather than a 404."
      },
      "TenantOwnerOutput": {
        "required": [
          "id",
          "email",
          "status",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "TenantProvisionResult": {
        "required": [
          "tenantId",
          "tenantName",
          "success"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "TenantRestartOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "TenantRoleAssignmentOutput": {
        "required": [
          "id",
          "principalId",
          "principalType",
          "roleId",
          "scopeId",
          "scopeType",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role assignment ID.",
            "format": "uuid"
          },
          "principalId": {
            "type": "string",
            "description": "The principal (user or group) ID that has this role.",
            "format": "uuid"
          },
          "principalType": {
            "type": "string",
            "description": "The type of principal (\"User\" or \"Group\")."
          },
          "roleId": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID where this role applies.",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "createdAt": {
            "type": "string",
            "description": "The creation timestamp.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for tenant role assignment information."
      },
      "TenantRoleOutput": {
        "required": [
          "id",
          "name",
          "description",
          "permissions",
          "assignableScopeTypes"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The role ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The display name of the role."
          },
          "description": {
            "type": "string",
            "description": "Description of what the role allows."
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The permissions granted by this role."
          },
          "assignableScopeTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The scopes to which this role can be assigned."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for tenant role information."
      },
      "TenantScopeOutput": {
        "required": [
          "scopeId",
          "scopeType",
          "name",
          "ancestors"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope ID",
            "format": "uuid"
          },
          "scopeType": {
            "type": "string",
            "description": "The scope type."
          },
          "name": {
            "type": "string",
            "description": "The name of the scope"
          },
          "ancestors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScopeAncestor"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "TenantScopePermissionsOutput": {
        "required": [
          "projectId",
          "scopeId",
          "scopeType",
          "permissions"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The scope's nearest project: the scope itself when it is one, null when no project contains it.",
            "format": "uuid"
          },
          "scopeId": {
            "type": "string",
            "description": "The scope.",
            "format": "uuid"
          },
          "scopeType": {
            "type": [
              "null",
              "string"
            ],
            "description": "The scope's type, or null when the scope is not part of this domain."
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Permission"
            },
            "description": "The effective permissions at the scope, inherited ones included, and none when the scope is not part of\nthis domain."
          }
        },
        "description": "The caller's effective permissions at one scope of the tenant, with the scope's nearest project."
      },
      "TenantServiceAccountOutput": {
        "required": [
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for tenant service account information."
      },
      "TenantUpdateEdgeGatewayInput": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "TenantUpdateEdgeGatewayOutput": {
        "required": [
          "id",
          "identifier",
          "tenantId",
          "projectId",
          "name",
          "description",
          "displayName",
          "software",
          "managementType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "description": "The name to show for the gateway, string EdgeGatewayOutput.Name where it is set, else the integrator's name for it, else\nstring EdgeGatewayOutput.Identifier."
          },
          "software": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareInfo"
            }
          },
          "dale": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The versions the gateway's dale declares it runs; absent when it declares none.",
                "$ref": "#/components/schemas/DaleRuntimeOutput"
              }
            ]
          },
          "deviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "managementType": {
            "$ref": "#/components/schemas/EdgeGatewayManagementType"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "TenantUserOutput": {
        "required": [
          "id",
          "identityProviderUserId",
          "email",
          "firstName",
          "lastName",
          "status",
          "invitedAt",
          "expiresAt",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The user's ID within this domain (PrincipalId).",
            "format": "uuid"
          },
          "identityProviderUserId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The identity provider user ID. Null if invitation not yet accepted.",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "description": "The user's email address."
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's first name. Null if invitation not yet accepted."
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The user's last name. Null if invitation not yet accepted."
          },
          "status": {
            "description": "The user's membership status.",
            "$ref": "#/components/schemas/UserStatus"
          },
          "invitedAt": {
            "type": "string",
            "description": "When the user was invited.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the invitation expires. Null if already accepted.",
            "format": "date-time"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "When the user accepted the invitation. Null if not yet accepted.",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output for tenant user information."
      },
      "TenantWhiteLabelThemeOutput": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "brandName": {
            "type": [
              "null",
              "string"
            ]
          },
          "logo": {
            "type": [
              "null",
              "string"
            ],
            "description": "A complete `data:` URI (`data:image/png;base64,…`), ready to drop into an `img src`. The\nbytes live in the database, so there is no second authenticated request and no CORS surface."
          },
          "accentColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "surfaceColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "darkSidebar": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "invertLogo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "One row of the integrator's tenant-theme list: the theme fields plus the tenant they belong to. Only the\nid — the tenant's name comes from the tenant list the authoring page already loads, and duplicating it\nhere would give the same fact two sources that can disagree."
      },
      "TerminateRemoteAccessSessionOutput": {
        "type": "object",
        "additionalProperties": false
      },
      "TimingInfo": {
        "required": [
          "durationMs",
          "durationS"
        ],
        "type": "object",
        "properties": {
          "durationMs": {
            "type": "integer",
            "format": "int32"
          },
          "durationS": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "TopicsMeta": {
        "required": [
          "topics"
        ],
        "type": "object",
        "properties": {
          "topics": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The topic or filter the caller subscribes to for each channel the row hands out, keyed by the channel's id."
          }
        },
        "description": "What a row of the caller's own routes hands out, which carries no scope and so no permissions."
      },
      "TranslationStatus": {
        "enum": [
          "Human",
          "AiSuggested"
        ],
        "type": "string",
        "description": "Who produced a translation, which changes nothing about how it is served."
      },
      "UpdateAlertRuleInput": {
        "required": [
          "name",
          "severity",
          "condition"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/SeverityLevel"
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          }
        }
      },
      "UpdateAlertRuleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "severity",
          "condition"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/SeverityLevel"
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          }
        }
      },
      "UpdateDashboardInput": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardWidget"
            }
          }
        }
      },
      "UpdateDashboardOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardWidget"
            }
          }
        }
      },
      "UpdateIntegratorInput": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      },
      "UpdateIntegratorOutput": {
        "required": [
          "id",
          "name",
          "slug",
          "owners"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegratorOwnerOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "UpdateIntegratorServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Updated display name."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Updated description."
          }
        },
        "description": "Input for updating an integrator service account."
      },
      "UpdateIntegratorServiceAccountOutput": {
        "required": [
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "integratorId": {
            "type": "string",
            "description": "The integrator ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after updating an integrator service account."
      },
      "UpdateLogicBlockLibraryInput": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "visibility": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "The library's new visibility, which keeps the current one when absent.",
                "$ref": "#/components/schemas/LibraryVisibility"
              }
            ]
          }
        }
      },
      "UpdateLogicBlockLibraryOutput": {
        "required": [
          "id",
          "integratorId",
          "ownerIntegratorName",
          "ownerIntegratorSlug",
          "packageId",
          "name",
          "description",
          "isArchived",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "ownerIntegratorName": {
            "type": "string",
            "description": "The display name of the integrator that owns the library."
          },
          "ownerIntegratorSlug": {
            "type": "string"
          },
          "packageId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isArchived": {
            "type": "boolean"
          },
          "visibility": {
            "$ref": "#/components/schemas/LibraryVisibility"
          },
          "latestPackageVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "UpdateLogicBlockLibraryVersionInput": {
        "required": [
          "releaseNotes",
          "tags"
        ],
        "type": "object",
        "properties": {
          "releaseNotes": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpdateLogicBlockLibraryVersionOutput": {
        "required": [
          "id",
          "integratorId",
          "logicBlockLibraryId",
          "packageId",
          "packageVersion",
          "releaseNotes",
          "tags"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "logicBlockLibraryId": {
            "type": "string",
            "format": "uuid"
          },
          "packageId": {
            "type": "string"
          },
          "packageVersion": {
            "type": "string"
          },
          "releaseNotes": {
            "type": "string",
            "description": "The version's release notes, as GitHub Flavored Markdown for clients to render."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Free-form labels of the version, such as \"Preview\" or \"Deprecated\"."
          },
          "targetDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The highest `Vion.Dale.Sdk` version, as `MAJOR.MINOR.PATCH`, that the library's package stamped as\nreferenced by its assemblies."
          },
          "minimumDaleSdkVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The minimum `Vion.Dale.Sdk` version, as `MAJOR.MINOR.PATCH`, that the library's author declared."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "UpdateLogicConfigurationInput": {
        "required": [
          "name",
          "description",
          "logicBlockInstances",
          "interfaceMappings",
          "contractMappings"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationGroup"
            },
            "description": "The groups the configuration's logic blocks sit in, a tree by each group's parent, in reading order."
          },
          "logicBlockInstances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockInstance"
            }
          },
          "interfaceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMapping"
            }
          },
          "contractMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractMapping"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateLogicConfigurationOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "createdAt",
          "changedAt",
          "activatedAt",
          "isCurrent",
          "createdBy",
          "createdByName",
          "activatedBy",
          "activatedByName",
          "name",
          "description",
          "logicBlockInstances",
          "interfaceMappings",
          "contractMappings"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "activatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "createdBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the creator.",
            "format": "uuid"
          },
          "createdByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.CreatedBy."
          },
          "activatedBy": {
            "type": [
              "null",
              "string"
            ],
            "description": "The principal id of the last activator.",
            "format": "uuid"
          },
          "activatedByName": {
            "type": [
              "null",
              "string"
            ],
            "description": "The display name of Guid? LogicConfigurationOutput.ActivatedBy."
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LogicConfigurationGroup"
            },
            "description": "The groups the configuration's logic blocks sit in, a tree by each group's parent, in reading order."
          },
          "logicBlockInstances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockInstance"
            }
          },
          "interfaceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMapping"
            }
          },
          "contractMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractMapping"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateLogicConfigurationTemplateInput": {
        "required": [
          "name",
          "description",
          "parameters",
          "logicBlockTemplates",
          "interfaceMappingTemplates"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateParameter"
            }
          },
          "logicBlockTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplate"
            }
          },
          "interfaceMappingTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMappingTemplate"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "UpdateLogicConfigurationTemplateOutput": {
        "required": [
          "id",
          "integratorId",
          "createdAt",
          "name",
          "description",
          "parameters",
          "logicBlockTemplates",
          "interfaceMappingTemplates"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateParameter"
            }
          },
          "logicBlockTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTemplate"
            }
          },
          "interfaceMappingTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceMappingTemplate"
            }
          },
          "editorLayoutJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "UpdateNodeInput": {
        "required": [
          "parentNodeId",
          "name"
        ],
        "type": "object",
        "properties": {
          "parentNodeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The parent the node keeps or moves to, or null to make it a root node, required so that a body omitting it is\nrefused rather than moving the node to the root.",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateNodeOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "parentNodeId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The parent node, or null for a root node.",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateNotificationPreferencesInput": {
        "required": [
          "disabled"
        ],
        "type": "object",
        "properties": {
          "disabled": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationPreferenceCellInput"
            },
            "description": "Every channel the caller switches off, per category; empty for none. A channel left out is on."
          }
        }
      },
      "UpdateNotificationPreferencesOutput": {
        "required": [
          "categories"
        ],
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationCategoryPreferencesOutput"
            },
            "description": "Every category that offers a channel, each with one switch per channel it offers."
          }
        }
      },
      "UpdatePendingCertificateRequestInput": {
        "required": [
          "doApprove"
        ],
        "type": "object",
        "properties": {
          "doApprove": {
            "type": "boolean"
          },
          "processingReason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdatePlatformServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Updated display name."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Updated description."
          }
        },
        "description": "Input for updating a platform service account."
      },
      "UpdatePlatformServiceAccountOutput": {
        "required": [
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "platformId": {
            "type": "string",
            "description": "The platform ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after updating a platform service account."
      },
      "UpdateProjectInput": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ],
            "description": "Single-line display text rather than structured postal data, so a line break or other control character is\nrefused."
          },
          "latitude": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) latitude from -90 to 90, sent together with the longitude or not\nat all.",
            "format": "double"
          },
          "longitude": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) longitude from -180 to 180, sent together with the latitude or not\nat all.",
            "format": "double"
          }
        }
      },
      "UpdateProjectOutput": {
        "required": [
          "id",
          "tenantId",
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "imageVersion": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The site photo's version, or null without a photo, which a client sends as the photo's query parameter\n`v` so that a replaced photo is never served from its cache.",
            "format": "int32"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "address": {
            "type": [
              "null",
              "string"
            ],
            "description": "Single-line display text rather than structured postal data, so a line break or other control character is\nrefused."
          },
          "latitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) latitude from -90 to 90, sent together with the longitude or not\nat all.",
            "format": "double"
          },
          "longitude": {
            "type": [
              "null",
              "number"
            ],
            "description": "The World Geodetic System 1984 (WGS 84) longitude from -180 to 180, sent together with the latitude or not\nat all.",
            "format": "double"
          }
        }
      },
      "UpdateRegistrationStatusInput": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/RegistrationStatus"
          }
        }
      },
      "UpdateRuleInput": {
        "required": [
          "name",
          "condition",
          "actions"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "UpdateRuleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "condition",
          "actions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "condition": {
            "$ref": "#/components/schemas/AutomationCondition"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "UpdateScheduleInput": {
        "required": [
          "name",
          "schedules",
          "actions"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "schedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationSchedule"
            }
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "UpdateScheduleOutput": {
        "required": [
          "id",
          "tenantId",
          "projectId",
          "edgeGatewayId",
          "name",
          "schedules",
          "actions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "edgeGatewayId": {
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "schedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationSchedule"
            }
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationAction"
            }
          }
        }
      },
      "UpdateSoftwareProfileInput": {
        "required": [
          "name",
          "items"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareProfileItem"
            }
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          }
        }
      },
      "UpdateSoftwareProfileOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "items",
          "annotations",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareProfileItemOutput"
            },
            "description": "The ordered profile items, enriched with the release line and version parsed from each pinned\nstring SoftwareProfileItemOutput.ReleaseName so the client can drive upgrade decisions\nagainst the release catalog without re-parsing names."
          },
          "annotations": {
            "type": "object",
            "additionalProperties": { }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "UpdateTenantDashboardTemplateInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Never null once stored: a template with no description carries the empty string."
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          }
        }
      },
      "UpdateTenantDashboardTemplateOutput": {
        "required": [
          "id",
          "createdAt",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The owning integrator, or null for a platform template.",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Never null once stored: a template with no description carries the empty string."
          },
          "widgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          }
        }
      },
      "UpdateTenantGroupInput": {
        "required": [
          "name",
          "description",
          "memberPrincipalIds"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The group name."
          },
          "description": {
            "type": "string",
            "description": "The group description."
          },
          "memberPrincipalIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Updated member principal IDs."
          }
        },
        "description": "Input for updating a tenant group."
      },
      "UpdateTenantGroupOutput": {
        "required": [
          "id",
          "name",
          "description",
          "memberPrincipalIds",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "The group ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The group name."
          },
          "description": {
            "type": "string",
            "description": "The group description."
          },
          "memberPrincipalIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The principal IDs of users in this group."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after updating a tenant group."
      },
      "UpdateTenantInput": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      },
      "UpdateTenantOutput": {
        "required": [
          "id",
          "integratorId",
          "name",
          "slug",
          "owners"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantOwnerOutput"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "UpdateTenantServiceAccountInput": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Updated display name."
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "description": "Updated description."
          }
        },
        "description": "Input for updating a tenant service account."
      },
      "UpdateTenantServiceAccountOutput": {
        "required": [
          "id",
          "name",
          "description",
          "clientId",
          "clientSecretHint",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "description": "The tenant ID (alias for AuthDomainRootScopeId).",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "clientSecretHint": {
            "type": "string",
            "description": "Partially obfuscated client secret hint for display (e.g. \"••••••••s7Kx\")."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "Output after updating a tenant service account."
      },
      "UpdateTenantWidgetDefinitionInput": {
        "required": [
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "UpdateTenantWidgetDefinitionOutput": {
        "required": [
          "id",
          "createdAt",
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "UpdateWidgetDefinitionInput": {
        "required": [
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "UpdateWidgetDefinitionOutput": {
        "required": [
          "id",
          "createdAt",
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      },
      "UpsertArrangementInput": {
        "type": "object",
        "properties": {
          "order": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Entry ids, first to last. Ids the collection does not contain are simply never matched."
          },
          "hidden": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Entry ids to leave out. Empty means everything the collection holds is shown."
          }
        },
        "description": "A full upsert of one row: the document replaces what is stored. Every part of the identity is route-bound\nand JsonIgnoreAttributed, so a body cannot redirect the write at another scope or collection."
      },
      "UpsertArrangementOutput": {
        "required": [
          "scopeKind",
          "scopeId",
          "collection",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "scopeKind": {
            "$ref": "#/components/schemas/ArrangementScopeKind"
          },
          "scopeId": {
            "type": "string",
            "description": "The tenant id or the project id, matching ArrangementScopeKind ArrangementOutput.ScopeKind.",
            "format": "uuid"
          },
          "collection": {
            "$ref": "#/components/schemas/ArrangementCollection"
          },
          "tenantId": {
            "type": "string",
            "description": "The owning tenant, on every row — a project-scoped row's Guid ArrangementOutput.ScopeId is the project.",
            "format": "uuid"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "description": "The project on a project-scoped row, null on a tenant-scoped one. Restates Guid ArrangementOutput.ScopeId.",
            "format": "uuid"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "order": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Entry ids, first to last. Ids the collection does not contain are simply never matched."
          },
          "hidden": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Entry ids to leave out. Empty means everything the collection holds is shown."
          }
        }
      },
      "UpsertLogicBlockTranslationsInput": {
        "required": [
          "translations"
        ],
        "type": "object",
        "properties": {
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTranslationCellInput"
            }
          }
        }
      },
      "UpsertLogicBlockTranslationsOutput": {
        "required": [
          "inserted",
          "updated",
          "rows"
        ],
        "type": "object",
        "properties": {
          "inserted": {
            "type": "integer",
            "format": "int32"
          },
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicBlockTranslationMatrixRowOutput"
            },
            "description": "Every matrix row a written translation belongs to, with its other locales, in the shape the matrix read\nreturns."
          }
        }
      },
      "UpsertOwnOverviewCompositionInput": {
        "type": "object",
        "properties": {
          "cards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            },
            "description": "The KPI strip along the top. Each slot places one `kpi`-form widget definition."
          },
          "area": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            },
            "description": "The main area below the cards — the same placed-widget entry a dashboard template carries."
          }
        },
        "description": "The tenant writing its own composition layer. The same full-upsert, nullable-section contract the\nintegrator writes with: a section left null is cleared back to inherited rather than kept, so clearing a\nsection is how the tenant hands it back to the layer beneath."
      },
      "UpsertOwnOverviewCompositionOutput": {
        "required": [
          "origins",
          "own",
          "cards",
          "area"
        ],
        "type": "object",
        "properties": {
          "origins": {
            "description": "Which layer supplied each resolved section.",
            "$ref": "#/components/schemas/CompositionSectionOrigins"
          },
          "own": {
            "description": "The tenant own row exactly as stored, so an authoring form can tell \"I set this\" from \"I inherited\nthis\" without a second request. Null sections throughout when the tenant has authored nothing.",
            "$ref": "#/components/schemas/TenantOverviewCompositionData"
          },
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            }
          },
          "area": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "What the GET returns, so the page can replace its whole object with the write response instead of\nre-reading to find out what the write actually resolved to."
      },
      "UpsertPersonProfileInput": {
        "type": "object",
        "properties": {
          "locale": {
            "type": [
              "null",
              "string"
            ],
            "description": "The language platform speech is rendered in for this person, `de` or `en`."
          }
        }
      },
      "UpsertPersonProfileOutput": {
        "required": [
          "locale"
        ],
        "type": "object",
        "properties": {
          "locale": {
            "type": "string",
            "description": "The language platform speech is rendered in for this person."
          }
        }
      },
      "UpsertTenantOverviewCompositionInput": {
        "type": "object",
        "properties": {
          "cards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            },
            "description": "The KPI strip along the top. Each slot places one `kpi`-form widget definition."
          },
          "area": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            },
            "description": "The main area below the cards — the same placed-widget entry a dashboard template carries."
          }
        }
      },
      "UpsertTenantOverviewCompositionLayerInput": {
        "type": "object",
        "properties": {
          "cards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            },
            "description": "The KPI strip along the top. Each slot places one `kpi`-form widget definition."
          },
          "area": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            },
            "description": "The main area below the cards — the same placed-widget entry a dashboard template carries."
          }
        },
        "description": "The integrator writing one tenant its own composition layer. A full upsert with the same nullable-section\ncontract as every other layer: a section left null is cleared back to inherited."
      },
      "UpsertTenantOverviewCompositionLayerOutput": {
        "required": [
          "tenantId",
          "author"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "author": {
            "description": "The integrator sees the rows it wrote and the rows the tenant wrote. It may only write the former: a\ntenant-authored layer is read-only from here.",
            "$ref": "#/components/schemas/CompositionAuthor"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "cards": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            },
            "description": "The KPI strip along the top. Each slot places one `kpi`-form widget definition."
          },
          "area": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            },
            "description": "The main area below the cards — the same placed-widget entry a dashboard template carries."
          }
        }
      },
      "UpsertTenantOverviewCompositionOutput": {
        "required": [
          "cards",
          "area"
        ],
        "type": "object",
        "properties": {
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompositionSlot"
            }
          },
          "area": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemplateWidget"
            }
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        }
      },
      "UpsertWhiteLabelThemeInput": {
        "type": "object",
        "properties": {
          "brandName": {
            "type": [
              "null",
              "string"
            ]
          },
          "logo": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WhiteLabelLogoInput"
              }
            ]
          },
          "accentColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "surfaceColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "darkSidebar": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "invertLogo": {
            "type": [
              "null",
              "boolean"
            ]
          }
        },
        "description": "A full upsert of one scope's theme: the document replaces what is stored, so a field left null clears it\nback to inherited and an all-null document takes the level out of the fallback chain."
      },
      "UpsertWhiteLabelThemeOutput": {
        "type": "object",
        "properties": {
          "brandName": {
            "type": [
              "null",
              "string"
            ]
          },
          "logo": {
            "type": [
              "null",
              "string"
            ],
            "description": "A complete `data:` URI (`data:image/png;base64,…`), ready to drop into an `img src`. The\nbytes live in the database, so there is no second authenticated request and no CORS surface."
          },
          "accentColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "surfaceColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "darkSidebar": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "invertLogo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "The stored theme after the upsert, in the GET shape — the write endpoint returns the whole object so the\nauthoring form can replace what it just sent rather than re-fetch it (docs/api-surface-conventions.md § DTOs)."
      },
      "UserStatus": {
        "enum": [
          "Pending",
          "Active"
        ],
        "type": "string",
        "description": "Status of a user membership (shared across domains)."
      },
      "WhiteLabelLogoInput": {
        "required": [
          "contentType",
          "dataBase64"
        ],
        "type": "object",
        "properties": {
          "contentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "dataBase64": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "description": "        An uploaded logo on the wire: the declared content type plus the raw file, base64-encoded. Both are\n        nullable because System.Text.Json will happily leave either out; the server validates rather than trusts —\n        the declared type is cross-checked against the bytes' actual content in `WhiteLabelLogo`.\n        A positional record on purpose: this DTO is only ever produced by deserialization, and the repo's\ncleanup profile turns never-assigned auto-properties into get-only ones, after which System.Text.Json\nsilently deserializes a nested DTO to all-defaults (see CLAUDE.md § Code formatting)."
      },
      "WhiteLabelThemeOutput": {
        "type": "object",
        "properties": {
          "brandName": {
            "type": [
              "null",
              "string"
            ]
          },
          "logo": {
            "type": [
              "null",
              "string"
            ],
            "description": "A complete `data:` URI (`data:image/png;base64,…`), ready to drop into an `img src`. The\nbytes live in the database, so there is no second authenticated request and no CORS surface."
          },
          "accentColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "surfaceColor": {
            "type": [
              "null",
              "string"
            ]
          },
          "darkSidebar": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "invertLogo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          }
        },
        "description": "        One theme as the dashboard reads it, used unchanged by the authoring GETs, the PUT responses and both\n        effective GETs — one shape means the authoring form and the renderer parse the same payload.\n        Every field is nullable and null means unset: the authoring reads return what this level stores, the\neffective reads return the per-field merge of the levels the server knows about. The server never fills\na deployment or VION default — a context with nothing set anywhere is a 200 with every field null, and\nthe client layers the rest."
      },
      "WidgetDefaultSize": {
        "required": [
          "w",
          "h"
        ],
        "type": "object",
        "properties": {
          "w": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "h": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "WidgetDefinitionOutput": {
        "required": [
          "id",
          "createdAt",
          "name",
          "description",
          "template",
          "defaultSize"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "integratorId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "meta": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OutputMeta"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "formFactor": {
            "type": "string",
            "description": "How the widget is laid out, per WidgetFormFactors: `grid` (the ordinary cell grid)\nor `kpi` (a single figure, the shape the tenant-overview cards take). Absent means `grid`."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParameterDefinition"
            }
          },
          "dataSources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceDefinition"
            }
          },
          "template": {
            "$ref": "#/components/schemas/CompositionTemplate"
          },
          "defaultSize": {
            "$ref": "#/components/schemas/WidgetDefaultSize"
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://auth.vion.swiss/realms/vion/protocol/openid-connect/token",
            "scopes": { }
          },
          "authorizationCode": {
            "authorizationUrl": "https://auth.vion.swiss/realms/vion/protocol/openid-connect/auth",
            "tokenUrl": "https://auth.vion.swiss/realms/vion/protocol/openid-connect/token",
            "scopes": { }
          }
        }
      },
      "BearerToken": {
        "type": "apiKey",
        "description": "Add the token with the keyword Bearer (Bearer -Token-)",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "OAuth2": [ ]
    },
    {
      "BearerToken": [ ]
    }
  ],
  "tags": [
    {
      "name": "CertificateApproval"
    },
    {
      "name": "Integrator"
    },
    {
      "name": "Internal"
    },
    {
      "name": "Onboarding"
    },
    {
      "name": "Platform"
    },
    {
      "name": "Tenant"
    },
    {
      "name": "User"
    }
  ]
}