
{
  "openapi": "3.1.0",
  "info": {
    "title": "Cambrionix Connect Authentication API",
    "description": "The Authentication API handles all authentication related tasks for Cambrionix Connect, including but not limited to: user registration, user login, user settings, user roles, organization management, organization roles, organization users, organization services, organization computers, organization licenses, organization invitations, organization authorization, organization oauth2, organization well-known openid-configuration, organization oauth2 keys, organization oauth2 authorize, organization oauth2 token, license management, built-in roles, permissions, permission groups.",
    "version": "1.0"
  },
  "servers": [
    {
      "description": "Cambrionix Connect",
      "url": "/api/v1"
    }
  ],
  "tags": [
    {
      "name": "User",
      "description": "View and modify user settings, roles and organizations."
    },
    {
      "name": "Built-in Roles",
      "description": "View built-in roles."
    },
    {
      "name": "Organization",
      "description": "View and administer your organization."
    },
    {
      "name": "Authorization",
      "description": "Generate oAuth2 auth tokens for use with your Services."
    },
    {
      "name": "Organization Invitations",
      "description": "View and administer organization invitations."
    },
    {
      "name": "Organization Users",
      "description": "View and administer Users in your organization."
    },
    {
      "name": "Groups & Roles",
      "description": "View and administer Groups & Roles in your organization."
    },
    {
      "name": "Computers",
      "description": "Add, remove and list Computers in a your organization."
    },
    {
      "name": "Services",
      "description": "Add, remove and list Services in a your organization."
    },
    {
      "name": "Registered Hubs",
      "description": "Get information about your registered hubs in your organization."
    },
    {
      "name": "Other"
    }
  ],
  "paths": {
    "/.well-known/oauth-authorization-server": {
      "get": {
        "summary": "OAuth Authorization Server Metadata",
        "description": "RFC 8414 OAuth 2.0 Authorization Server Metadata.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OauthAuthorizationServerMetadataResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "oauthAuthorizationServerMetadata"
      }
    },
    "/computer": {
      "get": {
        "summary": "Get Computers",
        "description": "Get all computers",
        "tags": [
          "Computers"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Computer"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getComputers"
      },
      "post": {
        "summary": "Add Computer",
        "description": "Add a new computer",
        "tags": [
          "Computers"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddComputerRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Computer"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addComputer"
      },
      "patch": {
        "summary": "Update Computer",
        "description": "Update a computer by id",
        "tags": [
          "Computers"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateComputerRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Computer"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateComputer"
      },
      "put": {
        "summary": "Add or Update Computer",
        "description": "Add a new computer or update an existing one",
        "tags": [
          "Computers"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddOrUpdateComputerRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Computer"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addOrUpdateComputer"
      },
      "delete": {
        "summary": "Delete Computer",
        "description": "Delete a computer by id",
        "tags": [
          "Computers"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteComputerRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteComputerResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteComputer"
      }
    },
    "/computers": {
      "get": {
        "summary": "Get Computers",
        "description": "List the organization's registered computers: name, OS and CPU, connection status, location, and the local services each one runs (with their service ids).",
        "tags": [
          "Computers"
        ],
        "parameters": [
          {
            "description": "Returns only the items that match, written as `(path::operator::value)`, such as `(name::co::Lab)`. Operators are `eq`, `co`, `sw`, `ew`, `gt` and `pr`, and the case-insensitive `ieq`, `ico`, `isw` and `iew`. Combine conditions as `((a)::and::(b))` or `((a)::or::(b))`.",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Orders the items, written as `(path::asc)` or `(path::desc)`. Combine orders as `((a)::and::(b))`.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Computer"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getComputersGet"
      }
    },
    "/computers/{computerId}": {
      "get": {
        "summary": "Get Computer",
        "description": "Get one registered computer (name, OS and CPU, connection status, local services) by id.",
        "tags": [
          "Computers"
        ],
        "parameters": [
          {
            "name": "computerId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "The unique identifier for a computer",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Computer"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getComputer"
      },
      "patch": {
        "summary": "Update Computer",
        "description": "Update a computer by id",
        "tags": [
          "Computers"
        ],
        "parameters": [
          {
            "name": "computerId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "The unique identifier for a computer",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateComputerPatchRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Computer"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateComputerPatch"
      },
      "put": {
        "summary": "Add or Update Computer",
        "description": "Add a new computer or update an existing one",
        "tags": [
          "Computers"
        ],
        "parameters": [
          {
            "name": "computerId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "The unique identifier for a computer",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddOrUpdateComputerPutRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Computer"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addOrUpdateComputerPut"
      },
      "delete": {
        "summary": "Delete Computer",
        "description": "Delete a computer by id",
        "tags": [
          "Computers"
        ],
        "parameters": [
          {
            "name": "computerId",
            "in": "path",
            "required": true,
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "The unique identifier for a computer",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteComputerDeleteResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteComputerDelete"
      }
    },
    "/entities/{entityId}": {
      "get": {
        "summary": "Get Entity",
        "description": "Get an entity by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Entities.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntityResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getEntity"
      }
    },
    "/entities/{entityId}/groups": {
      "get": {
        "summary": "Get Entity Groups",
        "description": "Get groups associated with an entity by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          {
            "description": "Returns only the items that match, written as `(path::operator::value)`, such as `(name::co::Lab)`. Operators are `eq`, `co`, `sw`, `ew`, `gt` and `pr`, and the case-insensitive `ieq`, `ico`, `isw` and `iew`. Combine conditions as `((a)::and::(b))` or `((a)::or::(b))`.",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Orders the items, written as `(path::asc)` or `(path::desc)`. Combine orders as `((a)::and::(b))`.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Entities.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Group"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getEntityGroups"
      }
    },
    "/group": {
      "post": {
        "summary": "Create Group",
        "description": "Create a new group.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Group"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createGroup"
      }
    },
    "/groups": {
      "get": {
        "summary": "List Groups",
        "description": "Get all Groups scoped to a specific Organization.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "description": "Returns only the items that match, written as `(path::operator::value)`, such as `(name::co::Lab)`. Operators are `eq`, `co`, `sw`, `ew`, `gt` and `pr`, and the case-insensitive `ieq`, `ico`, `isw` and `iew`. Combine conditions as `((a)::and::(b))` or `((a)::or::(b))`.",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Orders the items, written as `(path::asc)` or `(path::desc)`. Combine orders as `((a)::and::(b))`.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Group"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listGroups"
      }
    },
    "/groups/{groupId}": {
      "get": {
        "summary": "Get Group",
        "description": "Get a Group by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Group"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGroup"
      },
      "patch": {
        "summary": "Update Group",
        "description": "Update a Group by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Group"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateGroup"
      },
      "delete": {
        "summary": "Delete Group",
        "description": "Delete a Group by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteGroupResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteGroup"
      }
    },
    "/groups/{groupId}/entities": {
      "get": {
        "summary": "Get Group Entities",
        "description": "Get all Entities associated with a Group.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          {
            "description": "Returns only the items that match, written as `(path::operator::value)`, such as `(name::co::Lab)`. Operators are `eq`, `co`, `sw`, `ew`, `gt` and `pr`, and the case-insensitive `ieq`, `ico`, `isw` and `iew`. Combine conditions as `((a)::and::(b))` or `((a)::or::(b))`.",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Orders the items, written as `(path::asc)` or `(path::desc)`. Combine orders as `((a)::and::(b))`.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Entities.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetGroupEntitiesResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGroupEntities"
      }
    },
    "/groups/{groupId}/entities/{entityId}": {
      "delete": {
        "summary": "Delete Entity Reference",
        "description": "Delete an Entity Group entry",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Entities.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEntityReferenceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteEntityReference"
      }
    },
    "/groups/{groupId}/entity": {
      "post": {
        "summary": "Create Group Entity",
        "description": "Create a new Group Entity.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupEntityRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Entities.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateGroupEntityResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createGroupEntity"
      }
    },
    "/groups/{groupId}/role": {
      "post": {
        "summary": "Create Group Role",
        "description": "Create a new Group Role assignment.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRoleRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Role.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationGroupRole"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createGroupRole"
      }
    },
    "/groups/{groupId}/roles": {
      "get": {
        "summary": "Get Group Roles",
        "description": "Get all Group Roles scoped to a specific Group.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Role.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationGroupRole"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGroupRoles"
      }
    },
    "/groups/{groupId}/roles/{roleId}": {
      "get": {
        "summary": "Get Group Role",
        "description": "Get an Organization Group Role by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Role.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationGroupRole"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGroupRole"
      },
      "delete": {
        "summary": "Delete Group Role",
        "description": "Delete an Organization Group Role by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Groups.Role.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteGroupRoleResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteGroupRole"
      }
    },
    "/invite": {
      "post": {
        "summary": "Invite a User to an Organization",
        "description": "Create a new invite for a user to join an organization.",
        "tags": [
          "Organization Invitations"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The details of the invite.",
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/OrganizationInvitePayload"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrganizationInvitePayload"
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The Issued Authorization Token.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationInvite"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "inviteAUserToAnOrganization"
      },
      "delete": {
        "summary": "Delete an Invite",
        "description": "Delete an organization invitation.",
        "tags": [
          "Organization Invitations"
        ],
        "requestBody": {
          "required": true,
          "description": "The id of the invite you wish to delete.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "parameters": {
                  "id": {
                    "type": "string",
                    "examples": [
                      "00000000-0000-0000-0000-000000000000"
                    ],
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "examples": [
                  {
                    "email": "john.smith@cambrionix.com"
                  }
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "result": {
                      "type": "object",
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteAnInvite"
      }
    },
    "/invites": {
      "get": {
        "summary": "List Invite Tokens",
        "description": "Get a list of currently valid invite tokens.",
        "tags": [
          "Organization Invitations"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "token",
            "description": "Continuation token",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "description": "Number of records to return",
            "schema": {
              "type": "integer",
              "examples": [
                "10"
              ],
              "format": "int32"
            },
            "required": false
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "A list of invite codes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "description": "Paging details for the list.",
                      "properties": {
                        "continuationToken": {
                          "type": "string",
                          "description": "Pass as `token` to get the next page."
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationInvite"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listInviteTokens"
      }
    },
    "/oauth2/authorize": {
      "get": {
        "summary": "Authorize OAuth Client (Redirect To Consent)",
        "description": "OAuth 2.1 authorization endpoint (authorization_code + PKCE), step 1: validates the request and redirects the browser to apps/web's /oauth/consent page for login + consent.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "No content"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "authorizeOauthClientRedirectToConsent"
      },
      "post": {
        "summary": "Authorize OAuth Client (Approve Consent)",
        "description": "OAuth 2.1 authorization endpoint, step 2: called by apps/web's /oauth/consent page once the user picks an org and approves. Requires an org-scoped Connect bearer token; mints the single-use authorization code for that org and returns the client's final redirect URL.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeOauthClientApproveConsentRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizeOauthClientApproveConsentResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "authorizeOauthClientApproveConsent"
      }
    },
    "/oauth2/clients/{clientId}": {
      "get": {
        "summary": "Get OAuth Client",
        "description": "Public lookup of an OAuth client's display name and registered redirect URIs, used by the consent UI.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOauthClientResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOauthClient"
      }
    },
    "/oauth2/grants": {
      "get": {
        "summary": "List My MCP Connections",
        "description": "Lists the MCP clients the caller has connected to their current organization (one entry per client, active grants only). MCP-minted tokens are refused.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMyMcpConnectionsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listMyMcpConnections"
      }
    },
    "/oauth2/grants/{clientId}": {
      "delete": {
        "summary": "Disconnect My MCP Connection",
        "description": "Disconnects an MCP client from the caller's current organization by revoking the caller's refresh tokens for it. Access tokens already issued expire within an hour. MCP-minted tokens are refused.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisconnectMyMcpConnectionResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "disconnectMyMcpConnection"
      }
    },
    "/oauth2/register": {
      "post": {
        "summary": "Register OAuth Client",
        "description": "Registers a public OAuth client without a client secret. Access requires user consent and is limited by the user’s permissions.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterOauthClientRequest"
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterOauthClientResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "registerOauthClient"
      }
    },
    "/oauth2/revoke": {
      "post": {
        "summary": "Revoke OAuth Token",
        "description": "RFC 7009 token revocation. Always returns 200, whether or not the token existed.",
        "tags": [
          "OAuth2"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeOauthTokenRequest"
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "No content"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "revokeOauthToken"
      }
    },
    "/oauth2/token": {
      "get": {
        "summary": "Get OAuth2 Token",
        "description": "Get an OAuth2 token.",
        "tags": [
          "Authorization"
        ],
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOauth2TokenResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOauth2Token"
      },
      "post": {
        "summary": "Exchange OAuth Token",
        "description": "Exchange an OAuth token for another, mint a new token via client_credentials for a global service, or complete an authorization_code / refresh_token grant for an MCP client.",
        "tags": [
          "Authorization"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExchangeOauthTokenRequest"
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeOauthTokenResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "exchangeOauthToken"
      }
    },
    "/organization": {
      "patch": {
        "summary": "Update Organization",
        "description": "Update an Organization.",
        "tags": [
          "Organization"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Organization"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateOrganization"
      }
    },
    "/organization/effective-permissions": {
      "get": {
        "summary": "Get Effective Permissions",
        "description": "Get the user or service account the access token was issued to, and every permission it can use in the organization. Use it to check what a token can do before calling an endpoint.",
        "tags": [
          "Authorization"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEffectivePermissionsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getEffectivePermissions"
      }
    },
    "/organization/join": {
      "post": {
        "summary": "Join Organization",
        "description": "Join an organization.",
        "tags": [
          "Organization Invitations"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinOrganizationRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JoinOrganizationResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "joinOrganization"
      }
    },
    "/organizations/{organizationId}": {
      "get": {
        "summary": "Get Organization",
        "description": "Get an organization by id. The id must be the caller's current organization.",
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Organization"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganization"
      },
      "patch": {
        "summary": "Update Organization",
        "description": "Update an Organization by id.",
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationPatchRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Organization"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateOrganizationPatch"
      }
    },
    "/organizations/{organizationId}/.well-known/openid-configuration": {
      "get": {
        "summary": "Get Organization OpenId configuration",
        "description": "Get the OpenId configuration of a given organization",
        "tags": [
          "Authorization"
        ],
        "security": [],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "The Organization's OpenId configuration.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "issuer",
                    "authorization_endpoint",
                    "jwks_uri",
                    "token_endpoint",
                    "response_types_supported",
                    "subject_types_supported",
                    "id_token_signing_alg_values_supported",
                    "scopes_supported",
                    "claims_supported"
                  ],
                  "properties": {
                    "issuer": {
                      "type": "string"
                    },
                    "authorization_endpoint": {
                      "type": "string"
                    },
                    "token_endpoint": {
                      "type": "string"
                    },
                    "jwks_uri": {
                      "type": "string"
                    },
                    "response_types_supported": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "subject_types_supported": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "id_token_signing_alg_values_supported": {
                      "type": "array",
                      "prefixItems": [
                        {
                          "type": "string",
                          "enum": [
                            "RS256"
                          ]
                        }
                      ],
                      "minItems": 1,
                      "maxItems": 1
                    },
                    "scopes_supported": {
                      "type": "array",
                      "prefixItems": [
                        {
                          "type": "string",
                          "enum": [
                            "API.Read"
                          ]
                        }
                      ],
                      "minItems": 1,
                      "maxItems": 1
                    },
                    "claims_supported": {
                      "type": "array",
                      "maxItems": 0
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationOpenidConfiguration"
      }
    },
    "/organizations/{organizationId}/computers": {
      "get": {
        "summary": "Get Organization Computers",
        "description": "Get all computers in the given organization by organization ID",
        "tags": [
          "Computers"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "token",
            "description": "Continuation token",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "description": "Number of records to return",
            "schema": {
              "type": "integer",
              "examples": [
                "10"
              ],
              "format": "int32"
            },
            "required": false
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The Computers in the given organization.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "description": "Paging details for the list.",
                      "properties": {
                        "continuationToken": {
                          "type": "string",
                          "description": "Pass as `token` to get the next page."
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Computer"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationComputers"
      }
    },
    "/organizations/{organizationId}/oauth2/authorize": {
      "get": {
        "summary": "Get Authorization Token",
        "description": "Get an authorization token. This method is guaranteed to fail since no response_types are supported.",
        "tags": [
          "Authorization"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "operationId": "getAuthorizationToken"
      }
    },
    "/organizations/{organizationId}/oauth2/keys": {
      "get": {
        "summary": "Get Organization Keys",
        "description": "Get public keys used to validate API oAuth tokens provided to the organization.",
        "tags": [
          "Authorization"
        ],
        "security": [],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "A list of jwk keys.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "keys"
                  ],
                  "properties": {
                    "keys": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationKeys"
      }
    },
    "/organizations/{organizationId}/oauth2/token": {
      "post": {
        "summary": "Exchange Organization OAuth Token (POST)",
        "description": "Exchange one oAuth token for another.",
        "tags": [
          "Authorization"
        ],
        "security": [],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "grant_type",
            "description": "The grant type. We currently only support token-exchange & client_credentials.",
            "schema": {
              "type": "string",
              "enum": [
                "urn:ietf:params:oauth:grant-type:token-exchange",
                "client_credentials"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject_token_type",
            "description": "subject token type",
            "schema": {
              "type": "string",
              "enum": [
                "urn:ietf:params:oauth:token-type:access_token"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "audience",
            "description": "The id of the API service the token will be used for.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject",
            "description": "The id of the entity this token is being used by e.g Service ID or User Id.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject_type",
            "description": "The the type of subject being used. Either service or user.",
            "schema": {
              "type": "string",
              "enum": [
                "service",
                "user"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject_token",
            "description": "Token (Generated in B2C) used to authenticate the user. Not required if using the client_credentials grant type.",
            "schema": {
              "type": "string",
              "format": "password"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "client_id",
            "description": "The client_id for the API Service",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "scope",
            "description": "Scopes requested in final token. These are validated against the roles/permissions of the service/user.",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "client_secret",
            "description": "The client_secret for the API Service. Required if using the client_credentials grant type.",
            "schema": {
              "type": "string",
              "format": "password"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "An access token for the given Service",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "access_token",
                    "issued_token_type",
                    "token_type",
                    "expires_in",
                    "scope"
                  ],
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "issued_token_type": {
                      "type": "string",
                      "enum": [
                        "urn:ietf:params:oauth:token-type:access_token"
                      ]
                    },
                    "token_type": {
                      "type": "string",
                      "enum": [
                        "bearer"
                      ]
                    },
                    "expires_in": {
                      "type": "number"
                    },
                    "scope": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "default": {
            "description": "Unexpected Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          }
        },
        "operationId": "exchangeOrganizationOauthTokenPost"
      },
      "get": {
        "summary": "Exchange Organization OAuth Token (GET)",
        "description": "Exchange one oAuth token for another.",
        "tags": [
          "Authorization"
        ],
        "security": [],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "grant_type",
            "description": "The grant type. We currently only support token-exchange & client_credentials.",
            "schema": {
              "type": "string",
              "enum": [
                "urn:ietf:params:oauth:grant-type:token-exchange",
                "client_credentials"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject_token_type",
            "description": "subject token type",
            "schema": {
              "type": "string",
              "enum": [
                "urn:ietf:params:oauth:token-type:access_token"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "audience",
            "description": "The id of the API service the token will be used for.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject",
            "description": "The id of the entity this token is being used by e.g Service ID or User Id.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject_type",
            "description": "The the type of subject being used. Either service or user.",
            "schema": {
              "type": "string",
              "enum": [
                "service",
                "user"
              ]
            },
            "required": true
          },
          {
            "in": "query",
            "name": "subject_token",
            "description": "Token (Generated in B2C) used to authenticate the user. Not required if using the client_credentials grant type.",
            "schema": {
              "type": "string",
              "format": "password"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "client_id",
            "description": "The client_id for the API Service",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "scope",
            "description": "Scopes requested in final token. These are validated against the roles/permissions of the service/user.",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "client_secret",
            "description": "The client_secret for the API Service. Required if using the client_credentials grant type.",
            "schema": {
              "type": "string",
              "format": "password"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "An access token for the given Service",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "access_token",
                    "issued_token_type",
                    "token_type",
                    "expires_in",
                    "scope"
                  ],
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "issued_token_type": {
                      "type": "string",
                      "enum": [
                        "urn:ietf:params:oauth:token-type:access_token"
                      ]
                    },
                    "token_type": {
                      "type": "string",
                      "enum": [
                        "bearer"
                      ]
                    },
                    "expires_in": {
                      "type": "number"
                    },
                    "scope": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "default": {
            "description": "Unexpected Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          }
        },
        "operationId": "exchangeOrganizationOauthTokenGet"
      }
    },
    "/organizations/{organizationId}/roles": {
      "get": {
        "summary": "Get Organization Roles",
        "description": "Get all Organization Roles.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "Organization Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "token",
            "description": "Continuation token",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "description": "Number of records to return",
            "schema": {
              "type": "integer",
              "examples": [
                "10"
              ],
              "format": "int32"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "sort",
            "description": "Sort query parameter",
            "schema": {
              "type": "string",
              "examples": [
                "10"
              ],
              "format": "string"
            },
            "required": false
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The Organization Roles available.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "description": "Paging details for the list.",
                      "properties": {
                        "continuationToken": {
                          "type": "string",
                          "description": "Pass as `token` to get the next page."
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationRole"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationRoles"
      }
    },
    "/organizations/{organizationId}/roles/{roleId}": {
      "get": {
        "summary": "Get Organization Role",
        "description": "Get an Organization.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "Organization Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "roleId",
            "description": "Role Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The Organization Role object",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationRole"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationRole"
      },
      "patch": {
        "summary": "Update Organization Role by Identifier",
        "description": "Update an Organization Role by id",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "Organization Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "roleId",
            "description": "Role Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The role fields to update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Role"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The Organization Role object",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationRole"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateOrganizationRoleByIdentifier"
      },
      "delete": {
        "summary": "Delete Organization Role",
        "description": "Delete an Organization Role by id.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "Organization Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "roleId",
            "description": "Role Id",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "result": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteOrganizationRole"
      }
    },
    "/organizations/{organizationId}/user": {
      "delete": {
        "summary": "Remove organization user",
        "description": "Remove a user from the Organization",
        "tags": [
          "Organization Users"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The user to remove.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "examples": [
                      "00000000-0000-0000-0000-000000000000"
                    ],
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "result": {
                      "type": "object",
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "removeOrganizationUser"
      }
    },
    "/organizations/{organizationId}/users": {
      "get": {
        "summary": "List Organization Users",
        "description": "Get all users in a given organization",
        "tags": [
          "Organization Users"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "token",
            "description": "Continuation token",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "description": "Number of records to return",
            "schema": {
              "type": "integer",
              "examples": [
                "10"
              ],
              "format": "int32"
            },
            "required": false
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "A list of users in a given Organization",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "result"
                  ],
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "description": "Paging details for the list.",
                      "properties": {
                        "continuationToken": {
                          "type": "string",
                          "description": "Pass as `token` to get the next page."
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationUser"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listOrganizationUsers"
      }
    },
    "/organizations/{organizationId}/users/{userId}": {
      "get": {
        "summary": "Get Organization User",
        "description": "Get an Organization User entry by id",
        "tags": [
          "Organization Users"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "description": "The Organization id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "userId",
            "description": "The User id.",
            "schema": {
              "type": "string",
              "examples": [
                "00000000-0000-0000-0000-000000000000"
              ],
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            },
            "required": true
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The Organization User",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationUser"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationUser"
      }
    },
    "/permission-groups/global": {
      "get": {
        "summary": "Get Global Permission Groups",
        "description": "Get all global permission groups.",
        "tags": [
          "Built-in Roles"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.User.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetGlobalPermissionGroupsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGlobalPermissionGroups"
      }
    },
    "/permission-groups/organization": {
      "get": {
        "summary": "Get Organization Permission Groups",
        "description": "Get all organization permission groups.",
        "tags": [
          "Built-in Roles"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Organization.Role.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationPermissionGroupsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationPermissionGroups"
      }
    },
    "/permissions/global": {
      "get": {
        "summary": "Get Built-in Role Permissions",
        "description": "Get all built-in role permissions that can be assigned to a custom Organization Role.",
        "tags": [
          "Built-in Roles"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.User.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBuiltInRolePermissionsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getBuiltInRolePermissions"
      }
    },
    "/permissions/organization": {
      "get": {
        "summary": "Get Built-in Role Permissions",
        "description": "Get all built-in role permissions that can be assigned to a custom Organization Role.",
        "tags": [
          "Built-in Roles"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Organization.Role.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBuiltInRolePermissionsGetResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getBuiltInRolePermissionsGet"
      }
    },
    "/registered-hubs/{registeredHubId}": {
      "get": {
        "summary": "Get Registered Hub in your organization",
        "description": "Get a registered hub by id in your organization.",
        "tags": [
          "Registered Hubs"
        ],
        "parameters": [
          {
            "name": "registeredHubId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.RegisteredHubs.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/PublicOrganizationRegisteredHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getRegisteredHubInYourOrganization"
      }
    },
    "/role": {
      "post": {
        "summary": "Add Organization Role",
        "description": "Add an Organization Role.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddOrganizationRoleRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "CustomRole.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Role"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addOrganizationRole"
      },
      "patch": {
        "summary": "Update Organization Role",
        "description": "Update an Organization Role.",
        "tags": [
          "Groups & Roles"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRoleRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "CustomRole.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Role"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateOrganizationRole"
      }
    },
    "/service": {
      "post": {
        "summary": "Add Service",
        "description": "Add a Service to the given organization.",
        "tags": [
          "Services"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddServiceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addService"
      },
      "patch": {
        "summary": "Update Service",
        "description": "Update a Service in the given organization.",
        "tags": [
          "Services"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateServiceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateService"
      },
      "put": {
        "summary": "Add or Update an Service",
        "description": "Update a Service in the given organization, or add a new one if none exists.",
        "tags": [
          "Services"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddOrUpdateAnServiceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddOrUpdateAnServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addOrUpdateAnService"
      }
    },
    "/service-redirect/{secret}": {
      "get": {
        "summary": "Poll Service Redirect",
        "description": "Poll a service redirect session for the delivered invite code.",
        "tags": [
          "Service Redirect"
        ],
        "parameters": [
          {
            "name": "secret",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PollServiceRedirectResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "pollServiceRedirect"
      },
      "put": {
        "summary": "Deliver Service Redirect",
        "description": "Deliver an invite code to a service redirect session.",
        "tags": [
          "Service Redirect"
        ],
        "parameters": [
          {
            "name": "secret",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeliverServiceRedirectRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeliverServiceRedirectResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deliverServiceRedirect"
      }
    },
    "/services": {
      "get": {
        "summary": "Get Services",
        "description": "List the organization's services: local Hub API, device, recorder, relay and workflow services on each computer, plus custom and remote API services.",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "description": "Returns only the items that match, written as `(path::operator::value)`, such as `(name::co::Lab)`. Operators are `eq`, `co`, `sw`, `ew`, `gt` and `pr`, and the case-insensitive `ieq`, `ico`, `isw` and `iew`. Combine conditions as `((a)::and::(b))` or `((a)::or::(b))`.",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Orders the items, written as `(path::asc)` or `(path::desc)`. Combine orders as `((a)::and::(b))`.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetServicesResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getServices"
      }
    },
    "/services/{serviceId}": {
      "get": {
        "summary": "Get Service",
        "description": "Get one organization service by id.",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getService"
      },
      "patch": {
        "summary": "Update Service",
        "description": "Update a Service by id.",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateServicePatchRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateServicePatchResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateServicePatch"
      },
      "delete": {
        "summary": "Delete Service",
        "description": "Delete a Service by id.",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteService"
      }
    },
    "/services/{serviceId}/secret": {
      "post": {
        "summary": "Create Service Secret",
        "description": "Create a new secret for a service. The secret is returned in the response.",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Secret.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateServiceSecretResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createServiceSecret"
      }
    },
    "/services/{serviceId}/secrets": {
      "get": {
        "summary": "Get All Service Secrets",
        "description": "Get all API service secrets (metadata only, not the actual secret values).",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Secret.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllServiceSecretsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAllServiceSecrets"
      }
    },
    "/services/{serviceId}/secrets/{secretId}": {
      "delete": {
        "summary": "Delete Service Secret",
        "description": "Delete a specific service secret by ID.",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "name": "secretId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "00000000-0000-0000-0000-000000000000",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "00000000-0000-0000-0000-000000000000",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Service.Secret.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteServiceSecretResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteServiceSecret"
      }
    },
    "/user": {
      "get": {
        "summary": "Get Current User",
        "description": "Get the current user.",
        "tags": [
          "User"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/User"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getCurrentUser"
      }
    },
    "/user/detail": {
      "get": {
        "summary": "Get User Detail",
        "description": "Get the current user's detail",
        "tags": [
          "User"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/UserDetail"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getUserDetail"
      },
      "patch": {
        "summary": "Update User Detail",
        "description": "Update the current user's detail",
        "tags": [
          "User"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserDetailRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "$ref": "#/components/schemas/User"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateUserDetail"
      }
    },
    "/user/invites": {
      "get": {
        "summary": "Get User Invitations",
        "description": "Get any invitations that the user has received.",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationInvite"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getUserInvitations"
      }
    },
    "/user/mfa": {
      "get": {
        "summary": "Get MFA Status",
        "description": "Get the current user's Auth0 MFA factor availability and enrollment status.",
        "tags": [
          "User"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMfaStatusResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getMfaStatus"
      },
      "post": {
        "summary": "Create MFA Enrollment Ticket",
        "description": "Create an Auth0 Guardian MFA enrollment ticket for a specific factor. Existing enrollments for that factor are cleared so users can set up or reset it.",
        "tags": [
          "User"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMfaEnrollmentTicketRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMfaEnrollmentTicketResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createMfaEnrollmentTicket"
      }
    },
    "/user/mfa/enrollments/{enrollmentId}": {
      "delete": {
        "summary": "Delete MFA Enrollment",
        "description": "Delete a specific Auth0 Guardian MFA enrollment for the current user.",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "enrollmentId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteMfaEnrollmentResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteMfaEnrollment"
      }
    },
    "/user/organizations": {
      "get": {
        "summary": "Get User Organizations",
        "description": "Get the organizations that the user is associated with.",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "description": "Returns only the items that match, written as `(path::operator::value)`, such as `(name::co::Lab)`. Operators are `eq`, `co`, `sw`, `ew`, `gt` and `pr`, and the case-insensitive `ieq`, `ico`, `isw` and `iew`. Combine conditions as `((a)::and::(b))` or `((a)::or::(b))`.",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Orders the items, written as `(path::asc)` or `(path::desc)`. Combine orders as `((a)::and::(b))`.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The maximum number of items to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Returns the next page: the `_metadata.continuationToken` of the previous response.",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Response schema with result and metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "continuationToken": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false,
                      "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
                      "title": "Connect API Response Metadata"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Organization"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getUserOrganizations"
      }
    },
    "/user/permissions": {
      "get": {
        "summary": "Get Global User Permissions",
        "description": "Get all Global User Permissions for the current User.",
        "tags": [
          "User"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetGlobalUserPermissionsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGlobalUserPermissions"
      }
    },
    "/user/session-activity": {
      "get": {
        "summary": "Get Session Activity",
        "description": "Get the current user's last successful sign-in time and IP address from Auth0.",
        "tags": [
          "User"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSessionActivityResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getSessionActivity"
      }
    },
    "/user/settings": {
      "get": {
        "summary": "Get User Settings",
        "description": "Get the current user's settings",
        "tags": [
          "User"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUserSettingsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getUserSettings"
      },
      "patch": {
        "summary": "Patch User Settings",
        "description": "Partially update the current user's settings",
        "tags": [
          "User"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchUserSettingsRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchUserSettingsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchUserSettings"
      },
      "put": {
        "summary": "Update User Settings",
        "description": "Update the current user's settings",
        "tags": [
          "User"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserSettingsRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Self.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateUserSettingsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateUserSettings"
      }
    },
    "/version": {
      "get": {
        "summary": "Get Version",
        "description": "Get the version of the API.",
        "tags": [
          "Other"
        ],
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVersionResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getVersion"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "description": "Access token from the organization token endpoint, `POST /api/v1/organizations/{organizationId}/oauth2/token` on the Connect host, using the `client_credentials` grant with a service account.",
        "scheme": "bearer",
        "type": "http"
      }
    },
    "schemas": {
      "AddComputerRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "cpu": {
                "type": "object",
                "properties": {
                  "arch": {
                    "type": "string"
                  },
                  "cores": {
                    "type": "number"
                  },
                  "features": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arch",
                  "features",
                  "name"
                ],
                "additionalProperties": false
              },
              "os": {
                "type": "string"
              }
            },
            "required": [
              "cpu",
              "os"
            ],
            "additionalProperties": false
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "name": {
            "type": "string"
          },
          "connection": {
            "default": {
              "status": "disconnected",
              "updated": 0
            },
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "status",
              "updated"
            ],
            "additionalProperties": false
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "id",
          "name",
          "connection"
        ],
        "additionalProperties": false
      },
      "AddOrganizationRoleRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "type": "object",
            "properties": {
              "allowed": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "denied": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "scope": {
                "type": "string"
              }
            },
            "required": [
              "allowed",
              "denied"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "organization",
              "built-in"
            ]
          }
        },
        "required": [
          "description",
          "name",
          "permissions",
          "type"
        ],
        "additionalProperties": false
      },
      "AddOrUpdateAnServiceRequest": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "activated": {
                "type": "boolean"
              },
              "detail": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              },
              "entity": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "string"
              },
              "address": {
                "$ref": "#/components/schemas/APIServiceAddressSchema"
              },
              "computer": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                    "description": "The unique identifier for a computer",
                    "example": "00000000-0000-0000-0000-000000000000"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "enum": [
                  "host",
                  "recorder",
                  "workflow",
                  "device",
                  "relay"
                ]
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "secret": {
                "type": "string"
              }
            },
            "required": [
              "activated",
              "entity",
              "id",
              "computer",
              "type",
              "organization"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "activated": {
                "type": "boolean"
              },
              "detail": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              },
              "entity": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "string"
              },
              "address": {
                "$ref": "#/components/schemas/APIServiceAddressSchema"
              },
              "computer": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                    "description": "The unique identifier for a computer",
                    "example": "00000000-0000-0000-0000-000000000000"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "enum": [
                  "custom"
                ]
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "secret": {
                "type": "string"
              }
            },
            "required": [
              "activated",
              "entity",
              "id",
              "type",
              "organization"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "activated": {
                "type": "boolean"
              },
              "detail": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              },
              "entity": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "string"
              },
              "address": {
                "$ref": "#/components/schemas/APIServiceAddressSchema"
              },
              "application": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "computer": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                    "description": "The unique identifier for a computer",
                    "example": "00000000-0000-0000-0000-000000000000"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "managed": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "const": "managed"
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "secret": {
                "type": "string"
              }
            },
            "required": [
              "activated",
              "entity",
              "id",
              "application",
              "managed",
              "type",
              "organization"
            ],
            "additionalProperties": false
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "AddOrUpdateAnServiceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "host",
                      "recorder",
                      "workflow",
                      "device",
                      "relay"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "secret": {
                    "type": "string"
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "computer",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "custom"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "secret": {
                    "type": "string"
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "application": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "managed": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "const": "managed"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "secret": {
                    "type": "string"
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "application",
                  "managed",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "AddOrUpdateComputerPutRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "cpu": {
                "type": "object",
                "properties": {
                  "arch": {
                    "type": "string"
                  },
                  "cores": {
                    "type": "number"
                  },
                  "features": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arch",
                  "features",
                  "name"
                ],
                "additionalProperties": false
              },
              "os": {
                "type": "string"
              }
            },
            "required": [
              "cpu",
              "os"
            ],
            "additionalProperties": false
          },
          "name": {
            "type": "string"
          },
          "connection": {
            "default": {
              "status": "disconnected",
              "updated": 0
            },
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "status",
              "updated"
            ],
            "additionalProperties": false
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "name",
          "connection"
        ],
        "additionalProperties": false
      },
      "AddOrUpdateComputerRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "cpu": {
                "type": "object",
                "properties": {
                  "arch": {
                    "type": "string"
                  },
                  "cores": {
                    "type": "number"
                  },
                  "features": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arch",
                  "features",
                  "name"
                ],
                "additionalProperties": false
              },
              "os": {
                "type": "string"
              }
            },
            "required": [
              "cpu",
              "os"
            ],
            "additionalProperties": false
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "name": {
            "type": "string"
          },
          "connection": {
            "default": {
              "status": "disconnected",
              "updated": 0
            },
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "status",
              "updated"
            ],
            "additionalProperties": false
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "id",
          "name",
          "connection"
        ],
        "additionalProperties": false
      },
      "AddServiceRequest": {
        "oneOf": [
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "host",
                      "recorder",
                      "workflow",
                      "device",
                      "relay"
                    ]
                  }
                },
                "required": [
                  "activated",
                  "id",
                  "computer",
                  "type"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "custom"
                    ]
                  }
                },
                "required": [
                  "activated",
                  "type"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "activated": {
                "type": "boolean"
              },
              "detail": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "string"
              },
              "address": {
                "$ref": "#/components/schemas/APIServiceAddressSchema"
              },
              "application": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "computer": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                    "description": "The unique identifier for a computer",
                    "example": "00000000-0000-0000-0000-000000000000"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "managed": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "const": "managed"
              }
            },
            "required": [
              "activated",
              "application",
              "managed",
              "type"
            ],
            "additionalProperties": false
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "AddServiceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "allOf": [
              {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "activated": {
                        "type": "boolean"
                      },
                      "detail": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string"
                      },
                      "address": {
                        "$ref": "#/components/schemas/APIServiceAddressSchema"
                      },
                      "computer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                            "description": "The unique identifier for a computer",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "host",
                          "recorder",
                          "workflow",
                          "device",
                          "relay"
                        ]
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "secret": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "activated",
                      "entity",
                      "id",
                      "computer",
                      "type",
                      "organization"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "activated": {
                        "type": "boolean"
                      },
                      "detail": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string"
                      },
                      "address": {
                        "$ref": "#/components/schemas/APIServiceAddressSchema"
                      },
                      "computer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                            "description": "The unique identifier for a computer",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "secret": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "activated",
                      "entity",
                      "id",
                      "type",
                      "organization"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "activated": {
                        "type": "boolean"
                      },
                      "detail": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string"
                      },
                      "address": {
                        "$ref": "#/components/schemas/APIServiceAddressSchema"
                      },
                      "application": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "computer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                            "description": "The unique identifier for a computer",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "managed": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "const": "managed"
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "secret": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "activated",
                      "entity",
                      "id",
                      "application",
                      "managed",
                      "type",
                      "organization"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              {
                "type": "object",
                "properties": {
                  "secret": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "APIServiceAddressSchema": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "hostName": {
            "type": "string"
          },
          "port": {
            "type": "number"
          }
        },
        "required": [
          "hostName",
          "port"
        ],
        "additionalProperties": false
      },
      "AuthorizeOauthClientApproveConsentRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "client_id": {
            "type": "string",
            "minLength": 1
          },
          "code_challenge": {
            "type": "string"
          },
          "code_challenge_method": {
            "type": "string"
          },
          "granted_permissions": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string",
            "format": "uri"
          },
          "scope": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "client_id",
          "redirect_uri"
        ],
        "additionalProperties": false
      },
      "AuthorizeOauthClientApproveConsentResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "redirectUri": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "redirectUri"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "ChangeAudit": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "entity": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "globalService": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "time": {
            "type": "number",
            "minimum": 0
          },
          "user": {
            "type": "object",
            "properties": {
              "detail": {
                "type": "object",
                "properties": {
                  "displayName": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "givenName": {
                    "type": "string"
                  },
                  "surname": {
                    "type": "string"
                  }
                },
                "required": [
                  "displayName",
                  "email"
                ],
                "additionalProperties": false,
                "description": "UserDetail"
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "time"
        ],
        "additionalProperties": false,
        "description": "ChangeAudit - Used to track changes to an object."
      },
      "Computer": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "cpu": {
                "type": "object",
                "properties": {
                  "arch": {
                    "type": "string"
                  },
                  "cores": {
                    "type": "number"
                  },
                  "features": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arch",
                  "features",
                  "name"
                ],
                "additionalProperties": false
              },
              "os": {
                "type": "string"
              }
            },
            "required": [
              "cpu",
              "os"
            ],
            "additionalProperties": false
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "name": {
            "type": "string"
          },
          "services": {
            "default": [],
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "object",
                      "properties": {
                        "hostName": {
                          "type": "string"
                        },
                        "port": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "hostName",
                        "port"
                      ],
                      "additionalProperties": false
                    },
                    "detail": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "host",
                        "recorder",
                        "workflow",
                        "device",
                        "relay"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "object",
                      "properties": {
                        "hostName": {
                          "type": "string"
                        },
                        "port": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "hostName",
                        "port"
                      ],
                      "additionalProperties": false
                    },
                    "detail": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "custom"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "connection": {
            "default": {
              "status": "disconnected",
              "updated": 0
            },
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "status",
              "updated"
            ],
            "additionalProperties": false
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "organization": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "name",
          "services",
          "connection",
          "organization"
        ],
        "additionalProperties": false
      },
      "CreateGroupEntityRequest": {
        "$ref": "#/components/schemas/OrganizationEntityPostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateGroupEntityResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "pubsub": {
                      "type": "object",
                      "properties": {
                        "connectionIds": {
                          "default": [],
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      },
                      "required": [
                        "connectionIds"
                      ],
                      "additionalProperties": false
                    },
                    "groupIds": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "service": {
                      "allOf": [
                        {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "activated": {
                                  "type": "boolean"
                                },
                                "detail": {
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "entity": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "id": {
                                  "type": "string"
                                },
                                "address": {
                                  "$ref": "#/components/schemas/APIServiceAddressSchema"
                                },
                                "computer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                      "description": "The unique identifier for a computer",
                                      "example": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "host",
                                    "recorder",
                                    "workflow",
                                    "device",
                                    "relay"
                                  ]
                                },
                                "organization": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "secret": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "activated",
                                "entity",
                                "id",
                                "computer",
                                "type",
                                "organization"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "activated": {
                                  "type": "boolean"
                                },
                                "detail": {
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "entity": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "id": {
                                  "type": "string"
                                },
                                "address": {
                                  "$ref": "#/components/schemas/APIServiceAddressSchema"
                                },
                                "computer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                      "description": "The unique identifier for a computer",
                                      "example": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "custom"
                                  ]
                                },
                                "organization": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "secret": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "activated",
                                "entity",
                                "id",
                                "type",
                                "organization"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "activated": {
                                  "type": "boolean"
                                },
                                "detail": {
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "entity": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "id": {
                                  "type": "string"
                                },
                                "address": {
                                  "$ref": "#/components/schemas/APIServiceAddressSchema"
                                },
                                "application": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "computer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                      "description": "The unique identifier for a computer",
                                      "example": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "managed": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "type": {
                                  "type": "string",
                                  "const": "managed"
                                },
                                "organization": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "secret": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "activated",
                                "entity",
                                "id",
                                "application",
                                "managed",
                                "type",
                                "organization"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        {}
                      ]
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "detail": {
                          "$ref": "#/components/schemas/UserDetail"
                        },
                        "entity": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                            }
                          },
                          "required": [
                            "id"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 255
                        },
                        "organization": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "roles": {
                          "default": [],
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Role"
                          }
                        }
                      },
                      "required": [
                        "detail",
                        "entity",
                        "id",
                        "organization",
                        "roles"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "organization",
                    "groupIds",
                    "user"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "pubsub": {
                      "type": "object",
                      "properties": {
                        "connectionIds": {
                          "default": [],
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      },
                      "required": [
                        "connectionIds"
                      ],
                      "additionalProperties": false
                    },
                    "groupIds": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "service": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "activated": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string"
                            },
                            "address": {
                              "$ref": "#/components/schemas/APIServiceAddressSchema"
                            },
                            "computer": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                  "description": "The unique identifier for a computer",
                                  "example": "00000000-0000-0000-0000-000000000000"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "host",
                                "recorder",
                                "workflow",
                                "device",
                                "relay"
                              ]
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "activated",
                            "entity",
                            "id",
                            "computer",
                            "type",
                            "organization"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "activated": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string"
                            },
                            "address": {
                              "$ref": "#/components/schemas/APIServiceAddressSchema"
                            },
                            "computer": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                  "description": "The unique identifier for a computer",
                                  "example": "00000000-0000-0000-0000-000000000000"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "custom"
                              ]
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "activated",
                            "entity",
                            "id",
                            "type",
                            "organization"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "activated": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string"
                            },
                            "address": {
                              "$ref": "#/components/schemas/APIServiceAddressSchema"
                            },
                            "application": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "computer": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                  "description": "The unique identifier for a computer",
                                  "example": "00000000-0000-0000-0000-000000000000"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "managed": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "const": "managed"
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "activated",
                            "entity",
                            "id",
                            "application",
                            "managed",
                            "type",
                            "organization"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "user": {
                      "allOf": [
                        {
                          "type": "object",
                          "properties": {
                            "detail": {
                              "$ref": "#/components/schemas/UserDetail"
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 255
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "roles": {
                              "default": [],
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Role"
                              }
                            }
                          },
                          "required": [
                            "detail",
                            "entity",
                            "id",
                            "organization",
                            "roles"
                          ],
                          "additionalProperties": false
                        },
                        {}
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "organization",
                    "groupIds",
                    "service"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "CreateGroupRequest": {
        "$ref": "#/components/schemas/GroupPostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateGroupRoleRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "group": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "organizationRoleId": {},
              "roleId": {
                "type": "string"
              }
            },
            "required": [
              "group",
              "roleId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "group": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "organizationRoleId": {
                "type": "string"
              },
              "roleId": {}
            },
            "required": [
              "group",
              "organizationRoleId"
            ],
            "additionalProperties": false
          }
        ]
      },
      "CreateMfaEnrollmentTicketRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "factor": {
            "type": "string",
            "enum": [
              "otp",
              "email",
              "webauthn-roaming",
              "webauthn-platform"
            ]
          }
        },
        "required": [
          "factor"
        ],
        "additionalProperties": false
      },
      "CreateMfaEnrollmentTicketResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "ticketUrl": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "ticketUrl"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "CreateServiceSecretResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "created": {
                "$ref": "#/components/schemas/ChangeAudit"
              },
              "ttl": {
                "type": "number"
              },
              "updated": {
                "$ref": "#/components/schemas/ChangeAudit"
              },
              "hash": {
                "type": "string"
              },
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "last4": {
                "type": "string",
                "minLength": 4,
                "maxLength": 4
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "service": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "secret": {
                "type": "string"
              }
            },
            "required": [
              "created",
              "updated",
              "hash",
              "id",
              "last4",
              "organization",
              "service",
              "secret"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteComputerDeleteResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteComputerRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "DeleteComputerResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteEntityReferenceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "pubsub": {
                    "type": "object",
                    "properties": {
                      "connectionIds": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "required": [
                      "connectionIds"
                    ],
                    "additionalProperties": false
                  },
                  "service": {
                    "allOf": [
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "entity": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "host",
                                  "recorder",
                                  "workflow",
                                  "device",
                                  "relay"
                                ]
                              },
                              "organization": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "secret": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "activated",
                              "entity",
                              "id",
                              "computer",
                              "type",
                              "organization"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "entity": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "custom"
                                ]
                              },
                              "organization": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "secret": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "activated",
                              "entity",
                              "id",
                              "type",
                              "organization"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "entity": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "application": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "managed": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "const": "managed"
                              },
                              "organization": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "secret": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "activated",
                              "entity",
                              "id",
                              "application",
                              "managed",
                              "type",
                              "organization"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {}
                    ]
                  },
                  "user": {
                    "type": "object",
                    "properties": {
                      "detail": {
                        "$ref": "#/components/schemas/UserDetail"
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 255
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "roles": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Role"
                        }
                      }
                    },
                    "required": [
                      "detail",
                      "entity",
                      "id",
                      "organization",
                      "roles"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "name",
                  "organization",
                  "user"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "pubsub": {
                    "type": "object",
                    "properties": {
                      "connectionIds": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "required": [
                      "connectionIds"
                    ],
                    "additionalProperties": false
                  },
                  "service": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "host",
                              "recorder",
                              "workflow",
                              "device",
                              "relay"
                            ]
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "secret": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "activated",
                          "entity",
                          "id",
                          "computer",
                          "type",
                          "organization"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "custom"
                            ]
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "secret": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "activated",
                          "entity",
                          "id",
                          "type",
                          "organization"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "application": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "managed": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "const": "managed"
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "secret": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "activated",
                          "entity",
                          "id",
                          "application",
                          "managed",
                          "type",
                          "organization"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "user": {
                    "allOf": [
                      {
                        "type": "object",
                        "properties": {
                          "detail": {
                            "$ref": "#/components/schemas/UserDetail"
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 255
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "roles": {
                            "default": [],
                            "type": "array",
                            "items": {
                              "$ref": "#/components/schemas/Role"
                            }
                          }
                        },
                        "required": [
                          "detail",
                          "entity",
                          "id",
                          "organization",
                          "roles"
                        ],
                        "additionalProperties": false
                      },
                      {}
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "organization",
                  "service"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteGroupResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteGroupRoleResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteMfaEnrollmentResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteServiceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteServiceSecretResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeliverServiceRedirectRequest": {
        "type": "object",
        "properties": {
          "authenticationUrl": {
            "type": "string"
          },
          "code": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "organizationId": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          }
        },
        "required": [
          "authenticationUrl",
          "code",
          "id",
          "organizationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "DeliverServiceRedirectResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DisconnectMyMcpConnectionResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "revokedTokenCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "revokedTokenCount"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message",
          "detail"
        ],
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        }
      },
      "ExchangeOauthTokenRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "audience": {
                        "type": "string"
                      },
                      "grant_type": {
                        "type": "string",
                        "const": "urn:ietf:params:oauth:grant-type:token-exchange"
                      },
                      "scope": {
                        "type": "string"
                      },
                      "subject": {
                        "type": "string"
                      },
                      "subject_token": {
                        "type": "string"
                      },
                      "subject_token_type": {
                        "type": "string"
                      },
                      "subject_type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "audience",
                      "grant_type",
                      "scope",
                      "subject",
                      "subject_token",
                      "subject_token_type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "audience": {
                        "type": "string"
                      },
                      "client_id": {
                        "type": "string"
                      },
                      "client_secret": {
                        "type": "string"
                      },
                      "grant_type": {
                        "type": "string",
                        "const": "client_credentials"
                      },
                      "scope": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "audience",
                      "client_id",
                      "client_secret",
                      "grant_type",
                      "scope"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              {
                "type": "object",
                "properties": {
                  "client_id": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  },
                  "code_verifier": {
                    "type": "string"
                  },
                  "grant_type": {
                    "type": "string",
                    "const": "authorization_code"
                  },
                  "redirect_uri": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "client_id",
                  "code",
                  "code_verifier",
                  "grant_type",
                  "redirect_uri"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "client_id": {
                "type": "string"
              },
              "grant_type": {
                "type": "string",
                "const": "refresh_token"
              },
              "refresh_token": {
                "type": "string"
              }
            },
            "required": [
              "client_id",
              "grant_type",
              "refresh_token"
            ],
            "additionalProperties": false
          }
        ]
      },
      "ExchangeOauthTokenResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "access_token": {
                "type": "string"
              },
              "audience_access_tokens": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              "expires_in": {
                "type": "number"
              },
              "issued_at": {
                "type": "number"
              },
              "issued_token_type": {
                "type": "string",
                "enum": [
                  "urn:ietf:params:oauth:token-type:access_token",
                  "urn:ietf:params:oauth:token-type:id_token",
                  "urn:ietf:params:oauth:token-type:refresh_token"
                ]
              },
              "refresh_token": {
                "type": "string"
              },
              "scope": {
                "type": "string"
              },
              "token_type": {
                "type": "string",
                "const": "bearer"
              }
            },
            "required": [
              "access_token",
              "expires_in",
              "issued_at",
              "issued_token_type",
              "scope",
              "token_type"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetAllServiceSecretsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "created": {
                  "$ref": "#/components/schemas/ChangeAudit"
                },
                "ttl": {
                  "type": "number"
                },
                "updated": {
                  "$ref": "#/components/schemas/ChangeAudit"
                },
                "id": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                },
                "last4": {
                  "type": "string",
                  "minLength": 4,
                  "maxLength": 4
                },
                "organization": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "service": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "created",
                "updated",
                "id",
                "last4",
                "organization",
                "service"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetBuiltInRolePermissionsGetResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "Organization.Read",
                        "Organization.Write",
                        "Organization.License.Read",
                        "Organization.UserGroups.Write",
                        "Organization.UserGroups.Read",
                        "Organization.UserGroups.Delete",
                        "Organization.UserGroups.Users.Write",
                        "Organization.UserGroups.Users.Read",
                        "Organization.UserGroups.Users.Delete",
                        "Organization.UserGroups.Role.Write",
                        "Organization.UserGroups.Role.Read",
                        "Organization.UserGroups.Role.Delete",
                        "Organization.Groups.Write",
                        "Organization.Groups.Read",
                        "Organization.Groups.Delete",
                        "Organization.Groups.Entities.Write",
                        "Organization.Groups.Entities.Read",
                        "Organization.Groups.Entities.Delete",
                        "Organization.Groups.Role.Write",
                        "Organization.Groups.Role.Read",
                        "Organization.Groups.Role.Delete",
                        "Organization.Computer.Read",
                        "Organization.Computer.Write",
                        "Organization.Computer.Delete",
                        "Organization.Service.Read",
                        "Organization.Service.Write",
                        "Organization.Service.Delete",
                        "Organization.Service.Secret.Read",
                        "Organization.Service.Secret.Write",
                        "User.Read",
                        "User.Write",
                        "User.Delete",
                        "Organization.Role.Write",
                        "Organization.Role.Read",
                        "Invite.Write",
                        "Invite.Read",
                        "Invite.Delete",
                        "CustomRole.Write",
                        "CustomRole.Read",
                        "CustomRole.Delete",
                        "Organization.RegisteredHubs.Read",
                        "Organization.RegisteredHubs.Write",
                        "Organization.RegisteredHubs.Delete",
                        "Organization.RedemptionCodes.Read",
                        "Organization.RedemptionCodes.Write",
                        "Organization.RedemptionCodes.Delete",
                        "Organization.Subscriptions.Read",
                        "Organization.Subscriptions.Update",
                        "Organization.SubscriptionTransactions.Read",
                        "Organization.Billing.Read",
                        "Organization.Billing.Write",
                        "Organization.Billing.Delete",
                        "Organization.Device.Read",
                        "Organization.Device.Write",
                        "Organization.Device.Delete",
                        "Organization.Hub.Read",
                        "Organization.Hub.Write",
                        "Organization.Hub.Delete",
                        "Organization.Hub.Schedule.Write",
                        "Organization.Hub.PowerDelivery.Write",
                        "Organization.Port.Read",
                        "Organization.Hardware.Service.Write",
                        "Organization.Hardware.Service.Read",
                        "Organization.Hardware.Service.Delete",
                        "Organization.Device.Location.Write",
                        "Organization.Device.Location.Delete",
                        "Organization.Hub.Location.Write",
                        "Organization.Hub.Location.Delete",
                        "Organization.Device.User.Write",
                        "Organization.Device.User.Read",
                        "Organization.Device.User.Delete",
                        "Organization.HardwareGroups.Write",
                        "Organization.HardwareGroups.Read",
                        "Organization.HardwareGroups.Delete",
                        "Organization.HardwareGroups.Hubs.Write",
                        "Organization.HardwareGroups.Hubs.Read",
                        "Organization.HardwareGroups.Hubs.Delete",
                        "Organization.HardwareGroups.Devices.Write",
                        "Organization.HardwareGroups.Devices.Read",
                        "Organization.HardwareGroups.Devices.Delete",
                        "Organization.VirtualHubs.Write",
                        "Organization.VirtualHubs.Read",
                        "Organization.VirtualHubs.Delete",
                        "Organization.Hardware.Firmware.Write",
                        "Organization.Hardware.Firmware.Read",
                        "Organization.Hardware.Firmware.Delete",
                        "Organization.Hub.DFU.Write",
                        "Organization.PubSub.Response.Write",
                        "Organization.PubSub.Response.Read",
                        "Organization.ServiceError.Write",
                        "Organization.ServiceError.Read",
                        "Organization.ServiceError.Delete",
                        "Organization.Hub.State.Read",
                        "Organization.Hub.Settings.Read",
                        "Organization.Hub.Schedule.Read",
                        "Organization.Hub.PowerDelivery.Read",
                        "Organization.Hub.Firmware.Read",
                        "Organization.Port.State.Read",
                        "Organization.Port.Mode.Write",
                        "Organization.Port.Led.Write",
                        "Organization.Port.Lock.Write",
                        "Organization.Hub.Reboot.Write",
                        "Organization.Hub.Settings.Write",
                        "Organization.Device.State.Read",
                        "Organization.Device.Lock.Write",
                        "Organization.Computer.Config.Read",
                        "Organization.SupportBundle.Read",
                        "Organization.SupportBundle.Write",
                        "Organization.SupportBundle.Delete",
                        "Organization.Hub.Firmware.Write",
                        "Organization.Hub.Command.Write",
                        "Organization.Computer.Config.Write",
                        "Organization.Computer.Admin.Read",
                        "Organization.Computer.Admin.Write",
                        "Organization.FeatureUsage.Event.Write",
                        "Organization.FeatureUsage.Event.Read",
                        "Organization.AuditLog.Read",
                        "Organization.Communications.Settings.Read",
                        "Organization.Communications.Settings.Write",
                        "Organization.Communications.User.Settings.Read",
                        "Organization.Communications.User.Settings.Write",
                        "Organization.User.Notification.Logs.Read",
                        "Organization.User.Notifications.InApp.Read",
                        "Organization.User.Notifications.InApp.Delete",
                        "Workflow.Read",
                        "Workflow.Write",
                        "Workflow.Delete",
                        "Workflow.Publish",
                        "Workflow.Unpublish",
                        "Workflow.Deploy",
                        "Workflow.Service.Read",
                        "Workflow.Service.Write",
                        "Workflow.Service.Delete",
                        "Workflow.Execution.Write",
                        "Workflow.Execution.Read",
                        "Workflow.Execution.Delete",
                        "Organization.Locations.Read",
                        "Organization.Locations.Write",
                        "Organization.Locations.Delete",
                        "Organization.Settings.MetadataProperty.Read",
                        "Organization.Settings.MetadataProperty.Write",
                        "Organization.Settings.MetadataProperty.Delete",
                        "Organization.Settings.SavedQueries.Read",
                        "Organization.Settings.SavedQueries.Write",
                        "Organization.Settings.SavedQueries.Delete",
                        "Organization.Settings.AutoUpdate.Read",
                        "Organization.Settings.AutoUpdate.Write",
                        "Organization.User.Settings.Personalization.Read",
                        "Organization.User.Settings.Personalization.Write",
                        "Organization.Settings.FeatureFlags.Read",
                        "Organization.Settings.FeatureFlags.Write",
                        "API.Read",
                        "API.Write",
                        "API.Admin",
                        "API.DFU",
                        "API.PowerDelivery",
                        "API.TargetChargeLevel",
                        "API.PortModeSchedule",
                        "DeviceAPI.Devices.Reboot",
                        "DeviceAPI.Devices.PowerOff",
                        "DeviceAPI.Devices.Read",
                        "DeviceAPI.Devices.RecoveryMode",
                        "DeviceAPI.Devices.Erase",
                        "DeviceAPI.Firmware.Download",
                        "DeviceAPI.Firmware.Write",
                        "DeviceAPI.Devices.Backup.Write",
                        "DeviceAPI.Devices.Backup.Delete",
                        "DeviceAPI.Devices.Backup.Read",
                        "DeviceAPI.Certificates.Read",
                        "DeviceAPI.Certificates.Delete",
                        "DeviceAPI.Certificates.Write",
                        "DeviceAPI.Auth.Read",
                        "DeviceAPI.Auth.Write",
                        "DeviceAPI.Auth.Delete",
                        "DeviceAPI.Details.Read",
                        "DeviceAPI.Devices.Install",
                        "DeviceAPI.Firmware.Cache.Read",
                        "DeviceAPI.Firmware.Cache.Write",
                        "DeviceAPI.Restore.Read",
                        "DeviceAPI.Restore.Write",
                        "DeviceAPI.Apple.Manage",
                        "DeviceAPI.Devices.Diagnose",
                        "DeviceAPI.Android.Manage",
                        "Organization.DeviceJob.Read",
                        "Organization.DeviceJob.Write",
                        "Organization.AndroidFirmware.Write",
                        "Organization.Analytics.Read"
                      ]
                    },
                    {}
                  ]
                },
                "scope": {
                  "type": "string",
                  "const": "organization"
                }
              },
              "required": [
                "description",
                "name",
                "scope"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetBuiltInRolePermissionsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "name": {
                  "type": "string",
                  "enum": [
                    "Global.E2E.Write",
                    "Global.Organization.Read",
                    "Global.Organization.Write",
                    "Global.Organization.Join",
                    "Global.Organization.Create",
                    "Global.Role.Write",
                    "Global.Role.Read",
                    "Global.License.Template.Read",
                    "Global.License.Template.Write",
                    "Global.License.Template.Delete",
                    "Global.License.Feature.Template.Read",
                    "Global.License.Feature.Template.Write",
                    "Global.License.Feature.Template.Delete",
                    "Global.License.Read",
                    "Global.License.Write",
                    "Global.Self.Read",
                    "Global.Self.Write",
                    "Global.User.Read",
                    "Global.User.Write",
                    "Global.User.Delete",
                    "Global.RegisteredHubs.Read",
                    "Global.RegisteredHubs.Write",
                    "Global.RegisteredHubs.Delete",
                    "Global.ProductSkuDefinitions.Read",
                    "Global.RedemptionCodes.Read",
                    "Global.RedemptionCodes.Write",
                    "Global.RedemptionCodes.Delete",
                    "Global.GlobalServices.Read",
                    "Global.GlobalServices.Write",
                    "Global.GlobalServices.Delete",
                    "Global.Billing.Read",
                    "Global.Billing.Write",
                    "Global.Billing.Delete",
                    "Global.SubscriptionPlan.Read",
                    "Global.SubscriptionPlan.Write",
                    "Global.SubscriptionPlan.Delete",
                    "Global.Settings.OrganizationFeatureFlags.Read",
                    "Global.Settings.OrganizationFeatureFlags.Write",
                    "Global.VersionPolicy.Read",
                    "Global.VersionPolicy.Write",
                    "Banner.Write",
                    "Banner.Read",
                    "Banner.Delete",
                    "Global.EmailTemplate.Write",
                    "Global.EmailTemplate.Read",
                    "Global.EmailTemplate.Delete",
                    "Global.Notification.Write",
                    "Global.Notification.Read",
                    "Global.Notification.Delete",
                    "Global.Notifications.InApp.Write",
                    "Global.Notifications.InApp.Read",
                    "Global.Notifications.InApp.Delete",
                    "Global.User.Notification.Logs.Read",
                    "Global.Hardware.Firmware.Suggestion.Read",
                    "Global.Hardware.Firmware.Suggestion.Write",
                    "Global.Hardware.Firmware.Suggestion.Delete",
                    "Global.Hardware.Read",
                    "Global.Hardware.Write",
                    "Global.Hardware.Delete",
                    "Global.Hardware.Variant.Read",
                    "Global.Hardware.Variant.Write",
                    "Global.Hardware.Variant.Delete",
                    "Global.Hardware.Variant.Firmware.Read",
                    "Global.Hardware.Variant.Firmware.Write",
                    "Global.Hardware.Variant.Firmware.Delete",
                    "Global.HubReturns.Read",
                    "Global.HubReturns.Write",
                    "Global.HubReturns.Orchestrate",
                    "Global.Organization.Hub.Read",
                    "Global.Downloads.Software.Read",
                    "Global.Downloads.Firmware.Read",
                    "Global.Analytics.Read",
                    "Global.Analytics.Write",
                    "Global.Analytics.Delete"
                  ]
                },
                "scope": {
                  "type": "string",
                  "const": "global"
                }
              },
              "required": [
                "description",
                "name",
                "scope"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetEffectivePermissionsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "entity": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "service",
                      "user"
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "type"
                ],
                "additionalProperties": false
              },
              "permissions": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "Organization.Read",
                        "Organization.Write",
                        "Organization.License.Read",
                        "Organization.UserGroups.Write",
                        "Organization.UserGroups.Read",
                        "Organization.UserGroups.Delete",
                        "Organization.UserGroups.Users.Write",
                        "Organization.UserGroups.Users.Read",
                        "Organization.UserGroups.Users.Delete",
                        "Organization.UserGroups.Role.Write",
                        "Organization.UserGroups.Role.Read",
                        "Organization.UserGroups.Role.Delete",
                        "Organization.Groups.Write",
                        "Organization.Groups.Read",
                        "Organization.Groups.Delete",
                        "Organization.Groups.Entities.Write",
                        "Organization.Groups.Entities.Read",
                        "Organization.Groups.Entities.Delete",
                        "Organization.Groups.Role.Write",
                        "Organization.Groups.Role.Read",
                        "Organization.Groups.Role.Delete",
                        "Organization.Computer.Read",
                        "Organization.Computer.Write",
                        "Organization.Computer.Delete",
                        "Organization.Service.Read",
                        "Organization.Service.Write",
                        "Organization.Service.Delete",
                        "Organization.Service.Secret.Read",
                        "Organization.Service.Secret.Write",
                        "User.Read",
                        "User.Write",
                        "User.Delete",
                        "Organization.Role.Write",
                        "Organization.Role.Read",
                        "Invite.Write",
                        "Invite.Read",
                        "Invite.Delete",
                        "CustomRole.Write",
                        "CustomRole.Read",
                        "CustomRole.Delete",
                        "Organization.RegisteredHubs.Read",
                        "Organization.RegisteredHubs.Write",
                        "Organization.RegisteredHubs.Delete",
                        "Organization.RedemptionCodes.Read",
                        "Organization.RedemptionCodes.Write",
                        "Organization.RedemptionCodes.Delete",
                        "Organization.Subscriptions.Read",
                        "Organization.Subscriptions.Update",
                        "Organization.SubscriptionTransactions.Read",
                        "Organization.Billing.Read",
                        "Organization.Billing.Write",
                        "Organization.Billing.Delete",
                        "Organization.Device.Read",
                        "Organization.Device.Write",
                        "Organization.Device.Delete",
                        "Organization.Hub.Read",
                        "Organization.Hub.Write",
                        "Organization.Hub.Delete",
                        "Organization.Hub.Schedule.Write",
                        "Organization.Hub.PowerDelivery.Write",
                        "Organization.Port.Read",
                        "Organization.Hardware.Service.Write",
                        "Organization.Hardware.Service.Read",
                        "Organization.Hardware.Service.Delete",
                        "Organization.Device.Location.Write",
                        "Organization.Device.Location.Delete",
                        "Organization.Hub.Location.Write",
                        "Organization.Hub.Location.Delete",
                        "Organization.Device.User.Write",
                        "Organization.Device.User.Read",
                        "Organization.Device.User.Delete",
                        "Organization.HardwareGroups.Write",
                        "Organization.HardwareGroups.Read",
                        "Organization.HardwareGroups.Delete",
                        "Organization.HardwareGroups.Hubs.Write",
                        "Organization.HardwareGroups.Hubs.Read",
                        "Organization.HardwareGroups.Hubs.Delete",
                        "Organization.HardwareGroups.Devices.Write",
                        "Organization.HardwareGroups.Devices.Read",
                        "Organization.HardwareGroups.Devices.Delete",
                        "Organization.VirtualHubs.Write",
                        "Organization.VirtualHubs.Read",
                        "Organization.VirtualHubs.Delete",
                        "Organization.Hardware.Firmware.Write",
                        "Organization.Hardware.Firmware.Read",
                        "Organization.Hardware.Firmware.Delete",
                        "Organization.Hub.DFU.Write",
                        "Organization.PubSub.Response.Write",
                        "Organization.PubSub.Response.Read",
                        "Organization.ServiceError.Write",
                        "Organization.ServiceError.Read",
                        "Organization.ServiceError.Delete",
                        "Organization.Hub.State.Read",
                        "Organization.Hub.Settings.Read",
                        "Organization.Hub.Schedule.Read",
                        "Organization.Hub.PowerDelivery.Read",
                        "Organization.Hub.Firmware.Read",
                        "Organization.Port.State.Read",
                        "Organization.Port.Mode.Write",
                        "Organization.Port.Led.Write",
                        "Organization.Port.Lock.Write",
                        "Organization.Hub.Reboot.Write",
                        "Organization.Hub.Settings.Write",
                        "Organization.Device.State.Read",
                        "Organization.Device.Lock.Write",
                        "Organization.Computer.Config.Read",
                        "Organization.SupportBundle.Read",
                        "Organization.SupportBundle.Write",
                        "Organization.SupportBundle.Delete",
                        "Organization.Hub.Firmware.Write",
                        "Organization.Hub.Command.Write",
                        "Organization.Computer.Config.Write",
                        "Organization.Computer.Admin.Read",
                        "Organization.Computer.Admin.Write",
                        "Organization.FeatureUsage.Event.Write",
                        "Organization.FeatureUsage.Event.Read",
                        "Organization.AuditLog.Read",
                        "Organization.Communications.Settings.Read",
                        "Organization.Communications.Settings.Write",
                        "Organization.Communications.User.Settings.Read",
                        "Organization.Communications.User.Settings.Write",
                        "Organization.User.Notification.Logs.Read",
                        "Organization.User.Notifications.InApp.Read",
                        "Organization.User.Notifications.InApp.Delete",
                        "Workflow.Read",
                        "Workflow.Write",
                        "Workflow.Delete",
                        "Workflow.Publish",
                        "Workflow.Unpublish",
                        "Workflow.Deploy",
                        "Workflow.Service.Read",
                        "Workflow.Service.Write",
                        "Workflow.Service.Delete",
                        "Workflow.Execution.Write",
                        "Workflow.Execution.Read",
                        "Workflow.Execution.Delete",
                        "Organization.Locations.Read",
                        "Organization.Locations.Write",
                        "Organization.Locations.Delete",
                        "Organization.Settings.MetadataProperty.Read",
                        "Organization.Settings.MetadataProperty.Write",
                        "Organization.Settings.MetadataProperty.Delete",
                        "Organization.Settings.SavedQueries.Read",
                        "Organization.Settings.SavedQueries.Write",
                        "Organization.Settings.SavedQueries.Delete",
                        "Organization.Settings.AutoUpdate.Read",
                        "Organization.Settings.AutoUpdate.Write",
                        "Organization.User.Settings.Personalization.Read",
                        "Organization.User.Settings.Personalization.Write",
                        "Organization.Settings.FeatureFlags.Read",
                        "Organization.Settings.FeatureFlags.Write",
                        "API.Read",
                        "API.Write",
                        "API.Admin",
                        "API.DFU",
                        "API.PowerDelivery",
                        "API.TargetChargeLevel",
                        "API.PortModeSchedule",
                        "DeviceAPI.Devices.Reboot",
                        "DeviceAPI.Devices.PowerOff",
                        "DeviceAPI.Devices.Read",
                        "DeviceAPI.Devices.RecoveryMode",
                        "DeviceAPI.Devices.Erase",
                        "DeviceAPI.Firmware.Download",
                        "DeviceAPI.Firmware.Write",
                        "DeviceAPI.Devices.Backup.Write",
                        "DeviceAPI.Devices.Backup.Delete",
                        "DeviceAPI.Devices.Backup.Read",
                        "DeviceAPI.Certificates.Read",
                        "DeviceAPI.Certificates.Delete",
                        "DeviceAPI.Certificates.Write",
                        "DeviceAPI.Auth.Read",
                        "DeviceAPI.Auth.Write",
                        "DeviceAPI.Auth.Delete",
                        "DeviceAPI.Details.Read",
                        "DeviceAPI.Devices.Install",
                        "DeviceAPI.Firmware.Cache.Read",
                        "DeviceAPI.Firmware.Cache.Write",
                        "DeviceAPI.Restore.Read",
                        "DeviceAPI.Restore.Write",
                        "DeviceAPI.Apple.Manage",
                        "DeviceAPI.Devices.Diagnose",
                        "DeviceAPI.Android.Manage",
                        "Organization.DeviceJob.Read",
                        "Organization.DeviceJob.Write",
                        "Organization.AndroidFirmware.Write",
                        "Organization.Analytics.Read"
                      ]
                    },
                    {}
                  ]
                }
              }
            },
            "required": [
              "entity",
              "permissions"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetEntityResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "pubsub": {
                    "type": "object",
                    "properties": {
                      "connectionIds": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "required": [
                      "connectionIds"
                    ],
                    "additionalProperties": false
                  },
                  "service": {
                    "allOf": [
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "entity": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "host",
                                  "recorder",
                                  "workflow",
                                  "device",
                                  "relay"
                                ]
                              },
                              "organization": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "secret": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "activated",
                              "entity",
                              "id",
                              "computer",
                              "type",
                              "organization"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "entity": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "custom"
                                ]
                              },
                              "organization": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "secret": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "activated",
                              "entity",
                              "id",
                              "type",
                              "organization"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "entity": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "application": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "managed": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "const": "managed"
                              },
                              "organization": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "secret": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "activated",
                              "entity",
                              "id",
                              "application",
                              "managed",
                              "type",
                              "organization"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {}
                    ]
                  },
                  "user": {
                    "type": "object",
                    "properties": {
                      "detail": {
                        "$ref": "#/components/schemas/UserDetail"
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 255
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "roles": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Role"
                        }
                      }
                    },
                    "required": [
                      "detail",
                      "entity",
                      "id",
                      "organization",
                      "roles"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "name",
                  "organization",
                  "user"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "pubsub": {
                    "type": "object",
                    "properties": {
                      "connectionIds": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "required": [
                      "connectionIds"
                    ],
                    "additionalProperties": false
                  },
                  "service": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "host",
                              "recorder",
                              "workflow",
                              "device",
                              "relay"
                            ]
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "secret": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "activated",
                          "entity",
                          "id",
                          "computer",
                          "type",
                          "organization"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "custom"
                            ]
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "secret": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "activated",
                          "entity",
                          "id",
                          "type",
                          "organization"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "application": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "managed": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "const": "managed"
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "secret": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "activated",
                          "entity",
                          "id",
                          "application",
                          "managed",
                          "type",
                          "organization"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "user": {
                    "allOf": [
                      {
                        "type": "object",
                        "properties": {
                          "detail": {
                            "$ref": "#/components/schemas/UserDetail"
                          },
                          "entity": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 255
                          },
                          "organization": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "roles": {
                            "default": [],
                            "type": "array",
                            "items": {
                              "$ref": "#/components/schemas/Role"
                            }
                          }
                        },
                        "required": [
                          "detail",
                          "entity",
                          "id",
                          "organization",
                          "roles"
                        ],
                        "additionalProperties": false
                      },
                      {}
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "organization",
                  "service"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetGlobalPermissionGroupsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "permissions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string",
                        "enum": [
                          "Global.E2E.Write",
                          "Global.Organization.Read",
                          "Global.Organization.Write",
                          "Global.Organization.Join",
                          "Global.Organization.Create",
                          "Global.Role.Write",
                          "Global.Role.Read",
                          "Global.License.Template.Read",
                          "Global.License.Template.Write",
                          "Global.License.Template.Delete",
                          "Global.License.Feature.Template.Read",
                          "Global.License.Feature.Template.Write",
                          "Global.License.Feature.Template.Delete",
                          "Global.License.Read",
                          "Global.License.Write",
                          "Global.Self.Read",
                          "Global.Self.Write",
                          "Global.User.Read",
                          "Global.User.Write",
                          "Global.User.Delete",
                          "Global.RegisteredHubs.Read",
                          "Global.RegisteredHubs.Write",
                          "Global.RegisteredHubs.Delete",
                          "Global.ProductSkuDefinitions.Read",
                          "Global.RedemptionCodes.Read",
                          "Global.RedemptionCodes.Write",
                          "Global.RedemptionCodes.Delete",
                          "Global.GlobalServices.Read",
                          "Global.GlobalServices.Write",
                          "Global.GlobalServices.Delete",
                          "Global.Billing.Read",
                          "Global.Billing.Write",
                          "Global.Billing.Delete",
                          "Global.SubscriptionPlan.Read",
                          "Global.SubscriptionPlan.Write",
                          "Global.SubscriptionPlan.Delete",
                          "Global.Settings.OrganizationFeatureFlags.Read",
                          "Global.Settings.OrganizationFeatureFlags.Write",
                          "Global.VersionPolicy.Read",
                          "Global.VersionPolicy.Write",
                          "Banner.Write",
                          "Banner.Read",
                          "Banner.Delete",
                          "Global.EmailTemplate.Write",
                          "Global.EmailTemplate.Read",
                          "Global.EmailTemplate.Delete",
                          "Global.Notification.Write",
                          "Global.Notification.Read",
                          "Global.Notification.Delete",
                          "Global.Notifications.InApp.Write",
                          "Global.Notifications.InApp.Read",
                          "Global.Notifications.InApp.Delete",
                          "Global.User.Notification.Logs.Read",
                          "Global.Hardware.Firmware.Suggestion.Read",
                          "Global.Hardware.Firmware.Suggestion.Write",
                          "Global.Hardware.Firmware.Suggestion.Delete",
                          "Global.Hardware.Read",
                          "Global.Hardware.Write",
                          "Global.Hardware.Delete",
                          "Global.Hardware.Variant.Read",
                          "Global.Hardware.Variant.Write",
                          "Global.Hardware.Variant.Delete",
                          "Global.Hardware.Variant.Firmware.Read",
                          "Global.Hardware.Variant.Firmware.Write",
                          "Global.Hardware.Variant.Firmware.Delete",
                          "Global.HubReturns.Read",
                          "Global.HubReturns.Write",
                          "Global.HubReturns.Orchestrate",
                          "Global.Organization.Hub.Read",
                          "Global.Downloads.Software.Read",
                          "Global.Downloads.Firmware.Read",
                          "Global.Analytics.Read",
                          "Global.Analytics.Write",
                          "Global.Analytics.Delete"
                        ]
                      },
                      "scope": {
                        "type": "string",
                        "const": "global"
                      }
                    },
                    "required": [
                      "description",
                      "name",
                      "scope"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "description",
                "name",
                "permissions"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetGlobalUserPermissionsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Global.E2E.Write",
                "Global.Organization.Read",
                "Global.Organization.Write",
                "Global.Organization.Join",
                "Global.Organization.Create",
                "Global.Role.Write",
                "Global.Role.Read",
                "Global.License.Template.Read",
                "Global.License.Template.Write",
                "Global.License.Template.Delete",
                "Global.License.Feature.Template.Read",
                "Global.License.Feature.Template.Write",
                "Global.License.Feature.Template.Delete",
                "Global.License.Read",
                "Global.License.Write",
                "Global.Self.Read",
                "Global.Self.Write",
                "Global.User.Read",
                "Global.User.Write",
                "Global.User.Delete",
                "Global.RegisteredHubs.Read",
                "Global.RegisteredHubs.Write",
                "Global.RegisteredHubs.Delete",
                "Global.ProductSkuDefinitions.Read",
                "Global.RedemptionCodes.Read",
                "Global.RedemptionCodes.Write",
                "Global.RedemptionCodes.Delete",
                "Global.GlobalServices.Read",
                "Global.GlobalServices.Write",
                "Global.GlobalServices.Delete",
                "Global.Billing.Read",
                "Global.Billing.Write",
                "Global.Billing.Delete",
                "Global.SubscriptionPlan.Read",
                "Global.SubscriptionPlan.Write",
                "Global.SubscriptionPlan.Delete",
                "Global.Settings.OrganizationFeatureFlags.Read",
                "Global.Settings.OrganizationFeatureFlags.Write",
                "Global.VersionPolicy.Read",
                "Global.VersionPolicy.Write",
                "Banner.Write",
                "Banner.Read",
                "Banner.Delete",
                "Global.EmailTemplate.Write",
                "Global.EmailTemplate.Read",
                "Global.EmailTemplate.Delete",
                "Global.Notification.Write",
                "Global.Notification.Read",
                "Global.Notification.Delete",
                "Global.Notifications.InApp.Write",
                "Global.Notifications.InApp.Read",
                "Global.Notifications.InApp.Delete",
                "Global.User.Notification.Logs.Read",
                "Global.Hardware.Firmware.Suggestion.Read",
                "Global.Hardware.Firmware.Suggestion.Write",
                "Global.Hardware.Firmware.Suggestion.Delete",
                "Global.Hardware.Read",
                "Global.Hardware.Write",
                "Global.Hardware.Delete",
                "Global.Hardware.Variant.Read",
                "Global.Hardware.Variant.Write",
                "Global.Hardware.Variant.Delete",
                "Global.Hardware.Variant.Firmware.Read",
                "Global.Hardware.Variant.Firmware.Write",
                "Global.Hardware.Variant.Firmware.Delete",
                "Global.HubReturns.Read",
                "Global.HubReturns.Write",
                "Global.HubReturns.Orchestrate",
                "Global.Organization.Hub.Read",
                "Global.Downloads.Software.Read",
                "Global.Downloads.Firmware.Read",
                "Global.Analytics.Read",
                "Global.Analytics.Write",
                "Global.Analytics.Delete"
              ]
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetGroupEntitiesResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "pubsub": {
                      "type": "object",
                      "properties": {
                        "connectionIds": {
                          "default": [],
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      },
                      "required": [
                        "connectionIds"
                      ],
                      "additionalProperties": false
                    },
                    "service": {
                      "allOf": [
                        {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "activated": {
                                  "type": "boolean"
                                },
                                "detail": {
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "entity": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "id": {
                                  "type": "string"
                                },
                                "address": {
                                  "$ref": "#/components/schemas/APIServiceAddressSchema"
                                },
                                "computer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                      "description": "The unique identifier for a computer",
                                      "example": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "host",
                                    "recorder",
                                    "workflow",
                                    "device",
                                    "relay"
                                  ]
                                },
                                "organization": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "secret": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "activated",
                                "entity",
                                "id",
                                "computer",
                                "type",
                                "organization"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "activated": {
                                  "type": "boolean"
                                },
                                "detail": {
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "entity": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "id": {
                                  "type": "string"
                                },
                                "address": {
                                  "$ref": "#/components/schemas/APIServiceAddressSchema"
                                },
                                "computer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                      "description": "The unique identifier for a computer",
                                      "example": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "custom"
                                  ]
                                },
                                "organization": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "secret": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "activated",
                                "entity",
                                "id",
                                "type",
                                "organization"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "activated": {
                                  "type": "boolean"
                                },
                                "detail": {
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "entity": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "id": {
                                  "type": "string"
                                },
                                "address": {
                                  "$ref": "#/components/schemas/APIServiceAddressSchema"
                                },
                                "application": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "computer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                      "description": "The unique identifier for a computer",
                                      "example": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "managed": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id"
                                  ],
                                  "additionalProperties": false
                                },
                                "type": {
                                  "type": "string",
                                  "const": "managed"
                                },
                                "organization": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                "secret": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "activated",
                                "entity",
                                "id",
                                "application",
                                "managed",
                                "type",
                                "organization"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        {}
                      ]
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "detail": {
                          "$ref": "#/components/schemas/UserDetail"
                        },
                        "entity": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                            }
                          },
                          "required": [
                            "id"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 255
                        },
                        "organization": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "roles": {
                          "default": [],
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Role"
                          }
                        }
                      },
                      "required": [
                        "detail",
                        "entity",
                        "id",
                        "organization",
                        "roles"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "organization",
                    "user"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "pubsub": {
                      "type": "object",
                      "properties": {
                        "connectionIds": {
                          "default": [],
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      },
                      "required": [
                        "connectionIds"
                      ],
                      "additionalProperties": false
                    },
                    "service": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "activated": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string"
                            },
                            "address": {
                              "$ref": "#/components/schemas/APIServiceAddressSchema"
                            },
                            "computer": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                  "description": "The unique identifier for a computer",
                                  "example": "00000000-0000-0000-0000-000000000000"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "host",
                                "recorder",
                                "workflow",
                                "device",
                                "relay"
                              ]
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "activated",
                            "entity",
                            "id",
                            "computer",
                            "type",
                            "organization"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "activated": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string"
                            },
                            "address": {
                              "$ref": "#/components/schemas/APIServiceAddressSchema"
                            },
                            "computer": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                  "description": "The unique identifier for a computer",
                                  "example": "00000000-0000-0000-0000-000000000000"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "custom"
                              ]
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "activated",
                            "entity",
                            "id",
                            "type",
                            "organization"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "activated": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string"
                            },
                            "address": {
                              "$ref": "#/components/schemas/APIServiceAddressSchema"
                            },
                            "application": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "computer": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                  "description": "The unique identifier for a computer",
                                  "example": "00000000-0000-0000-0000-000000000000"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "managed": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "const": "managed"
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "activated",
                            "entity",
                            "id",
                            "application",
                            "managed",
                            "type",
                            "organization"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "user": {
                      "allOf": [
                        {
                          "type": "object",
                          "properties": {
                            "detail": {
                              "$ref": "#/components/schemas/UserDetail"
                            },
                            "entity": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 255
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "roles": {
                              "default": [],
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Role"
                              }
                            }
                          },
                          "required": [
                            "detail",
                            "entity",
                            "id",
                            "organization",
                            "roles"
                          ],
                          "additionalProperties": false
                        },
                        {}
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "organization",
                    "service"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetMfaStatusResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "factors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "canEnroll": {
                      "type": "boolean"
                    },
                    "enrolled": {
                      "type": "boolean"
                    },
                    "enrollments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "id": {
                      "type": "string",
                      "enum": [
                        "otp",
                        "email",
                        "webauthn-roaming",
                        "webauthn-platform"
                      ]
                    }
                  },
                  "required": [
                    "canEnroll",
                    "enrolled",
                    "enrollments",
                    "id"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "factors"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetOauth2TokenResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "access_token": {
                "type": "string"
              },
              "audience_access_tokens": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              "expires_in": {
                "type": "number"
              },
              "issued_at": {
                "type": "number"
              },
              "issued_token_type": {
                "type": "string",
                "enum": [
                  "urn:ietf:params:oauth:token-type:access_token",
                  "urn:ietf:params:oauth:token-type:id_token",
                  "urn:ietf:params:oauth:token-type:refresh_token"
                ]
              },
              "refresh_token": {
                "type": "string"
              },
              "scope": {
                "type": "string"
              },
              "token_type": {
                "type": "string",
                "const": "bearer"
              }
            },
            "required": [
              "access_token",
              "expires_in",
              "issued_at",
              "issued_token_type",
              "scope",
              "token_type"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetOauthClientResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "clientId": {
                "type": "string"
              },
              "clientName": {
                "type": "string"
              },
              "redirectUris": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              }
            },
            "required": [
              "clientId",
              "clientName",
              "redirectUris"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetOrganizationPermissionGroupsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "permissions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "Organization.Read",
                              "Organization.Write",
                              "Organization.License.Read",
                              "Organization.UserGroups.Write",
                              "Organization.UserGroups.Read",
                              "Organization.UserGroups.Delete",
                              "Organization.UserGroups.Users.Write",
                              "Organization.UserGroups.Users.Read",
                              "Organization.UserGroups.Users.Delete",
                              "Organization.UserGroups.Role.Write",
                              "Organization.UserGroups.Role.Read",
                              "Organization.UserGroups.Role.Delete",
                              "Organization.Groups.Write",
                              "Organization.Groups.Read",
                              "Organization.Groups.Delete",
                              "Organization.Groups.Entities.Write",
                              "Organization.Groups.Entities.Read",
                              "Organization.Groups.Entities.Delete",
                              "Organization.Groups.Role.Write",
                              "Organization.Groups.Role.Read",
                              "Organization.Groups.Role.Delete",
                              "Organization.Computer.Read",
                              "Organization.Computer.Write",
                              "Organization.Computer.Delete",
                              "Organization.Service.Read",
                              "Organization.Service.Write",
                              "Organization.Service.Delete",
                              "Organization.Service.Secret.Read",
                              "Organization.Service.Secret.Write",
                              "User.Read",
                              "User.Write",
                              "User.Delete",
                              "Organization.Role.Write",
                              "Organization.Role.Read",
                              "Invite.Write",
                              "Invite.Read",
                              "Invite.Delete",
                              "CustomRole.Write",
                              "CustomRole.Read",
                              "CustomRole.Delete",
                              "Organization.RegisteredHubs.Read",
                              "Organization.RegisteredHubs.Write",
                              "Organization.RegisteredHubs.Delete",
                              "Organization.RedemptionCodes.Read",
                              "Organization.RedemptionCodes.Write",
                              "Organization.RedemptionCodes.Delete",
                              "Organization.Subscriptions.Read",
                              "Organization.Subscriptions.Update",
                              "Organization.SubscriptionTransactions.Read",
                              "Organization.Billing.Read",
                              "Organization.Billing.Write",
                              "Organization.Billing.Delete",
                              "Organization.Device.Read",
                              "Organization.Device.Write",
                              "Organization.Device.Delete",
                              "Organization.Hub.Read",
                              "Organization.Hub.Write",
                              "Organization.Hub.Delete",
                              "Organization.Hub.Schedule.Write",
                              "Organization.Hub.PowerDelivery.Write",
                              "Organization.Port.Read",
                              "Organization.Hardware.Service.Write",
                              "Organization.Hardware.Service.Read",
                              "Organization.Hardware.Service.Delete",
                              "Organization.Device.Location.Write",
                              "Organization.Device.Location.Delete",
                              "Organization.Hub.Location.Write",
                              "Organization.Hub.Location.Delete",
                              "Organization.Device.User.Write",
                              "Organization.Device.User.Read",
                              "Organization.Device.User.Delete",
                              "Organization.HardwareGroups.Write",
                              "Organization.HardwareGroups.Read",
                              "Organization.HardwareGroups.Delete",
                              "Organization.HardwareGroups.Hubs.Write",
                              "Organization.HardwareGroups.Hubs.Read",
                              "Organization.HardwareGroups.Hubs.Delete",
                              "Organization.HardwareGroups.Devices.Write",
                              "Organization.HardwareGroups.Devices.Read",
                              "Organization.HardwareGroups.Devices.Delete",
                              "Organization.VirtualHubs.Write",
                              "Organization.VirtualHubs.Read",
                              "Organization.VirtualHubs.Delete",
                              "Organization.Hardware.Firmware.Write",
                              "Organization.Hardware.Firmware.Read",
                              "Organization.Hardware.Firmware.Delete",
                              "Organization.Hub.DFU.Write",
                              "Organization.PubSub.Response.Write",
                              "Organization.PubSub.Response.Read",
                              "Organization.ServiceError.Write",
                              "Organization.ServiceError.Read",
                              "Organization.ServiceError.Delete",
                              "Organization.Hub.State.Read",
                              "Organization.Hub.Settings.Read",
                              "Organization.Hub.Schedule.Read",
                              "Organization.Hub.PowerDelivery.Read",
                              "Organization.Hub.Firmware.Read",
                              "Organization.Port.State.Read",
                              "Organization.Port.Mode.Write",
                              "Organization.Port.Led.Write",
                              "Organization.Port.Lock.Write",
                              "Organization.Hub.Reboot.Write",
                              "Organization.Hub.Settings.Write",
                              "Organization.Device.State.Read",
                              "Organization.Device.Lock.Write",
                              "Organization.Computer.Config.Read",
                              "Organization.SupportBundle.Read",
                              "Organization.SupportBundle.Write",
                              "Organization.SupportBundle.Delete",
                              "Organization.Hub.Firmware.Write",
                              "Organization.Hub.Command.Write",
                              "Organization.Computer.Config.Write",
                              "Organization.Computer.Admin.Read",
                              "Organization.Computer.Admin.Write",
                              "Organization.FeatureUsage.Event.Write",
                              "Organization.FeatureUsage.Event.Read",
                              "Organization.AuditLog.Read",
                              "Organization.Communications.Settings.Read",
                              "Organization.Communications.Settings.Write",
                              "Organization.Communications.User.Settings.Read",
                              "Organization.Communications.User.Settings.Write",
                              "Organization.User.Notification.Logs.Read",
                              "Organization.User.Notifications.InApp.Read",
                              "Organization.User.Notifications.InApp.Delete",
                              "Workflow.Read",
                              "Workflow.Write",
                              "Workflow.Delete",
                              "Workflow.Publish",
                              "Workflow.Unpublish",
                              "Workflow.Deploy",
                              "Workflow.Service.Read",
                              "Workflow.Service.Write",
                              "Workflow.Service.Delete",
                              "Workflow.Execution.Write",
                              "Workflow.Execution.Read",
                              "Workflow.Execution.Delete",
                              "Organization.Locations.Read",
                              "Organization.Locations.Write",
                              "Organization.Locations.Delete",
                              "Organization.Settings.MetadataProperty.Read",
                              "Organization.Settings.MetadataProperty.Write",
                              "Organization.Settings.MetadataProperty.Delete",
                              "Organization.Settings.SavedQueries.Read",
                              "Organization.Settings.SavedQueries.Write",
                              "Organization.Settings.SavedQueries.Delete",
                              "Organization.Settings.AutoUpdate.Read",
                              "Organization.Settings.AutoUpdate.Write",
                              "Organization.User.Settings.Personalization.Read",
                              "Organization.User.Settings.Personalization.Write",
                              "Organization.Settings.FeatureFlags.Read",
                              "Organization.Settings.FeatureFlags.Write",
                              "API.Read",
                              "API.Write",
                              "API.Admin",
                              "API.DFU",
                              "API.PowerDelivery",
                              "API.TargetChargeLevel",
                              "API.PortModeSchedule",
                              "DeviceAPI.Devices.Reboot",
                              "DeviceAPI.Devices.PowerOff",
                              "DeviceAPI.Devices.Read",
                              "DeviceAPI.Devices.RecoveryMode",
                              "DeviceAPI.Devices.Erase",
                              "DeviceAPI.Firmware.Download",
                              "DeviceAPI.Firmware.Write",
                              "DeviceAPI.Devices.Backup.Write",
                              "DeviceAPI.Devices.Backup.Delete",
                              "DeviceAPI.Devices.Backup.Read",
                              "DeviceAPI.Certificates.Read",
                              "DeviceAPI.Certificates.Delete",
                              "DeviceAPI.Certificates.Write",
                              "DeviceAPI.Auth.Read",
                              "DeviceAPI.Auth.Write",
                              "DeviceAPI.Auth.Delete",
                              "DeviceAPI.Details.Read",
                              "DeviceAPI.Devices.Install",
                              "DeviceAPI.Firmware.Cache.Read",
                              "DeviceAPI.Firmware.Cache.Write",
                              "DeviceAPI.Restore.Read",
                              "DeviceAPI.Restore.Write",
                              "DeviceAPI.Apple.Manage",
                              "DeviceAPI.Devices.Diagnose",
                              "DeviceAPI.Android.Manage",
                              "Organization.DeviceJob.Read",
                              "Organization.DeviceJob.Write",
                              "Organization.AndroidFirmware.Write",
                              "Organization.Analytics.Read"
                            ]
                          },
                          {}
                        ]
                      },
                      "scope": {
                        "type": "string",
                        "const": "organization"
                      }
                    },
                    "required": [
                      "description",
                      "name",
                      "scope"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "description",
                "name",
                "permissions"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetServiceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "host",
                      "recorder",
                      "workflow",
                      "device",
                      "relay"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "computer",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "custom"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "application": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "managed": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "const": "managed"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "application",
                  "managed",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetServicesResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "created": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    },
                    "ttl": {
                      "type": "number"
                    },
                    "updated": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    },
                    "activated": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "entity": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string"
                    },
                    "address": {
                      "$ref": "#/components/schemas/APIServiceAddressSchema"
                    },
                    "computer": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                          "description": "The unique identifier for a computer",
                          "example": "00000000-0000-0000-0000-000000000000"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "host",
                        "recorder",
                        "workflow",
                        "device",
                        "relay"
                      ]
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "created",
                    "updated",
                    "activated",
                    "entity",
                    "id",
                    "computer",
                    "type",
                    "organization"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "created": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    },
                    "ttl": {
                      "type": "number"
                    },
                    "updated": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    },
                    "activated": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "entity": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string"
                    },
                    "address": {
                      "$ref": "#/components/schemas/APIServiceAddressSchema"
                    },
                    "computer": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                          "description": "The unique identifier for a computer",
                          "example": "00000000-0000-0000-0000-000000000000"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "custom"
                      ]
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "created",
                    "updated",
                    "activated",
                    "entity",
                    "id",
                    "type",
                    "organization"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "created": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    },
                    "ttl": {
                      "type": "number"
                    },
                    "updated": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    },
                    "activated": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "entity": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string"
                    },
                    "address": {
                      "$ref": "#/components/schemas/APIServiceAddressSchema"
                    },
                    "application": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "computer": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                          "description": "The unique identifier for a computer",
                          "example": "00000000-0000-0000-0000-000000000000"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "managed": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "type": {
                      "type": "string",
                      "const": "managed"
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "created",
                    "updated",
                    "activated",
                    "entity",
                    "id",
                    "application",
                    "managed",
                    "type",
                    "organization"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetSessionActivityResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "lastIp": {
                "type": "string",
                "minLength": 1
              },
              "lastLogin": {
                "type": "number",
                "minimum": 0
              }
            },
            "additionalProperties": false,
            "description": "UserSessionActivity"
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetUserSettingsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "defaultOrganization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "notifications": {
                "default": {
                  "disconnection": true,
                  "firmware": true,
                  "rfid": true,
                  "update": true
                },
                "type": "object",
                "properties": {
                  "disconnection": {
                    "type": "boolean"
                  },
                  "rfid": {
                    "type": "boolean"
                  },
                  "update": {
                    "type": "boolean"
                  },
                  "firmware": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "disconnection",
                  "rfid",
                  "update",
                  "firmware"
                ],
                "additionalProperties": false
              },
              "personalization": {
                "default": {
                  "theme": "Default",
                  "units": {
                    "memory": "Binary",
                    "temperature": "Celsius"
                  }
                },
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "enum": [
                      "Light",
                      "Dark",
                      "Default"
                    ]
                  },
                  "units": {
                    "type": "object",
                    "properties": {
                      "memory": {
                        "default": "Binary",
                        "type": "string",
                        "enum": [
                          "Binary",
                          "Decimal"
                        ]
                      },
                      "temperature": {
                        "type": "string",
                        "enum": [
                          "Celsius",
                          "Fahrenheit"
                        ]
                      }
                    },
                    "required": [
                      "memory",
                      "temperature"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "theme",
                  "units"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "notifications",
              "personalization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetVersionResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "releaseNotes": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "releaseNotes",
              "version"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "Group": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "organization": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "organization",
              "built-in"
            ]
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "organization",
          "type"
        ],
        "additionalProperties": false
      },
      "GroupPostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          }
        },
        "required": [
          "description",
          "name"
        ],
        "additionalProperties": false
      },
      "InternalServerError": {
        "type": "object",
        "required": [
          "code",
          "message",
          "detail"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "enum": [
              500
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "detail": {
            "type": "string"
          }
        }
      },
      "JoinOrganizationRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "code": {},
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "organizationId": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id",
              "organizationId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "entity": {
                "type": "object",
                "properties": {
                  "service": {
                    "oneOf": [
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "host",
                                  "recorder",
                                  "workflow",
                                  "device",
                                  "relay"
                                ]
                              }
                            },
                            "required": [
                              "activated",
                              "id",
                              "computer",
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "activated": {
                                "type": "boolean"
                              },
                              "detail": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string"
                              },
                              "address": {
                                "$ref": "#/components/schemas/APIServiceAddressSchema"
                              },
                              "computer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                    "description": "The unique identifier for a computer",
                                    "example": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "custom"
                                ]
                              }
                            },
                            "required": [
                              "activated",
                              "type"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "activated": {
                            "type": "boolean"
                          },
                          "detail": {
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "id": {
                            "type": "string"
                          },
                          "address": {
                            "$ref": "#/components/schemas/APIServiceAddressSchema"
                          },
                          "application": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "computer": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                                "description": "The unique identifier for a computer",
                                "example": "00000000-0000-0000-0000-000000000000"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "managed": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "additionalProperties": false
                          },
                          "type": {
                            "type": "string",
                            "const": "managed"
                          }
                        },
                        "required": [
                          "activated",
                          "application",
                          "managed",
                          "type"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "type": {
                    "type": "string",
                    "const": "service"
                  }
                },
                "required": [
                  "service",
                  "type"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "organizationId": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "code",
              "entity",
              "id",
              "organizationId"
            ],
            "additionalProperties": false
          }
        ]
      },
      "JoinOrganizationResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": false
              },
              {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "activated": {
                        "type": "boolean"
                      },
                      "detail": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string"
                      },
                      "address": {
                        "$ref": "#/components/schemas/APIServiceAddressSchema"
                      },
                      "computer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                            "description": "The unique identifier for a computer",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "host",
                          "recorder",
                          "workflow",
                          "device",
                          "relay"
                        ]
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "secret": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "activated",
                      "entity",
                      "id",
                      "computer",
                      "type",
                      "organization"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "activated": {
                        "type": "boolean"
                      },
                      "detail": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string"
                      },
                      "address": {
                        "$ref": "#/components/schemas/APIServiceAddressSchema"
                      },
                      "computer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                            "description": "The unique identifier for a computer",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "secret": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "activated",
                      "entity",
                      "id",
                      "type",
                      "organization"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "activated": {
                        "type": "boolean"
                      },
                      "detail": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "id": {
                        "type": "string"
                      },
                      "address": {
                        "$ref": "#/components/schemas/APIServiceAddressSchema"
                      },
                      "application": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "computer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                            "description": "The unique identifier for a computer",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "managed": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "const": "managed"
                      },
                      "organization": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      "secret": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "activated",
                      "entity",
                      "id",
                      "application",
                      "managed",
                      "type",
                      "organization"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "ListMyMcpConnectionsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "clientId": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                },
                "clientName": {
                  "type": "string",
                  "minLength": 1
                },
                "expiresAt": {
                  "type": "number",
                  "minimum": 0
                },
                "lastActiveAt": {
                  "type": "number",
                  "minimum": 0
                },
                "scopes": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "mcp:billing:read",
                          "mcp:docs:read",
                          "mcp:hardware:read",
                          "mcp:locations:read",
                          "mcp:management:read",
                          "mcp:self:read",
                          "mcp:settings:read"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "mcp:computer-admin",
                          "mcp:devices:write",
                          "mcp:hub-control:write",
                          "mcp:hub-dfu:write",
                          "mcp:hub-firmware:write",
                          "mcp:hub-ports:write",
                          "mcp:hub-power:write",
                          "mcp:hub-schedule:write"
                        ]
                      }
                    ]
                  }
                }
              },
              "required": [
                "clientId",
                "clientName",
                "expiresAt",
                "lastActiveAt",
                "scopes"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "OauthAuthorizationServerMetadataResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "authorization_endpoint": {
            "type": "string"
          },
          "code_challenge_methods_supported": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "grant_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "issuer": {
            "type": "string"
          },
          "jwks_uri": {
            "type": "string"
          },
          "registration_endpoint": {
            "type": "string"
          },
          "response_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "revocation_endpoint": {
            "type": "string"
          },
          "scopes_supported": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "token_endpoint": {
            "type": "string"
          }
        },
        "required": [
          "authorization_endpoint",
          "code_challenge_methods_supported",
          "grant_types_supported",
          "issuer",
          "registration_endpoint",
          "response_types_supported",
          "revocation_endpoint",
          "scopes_supported",
          "token_endpoint"
        ],
        "additionalProperties": false
      },
      "Organization": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "industry": {
            "default": "Other",
            "type": "string",
            "enum": [
              "Software Quality Assurance (SQA)",
              "Circular Tech",
              "EdTech",
              "Enterprise",
              "Health",
              "Government & Defence",
              "Retail",
              "Travel & Hospitality",
              "OEM",
              "Other",
              "Mobile & Tech",
              "Healthcare",
              "Retail & Hospitality",
              "Transport",
              "Public Sector",
              "Utilities",
              "Space",
              "Education",
              "ITAD",
              "Military"
            ]
          },
          "name": {
            "type": "string"
          },
          "owner": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "subscriptionPlan": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "industry",
          "name"
        ],
        "additionalProperties": false
      },
      "OrganizationEntityPostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "array",
        "items": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
        }
      },
      "OrganizationGroupRole": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "group": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "organization": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "role": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "permissions": {
                "type": "object",
                "properties": {
                  "allowed": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "denied": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "scope": {
                    "type": "string"
                  }
                },
                "required": [
                  "allowed",
                  "denied"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "enum": [
                  "organization",
                  "built-in"
                ]
              }
            },
            "required": [
              "description",
              "id",
              "name",
              "permissions",
              "type"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "group",
          "id",
          "organization",
          "role"
        ],
        "additionalProperties": false
      },
      "OrganizationInvite": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "groupIds": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "ttl": {
                "type": "integer",
                "minimum": 86400,
                "maximum": 2592000
              },
              "email": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "email"
              }
            },
            "required": [
              "groupIds",
              "id",
              "organization",
              "ttl",
              "email",
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "groupIds": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "ttl": {
                "type": "integer",
                "minimum": 86400,
                "maximum": 2592000
              },
              "code": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "type": {
                "type": "string",
                "const": "code"
              }
            },
            "required": [
              "groupIds",
              "id",
              "organization",
              "ttl",
              "code",
              "type"
            ],
            "additionalProperties": false
          }
        ]
      },
      "OrganizationInvitePayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "groupIds": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "ttl": {
                "type": "integer",
                "minimum": 86400,
                "maximum": 2592000
              },
              "email": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "email"
              }
            },
            "required": [
              "groupIds",
              "ttl",
              "email",
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "groupIds": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "ttl": {
                "type": "integer",
                "minimum": 86400,
                "maximum": 2592000
              },
              "type": {
                "type": "string",
                "const": "code"
              }
            },
            "required": [
              "groupIds",
              "ttl",
              "type"
            ],
            "additionalProperties": false
          }
        ]
      },
      "OrganizationRole": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Role"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "organization"
                ]
              }
            }
          }
        ],
        "examples": [
          {
            "id": "00000000-0000-0000-0000-000000000000",
            "type": "organization",
            "name": "My Custom Organization Role",
            "description": "Can perform x, y and z.",
            "permissions": {
              "allowed": [
                "API.Admin",
                "API.Write",
                "API.Read",
                "RoleAssignment.Write",
                "CustomRole.Write",
                "CustomRole.Read",
                "CustomRole.Delete",
                "Invite.Write",
                "Invite.Read",
                "Invite.Delete",
                "User.Read",
                "User.Write"
              ]
            }
          }
        ]
      },
      "OrganizationUser": {
        "type": "object",
        "required": [
          "id",
          "detail",
          "roles"
        ],
        "properties": {
          "id": {
            "type": "string",
            "examples": [
              "00000000-0000-0000-0000-000000000000"
            ],
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Role"
            }
          },
          "detail": {
            "$ref": "#/components/schemas/UserDetail"
          }
        }
      },
      "PatchUserSettingsRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "defaultOrganization": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "notifications": {
            "type": "object",
            "properties": {
              "disconnection": {
                "type": "boolean"
              },
              "rfid": {
                "type": "boolean"
              },
              "update": {
                "type": "boolean"
              },
              "firmware": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "personalization": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "enum": [
                  "Light",
                  "Dark",
                  "Default"
                ]
              },
              "units": {
                "type": "object",
                "properties": {
                  "memory": {
                    "default": "Binary",
                    "type": "string",
                    "enum": [
                      "Binary",
                      "Decimal"
                    ]
                  },
                  "temperature": {
                    "type": "string",
                    "enum": [
                      "Celsius",
                      "Fahrenheit"
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "PatchUserSettingsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "defaultOrganization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "notifications": {
                "default": {
                  "disconnection": true,
                  "firmware": true,
                  "rfid": true,
                  "update": true
                },
                "type": "object",
                "properties": {
                  "disconnection": {
                    "type": "boolean"
                  },
                  "rfid": {
                    "type": "boolean"
                  },
                  "update": {
                    "type": "boolean"
                  },
                  "firmware": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "disconnection",
                  "rfid",
                  "update",
                  "firmware"
                ],
                "additionalProperties": false
              },
              "personalization": {
                "default": {
                  "theme": "Default",
                  "units": {
                    "memory": "Binary",
                    "temperature": "Celsius"
                  }
                },
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "enum": [
                      "Light",
                      "Dark",
                      "Default"
                    ]
                  },
                  "units": {
                    "type": "object",
                    "properties": {
                      "memory": {
                        "default": "Binary",
                        "type": "string",
                        "enum": [
                          "Binary",
                          "Decimal"
                        ]
                      },
                      "temperature": {
                        "type": "string",
                        "enum": [
                          "Celsius",
                          "Fahrenheit"
                        ]
                      }
                    },
                    "required": [
                      "memory",
                      "temperature"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "theme",
                  "units"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "notifications",
              "personalization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "PollServiceRedirectResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "authenticationUrl": {
                "type": "string"
              },
              "code": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "organizationId": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "authenticationUrl",
              "code",
              "id",
              "organizationId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "PublicOrganizationRegisteredHub": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "license": {
            "description": "The license that is associated with this hub",
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "type": {
                    "type": "string",
                    "const": "Standard"
                  },
                  "valid": {
                    "type": "object",
                    "properties": {
                      "end": {
                        "type": "number",
                        "minimum": 0
                      },
                      "start": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "type",
                  "valid"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  "type": {
                    "type": "string",
                    "const": "Rental"
                  }
                },
                "required": [
                  "id",
                  "type"
                ],
                "additionalProperties": false
              }
            ]
          },
          "organization": {
            "description": "The Organization ID that this hub is registered to",
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "product": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false,
            "description": "The Hub Product ID that is associated with this hub"
          },
          "type": {
            "default": "Standard",
            "description": "The hub type that informs Connect of it's intended usage",
            "type": "string",
            "enum": [
              "Standard",
              "Rental"
            ]
          },
          "warranty": {
            "type": "object",
            "properties": {
              "base": {
                "type": "object",
                "properties": {
                  "valid": {
                    "type": "object",
                    "properties": {
                      "end": {
                        "type": "number",
                        "minimum": 0
                      },
                      "start": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "valid"
                ],
                "additionalProperties": false
              },
              "premium": {
                "type": "object",
                "properties": {
                  "valid": {
                    "type": "object",
                    "properties": {
                      "end": {
                        "type": "number",
                        "minimum": 0
                      },
                      "start": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "valid"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false,
            "description": "The warranty that is associated with this hub"
          },
          "manufactured": {
            "type": "object",
            "properties": {
              "date": {
                "default": 0,
                "description": "The date that this hub was manufactured",
                "type": "number",
                "minimum": 0
              },
              "manufacturer": {
                "default": "Unknown",
                "description": "The manufacturer of this hub",
                "type": "string"
              }
            },
            "required": [
              "date",
              "manufacturer"
            ],
            "additionalProperties": false
          },
          "sale": {
            "type": "object",
            "properties": {
              "date": {
                "type": "number",
                "minimum": 0
              },
              "sku": {
                "type": "string"
              }
            },
            "required": [
              "date"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "product",
          "type",
          "warranty",
          "manufactured"
        ],
        "additionalProperties": false
      },
      "RegisterOauthClientRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "client_name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "redirect_uris": {
            "minItems": 1,
            "maxItems": 5,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 2048,
              "format": "uri"
            }
          },
          "token_endpoint_auth_method": {
            "type": "string",
            "maxLength": 64
          }
        },
        "required": [
          "client_name",
          "redirect_uris"
        ],
        "additionalProperties": false
      },
      "RegisterOauthClientResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_name": {
            "type": "string"
          },
          "redirect_uris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          }
        },
        "required": [
          "client_id",
          "client_name",
          "redirect_uris"
        ],
        "additionalProperties": false
      },
      "RevokeOauthTokenRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "client_id": {
            "type": "string",
            "minLength": 1
          },
          "token": {
            "type": "string",
            "minLength": 1
          },
          "token_type_hint": {
            "type": "string"
          }
        },
        "required": [
          "client_id",
          "token"
        ],
        "additionalProperties": false
      },
      "Role": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "type": "object",
            "properties": {
              "allowed": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "denied": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "scope": {
                "type": "string"
              }
            },
            "required": [
              "allowed",
              "denied"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "organization",
              "built-in"
            ]
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "permissions",
          "type"
        ],
        "additionalProperties": false
      },
      "UnauthorizedError": {
        "type": "object",
        "required": [
          "code",
          "message",
          "detail"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "enum": [
              401
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "detail": {
            "type": "string"
          }
        }
      },
      "UpdateComputerPatchRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "cpu": {
                "type": "object",
                "properties": {
                  "arch": {
                    "type": "string"
                  },
                  "cores": {
                    "type": "number"
                  },
                  "features": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arch",
                  "features",
                  "name"
                ],
                "additionalProperties": false
              },
              "os": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateComputerRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "cpu": {
                "type": "object",
                "properties": {
                  "arch": {
                    "type": "string"
                  },
                  "cores": {
                    "type": "number"
                  },
                  "features": {
                    "default": [],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arch",
                  "features",
                  "name"
                ],
                "additionalProperties": false
              },
              "os": {
                "type": "string"
              }
            },
            "required": [
              "cpu",
              "os"
            ],
            "additionalProperties": false
          },
          "id": {
            "type": "string",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
            "description": "The unique identifier for a computer",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "UpdateGroupRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          }
        },
        "additionalProperties": false
      },
      "UpdateOrganizationPatchRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "UpdateOrganizationRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "UpdateOrganizationRoleRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "type": "object",
            "properties": {
              "allowed": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "denied": {
                "default": [],
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "scope": {
                "type": "string"
              }
            },
            "required": [
              "allowed",
              "denied"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "organization",
              "built-in"
            ]
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "UpdateServicePatchRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "activated": {
            "type": "boolean"
          },
          "address": {
            "$ref": "#/components/schemas/APIServiceAddressSchema"
          },
          "detail": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "UpdateServicePatchResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "host",
                      "recorder",
                      "workflow",
                      "device",
                      "relay"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "computer",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "custom"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "application": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "managed": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "const": "managed"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "application",
                  "managed",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "UpdateServiceRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "activated": {
            "type": "boolean"
          },
          "address": {
            "$ref": "#/components/schemas/APIServiceAddressSchema"
          },
          "detail": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "UpdateServiceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "host",
                      "recorder",
                      "workflow",
                      "device",
                      "relay"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "secret": {
                    "type": "string"
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "computer",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "custom"
                    ]
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "secret": {
                    "type": "string"
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "activated": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "entity": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "id": {
                    "type": "string"
                  },
                  "address": {
                    "$ref": "#/components/schemas/APIServiceAddressSchema"
                  },
                  "application": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "computer": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "managed": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "type": {
                    "type": "string",
                    "const": "managed"
                  },
                  "organization": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "secret": {
                    "type": "string"
                  }
                },
                "required": [
                  "activated",
                  "entity",
                  "id",
                  "application",
                  "managed",
                  "type",
                  "organization"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "UpdateUserDetailRequest": {
        "$ref": "#/components/schemas/UserDetailPatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "UpdateUserSettingsRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "UpdateUserSettingsResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "continuationToken": {
                "type": "string"
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "description": "Metadata for paginated responses. This includes total count, limit, and continuation token.",
            "title": "Connect API Response Metadata"
          },
          "result": {
            "type": "object",
            "properties": {
              "defaultOrganization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "notifications": {
                "default": {
                  "disconnection": true,
                  "firmware": true,
                  "rfid": true,
                  "update": true
                },
                "type": "object",
                "properties": {
                  "disconnection": {
                    "type": "boolean"
                  },
                  "rfid": {
                    "type": "boolean"
                  },
                  "update": {
                    "type": "boolean"
                  },
                  "firmware": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "disconnection",
                  "rfid",
                  "update",
                  "firmware"
                ],
                "additionalProperties": false
              },
              "personalization": {
                "default": {
                  "theme": "Default",
                  "units": {
                    "memory": "Binary",
                    "temperature": "Celsius"
                  }
                },
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "enum": [
                      "Light",
                      "Dark",
                      "Default"
                    ]
                  },
                  "units": {
                    "type": "object",
                    "properties": {
                      "memory": {
                        "default": "Binary",
                        "type": "string",
                        "enum": [
                          "Binary",
                          "Decimal"
                        ]
                      },
                      "temperature": {
                        "type": "string",
                        "enum": [
                          "Celsius",
                          "Fahrenheit"
                        ]
                      }
                    },
                    "required": [
                      "memory",
                      "temperature"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "theme",
                  "units"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "notifications",
              "personalization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "User": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            }
          },
          "blocked": {
            "type": "object",
            "properties": {
              "entity": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "globalService": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "time": {
                "type": "number",
                "minimum": 0
              },
              "user": {
                "type": "object",
                "properties": {
                  "detail": {
                    "type": "object",
                    "properties": {
                      "displayName": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "givenName": {
                        "type": "string"
                      },
                      "surname": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "displayName",
                      "email"
                    ],
                    "additionalProperties": false,
                    "description": "UserDetail"
                  },
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false,
            "description": "ChangeAudit - Used to track changes to an object."
          },
          "detail": {
            "type": "object",
            "properties": {
              "displayName": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "givenName": {
                "type": "string"
              },
              "surname": {
                "type": "string"
              }
            },
            "required": [
              "displayName",
              "email"
            ],
            "additionalProperties": false,
            "description": "UserDetail"
          },
          "emailVerified": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          },
          "groupIds": {
            "default": [],
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            }
          },
          "settings": {
            "type": "object",
            "properties": {
              "defaultOrganization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "notifications": {
                "default": {
                  "disconnection": true,
                  "firmware": true,
                  "rfid": true,
                  "update": true
                },
                "type": "object",
                "properties": {
                  "disconnection": {
                    "type": "boolean"
                  },
                  "rfid": {
                    "type": "boolean"
                  },
                  "update": {
                    "type": "boolean"
                  },
                  "firmware": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "disconnection",
                  "rfid",
                  "update",
                  "firmware"
                ],
                "additionalProperties": false
              },
              "personalization": {
                "default": {
                  "theme": "Default",
                  "units": {
                    "memory": "Binary",
                    "temperature": "Celsius"
                  }
                },
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "enum": [
                      "Light",
                      "Dark",
                      "Default"
                    ]
                  },
                  "units": {
                    "type": "object",
                    "properties": {
                      "memory": {
                        "default": "Binary",
                        "type": "string",
                        "enum": [
                          "Binary",
                          "Decimal"
                        ]
                      },
                      "temperature": {
                        "type": "string",
                        "enum": [
                          "Celsius",
                          "Fahrenheit"
                        ]
                      }
                    },
                    "required": [
                      "memory",
                      "temperature"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "theme",
                  "units"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "notifications",
              "personalization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "accounts",
          "detail",
          "groupIds",
          "id",
          "organizations",
          "settings"
        ],
        "additionalProperties": false
      },
      "UserDetail": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "givenName": {
            "type": "string"
          },
          "surname": {
            "type": "string"
          }
        },
        "required": [
          "displayName",
          "email"
        ],
        "additionalProperties": false,
        "description": "UserDetail"
      },
      "UserDetailPatchPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "givenName": {
            "type": "string"
          },
          "surname": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "responses": {
      "Error": {
        "description": "Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/InternalServerError"
            }
          }
        }
      },
      "ForbiddenError": {
        "description": "Forbidden: the token is valid but does not allow this request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "UnauthorizedError": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UnauthorizedError"
            }
          }
        }
      }
    }
  }
}
