
{
  "openapi": "3.1.0",
  "info": {
    "title": "Cambrionix Connect Hardware API",
    "description": "The Hardware API enables the Cambrionix Connect application to manage Organization Hubs and Devices.",
    "version": "1.0"
  },
  "servers": [
    {
      "description": "Cambrionix Connect",
      "url": "/api"
    }
  ],
  "tags": [
    {
      "name": "Hub Products",
      "description": "Add, remove and list Hubs in a given organization."
    },
    {
      "name": "Hubs",
      "description": "Add, remove and list Hubs in a given organization."
    },
    {
      "name": "Devices",
      "description": "Add, remove and list Devices in a given organization."
    },
    {
      "name": "Virtual Hubs",
      "description": "Create, delete, update and list Virtual Hubs."
    },
    {
      "name": "Groups",
      "description": "Update, delete and list a specified Hardware Group."
    },
    {
      "name": "User Devices",
      "description": "Retrieve, add and remove User associations with Devices."
    },
    {
      "name": "Hardware",
      "description": "Retrieve, add and remove Hardware records associated with firmware."
    },
    {
      "name": "Hardware Families",
      "description": "Retrieve, add and remove Hardware Family records associated with a line of Hardware."
    },
    {
      "name": "Firmware",
      "description": "Retrieve, add and remove Firmware records associated with Hardware entities."
    }
  ],
  "paths": {
    "/hardware/v1/computers": {
      "get": {
        "summary": "List Hardware Computers",
        "description": "List hardware sync records for the organization's computers: installed Hub API, recorder and relay versions.",
        "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": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListHardwareComputersResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listHardwareComputers"
      }
    },
    "/hardware/v1/computers/{computerId}": {
      "get": {
        "summary": "Get Hardware Computer",
        "description": "Get the hardware sync record (installed Hub API, recorder and relay versions) for one 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.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHardwareComputerResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getHardwareComputer"
      },
      "patch": {
        "summary": "Update Hardware Computer",
        "description": "Update Hardware computer details 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/UpdateHardwareComputerRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateHardwareComputerResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateHardwareComputer"
      },
      "put": {
        "summary": "Upsert Hardware Computer",
        "description": "Create or replace Hardware computer details 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/UpsertHardwareComputerRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertHardwareComputerResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "upsertHardwareComputer"
      }
    },
    "/hardware/v1/computers/{computerId}/devices": {
      "get": {
        "summary": "Get Computer Devices",
        "description": "Get devices for a given computer.",
        "tags": [
          "Devices"
        ],
        "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})$"
            }
          },
          {
            "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.Device.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/OrganizationDevice"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getComputerDevices"
      }
    },
    "/hardware/v1/computers/{computerId}/hubs": {
      "get": {
        "summary": "Get Computer Hubs",
        "description": "Get hubs for a given computer.",
        "tags": [
          "Hubs"
        ],
        "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})$"
            }
          },
          {
            "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.Hub.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/OrganizationHub"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getComputerHubs"
      }
    },
    "/hardware/v1/device": {
      "post": {
        "summary": "Create a new Device",
        "description": "Create a new device for an organization.",
        "tags": [
          "Devices"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateANewDeviceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.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/OrganizationDevice"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createANewDevice"
      }
    },
    "/hardware/v1/device/firmware/check": {
      "get": {
        "summary": "Check Device Firmware Updates",
        "description": "Check for firmware updates for a given device.",
        "tags": [
          "Devices"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_metadata": {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "total"
                      ],
                      "additionalProperties": false
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationDeviceWithLatestFirmware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "checkDeviceFirmwareUpdates"
      }
    },
    "/hardware/v1/device/users": {
      "get": {
        "summary": "Get Organization Device Users",
        "description": "Get users that have been assigned to a device in the organization.",
        "tags": [
          "User Devices"
        ],
        "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.Device.User.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationDeviceUsersResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationDeviceUsers"
      }
    },
    "/hardware/v1/devices": {
      "get": {
        "summary": "Get Devices",
        "description": "List the devices (phones, tablets and other USB devices) seen on the organization's hubs.",
        "tags": [
          "Devices"
        ],
        "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.Device.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/OrganizationDevice"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDevices"
      }
    },
    "/hardware/v1/devices/{deviceId}": {
      "get": {
        "summary": "Get Device",
        "description": "Get one device by id.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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.Device.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/OrganizationDevice"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDevice"
      },
      "patch": {
        "summary": "Update Device",
        "description": "Update a device by id.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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/UpdateDeviceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.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/OrganizationDevice"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateDevice"
      },
      "delete": {
        "summary": "Delete Device",
        "description": "Delete a device by id.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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.Device.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDeviceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteDevice"
      }
    },
    "/hardware/v1/devices/{deviceId}/firmware": {
      "get": {
        "summary": "Get Device Firmware",
        "description": "Get a Device's Firmware by a specified Device ID",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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.Device.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/HardwareFirmware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDeviceFirmware"
      }
    },
    "/hardware/v1/devices/{deviceId}/firmware/{version}": {
      "get": {
        "summary": "Get Device Firmware",
        "description": "Get a Device's Firmware by a specified Device ID and version",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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": "version",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          },
          {
            "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.Device.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/HardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDeviceFirmwareGet"
      }
    },
    "/hardware/v1/devices/{deviceId}/firmware/latest": {
      "get": {
        "summary": "Get Device Firmware Latest",
        "description": "Get a Device's Latest Firmware by a specified Device ID",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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.Device.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/HardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDeviceFirmwareLatest"
      }
    },
    "/hardware/v1/devices/{deviceId}/groups": {
      "get": {
        "summary": "Get all Groups for a Device",
        "description": "Get all groups for a device.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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.HardwareGroups.Devices.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/OrganizationHardwareGroup"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAllGroupsForADevice"
      }
    },
    "/hardware/v1/devices/{deviceId}/users": {
      "get": {
        "summary": "Get all Users for a Device",
        "description": "Get all users for a device.",
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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.Device.User.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllUsersForADeviceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAllUsersForADevice"
      }
    },
    "/hardware/v1/devices/{deviceId}/users/{userId}": {
      "get": {
        "summary": "Get Device User",
        "description": "Get a device user by device id and user id.",
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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": "userId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.User.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/OrganizationDeviceUserSchema"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDeviceUser"
      },
      "post": {
        "summary": "Create Device User",
        "description": "Create a device user by device id and user id.",
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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": "userId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.User.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/OrganizationDeviceUserSchema"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createDeviceUser"
      },
      "delete": {
        "summary": "Delete Device User",
        "description": "Delete a device user by device id and user id.",
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "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": "userId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.User.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDeviceUserResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteDeviceUser"
      }
    },
    "/hardware/v1/firmware": {
      "get": {
        "summary": "Get Firmware",
        "description": "Get firmware.",
        "tags": [
          "Firmware"
        ],
        "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.Hardware.Variant.Firmware.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/HardwareFirmware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getFirmware"
      }
    },
    "/hardware/v1/firmware/{hardwareFirmwareId}": {
      "get": {
        "summary": "Get Firmware by Id",
        "description": "Get a firmware record by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFirmwareId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.Firmware.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/HardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getFirmwareById"
      },
      "patch": {
        "summary": "Patch Firmware by Id",
        "description": "Patch a firmware record by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFirmwareId",
            "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/PatchFirmwareByIdRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.Firmware.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/HardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchFirmwareById"
      },
      "delete": {
        "summary": "Delete Firmware by Id",
        "description": "Delete a firmware record by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFirmwareId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.Firmware.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteFirmwareByIdResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteFirmwareById"
      }
    },
    "/hardware/v1/group": {
      "post": {
        "summary": "Create a new hardware group",
        "description": "Create a new hardware group for an organization, with the given name and description.",
        "tags": [
          "Groups"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateANewHardwareGroupRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.HardwareGroups.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationHardwareGroup"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createANewHardwareGroup"
      }
    },
    "/hardware/v1/groups": {
      "get": {
        "summary": "List Hardware Groups",
        "description": "Get all Hardware Groups scoped to a specific Organization.",
        "tags": [
          "Groups"
        ],
        "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.HardwareGroups.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/OrganizationHardwareGroup"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listHardwareGroups"
      }
    },
    "/hardware/v1/groups/{hardwareGroupId}": {
      "get": {
        "summary": "Get a Hardware Group",
        "description": "Get a Hardware Group by Id",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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.HardwareGroups.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/OrganizationHardwareGroup"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAHardwareGroup"
      },
      "patch": {
        "summary": "Patch a Hardware Group",
        "description": "Patch a Hardware Group scoped to a specific Organization.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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/PatchAHardwareGroupRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.HardwareGroups.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/OrganizationHardwareGroup"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchAHardwareGroup"
      },
      "delete": {
        "summary": "Delete a Hardware Group",
        "description": "Delete a Hardware Group scoped to a specific Organization.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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.HardwareGroups.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAHardwareGroupResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteAHardwareGroup"
      }
    },
    "/hardware/v1/groups/{hardwareGroupId}/devices": {
      "get": {
        "summary": "Get Group Devices",
        "description": "Get all devices for a group.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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.HardwareGroups.Devices.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/OrganizationDevice"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getGroupDevices"
      }
    },
    "/hardware/v1/groups/{hardwareGroupId}/devices/{deviceId}": {
      "post": {
        "summary": "Create a Hardware Group Device",
        "description": "Create a device in a group.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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": "deviceId",
            "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/CreateAHardwareGroupDeviceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.HardwareGroups.Devices.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrganizationHardwareGroupDevice"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createAHardwareGroupDevice"
      },
      "delete": {
        "summary": "Delete a Hardware Group Device",
        "description": "Delete a device from a group.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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": "deviceId",
            "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.HardwareGroups.Devices.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAHardwareGroupDeviceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteAHardwareGroupDevice"
      }
    },
    "/hardware/v1/groups/{hardwareGroupId}/hubs": {
      "get": {
        "summary": "List all Hubs in a Hardware Group",
        "description": "Get all Hubs associated with a Hardware Group.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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.HardwareGroups.Hubs.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/OrganizationHub"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listAllHubsInAHardwareGroup"
      }
    },
    "/hardware/v1/groups/{hardwareGroupId}/hubs/{serialNumber}": {
      "post": {
        "summary": "Add a Hub to a Hardware Group",
        "description": "Add a Hub to a Hardware Group.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.HardwareGroups.Hubs.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationHardwareGroupHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "addAHubToAHardwareGroup"
      },
      "delete": {
        "summary": "Remove a Hub from a Hardware Group",
        "description": "Remove a Hub from a Hardware Group.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "hardwareGroupId",
            "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": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.HardwareGroups.Hubs.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveAHubFromAHardwareGroupResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "removeAHubFromAHardwareGroup"
      }
    },
    "/hardware/v1/hardware": {
      "get": {
        "summary": "Get Hardware",
        "description": "Get all hardware items.",
        "tags": [
          "Hardware"
        ],
        "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": []
          }
        ],
        "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/Hardware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getHardware"
      },
      "post": {
        "summary": "Create Hardware",
        "description": "Create a hardware item.",
        "tags": [
          "Hardware"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHardwareRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.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/Hardware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createHardware"
      }
    },
    "/hardware/v1/hardware-families": {
      "get": {
        "summary": "Get all hardware families",
        "description": "Get all hardware families.",
        "tags": [
          "Hardware Families"
        ],
        "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": []
          }
        ],
        "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/HardwareFamily"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAllHardwareFamilies"
      },
      "post": {
        "summary": "Create a hardware family",
        "description": "Create a hardware family.",
        "tags": [
          "Hardware Families"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAHardwareFamilyRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.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/HardwareFamily"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createAHardwareFamily"
      }
    },
    "/hardware/v1/hardware-families/{hardwareFamilyId}": {
      "get": {
        "summary": "Get a hardware family by id",
        "description": "Get a hardware family by id.",
        "tags": [
          "Hardware Families"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": []
          }
        ],
        "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/HardwareFamily"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAHardwareFamilyById"
      },
      "patch": {
        "summary": "Patch a hardware family by id",
        "description": "Patch a hardware family by id.",
        "tags": [
          "Hardware Families"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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/PatchAHardwareFamilyByIdRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.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/HardwareFamily"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchAHardwareFamilyById"
      },
      "delete": {
        "summary": "Delete a hardware family by id",
        "description": "Delete a hardware family by id.",
        "tags": [
          "Hardware Families"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": [
              "Global.Hardware.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAHardwareFamilyByIdResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteAHardwareFamilyById"
      }
    },
    "/hardware/v1/hardware-families/{hardwareFamilyId}/hardware": {
      "get": {
        "summary": "Get Hardware by Id",
        "description": "Get a hardware record by id.",
        "tags": [
          "Hardware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": []
          }
        ],
        "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/Hardware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getHardwareById"
      }
    },
    "/hardware/v1/hardware-families/{hardwareFamilyId}/hardware/{hardwareId}": {
      "get": {
        "summary": "List Hardware",
        "description": "Get Hardware.",
        "tags": [
          "Hardware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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": []
          }
        ],
        "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/Hardware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listHardware"
      },
      "patch": {
        "summary": "Patch Hardware by Id",
        "description": "Patch a hardware record by id.",
        "tags": [
          "Hardware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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/PatchHardwareByIdRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.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/Hardware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchHardwareById"
      },
      "delete": {
        "summary": "Delete Hardware by Id",
        "description": "Delete a hardware record by id.",
        "tags": [
          "Hardware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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": [
              "Global.Hardware.Variant.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteHardwareByIdResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteHardwareById"
      }
    },
    "/hardware/v1/hardware-families/{hardwareFamilyId}/hardware/{hardwareId}/firmware": {
      "get": {
        "summary": "List Firmware",
        "description": "Get all Firmware for a given Hardware Device.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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": []
          }
        ],
        "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/HardwareFirmware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listFirmware"
      }
    },
    "/hardware/v1/hardware-families/{hardwareFamilyId}/hardware/{hardwareId}/firmware/{hardwareFirmwareId}": {
      "get": {
        "summary": "Get Firmware by Id",
        "description": "Get a firmware record by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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": "hardwareFirmwareId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.Firmware.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/HardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getFirmwareByIdGet"
      },
      "patch": {
        "summary": "Patch Firmware by Id",
        "description": "Patch a firmware record by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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": "hardwareFirmwareId",
            "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/PatchFirmwareByIdPatchRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.Firmware.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/HardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchFirmwareByIdPatch"
      },
      "delete": {
        "summary": "Delete Firmware by Id",
        "description": "Delete a firmware record by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "hardwareFamilyId",
            "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": "hardwareId",
            "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": "hardwareFirmwareId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Global.Hardware.Variant.Firmware.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteFirmwareByIdDeleteResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteFirmwareByIdDelete"
      }
    },
    "/hardware/v1/hub": {
      "post": {
        "summary": "Create a new hub",
        "description": "Create a new hub for an organization, with the given serial number and product type.",
        "tags": [
          "Hubs"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateANewHubRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Hub.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/OrganizationHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createANewHub"
      }
    },
    "/hardware/v1/hub-products": {
      "get": {
        "summary": "List Hub Products",
        "description": "Get all Hub Products.",
        "tags": [
          "Hub Products"
        ],
        "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": []
          }
        ],
        "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/HubProduct"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listHubProducts"
      }
    },
    "/hardware/v1/hub-products/{productId}": {
      "get": {
        "summary": "Get Hub Product",
        "description": "Get a Hub Product by ID.",
        "tags": [
          "Hub Products"
        ],
        "parameters": [
          {
            "name": "productId",
            "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": "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/HubProduct"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getHubProduct"
      }
    },
    "/hardware/v1/hub/firmware/check": {
      "get": {
        "summary": "Get Hubs with Firmware Updates Available",
        "description": "Get all hubs with firmware updates available.",
        "tags": [
          "Hubs"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": [
              "Organization.Hub.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHubsWithFirmwareUpdatesAvailableResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getHubsWithFirmwareUpdatesAvailable"
      }
    },
    "/hardware/v1/hubs": {
      "get": {
        "summary": "List Hubs",
        "description": "List the organization's hubs with product, firmware version, connection status, settings and host computer.",
        "tags": [
          "Hubs"
        ],
        "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.Hub.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/OrganizationHub"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listHubs"
      }
    },
    "/hardware/v1/hubs/{serialNumber}": {
      "get": {
        "summary": "Get a Hub",
        "description": "Get one hub (product, firmware, connection status, settings, host computer) by serial number.",
        "tags": [
          "Hubs"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Hub.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/OrganizationHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAHub"
      },
      "patch": {
        "summary": "Patch a Hub",
        "description": "Patch a Hub.",
        "tags": [
          "Hubs"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "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/PatchAHubRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Hub.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/OrganizationHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "patchAHub"
      },
      "delete": {
        "summary": "Delete a Hub",
        "description": "Delete a Hub.",
        "tags": [
          "Hubs"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Hub.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAHubResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteAHub"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/actions": {
      "post": {
        "summary": "Run a typed hub action",
        "description": "Run one allowlisted action on a hub by serial number. Success returns the hub's `result`; a hub error returns the hub's HTTP status with a Connect error body.",
        "tags": [
          "Organization Hubs"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "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/RunATypedHubActionRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunATypedHubActionResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "runATypedHubAction"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/device": {
      "post": {
        "summary": "Create a Device",
        "description": "Create a Device.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "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/CreateADeviceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.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/OrganizationDevice"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createADevice"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/devices": {
      "get": {
        "summary": "Get Devices",
        "description": "Get all devices for a hub.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "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.Device.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/OrganizationDevice"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDevicesGet"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/devices/{deviceId}": {
      "get": {
        "summary": "Get Device",
        "description": "Get a device by id.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "name": "deviceId",
            "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.Device.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/OrganizationDevice"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getDeviceGet"
      },
      "patch": {
        "summary": "Update Device",
        "description": "Update a device by id.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "name": "deviceId",
            "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/UpdateDevicePatchRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Device.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/OrganizationDevice"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateDevicePatch"
      },
      "delete": {
        "summary": "Delete Device",
        "description": "Delete a device by id.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "name": "deviceId",
            "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.Device.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDeviceDeleteResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteDeviceDelete"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/groups": {
      "get": {
        "summary": "Get all Groups for a Hub",
        "description": "Get all groups for a hub.",
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "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.HardwareGroups.Hubs.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/OrganizationHardwareGroup"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAllGroupsForAHub"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/ports": {
      "get": {
        "summary": "List Ports for a Hub",
        "description": "Get all Ports for a Hub.",
        "tags": [
          "Ports"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "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.Port.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPortsForAHubResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listPortsForAHub"
      }
    },
    "/hardware/v1/hubs/{serialNumber}/unlock-status": {
      "get": {
        "summary": "Get Hub Unlock Status",
        "description": "Endpoint to check if a hub can be unlocked.",
        "tags": [
          "Hubs"
        ],
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Hub.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHubUnlockStatusResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getHubUnlockStatus"
      }
    },
    "/hardware/v1/organization/hardware/firmware": {
      "get": {
        "summary": "Get Organization Firmware",
        "description": "Get all organization firmware.",
        "tags": [
          "Firmware"
        ],
        "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.Hardware.Firmware.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/OrganizationHardwareFirmware"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationFirmware"
      },
      "post": {
        "summary": "Create Organization Firmware",
        "description": "Create a firmware.",
        "tags": [
          "Firmware"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationFirmwareRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Hardware.Firmware.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/OrganizationHardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createOrganizationFirmware"
      }
    },
    "/hardware/v1/organization/hardware/firmware/{organizationHardwareFirmwareId}": {
      "get": {
        "summary": "Get Organization Firmware",
        "description": "Get an organization firmware by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "organizationHardwareFirmwareId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Hardware.Firmware.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/OrganizationHardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationFirmwareGet"
      },
      "patch": {
        "summary": "Update Organization Firmware",
        "description": "Update an organization firmware by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "organizationHardwareFirmwareId",
            "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/UpdateOrganizationFirmwareRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Hardware.Firmware.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/OrganizationHardwareFirmware"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateOrganizationFirmware"
      },
      "delete": {
        "summary": "Delete Organization Firmware",
        "description": "Delete an organization firmware by id.",
        "tags": [
          "Firmware"
        ],
        "parameters": [
          {
            "name": "organizationHardwareFirmwareId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.Hardware.Firmware.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteOrganizationFirmwareResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteOrganizationFirmware"
      }
    },
    "/hardware/v1/ports": {
      "get": {
        "summary": "List Ports",
        "description": "Get all Ports.",
        "tags": [
          "Ports"
        ],
        "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.Port.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPortsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listPorts"
      }
    },
    "/hardware/v1/remote-computers/{computerId}/access": {
      "post": {
        "summary": "Ensure Remote Computer PubSub Access",
        "description": "Grant Web PubSub group permissions so the caller can communicate with a remote computer.",
        "tags": [
          "Remote Computer"
        ],
        "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/EnsureRemoteComputerPubsubAccessRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Computer.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnsureRemoteComputerPubsubAccessResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "ensureRemoteComputerPubsubAccess"
      }
    },
    "/hardware/v1/remote-computers/proxy": {
      "post": {
        "summary": "Send a request to another service",
        "description": "This endpoint allows a service to send a request to another service without making a direct PubSub connection.",
        "tags": [
          "Proxy"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendARequestToAnotherServiceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendARequestToAnotherServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "sendARequestToAnotherService"
      }
    },
    "/hardware/v1/remote-computers/response": {
      "post": {
        "summary": "Respond to a remote computer request",
        "description": "This endpoint allows a service to respond to a remote computer request.",
        "tags": [
          "Proxy"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespondToARemoteComputerRequestRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.PubSub.Response.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespondToARemoteComputerRequestResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "respondToARemoteComputerRequest"
      }
    },
    "/hardware/v1/remote-computers/responses/{responseId}": {
      "get": {
        "summary": "Get a PubSub response by ID",
        "description": "Retrieve a PubSub response by ID. Used to fetch staged payloads that were uploaded via the POST /remote-computers/response endpoint.",
        "tags": [
          "Proxy"
        ],
        "parameters": [
          {
            "name": "responseId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.PubSub.Response.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAPubsubResponseByIdResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getAPubsubResponseById"
      }
    },
    "/hardware/v1/remote-computers/token": {
      "post": {
        "summary": "Get Remote Computer Token",
        "description": "Get a token for a remote computer.",
        "tags": [
          "Remote Computer"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetRemoteComputerTokenRequest"
              }
            }
          }
        },
        "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/RemoteComputerToken"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getRemoteComputerToken"
      }
    },
    "/hardware/v1/service": {
      "post": {
        "summary": "Create Organization Hardware Service",
        "description": "Create a new Organization Hardware Service.",
        "tags": [
          "Organization Hardware Services"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationHardwareServiceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Hardware.Service.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/OrganizationHardwareService"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createOrganizationHardwareService"
      }
    },
    "/hardware/v1/services": {
      "get": {
        "summary": "Get Organization Hardware Services",
        "description": "List hardware sync records for the organization's services (id and last sync time).",
        "tags": [
          "Organization Hardware 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.Hardware.Service.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/OrganizationHardwareService"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationHardwareServices"
      }
    },
    "/hardware/v1/services/{serviceId}": {
      "get": {
        "summary": "Get Organization Hardware Service",
        "description": "Get the hardware sync record (id and last sync time) for one service by id.",
        "tags": [
          "Organization Hardware 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.Hardware.Service.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/OrganizationHardwareService"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getOrganizationHardwareService"
      },
      "patch": {
        "summary": "Update Organization Hardware Service",
        "description": "Update an Organization Hardware Service.",
        "tags": [
          "Organization Hardware 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/UpdateOrganizationHardwareServiceRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.Hardware.Service.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/OrganizationHardwareService"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateOrganizationHardwareService"
      },
      "delete": {
        "summary": "Delete Organization Hardware Service",
        "description": "Delete an Organization Hardware Service.",
        "tags": [
          "Organization Hardware 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.Hardware.Service.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteOrganizationHardwareServiceResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteOrganizationHardwareService"
      }
    },
    "/hardware/v1/services/{serviceId}/actions": {
      "post": {
        "summary": "Read computer local API details or errors",
        "description": "Read a host computer's details or errors from an allowlisted local API path. Success returns the computer's `result`; an error returns its HTTP status with a Connect error body.",
        "tags": [
          "Organization Hardware 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/ReadComputerLocalApiDetailsOrErrorsRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadComputerLocalApiDetailsOrErrorsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "readComputerLocalApiDetailsOrErrors"
      }
    },
    "/hardware/v1/services/{serviceId}/errors": {
      "get": {
        "summary": "List Service Errors",
        "description": "List the errors a service has reported to Connect. Errors expire 24 hours after their last report.",
        "tags": [
          "Organization Hardware Services",
          "Errors"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "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.ServiceError.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/OrganizationServiceError"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listServiceErrors"
      }
    },
    "/hardware/v1/services/{serviceId}/errors/{errorKey}": {
      "get": {
        "summary": "Get Service Error",
        "description": "Get a service error by its error key. The error key must be 1 to 200 characters from letters, digits, underscore, period, tilde, colon, or hyphen.",
        "tags": [
          "Organization Hardware Services",
          "Errors"
        ],
        "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": "errorKey",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.ServiceError.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/OrganizationServiceError"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getServiceError"
      },
      "put": {
        "summary": "Upsert Service Error",
        "description": "Create or replace a service error. The path serviceId must match body.service.id, and re-sending the same error replaces it and keeps it for another 24 hours. The error key must be 1 to 200 characters from letters, digits, underscore, period, tilde, colon, or hyphen.",
        "tags": [
          "Organization Hardware Services",
          "Errors"
        ],
        "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": "errorKey",
            "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/UpsertServiceErrorRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.ServiceError.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/OrganizationServiceError"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "upsertServiceError"
      },
      "delete": {
        "summary": "Delete Service Error",
        "description": "Delete a service error by its error key. The error key must be 1 to 200 characters from letters, digits, underscore, period, tilde, colon, or hyphen.",
        "tags": [
          "Organization Hardware Services",
          "Errors"
        ],
        "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": "errorKey",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.ServiceError.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteServiceErrorResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteServiceError"
      }
    },
    "/hardware/v1/support-bundles": {
      "get": {
        "summary": "List Support Bundles",
        "description": "List the organization's support bundles. Filter by `computer.id` to list one computer's bundles.",
        "tags": [
          "Support Bundles"
        ],
        "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.SupportBundle.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSupportBundlesResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "listSupportBundles"
      },
      "post": {
        "summary": "Start Support Bundle Upload",
        "description": "Start a support bundle upload. Returns a reference to quote to Cambrionix support and a one-time URL to PUT the zip to within 30 minutes; then call complete. Returns 429 when the organization's upload limits are reached.",
        "tags": [
          "Support Bundles"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartSupportBundleUploadRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.SupportBundle.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartSupportBundleUploadResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "startSupportBundleUpload"
      }
    },
    "/hardware/v1/support-bundles/{supportBundleId}": {
      "get": {
        "summary": "Get Support Bundle",
        "description": "Get a support bundle. Uploaded bundles include a download link that works for 5 minutes.",
        "tags": [
          "Support Bundles"
        ],
        "parameters": [
          {
            "name": "supportBundleId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.SupportBundle.Read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSupportBundleResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getSupportBundle"
      },
      "delete": {
        "summary": "Delete Support Bundle",
        "description": "Delete a support bundle and its file.",
        "tags": [
          "Support Bundles"
        ],
        "parameters": [
          {
            "name": "supportBundleId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.SupportBundle.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteSupportBundleResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteSupportBundle"
      }
    },
    "/hardware/v1/support-bundles/{supportBundleId}/complete": {
      "post": {
        "summary": "Complete Support Bundle Upload",
        "description": "Finish a support bundle upload. The file must match the declared size and be a zip archive; otherwise it is deleted and the bundle is marked rejected.",
        "tags": [
          "Support Bundles"
        ],
        "parameters": [
          {
            "name": "supportBundleId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "value",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "value"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": [
              "Organization.SupportBundle.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteSupportBundleUploadResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "completeSupportBundleUpload"
      }
    },
    "/hardware/v1/users/{userId}/devices": {
      "get": {
        "summary": "Get User Devices",
        "description": "Get all devices for a user.",
        "tags": [
          "Devices"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "description": "Path parameter",
            "example": "0000005B6D541D50",
            "deprecated": false,
            "schema": {
              "type": "string",
              "description": "Path parameter",
              "deprecated": false,
              "example": "0000005B6D541D50"
            }
          },
          {
            "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.Device.User.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/OrganizationDevice"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getUserDevices"
      }
    },
    "/hardware/v1/version": {
      "get": {
        "summary": "Get Version",
        "description": "Get the version of the API.",
        "tags": [
          "Version"
        ],
        "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"
      }
    },
    "/hardware/v1/virtual-hub": {
      "post": {
        "summary": "Create Virtual Hub",
        "description": "Create a new virtual hub for an organization.",
        "tags": [
          "Virtual Hubs"
        ],
        "parameters": [],
        "requestBody": {
          "required": true,
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVirtualHubRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.VirtualHubs.Write"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "$ref": "#/components/schemas/OrganizationVirtualHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "createVirtualHub"
      }
    },
    "/hardware/v1/virtual-hubs": {
      "get": {
        "summary": "Get Virtual Hubs",
        "description": "Get all Virtual Hubs for a given Organization.",
        "tags": [
          "Virtual Hubs"
        ],
        "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.VirtualHubs.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/OrganizationVirtualHub"
                      }
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getVirtualHubs"
      }
    },
    "/hardware/v1/virtual-hubs/{virtualHubId}": {
      "get": {
        "summary": "Get Virtual Hub",
        "description": "Get a Virtual Hub.",
        "tags": [
          "Virtual Hubs"
        ],
        "parameters": [
          {
            "name": "virtualHubId",
            "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.VirtualHubs.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/OrganizationVirtualHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "getVirtualHub"
      },
      "patch": {
        "summary": "Update Virtual Hub",
        "description": "Update a Virtual Hub.",
        "tags": [
          "Virtual Hubs"
        ],
        "parameters": [
          {
            "name": "virtualHubId",
            "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/UpdateVirtualHubRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": [
              "Organization.VirtualHubs.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/OrganizationVirtualHub"
                    }
                  },
                  "required": [
                    "result"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "updateVirtualHub"
      },
      "delete": {
        "summary": "Delete Virtual Hub",
        "description": "Delete a Virtual Hub.",
        "tags": [
          "Virtual Hubs"
        ],
        "parameters": [
          {
            "name": "virtualHubId",
            "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.VirtualHubs.Delete"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteVirtualHubResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "operationId": "deleteVirtualHub"
      }
    }
  },
  "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"
      }
    },
    "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"
            }
          }
        }
      }
    },
    "schemas": {
      "APIServiceAddressSchema": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "hostName": {
            "type": "string"
          },
          "port": {
            "type": "number"
          }
        },
        "required": [
          "hostName",
          "port"
        ],
        "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."
      },
      "CompleteSupportBundleUploadResponse": {
        "$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": {
              "bytes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "caseReference": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cliVersion": {
                "type": "string"
              },
              "computer": {
                "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})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "fileName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "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
              },
              "sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "status": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "pending"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "uploaded"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "type": {
                        "type": "string",
                        "const": "rejected"
                      }
                    },
                    "required": [
                      "reason",
                      "type"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "uploaded": {
                "$ref": "#/components/schemas/ChangeAudit"
              }
            },
            "required": [
              "bytes",
              "id",
              "organization",
              "sha256",
              "status"
            ],
            "additionalProperties": false,
            "description": "A support bundle uploaded from one of the organization's computers."
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "CreateADeviceRequest": {
        "$ref": "#/components/schemas/OrganizationDevicePostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateAHardwareFamilyRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "description",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "released": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "additionalProperties": false
      },
      "CreateAHardwareGroupDeviceRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "deviceIds": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "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": "string",
                      "minLength": 1
                    }
                  ]
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          "hardwareGroup": {
            "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": [
          "deviceIds",
          "hardwareGroup"
        ],
        "additionalProperties": false
      },
      "CreateANewDeviceRequest": {
        "$ref": "#/components/schemas/OrganizationDevicePostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateANewHardwareGroupRequest": {
        "$ref": "#/components/schemas/OrganizationHardwareGroupPostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateANewHubRequest": {
        "$ref": "#/components/schemas/OrganizationHubPostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateHardwareRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "color": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "hardwareFamily": {
            "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
          },
          "identifier": {
            "type": "string"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "description",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "released": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "color",
          "hardwareFamily",
          "identifier",
          "name"
        ],
        "additionalProperties": false
      },
      "CreateOrganizationFirmwareRequest": {
        "$ref": "#/components/schemas/OrganizationHardwareFirmwarePostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "CreateOrganizationHardwareServiceRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "CreateVirtualHubRequest": {
        "$ref": "#/components/schemas/OrganizationVirtualHubPostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "DeleteAHardwareFamilyByIdResponse": {
        "$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
      },
      "DeleteAHardwareGroupDeviceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "DeleteAHardwareGroupResponse": {
        "$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
      },
      "DeleteAHubResponse": {
        "$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
      },
      "DeleteDeviceDeleteResponse": {
        "$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
      },
      "DeleteDeviceResponse": {
        "$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
      },
      "DeleteDeviceUserResponse": {
        "$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
      },
      "DeleteFirmwareByIdDeleteResponse": {
        "$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
      },
      "DeleteFirmwareByIdResponse": {
        "$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
      },
      "DeleteHardwareByIdResponse": {
        "$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
      },
      "DeleteOrganizationFirmwareResponse": {
        "$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
      },
      "DeleteOrganizationHardwareServiceResponse": {
        "$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
      },
      "DeleteServiceErrorResponse": {
        "$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
      },
      "DeleteSupportBundleResponse": {
        "$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
      },
      "DeleteVirtualHubResponse": {
        "$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
      },
      "EnsureRemoteComputerPubsubAccessRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "connectionId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "connectionId"
        ],
        "additionalProperties": false
      },
      "EnsureRemoteComputerPubsubAccessResponse": {
        "$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": {
              "groupName": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "groupName"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message",
          "detail"
        ],
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetAllUsersForADeviceResponse": {
        "$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": {
                "detail": {
                  "type": "object",
                  "properties": {
                    "displayName": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "givenName": {
                      "type": "string"
                    },
                    "surname": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "displayName",
                    "email"
                  ],
                  "additionalProperties": false,
                  "description": "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": {
                    "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": [
                "detail",
                "entity",
                "id",
                "organization",
                "roles"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetAPubsubResponseByIdResponse": {
        "$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": {
              "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"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false,
                "description": "The computer the target service was bound to when the request was sent."
              },
              "data": {
                "type": "object",
                "properties": {
                  "body": {},
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "body",
                  "status"
                ],
                "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 id used to identify a request in the PubSub system",
                "example": "00000000-0000-0000-0000-000000000000"
              },
              "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,
                "description": "The service the request was sent to. That service, or the relay on its computer in the same organization, may post the reply."
              }
            },
            "required": [
              "id",
              "organization",
              "service"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetHardwareComputerResponse": {
        "$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": {
              "details": {
                "type": "object",
                "properties": {
                  "api": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "object",
                        "properties": {
                          "host": {
                            "type": "string"
                          },
                          "recorder": {
                            "type": "string"
                          },
                          "relay": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "host",
                          "recorder",
                          "relay"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "version"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "api"
                ],
                "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"
              },
              "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
              }
            },
            "required": [
              "details",
              "id",
              "organization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetHubsWithFirmwareUpdatesAvailableResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "_metadata": {
            "type": "object",
            "properties": {
              "total": {
                "type": "number"
              }
            },
            "required": [
              "total"
            ],
            "additionalProperties": false
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "additionalHardware": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "bootloader": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "version"
                        ],
                        "additionalProperties": false
                      },
                      "description": {
                        "type": "string"
                      },
                      "firmware": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "version": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "version"
                        ],
                        "additionalProperties": false
                      },
                      "group": {
                        "type": "string"
                      },
                      "manufacturer": {
                        "type": "string"
                      },
                      "serialNumber": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "description",
                      "manufacturer",
                      "serialNumber"
                    ],
                    "additionalProperties": false
                  },
                  "description": "The additional hardware associated with the hub"
                },
                "bootloader": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string",
                      "description": "The bootloader version"
                    }
                  },
                  "required": [
                    "version"
                  ],
                  "additionalProperties": false,
                  "description": "The bootloader information for the hub"
                },
                "firmware": {
                  "type": "object",
                  "properties": {
                    "latestVersion": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "un",
                        "ps",
                        "00-ps",
                        "01-ps",
                        "pd",
                        "st",
                        "mc",
                        "db",
                        "150001-st",
                        "150144-st"
                      ]
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "latestVersion",
                    "type",
                    "version"
                  ],
                  "additionalProperties": false
                },
                "host": {
                  "type": "object",
                  "properties": {
                    "connection": {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "enum": [
                            "connected",
                            "disconnected"
                          ]
                        },
                        "updated": {
                          "type": "number",
                          "minimum": 0
                        },
                        "speed": {
                          "type": "object",
                          "properties": {
                            "current": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string",
                                  "enum": [
                                    "Low",
                                    "Full",
                                    "High",
                                    "SuperSpeed USB 5Gbps",
                                    "SuperSpeed USB 10Gbps",
                                    "SuperSpeed USB 20Gbps",
                                    "SuperSpeed USB 40Gbps",
                                    "SuperSpeed USB 80Gbps",
                                    "USB4 20Gbps",
                                    "USB4® 20Gbps",
                                    "USB4 40Gbps",
                                    "USB4® 40Gbps",
                                    "Thunderbolt 2",
                                    "Thunderbolt 3",
                                    "Thunderbolt 4",
                                    "Thunderbolt 5"
                                  ],
                                  "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                                },
                                "value": {
                                  "type": "string",
                                  "enum": [
                                    "1.5Mbps",
                                    "12Mbps",
                                    "480Mbps",
                                    "5Gbps",
                                    "10Gbps",
                                    "20Gbps",
                                    "40Gbps",
                                    "80Gbps"
                                  ],
                                  "description": "The current speed of the connection"
                                }
                              },
                              "required": [
                                "description",
                                "value"
                              ],
                              "additionalProperties": false
                            },
                            "supported": {
                              "type": "object",
                              "properties": {
                                "description": {
                                  "type": "string",
                                  "enum": [
                                    "Low",
                                    "Full",
                                    "High",
                                    "SuperSpeed USB 5Gbps",
                                    "SuperSpeed USB 10Gbps",
                                    "SuperSpeed USB 20Gbps",
                                    "SuperSpeed USB 40Gbps",
                                    "SuperSpeed USB 80Gbps",
                                    "USB4 20Gbps",
                                    "USB4® 20Gbps",
                                    "USB4 40Gbps",
                                    "USB4® 40Gbps",
                                    "Thunderbolt 2",
                                    "Thunderbolt 3",
                                    "Thunderbolt 4",
                                    "Thunderbolt 5"
                                  ],
                                  "description": "The description of the supported speed. This is the highest speed that the connection can support."
                                },
                                "value": {
                                  "type": "string",
                                  "enum": [
                                    "1.5Mbps",
                                    "12Mbps",
                                    "480Mbps",
                                    "5Gbps",
                                    "10Gbps",
                                    "20Gbps",
                                    "40Gbps",
                                    "80Gbps"
                                  ],
                                  "description": "The value of the supported speed. E.g '10Gbps'"
                                }
                              },
                              "required": [
                                "description",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "current"
                          ],
                          "additionalProperties": false,
                          "description": "The speed of the connection"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "usb",
                            "ethernet",
                            "bluetooth",
                            "wifi",
                            "thunderbolt",
                            "other"
                          ],
                          "description": "The type of connection"
                        },
                        "version": {
                          "type": "string",
                          "description": "The version of the connection"
                        },
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "serial_in_use",
                                    "permission_denied",
                                    "connection_failure",
                                    "unknown"
                                  ]
                                },
                                {
                                  "type": "string"
                                }
                              ],
                              "description": "The portable error code"
                            },
                            "errorId": {
                              "type": "string",
                              "description": "Error key reported by the hub. Any string is accepted."
                            }
                          },
                          "required": [
                            "code"
                          ],
                          "additionalProperties": false,
                          "description": "The host connection error"
                        }
                      },
                      "required": [
                        "status",
                        "updated",
                        "speed",
                        "type",
                        "version"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false,
                  "description": "The host information for the hub"
                },
                "name": {
                  "type": "string",
                  "description": "The name of the hub"
                },
                "note": {
                  "type": "object",
                  "properties": {
                    "content": {
                      "type": "string"
                    },
                    "updated": {
                      "$ref": "#/components/schemas/ChangeAudit"
                    }
                  },
                  "required": [
                    "content"
                  ],
                  "additionalProperties": false,
                  "description": "The notes about the hub"
                },
                "parentHub": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The parent hub of this hub."
                },
                "product": {
                  "$ref": "#/components/schemas/HubProduct",
                  "description": "The product associated with this hub"
                },
                "serialNumber": {
                  "type": "string",
                  "minLength": 1
                },
                "serialPort": {
                  "type": "object",
                  "properties": {
                    "connection": {
                      "type": "string"
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "serial_in_use",
                                "permission_denied",
                                "connection_failure",
                                "unknown"
                              ]
                            },
                            {
                              "type": "string"
                            }
                          ],
                          "description": "The portable error code"
                        },
                        "errorId": {
                          "type": "string",
                          "description": "Error key reported by the hub. Any string is accepted."
                        },
                        "message": {
                          "type": "string",
                          "description": "Legacy error message, only sent by hosts that predate portable error codes"
                        }
                      },
                      "required": [
                        "code"
                      ],
                      "additionalProperties": false
                    },
                    "location": {
                      "type": "object",
                      "properties": {
                        "computerId": {
                          "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"
                        },
                        "locationId": {
                          "type": "number",
                          "deprecated": false,
                          "description": "An identifier for a USB location, which is unique on each computer.",
                          "title": "USB Location ID"
                        }
                      },
                      "additionalProperties": false
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "connected",
                        "unresponsive",
                        "disconnected",
                        "idle",
                        "active"
                      ]
                    }
                  },
                  "required": [
                    "status"
                  ],
                  "additionalProperties": false,
                  "description": "The serial port information for the hub"
                },
                "service": {
                  "type": "object",
                  "properties": {
                    "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
                    },
                    "id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "computer",
                    "id"
                  ],
                  "additionalProperties": false,
                  "description": "The Hub API Service associated with the hub"
                },
                "settings": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {},
                  "description": "The settings for the hub"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "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})$"
                    },
                    "owner": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 255
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "ports": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "metadata": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "subscription": {
                  "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": [
                "bootloader",
                "firmware",
                "name",
                "serialNumber",
                "id",
                "organization"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "_metadata",
          "result"
        ],
        "additionalProperties": false
      },
      "GetHubUnlockStatusResponse": {
        "$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": {
              "canUnlockFirmware": {
                "type": "boolean"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "canUnlockFirmware",
              "reason"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetOrganizationDeviceUsersResponse": {
        "$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": {
                "detail": {
                  "type": "object",
                  "properties": {
                    "displayName": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "givenName": {
                      "type": "string"
                    },
                    "surname": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "displayName",
                    "email"
                  ],
                  "additionalProperties": false,
                  "description": "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": {
                    "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": [
                "detail",
                "entity",
                "id",
                "organization",
                "roles"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "GetRemoteComputerTokenRequest": {
        "$ref": "#/components/schemas/RemoteComputerTokenPostPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "GetSupportBundleResponse": {
        "$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": {
              "bytes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "caseReference": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cliVersion": {
                "type": "string"
              },
              "computer": {
                "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})$",
                        "description": "The unique identifier for a computer",
                        "example": "00000000-0000-0000-0000-000000000000"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "fileName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "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
              },
              "sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "status": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "pending"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "uploaded"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "type": {
                        "type": "string",
                        "const": "rejected"
                      }
                    },
                    "required": [
                      "reason",
                      "type"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "uploaded": {
                "$ref": "#/components/schemas/ChangeAudit"
              },
              "download": {
                "type": "object",
                "properties": {
                  "expiresAt": {
                    "type": "number",
                    "minimum": 0
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "expiresAt",
                  "url"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "bytes",
              "id",
              "organization",
              "sha256",
              "status"
            ],
            "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
      },
      "Hardware": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "color": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "hardwareFamily": {
            "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})$"
          },
          "identifier": {
            "type": "string"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "description",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "released": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "color",
          "hardwareFamily",
          "id",
          "identifier",
          "name"
        ],
        "additionalProperties": false
      },
      "HardwareFamily": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "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})$"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "description",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "released": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          }
        },
        "required": [
          "id",
          "name",
          "type"
        ],
        "additionalProperties": false
      },
      "HardwareFamilyPatchPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "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})$"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "description",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "released": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          }
        },
        "additionalProperties": false
      },
      "HardwareFirmware": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "hardware": {
                "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"
              },
              "version": {
                "type": "string"
              },
              "metadata": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "type": {
                "type": "string",
                "const": "Connect"
              }
            },
            "required": [
              "hardware",
              "id",
              "version",
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "hardware": {
                "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"
              },
              "version": {
                "type": "string"
              },
              "checksums": {
                "type": "object",
                "properties": {
                  "md5": {
                    "type": "string",
                    "minLength": 32,
                    "maxLength": 32
                  },
                  "sha1": {
                    "type": "string",
                    "minLength": 40,
                    "maxLength": 40
                  },
                  "sha256": {
                    "type": "string",
                    "minLength": 64,
                    "maxLength": 64
                  }
                },
                "additionalProperties": false
              },
              "fileSize": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "released": {
                "type": "object",
                "properties": {
                  "time": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "required": [
                  "time"
                ],
                "additionalProperties": false
              },
              "signed": {
                "type": "boolean"
              },
              "type": {
                "type": "string",
                "const": "Apple1"
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "hardware",
              "id",
              "version",
              "checksums",
              "fileSize",
              "released",
              "signed",
              "type",
              "url"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "hardware": {
                "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"
              },
              "version": {
                "type": "string"
              },
              "checksums": {
                "type": "object",
                "properties": {
                  "md5": {
                    "type": "string",
                    "minLength": 32,
                    "maxLength": 32
                  },
                  "sha1": {
                    "type": "string",
                    "minLength": 40,
                    "maxLength": 40
                  },
                  "sha256": {
                    "type": "string",
                    "minLength": 64,
                    "maxLength": 64
                  }
                },
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "const": "Apple2"
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "hardware",
              "id",
              "version",
              "checksums",
              "type",
              "url"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "hardware": {
                "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"
              },
              "version": {
                "type": "string"
              },
              "identifier": {
                "type": "string"
              },
              "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})$"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "const": "Organization"
              }
            },
            "required": [
              "hardware",
              "id",
              "version",
              "identifier",
              "organization",
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "checksums": {
                "type": "object",
                "properties": {
                  "md5": {
                    "type": "string",
                    "minLength": 32,
                    "maxLength": 32
                  },
                  "sha1": {
                    "type": "string",
                    "minLength": 40,
                    "maxLength": 40
                  },
                  "sha256": {
                    "type": "string",
                    "minLength": 64,
                    "maxLength": 64
                  }
                },
                "additionalProperties": false
              },
              "hardware": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "hardwareFamily": {
                      "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})$"
                    }
                  },
                  "required": [
                    "hardwareFamily",
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "id": {
                "type": "string"
              },
              "legacy": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "const": "CambrionixHub"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "checksums",
              "hardware",
              "id",
              "legacy",
              "type",
              "url",
              "version"
            ],
            "additionalProperties": false
          }
        ]
      },
      "HardwareFirmwarePatchPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "hardware": {
            "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"
          },
          "version": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "type": {
            "type": "string",
            "const": "Connect"
          }
        },
        "additionalProperties": false
      },
      "HardwarePatchPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "color": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "hardwareFamily": {
            "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})$"
          },
          "identifier": {
            "type": "string"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "description",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "released": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "HubProduct": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "The description of the product"
          },
          "family": {
            "type": "string",
            "enum": [
              "PowerPad",
              "U8",
              "ThunderSync",
              "SuperSync",
              "U16",
              "PD",
              "Series8"
            ],
            "description": "The family of the product"
          },
          "features": {
            "default": [],
            "description": "The Cambrionix Connect hub license features that are supported by the product",
            "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
            }
          },
          "firmware": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "additionalProperties": false,
            "description": "The firmware of the product"
          },
          "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 ID of the product"
          },
          "identifiers": {
            "default": [],
            "description": "The identifiers of the product",
            "type": "array",
            "items": {
              "type": "string",
              "x-extensible-enum": [
                "PP15S",
                "PDSync-4",
                "PDSync-C4",
                "SuperSync15",
                "SuperSync15B",
                "SuperSync15-B",
                "SS15",
                "SS15-B",
                "SS15B",
                "TS3-16",
                "TS3-C10",
                "TS4-C16",
                "ThunderSync4-C16",
                "ThunderSync5-C16",
                "ThunderSync5-C16-PD",
                "ThunderSync5-C16 PD",
                "TS4-C16-PD",
                "TS5-C16-PD",
                "TS5-C16-PD-FL",
                "TS5-C16",
                "TS2-16",
                "ThunderSync2-16",
                "PP15C",
                "ThunderSync3-16",
                "ThunderSync3-C10",
                "PowerPad15C",
                "PowerPad15S",
                "PowerPad8S",
                "PP8S",
                "U8S-EXT",
                "U8S",
                "U16S",
                "U16-Thunderbolt",
                "U16S-RM",
                "Series8 Charger",
                "Series8Charger"
              ]
            }
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "releaseDate": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "releaseDate"
            ],
            "additionalProperties": false,
            "description": "The manufacturer of the product"
          },
          "name": {
            "type": "string",
            "description": "The name of the product"
          },
          "ports": {
            "type": "number",
            "description": "The number of ports the product has"
          },
          "skus": {
            "description": "The SKUs of the product",
            "default": [],
            "type": "array",
            "items": {
              "type": "string",
              "x-extensible-enum": [
                "ThunderSync5-C16-PD",
                "ThunderSync5-C16-PD-4YR - US/B",
                "ThunderSync5-C16-PD - AU/I",
                "ThunderSync5-C16-PD - EU/F",
                "ThunderSync5-C16-PD - IN/D",
                "ThunderSync5-C16-PD - JP/B",
                "ThunderSync5-C16-PD - UK/G",
                "ThunderSync5-C16-PD - US/B",
                "ThunderSync5-C16-PD-RTL - AU/I",
                "ThunderSync5-C16-PD-RTL - EU/F",
                "ThunderSync5-C16-PD-RTL - IN/D",
                "ThunderSync5-C16-PD-RTL - JP/B",
                "ThunderSync5-C16-PD-RTL - UK/G",
                "ThunderSync5-C16-PD-RTL - US/B",
                "TS3-C10-4YR - US/B",
                "TS3-C10 - US/B",
                "TS3-C10 - UK/G",
                "TS3-C10 - JP/B",
                "TS3-C10 - IN/D",
                "TS3-C10 - EU/F",
                "TS3-C10 - C13/14",
                "TS3-C10 - AU/I",
                "PDSync-C4 - AU/I",
                "PDSync-C4 - EU/F",
                "PDSync-C4 - UK/G",
                "PDSync-C4 - US/B",
                "SuperSync15 (AU/I)",
                "SuperSync15 (C13-C14)",
                "SuperSync15 (CH/J)",
                "SuperSync15 (EU/F)",
                "SuperSync15 (IN/D)",
                "SuperSync15 (JP/B)",
                "SuperSync15 (UK/G)",
                "SuperSync15 (US/B)",
                "ThunderSync3-16 - AU/I",
                "ThunderSync3-16 - EU/F",
                "ThunderSync3-16 - IN/D",
                "ThunderSync3-16 - JP/B",
                "ThunderSync3-16 - UK/G",
                "ThunderSync3-16 - US/B"
              ]
            }
          }
        },
        "required": [
          "description",
          "family",
          "features",
          "firmware",
          "id",
          "identifiers",
          "manufacturer",
          "name",
          "ports",
          "skus"
        ],
        "additionalProperties": false
      },
      "InternalServerError": {
        "type": "object",
        "required": [
          "code",
          "message",
          "detail"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "enum": [
              500
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "detail": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ListHardwareComputersResponse": {
        "$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": {
                "details": {
                  "type": "object",
                  "properties": {
                    "api": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "recorder": {
                              "type": "string"
                            },
                            "relay": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "host",
                            "recorder",
                            "relay"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "version"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "api"
                  ],
                  "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"
                },
                "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
                }
              },
              "required": [
                "details",
                "id",
                "organization"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "ListPortsForAHubResponse": {
        "$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": {
                "id": {
                  "type": "string"
                },
                "location": {
                  "type": "object",
                  "properties": {
                    "port": {
                      "type": "object",
                      "properties": {
                        "hub": {
                          "type": "object",
                          "properties": {
                            "serialNumber": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "serialNumber"
                          ],
                          "additionalProperties": false
                        },
                        "index": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "hub",
                        "index"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "port"
                  ],
                  "additionalProperties": false
                },
                "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
                }
              },
              "required": [
                "id",
                "location",
                "organization"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "ListPortsResponse": {
        "$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": {
                "id": {
                  "type": "string"
                },
                "location": {
                  "type": "object",
                  "properties": {
                    "port": {
                      "type": "object",
                      "properties": {
                        "hub": {
                          "type": "object",
                          "properties": {
                            "serialNumber": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "serialNumber"
                          ],
                          "additionalProperties": false
                        },
                        "index": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "hub",
                        "index"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "port"
                  ],
                  "additionalProperties": false
                },
                "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
                }
              },
              "required": [
                "id",
                "location",
                "organization"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "ListSupportBundlesResponse": {
        "$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": {
                "bytes": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "caseReference": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "cliVersion": {
                  "type": "string"
                },
                "computer": {
                  "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})$",
                          "description": "The unique identifier for a computer",
                          "example": "00000000-0000-0000-0000-000000000000"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fileName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "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
                },
                "sha256": {
                  "type": "string",
                  "pattern": "^[0-9a-f]{64}$"
                },
                "status": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "pending"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "uploaded"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "reason": {
                          "type": "string",
                          "maxLength": 256
                        },
                        "type": {
                          "type": "string",
                          "const": "rejected"
                        }
                      },
                      "required": [
                        "reason",
                        "type"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "uploaded": {
                  "$ref": "#/components/schemas/ChangeAudit"
                }
              },
              "required": [
                "bytes",
                "id",
                "organization",
                "sha256",
                "status"
              ],
              "additionalProperties": false,
              "description": "A support bundle uploaded from one of the organization's computers."
            }
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "OrganizationDevice": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "battery": {
            "type": "object",
            "properties": {
              "capacity": {
                "type": "object",
                "properties": {
                  "current": {
                    "description": "The current capacity of the battery",
                    "type": "number"
                  },
                  "original": {
                    "description": "The original capacity of the battery",
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "error": {
                "description": "The last error message",
                "type": "string"
              },
              "health": {
                "description": "The current battery health percentage",
                "type": "number"
              },
              "level": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "The current battery level"
              },
              "status": {
                "type": "string",
                "enum": [
                  "charging",
                  "charged",
                  "discharging",
                  "not-charging",
                  "full"
                ],
                "description": "The current charging status of the device"
              }
            },
            "required": [
              "level",
              "status"
            ],
            "additionalProperties": false,
            "description": "The details of the battery of a device"
          },
          "connection": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              },
              "speed": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The current speed of the connection"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "supported": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the supported speed. This is the highest speed that the connection can support."
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The value of the supported speed. E.g '10Gbps'"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "current"
                ],
                "additionalProperties": false,
                "description": "The speed of the connection"
              },
              "type": {
                "type": "string",
                "enum": [
                  "usb",
                  "ethernet",
                  "bluetooth",
                  "wifi",
                  "thunderbolt",
                  "other"
                ],
                "description": "The type of connection"
              },
              "version": {
                "type": "string",
                "description": "The version of the connection"
              }
            },
            "required": [
              "status",
              "updated",
              "speed",
              "type",
              "version"
            ],
            "additionalProperties": false,
            "description": "The connection information for the device"
          },
          "error": {
            "description": "Any error relating to the device",
            "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})$"
          },
          "identifiers": {
            "type": "object",
            "properties": {
              "commonId": {
                "description": "A Cambrionix defined identifier that is used to uniquely identify the device across states",
                "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})$"
              },
              "ecid": {
                "description": "The ECID number provided by the OS",
                "type": "string"
              },
              "imei": {
                "description": "The IMEI number provided by the OS",
                "type": "string"
              },
              "serialNumber": {
                "description": "The serial number provided by the OS",
                "type": "string",
                "minLength": 1
              },
              "udid": {
                "description": "The UDID of the device",
                "type": "string"
              },
              "usbSerialNumber": {
                "description": "The USB serial number of the device",
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The unique identifiers for this device"
          },
          "location": {
            "description": "The location of the device including the computer, hub and port it is connected to",
            "type": "object",
            "properties": {
              "computerId": {
                "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"
              },
              "hub": {
                "type": "object",
                "properties": {
                  "additionalHardware": {
                    "description": "The additional hardware associated with the hub",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "bootloader": {
                          "type": "object",
                          "properties": {
                            "version": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "version"
                          ],
                          "additionalProperties": false
                        },
                        "description": {
                          "type": "string"
                        },
                        "firmware": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string"
                            },
                            "version": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "version"
                          ],
                          "additionalProperties": false
                        },
                        "group": {
                          "type": "string"
                        },
                        "manufacturer": {
                          "type": "string"
                        },
                        "serialNumber": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "description",
                        "manufacturer",
                        "serialNumber"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "bootloader": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "string",
                        "description": "The bootloader version"
                      }
                    },
                    "required": [
                      "version"
                    ],
                    "additionalProperties": false,
                    "description": "The bootloader information for the hub"
                  },
                  "firmware": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The firmware type",
                        "type": "string",
                        "enum": [
                          "un",
                          "ps",
                          "00-ps",
                          "01-ps",
                          "pd",
                          "st",
                          "mc",
                          "db",
                          "150001-st",
                          "150144-st"
                        ]
                      },
                      "version": {
                        "description": "The firmware version",
                        "type": "string"
                      }
                    },
                    "additionalProperties": false,
                    "description": "The firmware information for the hub"
                  },
                  "host": {
                    "description": "The host information for the hub",
                    "type": "object",
                    "properties": {
                      "connection": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "enum": [
                              "connected",
                              "disconnected"
                            ]
                          },
                          "updated": {
                            "type": "number",
                            "minimum": 0
                          },
                          "speed": {
                            "type": "object",
                            "properties": {
                              "current": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "enum": [
                                      "Low",
                                      "Full",
                                      "High",
                                      "SuperSpeed USB 5Gbps",
                                      "SuperSpeed USB 10Gbps",
                                      "SuperSpeed USB 20Gbps",
                                      "SuperSpeed USB 40Gbps",
                                      "SuperSpeed USB 80Gbps",
                                      "USB4 20Gbps",
                                      "USB4® 20Gbps",
                                      "USB4 40Gbps",
                                      "USB4® 40Gbps",
                                      "Thunderbolt 2",
                                      "Thunderbolt 3",
                                      "Thunderbolt 4",
                                      "Thunderbolt 5"
                                    ],
                                    "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                                  },
                                  "value": {
                                    "type": "string",
                                    "enum": [
                                      "1.5Mbps",
                                      "12Mbps",
                                      "480Mbps",
                                      "5Gbps",
                                      "10Gbps",
                                      "20Gbps",
                                      "40Gbps",
                                      "80Gbps"
                                    ],
                                    "description": "The current speed of the connection"
                                  }
                                },
                                "required": [
                                  "description",
                                  "value"
                                ],
                                "additionalProperties": false
                              },
                              "supported": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "enum": [
                                      "Low",
                                      "Full",
                                      "High",
                                      "SuperSpeed USB 5Gbps",
                                      "SuperSpeed USB 10Gbps",
                                      "SuperSpeed USB 20Gbps",
                                      "SuperSpeed USB 40Gbps",
                                      "SuperSpeed USB 80Gbps",
                                      "USB4 20Gbps",
                                      "USB4® 20Gbps",
                                      "USB4 40Gbps",
                                      "USB4® 40Gbps",
                                      "Thunderbolt 2",
                                      "Thunderbolt 3",
                                      "Thunderbolt 4",
                                      "Thunderbolt 5"
                                    ],
                                    "description": "The description of the supported speed. This is the highest speed that the connection can support."
                                  },
                                  "value": {
                                    "type": "string",
                                    "enum": [
                                      "1.5Mbps",
                                      "12Mbps",
                                      "480Mbps",
                                      "5Gbps",
                                      "10Gbps",
                                      "20Gbps",
                                      "40Gbps",
                                      "80Gbps"
                                    ],
                                    "description": "The value of the supported speed. E.g '10Gbps'"
                                  }
                                },
                                "required": [
                                  "description",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "current"
                            ],
                            "additionalProperties": false,
                            "description": "The speed of the connection"
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "usb",
                              "ethernet",
                              "bluetooth",
                              "wifi",
                              "thunderbolt",
                              "other"
                            ],
                            "description": "The type of connection"
                          },
                          "version": {
                            "type": "string",
                            "description": "The version of the connection"
                          },
                          "error": {
                            "description": "The host connection error",
                            "type": "object",
                            "properties": {
                              "code": {
                                "description": "The portable error code",
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "serial_in_use",
                                      "permission_denied",
                                      "connection_failure",
                                      "unknown"
                                    ]
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "errorId": {
                                "description": "Error key reported by the hub. Any string is accepted.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "code"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "status",
                          "updated",
                          "speed",
                          "type",
                          "version"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the hub"
                  },
                  "note": {
                    "description": "The notes about the hub",
                    "type": "object",
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "updated": {
                        "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."
                      }
                    },
                    "required": [
                      "content"
                    ],
                    "additionalProperties": false
                  },
                  "parentHub": {
                    "description": "The parent hub of this hub.",
                    "type": "string",
                    "minLength": 1
                  },
                  "product": {
                    "description": "The product associated with this hub",
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "description": "The description of the product"
                      },
                      "family": {
                        "type": "string",
                        "enum": [
                          "PowerPad",
                          "U8",
                          "ThunderSync",
                          "SuperSync",
                          "U16",
                          "PD",
                          "Series8"
                        ],
                        "description": "The family of the product"
                      },
                      "features": {
                        "default": [],
                        "description": "The Cambrionix Connect hub license features that are supported by the product",
                        "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
                        }
                      },
                      "firmware": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "additionalProperties": false,
                        "description": "The firmware of the product"
                      },
                      "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 ID of the product"
                      },
                      "identifiers": {
                        "default": [],
                        "description": "The identifiers of the product",
                        "type": "array",
                        "items": {
                          "type": "string",
                          "x-extensible-enum": [
                            "PP15S",
                            "PDSync-4",
                            "PDSync-C4",
                            "SuperSync15",
                            "SuperSync15B",
                            "SuperSync15-B",
                            "SS15",
                            "SS15-B",
                            "SS15B",
                            "TS3-16",
                            "TS3-C10",
                            "TS4-C16",
                            "ThunderSync4-C16",
                            "ThunderSync5-C16",
                            "ThunderSync5-C16-PD",
                            "ThunderSync5-C16 PD",
                            "TS4-C16-PD",
                            "TS5-C16-PD",
                            "TS5-C16-PD-FL",
                            "TS5-C16",
                            "TS2-16",
                            "ThunderSync2-16",
                            "PP15C",
                            "ThunderSync3-16",
                            "ThunderSync3-C10",
                            "PowerPad15C",
                            "PowerPad15S",
                            "PowerPad8S",
                            "PP8S",
                            "U8S-EXT",
                            "U8S",
                            "U16S",
                            "U16-Thunderbolt",
                            "U16S-RM",
                            "Series8 Charger",
                            "Series8Charger"
                          ]
                        }
                      },
                      "manufacturer": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "releaseDate": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "releaseDate"
                        ],
                        "additionalProperties": false,
                        "description": "The manufacturer of the product"
                      },
                      "name": {
                        "type": "string",
                        "description": "The name of the product"
                      },
                      "ports": {
                        "type": "number",
                        "description": "The number of ports the product has"
                      },
                      "skus": {
                        "description": "The SKUs of the product",
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "x-extensible-enum": [
                            "ThunderSync5-C16-PD",
                            "ThunderSync5-C16-PD-4YR - US/B",
                            "ThunderSync5-C16-PD - AU/I",
                            "ThunderSync5-C16-PD - EU/F",
                            "ThunderSync5-C16-PD - IN/D",
                            "ThunderSync5-C16-PD - JP/B",
                            "ThunderSync5-C16-PD - UK/G",
                            "ThunderSync5-C16-PD - US/B",
                            "ThunderSync5-C16-PD-RTL - AU/I",
                            "ThunderSync5-C16-PD-RTL - EU/F",
                            "ThunderSync5-C16-PD-RTL - IN/D",
                            "ThunderSync5-C16-PD-RTL - JP/B",
                            "ThunderSync5-C16-PD-RTL - UK/G",
                            "ThunderSync5-C16-PD-RTL - US/B",
                            "TS3-C10-4YR - US/B",
                            "TS3-C10 - US/B",
                            "TS3-C10 - UK/G",
                            "TS3-C10 - JP/B",
                            "TS3-C10 - IN/D",
                            "TS3-C10 - EU/F",
                            "TS3-C10 - C13/14",
                            "TS3-C10 - AU/I",
                            "PDSync-C4 - AU/I",
                            "PDSync-C4 - EU/F",
                            "PDSync-C4 - UK/G",
                            "PDSync-C4 - US/B",
                            "SuperSync15 (AU/I)",
                            "SuperSync15 (C13-C14)",
                            "SuperSync15 (CH/J)",
                            "SuperSync15 (EU/F)",
                            "SuperSync15 (IN/D)",
                            "SuperSync15 (JP/B)",
                            "SuperSync15 (UK/G)",
                            "SuperSync15 (US/B)",
                            "ThunderSync3-16 - AU/I",
                            "ThunderSync3-16 - EU/F",
                            "ThunderSync3-16 - IN/D",
                            "ThunderSync3-16 - JP/B",
                            "ThunderSync3-16 - UK/G",
                            "ThunderSync3-16 - US/B"
                          ]
                        }
                      }
                    },
                    "required": [
                      "description",
                      "family",
                      "features",
                      "firmware",
                      "id",
                      "identifiers",
                      "manufacturer",
                      "name",
                      "ports",
                      "skus"
                    ],
                    "additionalProperties": false
                  },
                  "serialNumber": {
                    "type": "string",
                    "minLength": 1
                  },
                  "serialPort": {
                    "description": "The serial port information for the hub",
                    "type": "object",
                    "properties": {
                      "connection": {
                        "type": "string"
                      },
                      "error": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "description": "The portable error code",
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "serial_in_use",
                                  "permission_denied",
                                  "connection_failure",
                                  "unknown"
                                ]
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "errorId": {
                            "description": "Error key reported by the hub. Any string is accepted.",
                            "type": "string"
                          },
                          "message": {
                            "description": "Legacy error message, only sent by hosts that predate portable error codes",
                            "type": "string"
                          }
                        },
                        "required": [
                          "code"
                        ],
                        "additionalProperties": false
                      },
                      "location": {
                        "type": "object",
                        "properties": {
                          "computerId": {
                            "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"
                          },
                          "locationId": {
                            "type": "number",
                            "deprecated": false,
                            "description": "An identifier for a USB location, which is unique on each computer.",
                            "title": "USB Location ID"
                          }
                        },
                        "additionalProperties": false
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "connected",
                          "unresponsive",
                          "disconnected",
                          "idle",
                          "active"
                        ]
                      }
                    },
                    "required": [
                      "status"
                    ],
                    "additionalProperties": false
                  },
                  "service": {
                    "description": "The Hub API Service associated with the hub",
                    "type": "object",
                    "properties": {
                      "address": {
                        "type": "object",
                        "properties": {
                          "hostName": {
                            "type": "string"
                          },
                          "port": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "hostName",
                          "port"
                        ],
                        "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
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "computer",
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "settings": {
                    "description": "The settings for the hub",
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "bootloader",
                  "firmware",
                  "name",
                  "serialNumber"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "number",
                "deprecated": false,
                "description": "An identifier for a USB location, which is unique on each computer.",
                "title": "USB Location ID"
              },
              "port": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false
          },
          "model": {
            "type": "object",
            "properties": {
              "code": {
                "description": "The code of the device model E.g 'iPad4,4'",
                "type": "string"
              },
              "description": {
                "description": "The description of the device model E.g 'iPad mini 2 (WiFi)'",
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "name": {
            "description": "The name of the device",
            "type": "string"
          },
          "network": {
            "description": "The network details of the device",
            "type": "object",
            "properties": {
              "ip": {
                "type": "string"
              },
              "mac": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "note": {
            "description": "Any notes about the device",
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "updated": {
                "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."
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false
          },
          "os": {
            "description": "The operating system details of the device",
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "Android",
                  "iOS",
                  "Other"
                ],
                "description": "The operating system of the device. E.g 'Android' or 'iOS'"
              },
              "version": {
                "description": "The version of the operating system",
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "product": {
            "description": "The product details of the device",
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "The PID of the product"
              },
              "name": {
                "type": "string",
                "description": "The name of the product"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "service": {
            "description": "The Hub API Service associated with the device",
            "type": "object",
            "properties": {
              "address": {
                "type": "object",
                "properties": {
                  "hostName": {
                    "type": "string"
                  },
                  "port": {
                    "type": "number"
                  }
                },
                "required": [
                  "hostName",
                  "port"
                ],
                "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
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "computer",
              "id"
            ],
            "additionalProperties": false
          },
          "storage": {
            "description": "The storage details of the device",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "format": {
                  "type": "string",
                  "description": "The format of the storage"
                },
                "free": {
                  "type": "number",
                  "description": "The current storage level of the storage unit"
                },
                "max": {
                  "type": "number",
                  "description": "The maximum storage capacity of the storage unit"
                },
                "name": {
                  "type": "string",
                  "description": "The volume name of the partition"
                },
                "path": {
                  "type": "string",
                  "description": "The partition mount point"
                }
              },
              "required": [
                "format",
                "free",
                "max",
                "name",
                "path"
              ],
              "additionalProperties": false
            }
          },
          "trust": {
            "description": "The trust status of the device",
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "not-paired",
                  "paired",
                  "pending",
                  "failed",
                  "prohibited",
                  "denied",
                  "error"
                ],
                "description": "The trust level of the device. E.g 'not-paired', 'paired'"
              },
              "supported": {
                "type": "boolean"
              }
            },
            "required": [
              "status",
              "supported"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          },
          "vendor": {
            "description": "The manufacturer of the device e.g Apple or Samsung",
            "type": "object",
            "properties": {
              "id": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "hardware": {
            "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
            }
          },
          "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"
              },
              "owner": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "type",
          "organization"
        ],
        "additionalProperties": false
      },
      "OrganizationDevicePostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "battery": {
            "type": "object",
            "properties": {
              "capacity": {
                "type": "object",
                "properties": {
                  "current": {
                    "description": "The current capacity of the battery",
                    "type": "number"
                  },
                  "original": {
                    "description": "The original capacity of the battery",
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "error": {
                "description": "The last error message",
                "type": "string"
              },
              "health": {
                "description": "The current battery health percentage",
                "type": "number"
              },
              "level": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "The current battery level"
              },
              "status": {
                "type": "string",
                "enum": [
                  "charging",
                  "charged",
                  "discharging",
                  "not-charging",
                  "full"
                ],
                "description": "The current charging status of the device"
              }
            },
            "required": [
              "level",
              "status"
            ],
            "additionalProperties": false,
            "description": "The details of the battery of a device"
          },
          "connection": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              },
              "speed": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The current speed of the connection"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "supported": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the supported speed. This is the highest speed that the connection can support."
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The value of the supported speed. E.g '10Gbps'"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "current"
                ],
                "additionalProperties": false,
                "description": "The speed of the connection"
              },
              "type": {
                "type": "string",
                "enum": [
                  "usb",
                  "ethernet",
                  "bluetooth",
                  "wifi",
                  "thunderbolt",
                  "other"
                ],
                "description": "The type of connection"
              },
              "version": {
                "type": "string",
                "description": "The version of the connection"
              }
            },
            "required": [
              "status",
              "updated",
              "speed",
              "type",
              "version"
            ],
            "additionalProperties": false,
            "description": "The connection information for the device"
          },
          "error": {
            "description": "Any error relating to the device",
            "type": "string"
          },
          "identifiers": {
            "type": "object",
            "properties": {
              "commonId": {
                "description": "A Cambrionix defined identifier that is used to uniquely identify the device across states",
                "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})$"
              },
              "ecid": {
                "description": "The ECID number provided by the OS",
                "type": "string"
              },
              "imei": {
                "description": "The IMEI number provided by the OS",
                "type": "string"
              },
              "serialNumber": {
                "description": "The serial number provided by the OS",
                "type": "string",
                "minLength": 1
              },
              "udid": {
                "description": "The UDID of the device",
                "type": "string"
              },
              "usbSerialNumber": {
                "description": "The USB serial number of the device",
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The unique identifiers for this device"
          },
          "location": {
            "type": "object",
            "properties": {
              "computerId": {
                "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"
              },
              "hub": {
                "type": "object",
                "properties": {
                  "serialNumber": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "serialNumber"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "number",
                "deprecated": false,
                "description": "An identifier for a USB location, which is unique on each computer.",
                "title": "USB Location ID"
              },
              "port": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false
          },
          "model": {
            "type": "object",
            "properties": {
              "code": {
                "description": "The code of the device model E.g 'iPad4,4'",
                "type": "string"
              },
              "description": {
                "description": "The description of the device model E.g 'iPad mini 2 (WiFi)'",
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "name": {
            "description": "The name of the device",
            "type": "string"
          },
          "network": {
            "description": "The network details of the device",
            "type": "object",
            "properties": {
              "ip": {
                "type": "string"
              },
              "mac": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "note": {
            "description": "Any notes about the device",
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "updated": {
                "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."
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false
          },
          "os": {
            "description": "The operating system details of the device",
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "Android",
                  "iOS",
                  "Other"
                ],
                "description": "The operating system of the device. E.g 'Android' or 'iOS'"
              },
              "version": {
                "description": "The version of the operating system",
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "product": {
            "description": "The product details of the device",
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "The PID of the product"
              },
              "name": {
                "type": "string",
                "description": "The name of the product"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "storage": {
            "description": "The storage details of the device",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "format": {
                  "type": "string",
                  "description": "The format of the storage"
                },
                "free": {
                  "type": "number",
                  "description": "The current storage level of the storage unit"
                },
                "max": {
                  "type": "number",
                  "description": "The maximum storage capacity of the storage unit"
                },
                "name": {
                  "type": "string",
                  "description": "The volume name of the partition"
                },
                "path": {
                  "type": "string",
                  "description": "The partition mount point"
                }
              },
              "required": [
                "format",
                "free",
                "max",
                "name",
                "path"
              ],
              "additionalProperties": false
            }
          },
          "trust": {
            "description": "The trust status of the device",
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "not-paired",
                  "paired",
                  "pending",
                  "failed",
                  "prohibited",
                  "denied",
                  "error"
                ],
                "description": "The trust level of the device. E.g 'not-paired', 'paired'"
              },
              "supported": {
                "type": "boolean"
              }
            },
            "required": [
              "status",
              "supported"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          },
          "vendor": {
            "description": "The manufacturer of the device e.g Apple or Samsung",
            "type": "object",
            "properties": {
              "id": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "hardware": {
            "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
            }
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "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": [
          "type"
        ],
        "additionalProperties": false
      },
      "OrganizationDeviceUserSchema": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "device": {
            "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
          },
          "expiry": {
            "type": "object",
            "properties": {
              "date": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "date"
            ],
            "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})$"
          },
          "notes": {
            "type": "string",
            "maxLength": 1000
          },
          "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
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "device",
          "id",
          "organization",
          "user"
        ],
        "additionalProperties": false
      },
      "OrganizationDeviceWithLatestFirmware": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "battery": {
            "type": "object",
            "properties": {
              "capacity": {
                "type": "object",
                "properties": {
                  "current": {
                    "description": "The current capacity of the battery",
                    "type": "number"
                  },
                  "original": {
                    "description": "The original capacity of the battery",
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "error": {
                "description": "The last error message",
                "type": "string"
              },
              "health": {
                "description": "The current battery health percentage",
                "type": "number"
              },
              "level": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "The current battery level"
              },
              "status": {
                "type": "string",
                "enum": [
                  "charging",
                  "charged",
                  "discharging",
                  "not-charging",
                  "full"
                ],
                "description": "The current charging status of the device"
              }
            },
            "required": [
              "level",
              "status"
            ],
            "additionalProperties": false,
            "description": "The details of the battery of a device"
          },
          "connection": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              },
              "speed": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The current speed of the connection"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "supported": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the supported speed. This is the highest speed that the connection can support."
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The value of the supported speed. E.g '10Gbps'"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "current"
                ],
                "additionalProperties": false,
                "description": "The speed of the connection"
              },
              "type": {
                "type": "string",
                "enum": [
                  "usb",
                  "ethernet",
                  "bluetooth",
                  "wifi",
                  "thunderbolt",
                  "other"
                ],
                "description": "The type of connection"
              },
              "version": {
                "type": "string",
                "description": "The version of the connection"
              }
            },
            "required": [
              "status",
              "updated",
              "speed",
              "type",
              "version"
            ],
            "additionalProperties": false,
            "description": "The connection information for the device"
          },
          "error": {
            "description": "Any error relating to the device",
            "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})$"
          },
          "identifiers": {
            "type": "object",
            "properties": {
              "commonId": {
                "description": "A Cambrionix defined identifier that is used to uniquely identify the device across states",
                "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})$"
              },
              "ecid": {
                "description": "The ECID number provided by the OS",
                "type": "string"
              },
              "imei": {
                "description": "The IMEI number provided by the OS",
                "type": "string"
              },
              "serialNumber": {
                "description": "The serial number provided by the OS",
                "type": "string",
                "minLength": 1
              },
              "udid": {
                "description": "The UDID of the device",
                "type": "string"
              },
              "usbSerialNumber": {
                "description": "The USB serial number of the device",
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The unique identifiers for this device"
          },
          "location": {
            "description": "The location of the device including the computer, hub and port it is connected to",
            "type": "object",
            "properties": {
              "computerId": {
                "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"
              },
              "hub": {
                "type": "object",
                "properties": {
                  "additionalHardware": {
                    "description": "The additional hardware associated with the hub",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "bootloader": {
                          "type": "object",
                          "properties": {
                            "version": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "version"
                          ],
                          "additionalProperties": false
                        },
                        "description": {
                          "type": "string"
                        },
                        "firmware": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string"
                            },
                            "version": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "version"
                          ],
                          "additionalProperties": false
                        },
                        "group": {
                          "type": "string"
                        },
                        "manufacturer": {
                          "type": "string"
                        },
                        "serialNumber": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "description",
                        "manufacturer",
                        "serialNumber"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "bootloader": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "string",
                        "description": "The bootloader version"
                      }
                    },
                    "required": [
                      "version"
                    ],
                    "additionalProperties": false,
                    "description": "The bootloader information for the hub"
                  },
                  "firmware": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The firmware type",
                        "type": "string",
                        "enum": [
                          "un",
                          "ps",
                          "00-ps",
                          "01-ps",
                          "pd",
                          "st",
                          "mc",
                          "db",
                          "150001-st",
                          "150144-st"
                        ]
                      },
                      "version": {
                        "description": "The firmware version",
                        "type": "string"
                      }
                    },
                    "additionalProperties": false,
                    "description": "The firmware information for the hub"
                  },
                  "host": {
                    "description": "The host information for the hub",
                    "type": "object",
                    "properties": {
                      "connection": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "enum": [
                              "connected",
                              "disconnected"
                            ]
                          },
                          "updated": {
                            "type": "number",
                            "minimum": 0
                          },
                          "speed": {
                            "type": "object",
                            "properties": {
                              "current": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "enum": [
                                      "Low",
                                      "Full",
                                      "High",
                                      "SuperSpeed USB 5Gbps",
                                      "SuperSpeed USB 10Gbps",
                                      "SuperSpeed USB 20Gbps",
                                      "SuperSpeed USB 40Gbps",
                                      "SuperSpeed USB 80Gbps",
                                      "USB4 20Gbps",
                                      "USB4® 20Gbps",
                                      "USB4 40Gbps",
                                      "USB4® 40Gbps",
                                      "Thunderbolt 2",
                                      "Thunderbolt 3",
                                      "Thunderbolt 4",
                                      "Thunderbolt 5"
                                    ],
                                    "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                                  },
                                  "value": {
                                    "type": "string",
                                    "enum": [
                                      "1.5Mbps",
                                      "12Mbps",
                                      "480Mbps",
                                      "5Gbps",
                                      "10Gbps",
                                      "20Gbps",
                                      "40Gbps",
                                      "80Gbps"
                                    ],
                                    "description": "The current speed of the connection"
                                  }
                                },
                                "required": [
                                  "description",
                                  "value"
                                ],
                                "additionalProperties": false
                              },
                              "supported": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "enum": [
                                      "Low",
                                      "Full",
                                      "High",
                                      "SuperSpeed USB 5Gbps",
                                      "SuperSpeed USB 10Gbps",
                                      "SuperSpeed USB 20Gbps",
                                      "SuperSpeed USB 40Gbps",
                                      "SuperSpeed USB 80Gbps",
                                      "USB4 20Gbps",
                                      "USB4® 20Gbps",
                                      "USB4 40Gbps",
                                      "USB4® 40Gbps",
                                      "Thunderbolt 2",
                                      "Thunderbolt 3",
                                      "Thunderbolt 4",
                                      "Thunderbolt 5"
                                    ],
                                    "description": "The description of the supported speed. This is the highest speed that the connection can support."
                                  },
                                  "value": {
                                    "type": "string",
                                    "enum": [
                                      "1.5Mbps",
                                      "12Mbps",
                                      "480Mbps",
                                      "5Gbps",
                                      "10Gbps",
                                      "20Gbps",
                                      "40Gbps",
                                      "80Gbps"
                                    ],
                                    "description": "The value of the supported speed. E.g '10Gbps'"
                                  }
                                },
                                "required": [
                                  "description",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "current"
                            ],
                            "additionalProperties": false,
                            "description": "The speed of the connection"
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "usb",
                              "ethernet",
                              "bluetooth",
                              "wifi",
                              "thunderbolt",
                              "other"
                            ],
                            "description": "The type of connection"
                          },
                          "version": {
                            "type": "string",
                            "description": "The version of the connection"
                          },
                          "error": {
                            "description": "The host connection error",
                            "type": "object",
                            "properties": {
                              "code": {
                                "description": "The portable error code",
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "serial_in_use",
                                      "permission_denied",
                                      "connection_failure",
                                      "unknown"
                                    ]
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "errorId": {
                                "description": "Error key reported by the hub. Any string is accepted.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "code"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "status",
                          "updated",
                          "speed",
                          "type",
                          "version"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the hub"
                  },
                  "note": {
                    "description": "The notes about the hub",
                    "type": "object",
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "updated": {
                        "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."
                      }
                    },
                    "required": [
                      "content"
                    ],
                    "additionalProperties": false
                  },
                  "parentHub": {
                    "description": "The parent hub of this hub.",
                    "type": "string",
                    "minLength": 1
                  },
                  "product": {
                    "description": "The product associated with this hub",
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "description": "The description of the product"
                      },
                      "family": {
                        "type": "string",
                        "enum": [
                          "PowerPad",
                          "U8",
                          "ThunderSync",
                          "SuperSync",
                          "U16",
                          "PD",
                          "Series8"
                        ],
                        "description": "The family of the product"
                      },
                      "features": {
                        "default": [],
                        "description": "The Cambrionix Connect hub license features that are supported by the product",
                        "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
                        }
                      },
                      "firmware": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "additionalProperties": false,
                        "description": "The firmware of the product"
                      },
                      "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 ID of the product"
                      },
                      "identifiers": {
                        "default": [],
                        "description": "The identifiers of the product",
                        "type": "array",
                        "items": {
                          "type": "string",
                          "x-extensible-enum": [
                            "PP15S",
                            "PDSync-4",
                            "PDSync-C4",
                            "SuperSync15",
                            "SuperSync15B",
                            "SuperSync15-B",
                            "SS15",
                            "SS15-B",
                            "SS15B",
                            "TS3-16",
                            "TS3-C10",
                            "TS4-C16",
                            "ThunderSync4-C16",
                            "ThunderSync5-C16",
                            "ThunderSync5-C16-PD",
                            "ThunderSync5-C16 PD",
                            "TS4-C16-PD",
                            "TS5-C16-PD",
                            "TS5-C16-PD-FL",
                            "TS5-C16",
                            "TS2-16",
                            "ThunderSync2-16",
                            "PP15C",
                            "ThunderSync3-16",
                            "ThunderSync3-C10",
                            "PowerPad15C",
                            "PowerPad15S",
                            "PowerPad8S",
                            "PP8S",
                            "U8S-EXT",
                            "U8S",
                            "U16S",
                            "U16-Thunderbolt",
                            "U16S-RM",
                            "Series8 Charger",
                            "Series8Charger"
                          ]
                        }
                      },
                      "manufacturer": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "releaseDate": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "releaseDate"
                        ],
                        "additionalProperties": false,
                        "description": "The manufacturer of the product"
                      },
                      "name": {
                        "type": "string",
                        "description": "The name of the product"
                      },
                      "ports": {
                        "type": "number",
                        "description": "The number of ports the product has"
                      },
                      "skus": {
                        "description": "The SKUs of the product",
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "x-extensible-enum": [
                            "ThunderSync5-C16-PD",
                            "ThunderSync5-C16-PD-4YR - US/B",
                            "ThunderSync5-C16-PD - AU/I",
                            "ThunderSync5-C16-PD - EU/F",
                            "ThunderSync5-C16-PD - IN/D",
                            "ThunderSync5-C16-PD - JP/B",
                            "ThunderSync5-C16-PD - UK/G",
                            "ThunderSync5-C16-PD - US/B",
                            "ThunderSync5-C16-PD-RTL - AU/I",
                            "ThunderSync5-C16-PD-RTL - EU/F",
                            "ThunderSync5-C16-PD-RTL - IN/D",
                            "ThunderSync5-C16-PD-RTL - JP/B",
                            "ThunderSync5-C16-PD-RTL - UK/G",
                            "ThunderSync5-C16-PD-RTL - US/B",
                            "TS3-C10-4YR - US/B",
                            "TS3-C10 - US/B",
                            "TS3-C10 - UK/G",
                            "TS3-C10 - JP/B",
                            "TS3-C10 - IN/D",
                            "TS3-C10 - EU/F",
                            "TS3-C10 - C13/14",
                            "TS3-C10 - AU/I",
                            "PDSync-C4 - AU/I",
                            "PDSync-C4 - EU/F",
                            "PDSync-C4 - UK/G",
                            "PDSync-C4 - US/B",
                            "SuperSync15 (AU/I)",
                            "SuperSync15 (C13-C14)",
                            "SuperSync15 (CH/J)",
                            "SuperSync15 (EU/F)",
                            "SuperSync15 (IN/D)",
                            "SuperSync15 (JP/B)",
                            "SuperSync15 (UK/G)",
                            "SuperSync15 (US/B)",
                            "ThunderSync3-16 - AU/I",
                            "ThunderSync3-16 - EU/F",
                            "ThunderSync3-16 - IN/D",
                            "ThunderSync3-16 - JP/B",
                            "ThunderSync3-16 - UK/G",
                            "ThunderSync3-16 - US/B"
                          ]
                        }
                      }
                    },
                    "required": [
                      "description",
                      "family",
                      "features",
                      "firmware",
                      "id",
                      "identifiers",
                      "manufacturer",
                      "name",
                      "ports",
                      "skus"
                    ],
                    "additionalProperties": false
                  },
                  "serialNumber": {
                    "type": "string",
                    "minLength": 1
                  },
                  "serialPort": {
                    "description": "The serial port information for the hub",
                    "type": "object",
                    "properties": {
                      "connection": {
                        "type": "string"
                      },
                      "error": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "description": "The portable error code",
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "serial_in_use",
                                  "permission_denied",
                                  "connection_failure",
                                  "unknown"
                                ]
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "errorId": {
                            "description": "Error key reported by the hub. Any string is accepted.",
                            "type": "string"
                          },
                          "message": {
                            "description": "Legacy error message, only sent by hosts that predate portable error codes",
                            "type": "string"
                          }
                        },
                        "required": [
                          "code"
                        ],
                        "additionalProperties": false
                      },
                      "location": {
                        "type": "object",
                        "properties": {
                          "computerId": {
                            "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"
                          },
                          "locationId": {
                            "type": "number",
                            "deprecated": false,
                            "description": "An identifier for a USB location, which is unique on each computer.",
                            "title": "USB Location ID"
                          }
                        },
                        "additionalProperties": false
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "connected",
                          "unresponsive",
                          "disconnected",
                          "idle",
                          "active"
                        ]
                      }
                    },
                    "required": [
                      "status"
                    ],
                    "additionalProperties": false
                  },
                  "service": {
                    "description": "The Hub API Service associated with the hub",
                    "type": "object",
                    "properties": {
                      "address": {
                        "type": "object",
                        "properties": {
                          "hostName": {
                            "type": "string"
                          },
                          "port": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "hostName",
                          "port"
                        ],
                        "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
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "computer",
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "settings": {
                    "description": "The settings for the hub",
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "bootloader",
                  "firmware",
                  "name",
                  "serialNumber"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "number",
                "deprecated": false,
                "description": "An identifier for a USB location, which is unique on each computer.",
                "title": "USB Location ID"
              },
              "port": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false
          },
          "model": {
            "type": "object",
            "properties": {
              "code": {
                "description": "The code of the device model E.g 'iPad4,4'",
                "type": "string"
              },
              "description": {
                "description": "The description of the device model E.g 'iPad mini 2 (WiFi)'",
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "name": {
            "description": "The name of the device",
            "type": "string"
          },
          "network": {
            "description": "The network details of the device",
            "type": "object",
            "properties": {
              "ip": {
                "type": "string"
              },
              "mac": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "note": {
            "description": "Any notes about the device",
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "updated": {
                "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."
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false
          },
          "os": {
            "description": "The operating system details of the device",
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "Android",
                  "iOS",
                  "Other"
                ],
                "description": "The operating system of the device. E.g 'Android' or 'iOS'"
              },
              "version": {
                "description": "The version of the operating system",
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "product": {
            "description": "The product details of the device",
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "The PID of the product"
              },
              "name": {
                "type": "string",
                "description": "The name of the product"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "service": {
            "description": "The Hub API Service associated with the device",
            "type": "object",
            "properties": {
              "address": {
                "type": "object",
                "properties": {
                  "hostName": {
                    "type": "string"
                  },
                  "port": {
                    "type": "number"
                  }
                },
                "required": [
                  "hostName",
                  "port"
                ],
                "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
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "computer",
              "id"
            ],
            "additionalProperties": false
          },
          "storage": {
            "description": "The storage details of the device",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "format": {
                  "type": "string",
                  "description": "The format of the storage"
                },
                "free": {
                  "type": "number",
                  "description": "The current storage level of the storage unit"
                },
                "max": {
                  "type": "number",
                  "description": "The maximum storage capacity of the storage unit"
                },
                "name": {
                  "type": "string",
                  "description": "The volume name of the partition"
                },
                "path": {
                  "type": "string",
                  "description": "The partition mount point"
                }
              },
              "required": [
                "format",
                "free",
                "max",
                "name",
                "path"
              ],
              "additionalProperties": false
            }
          },
          "trust": {
            "description": "The trust status of the device",
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "not-paired",
                  "paired",
                  "pending",
                  "failed",
                  "prohibited",
                  "denied",
                  "error"
                ],
                "description": "The trust level of the device. E.g 'not-paired', 'paired'"
              },
              "supported": {
                "type": "boolean"
              }
            },
            "required": [
              "status",
              "supported"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          },
          "vendor": {
            "description": "The manufacturer of the device e.g Apple or Samsung",
            "type": "object",
            "properties": {
              "id": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "hardware": {
            "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
            }
          },
          "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"
              },
              "owner": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false
          },
          "firmware": {
            "type": "object",
            "properties": {
              "version": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "string"
                  },
                  "latest": {
                    "type": "string"
                  }
                },
                "required": [
                  "current",
                  "latest"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "version"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "type",
          "organization",
          "firmware"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareFirmware": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "hardware": {
            "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"
          },
          "version": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          },
          "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})$"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "const": "Organization"
          }
        },
        "required": [
          "hardware",
          "id",
          "version",
          "identifier",
          "organization",
          "type"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareFirmwarePatchPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareFirmwarePostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "identifier"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareGroup": {
        "$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
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "organization"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareGroupDevice": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "device": {
            "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
          },
          "hardwareGroup": {
            "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})$"
          }
        },
        "required": [
          "device",
          "hardwareGroup",
          "id"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareGroupHub": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "hardwareGroup": {
            "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
          },
          "hub": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              }
            },
            "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})$"
          }
        },
        "required": [
          "hardwareGroup",
          "hub",
          "id"
        ],
        "additionalProperties": false
      },
      "OrganizationHardwareGroupPostPayload": {
        "$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
      },
      "OrganizationHardwareService": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "id": {
            "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
          },
          "synced": {
            "type": "object",
            "properties": {
              "time": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "time"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "organization"
        ],
        "additionalProperties": false
      },
      "OrganizationHub": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "additionalHardware": {
            "description": "The additional hardware associated with the hub",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "bootloader": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "version"
                  ],
                  "additionalProperties": false
                },
                "description": {
                  "type": "string"
                },
                "firmware": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "version"
                  ],
                  "additionalProperties": false
                },
                "group": {
                  "type": "string"
                },
                "manufacturer": {
                  "type": "string"
                },
                "serialNumber": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "description",
                "manufacturer",
                "serialNumber"
              ],
              "additionalProperties": false
            }
          },
          "bootloader": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "description": "The bootloader version"
              }
            },
            "required": [
              "version"
            ],
            "additionalProperties": false,
            "description": "The bootloader information for the hub"
          },
          "firmware": {
            "type": "object",
            "properties": {
              "type": {
                "description": "The firmware type",
                "type": "string",
                "enum": [
                  "un",
                  "ps",
                  "00-ps",
                  "01-ps",
                  "pd",
                  "st",
                  "mc",
                  "db",
                  "150001-st",
                  "150144-st"
                ]
              },
              "version": {
                "description": "The firmware version",
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The firmware information for the hub"
          },
          "host": {
            "description": "The host information for the hub",
            "type": "object",
            "properties": {
              "connection": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "connected",
                      "disconnected"
                    ]
                  },
                  "updated": {
                    "type": "number",
                    "minimum": 0
                  },
                  "speed": {
                    "type": "object",
                    "properties": {
                      "current": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string",
                            "enum": [
                              "Low",
                              "Full",
                              "High",
                              "SuperSpeed USB 5Gbps",
                              "SuperSpeed USB 10Gbps",
                              "SuperSpeed USB 20Gbps",
                              "SuperSpeed USB 40Gbps",
                              "SuperSpeed USB 80Gbps",
                              "USB4 20Gbps",
                              "USB4® 20Gbps",
                              "USB4 40Gbps",
                              "USB4® 40Gbps",
                              "Thunderbolt 2",
                              "Thunderbolt 3",
                              "Thunderbolt 4",
                              "Thunderbolt 5"
                            ],
                            "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                          },
                          "value": {
                            "type": "string",
                            "enum": [
                              "1.5Mbps",
                              "12Mbps",
                              "480Mbps",
                              "5Gbps",
                              "10Gbps",
                              "20Gbps",
                              "40Gbps",
                              "80Gbps"
                            ],
                            "description": "The current speed of the connection"
                          }
                        },
                        "required": [
                          "description",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "supported": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string",
                            "enum": [
                              "Low",
                              "Full",
                              "High",
                              "SuperSpeed USB 5Gbps",
                              "SuperSpeed USB 10Gbps",
                              "SuperSpeed USB 20Gbps",
                              "SuperSpeed USB 40Gbps",
                              "SuperSpeed USB 80Gbps",
                              "USB4 20Gbps",
                              "USB4® 20Gbps",
                              "USB4 40Gbps",
                              "USB4® 40Gbps",
                              "Thunderbolt 2",
                              "Thunderbolt 3",
                              "Thunderbolt 4",
                              "Thunderbolt 5"
                            ],
                            "description": "The description of the supported speed. This is the highest speed that the connection can support."
                          },
                          "value": {
                            "type": "string",
                            "enum": [
                              "1.5Mbps",
                              "12Mbps",
                              "480Mbps",
                              "5Gbps",
                              "10Gbps",
                              "20Gbps",
                              "40Gbps",
                              "80Gbps"
                            ],
                            "description": "The value of the supported speed. E.g '10Gbps'"
                          }
                        },
                        "required": [
                          "description",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "current"
                    ],
                    "additionalProperties": false,
                    "description": "The speed of the connection"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "usb",
                      "ethernet",
                      "bluetooth",
                      "wifi",
                      "thunderbolt",
                      "other"
                    ],
                    "description": "The type of connection"
                  },
                  "version": {
                    "type": "string",
                    "description": "The version of the connection"
                  },
                  "error": {
                    "description": "The host connection error",
                    "type": "object",
                    "properties": {
                      "code": {
                        "description": "The portable error code",
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "serial_in_use",
                              "permission_denied",
                              "connection_failure",
                              "unknown"
                            ]
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "errorId": {
                        "description": "Error key reported by the hub. Any string is accepted.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "code"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "status",
                  "updated",
                  "speed",
                  "type",
                  "version"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "name": {
            "type": "string",
            "description": "The name of the hub"
          },
          "note": {
            "description": "The notes about the hub",
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "updated": {
                "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."
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false
          },
          "parentHub": {
            "description": "The parent hub of this hub.",
            "type": "string",
            "minLength": 1
          },
          "product": {
            "description": "The product associated with this hub",
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "The description of the product"
              },
              "family": {
                "type": "string",
                "enum": [
                  "PowerPad",
                  "U8",
                  "ThunderSync",
                  "SuperSync",
                  "U16",
                  "PD",
                  "Series8"
                ],
                "description": "The family of the product"
              },
              "features": {
                "default": [],
                "description": "The Cambrionix Connect hub license features that are supported by the product",
                "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
                }
              },
              "firmware": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false,
                "description": "The firmware of the product"
              },
              "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 ID of the product"
              },
              "identifiers": {
                "default": [],
                "description": "The identifiers of the product",
                "type": "array",
                "items": {
                  "type": "string",
                  "x-extensible-enum": [
                    "PP15S",
                    "PDSync-4",
                    "PDSync-C4",
                    "SuperSync15",
                    "SuperSync15B",
                    "SuperSync15-B",
                    "SS15",
                    "SS15-B",
                    "SS15B",
                    "TS3-16",
                    "TS3-C10",
                    "TS4-C16",
                    "ThunderSync4-C16",
                    "ThunderSync5-C16",
                    "ThunderSync5-C16-PD",
                    "ThunderSync5-C16 PD",
                    "TS4-C16-PD",
                    "TS5-C16-PD",
                    "TS5-C16-PD-FL",
                    "TS5-C16",
                    "TS2-16",
                    "ThunderSync2-16",
                    "PP15C",
                    "ThunderSync3-16",
                    "ThunderSync3-C10",
                    "PowerPad15C",
                    "PowerPad15S",
                    "PowerPad8S",
                    "PP8S",
                    "U8S-EXT",
                    "U8S",
                    "U16S",
                    "U16-Thunderbolt",
                    "U16S-RM",
                    "Series8 Charger",
                    "Series8Charger"
                  ]
                }
              },
              "manufacturer": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "releaseDate": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "releaseDate"
                ],
                "additionalProperties": false,
                "description": "The manufacturer of the product"
              },
              "name": {
                "type": "string",
                "description": "The name of the product"
              },
              "ports": {
                "type": "number",
                "description": "The number of ports the product has"
              },
              "skus": {
                "description": "The SKUs of the product",
                "default": [],
                "type": "array",
                "items": {
                  "type": "string",
                  "x-extensible-enum": [
                    "ThunderSync5-C16-PD",
                    "ThunderSync5-C16-PD-4YR - US/B",
                    "ThunderSync5-C16-PD - AU/I",
                    "ThunderSync5-C16-PD - EU/F",
                    "ThunderSync5-C16-PD - IN/D",
                    "ThunderSync5-C16-PD - JP/B",
                    "ThunderSync5-C16-PD - UK/G",
                    "ThunderSync5-C16-PD - US/B",
                    "ThunderSync5-C16-PD-RTL - AU/I",
                    "ThunderSync5-C16-PD-RTL - EU/F",
                    "ThunderSync5-C16-PD-RTL - IN/D",
                    "ThunderSync5-C16-PD-RTL - JP/B",
                    "ThunderSync5-C16-PD-RTL - UK/G",
                    "ThunderSync5-C16-PD-RTL - US/B",
                    "TS3-C10-4YR - US/B",
                    "TS3-C10 - US/B",
                    "TS3-C10 - UK/G",
                    "TS3-C10 - JP/B",
                    "TS3-C10 - IN/D",
                    "TS3-C10 - EU/F",
                    "TS3-C10 - C13/14",
                    "TS3-C10 - AU/I",
                    "PDSync-C4 - AU/I",
                    "PDSync-C4 - EU/F",
                    "PDSync-C4 - UK/G",
                    "PDSync-C4 - US/B",
                    "SuperSync15 (AU/I)",
                    "SuperSync15 (C13-C14)",
                    "SuperSync15 (CH/J)",
                    "SuperSync15 (EU/F)",
                    "SuperSync15 (IN/D)",
                    "SuperSync15 (JP/B)",
                    "SuperSync15 (UK/G)",
                    "SuperSync15 (US/B)",
                    "ThunderSync3-16 - AU/I",
                    "ThunderSync3-16 - EU/F",
                    "ThunderSync3-16 - IN/D",
                    "ThunderSync3-16 - JP/B",
                    "ThunderSync3-16 - UK/G",
                    "ThunderSync3-16 - US/B"
                  ]
                }
              }
            },
            "required": [
              "description",
              "family",
              "features",
              "firmware",
              "id",
              "identifiers",
              "manufacturer",
              "name",
              "ports",
              "skus"
            ],
            "additionalProperties": false
          },
          "serialNumber": {
            "type": "string",
            "minLength": 1
          },
          "serialPort": {
            "description": "The serial port information for the hub",
            "type": "object",
            "properties": {
              "connection": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "description": "The portable error code",
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "serial_in_use",
                          "permission_denied",
                          "connection_failure",
                          "unknown"
                        ]
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "errorId": {
                    "description": "Error key reported by the hub. Any string is accepted.",
                    "type": "string"
                  },
                  "message": {
                    "description": "Legacy error message, only sent by hosts that predate portable error codes",
                    "type": "string"
                  }
                },
                "required": [
                  "code"
                ],
                "additionalProperties": false
              },
              "location": {
                "type": "object",
                "properties": {
                  "computerId": {
                    "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"
                  },
                  "locationId": {
                    "type": "number",
                    "deprecated": false,
                    "description": "An identifier for a USB location, which is unique on each computer.",
                    "title": "USB Location ID"
                  }
                },
                "additionalProperties": false
              },
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "unresponsive",
                  "disconnected",
                  "idle",
                  "active"
                ]
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false
          },
          "service": {
            "description": "The Hub API Service associated with the hub",
            "type": "object",
            "properties": {
              "address": {
                "type": "object",
                "properties": {
                  "hostName": {
                    "type": "string"
                  },
                  "port": {
                    "type": "number"
                  }
                },
                "required": [
                  "hostName",
                  "port"
                ],
                "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
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "computer",
              "id"
            ],
            "additionalProperties": false
          },
          "settings": {
            "description": "The settings for the hub",
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "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})$"
              },
              "owner": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "ports": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "object",
              "properties": {
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "additionalProperties": false
            }
          },
          "subscription": {
            "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": [
          "bootloader",
          "firmware",
          "name",
          "serialNumber",
          "id",
          "organization"
        ],
        "additionalProperties": false
      },
      "OrganizationHubPostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "additionalHardware": {
            "description": "The additional hardware associated with the hub",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "bootloader": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "version"
                  ],
                  "additionalProperties": false
                },
                "description": {
                  "type": "string"
                },
                "firmware": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "version"
                  ],
                  "additionalProperties": false
                },
                "group": {
                  "type": "string"
                },
                "manufacturer": {
                  "type": "string"
                },
                "serialNumber": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "description",
                "manufacturer",
                "serialNumber"
              ],
              "additionalProperties": false
            }
          },
          "bootloader": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "description": "The bootloader version"
              }
            },
            "required": [
              "version"
            ],
            "additionalProperties": false,
            "description": "The bootloader information for the hub"
          },
          "firmware": {
            "type": "object",
            "properties": {
              "type": {
                "description": "The firmware type",
                "type": "string",
                "enum": [
                  "un",
                  "ps",
                  "00-ps",
                  "01-ps",
                  "pd",
                  "st",
                  "mc",
                  "db",
                  "150001-st",
                  "150144-st"
                ]
              },
              "version": {
                "description": "The firmware version",
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The firmware information for the hub"
          },
          "host": {
            "description": "The host information for this hub",
            "type": "object",
            "properties": {
              "connection": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "connected",
                      "disconnected"
                    ]
                  },
                  "updated": {
                    "type": "number",
                    "minimum": 0
                  },
                  "speed": {
                    "type": "object",
                    "properties": {
                      "current": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string",
                            "enum": [
                              "Low",
                              "Full",
                              "High",
                              "SuperSpeed USB 5Gbps",
                              "SuperSpeed USB 10Gbps",
                              "SuperSpeed USB 20Gbps",
                              "SuperSpeed USB 40Gbps",
                              "SuperSpeed USB 80Gbps",
                              "USB4 20Gbps",
                              "USB4® 20Gbps",
                              "USB4 40Gbps",
                              "USB4® 40Gbps",
                              "Thunderbolt 2",
                              "Thunderbolt 3",
                              "Thunderbolt 4",
                              "Thunderbolt 5"
                            ],
                            "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                          },
                          "value": {
                            "type": "string",
                            "enum": [
                              "1.5Mbps",
                              "12Mbps",
                              "480Mbps",
                              "5Gbps",
                              "10Gbps",
                              "20Gbps",
                              "40Gbps",
                              "80Gbps"
                            ],
                            "description": "The current speed of the connection"
                          }
                        },
                        "required": [
                          "description",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "supported": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string",
                            "enum": [
                              "Low",
                              "Full",
                              "High",
                              "SuperSpeed USB 5Gbps",
                              "SuperSpeed USB 10Gbps",
                              "SuperSpeed USB 20Gbps",
                              "SuperSpeed USB 40Gbps",
                              "SuperSpeed USB 80Gbps",
                              "USB4 20Gbps",
                              "USB4® 20Gbps",
                              "USB4 40Gbps",
                              "USB4® 40Gbps",
                              "Thunderbolt 2",
                              "Thunderbolt 3",
                              "Thunderbolt 4",
                              "Thunderbolt 5"
                            ],
                            "description": "The description of the supported speed. This is the highest speed that the connection can support."
                          },
                          "value": {
                            "type": "string",
                            "enum": [
                              "1.5Mbps",
                              "12Mbps",
                              "480Mbps",
                              "5Gbps",
                              "10Gbps",
                              "20Gbps",
                              "40Gbps",
                              "80Gbps"
                            ],
                            "description": "The value of the supported speed. E.g '10Gbps'"
                          }
                        },
                        "required": [
                          "description",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "current"
                    ],
                    "additionalProperties": false,
                    "description": "The speed of the connection"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "usb",
                      "ethernet",
                      "bluetooth",
                      "wifi",
                      "thunderbolt",
                      "other"
                    ],
                    "description": "The type of connection"
                  },
                  "version": {
                    "type": "string",
                    "description": "The version of the connection"
                  },
                  "error": {
                    "description": "The host connection error",
                    "type": "object",
                    "properties": {
                      "code": {
                        "description": "The portable error code",
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "serial_in_use",
                              "permission_denied",
                              "connection_failure",
                              "unknown"
                            ]
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "errorId": {
                        "description": "Error key reported by the hub. Any string is accepted.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "code"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "status",
                  "updated"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "name": {
            "description": "The name of the hub",
            "type": "string"
          },
          "note": {
            "description": "A note about this hub",
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false
          },
          "parentHub": {
            "description": "The parent hub of this hub.",
            "type": "string",
            "minLength": 1
          },
          "product": {
            "description": "The Hub Product ID that is associated with this hub",
            "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 ID of the product"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "serialNumber": {
            "type": "string",
            "minLength": 1
          },
          "serialPort": {
            "description": "The serial port information for the hub",
            "type": "object",
            "properties": {
              "connection": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "description": "The portable error code",
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "serial_in_use",
                          "permission_denied",
                          "connection_failure",
                          "unknown"
                        ]
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "errorId": {
                    "description": "Error key reported by the hub. Any string is accepted.",
                    "type": "string"
                  },
                  "message": {
                    "description": "Legacy error message, only sent by hosts that predate portable error codes",
                    "type": "string"
                  }
                },
                "required": [
                  "code"
                ],
                "additionalProperties": false
              },
              "location": {
                "type": "object",
                "properties": {
                  "computerId": {
                    "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"
                  },
                  "locationId": {
                    "type": "number",
                    "deprecated": false,
                    "description": "An identifier for a USB location, which is unique on each computer.",
                    "title": "USB Location ID"
                  }
                },
                "additionalProperties": false
              },
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "unresponsive",
                  "disconnected",
                  "idle",
                  "active"
                ]
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false
          },
          "service": {
            "description": "The Hub API Service associated with this hub",
            "type": "object",
            "properties": {
              "address": {
                "type": "object",
                "properties": {
                  "hostName": {
                    "type": "string"
                  },
                  "port": {
                    "type": "number"
                  }
                },
                "required": [
                  "hostName",
                  "port"
                ],
                "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
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "settings": {
            "description": "The settings for the hub",
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "id": {
            "description": "The unique identifier for the hub. This is the hub serial number.",
            "type": "string",
            "minLength": 1
          },
          "metadata": {
            "description": "Additional metadata for this hub",
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "ports": {
            "description": "The ports on this hub and any additional metadata for each port",
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "object",
              "properties": {
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "additionalProperties": false
            }
          }
        },
        "required": [
          "serialNumber"
        ],
        "additionalProperties": false
      },
      "OrganizationServiceError": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "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"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "detail": {
                "type": "object",
                "properties": {
                  "hubSerial": {
                    "description": "Cambrionix hub serial this error applies to.",
                    "type": "string",
                    "minLength": 1
                  },
                  "osDetail": {
                    "description": "Support text for the error.",
                    "type": "string"
                  },
                  "portIndex": {
                    "description": "1-based port on the Cambrionix hub this error applies to.",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "hub_connection",
                      "usb_tree",
                      "adb",
                      "system"
                    ]
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "id": {
            "type": "string"
          },
          "key": {
            "description": "Error key from the service error path.",
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[A-Za-z0-9_.~:-]+$"
          },
          "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"
              },
              "type": {
                "type": "string",
                "enum": [
                  "host",
                  "recorder",
                  "relay"
                ]
              }
            },
            "required": [
              "id",
              "type"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "computer",
          "error",
          "id",
          "organization",
          "service"
        ],
        "additionalProperties": false
      },
      "OrganizationServiceErrorPutPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "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"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "detail": {
                "type": "object",
                "properties": {
                  "hubSerial": {
                    "description": "Cambrionix hub serial this error applies to.",
                    "type": "string",
                    "minLength": 1
                  },
                  "osDetail": {
                    "description": "Support text for the error.",
                    "type": "string"
                  },
                  "portIndex": {
                    "description": "1-based port on the Cambrionix hub this error applies to.",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "hub_connection",
                      "usb_tree",
                      "adb",
                      "system"
                    ]
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "service": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "enum": [
                  "host",
                  "recorder",
                  "relay"
                ]
              }
            },
            "required": [
              "id",
              "type"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "computer",
          "error",
          "service"
        ],
        "additionalProperties": false
      },
      "OrganizationVirtualHub": {
        "$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})$"
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "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
          },
          "ports": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "hub": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "port": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "hub",
                "port"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "organization",
          "ports"
        ],
        "additionalProperties": false
      },
      "OrganizationVirtualHubPatchPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "ports": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "hub": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "port": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "hub",
                "port"
              ],
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "OrganizationVirtualHubPostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "ports": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "hub": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "port": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "hub",
                "port"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "description",
          "name",
          "ports"
        ],
        "additionalProperties": false
      },
      "PatchAHardwareFamilyByIdRequest": {
        "$ref": "#/components/schemas/HardwareFamilyPatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "PatchAHardwareGroupRequest": {
        "$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
      },
      "PatchAHubRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "additionalHardware": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "bootloader": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "version"
                  ],
                  "additionalProperties": false
                },
                "description": {
                  "type": "string"
                },
                "firmware": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "version"
                  ],
                  "additionalProperties": false
                },
                "group": {
                  "type": "string"
                },
                "manufacturer": {
                  "type": "string"
                },
                "serialNumber": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "description",
                "manufacturer",
                "serialNumber"
              ],
              "additionalProperties": false
            },
            "description": "The additional hardware associated with the hub"
          },
          "bootloader": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "description": "The bootloader version"
              }
            },
            "required": [
              "version"
            ],
            "additionalProperties": false,
            "description": "The bootloader information for the hub"
          },
          "firmware": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "un",
                  "ps",
                  "00-ps",
                  "01-ps",
                  "pd",
                  "st",
                  "mc",
                  "db",
                  "150001-st",
                  "150144-st"
                ],
                "description": "The firmware type"
              },
              "version": {
                "type": "string",
                "description": "The firmware version"
              }
            },
            "additionalProperties": false,
            "description": "The firmware information for the hub"
          },
          "host": {
            "type": "object",
            "properties": {
              "connection": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "connected",
                      "disconnected"
                    ]
                  },
                  "updated": {
                    "type": "number",
                    "minimum": 0
                  },
                  "speed": {
                    "type": "object",
                    "properties": {
                      "current": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string",
                            "enum": [
                              "Low",
                              "Full",
                              "High",
                              "SuperSpeed USB 5Gbps",
                              "SuperSpeed USB 10Gbps",
                              "SuperSpeed USB 20Gbps",
                              "SuperSpeed USB 40Gbps",
                              "SuperSpeed USB 80Gbps",
                              "USB4 20Gbps",
                              "USB4® 20Gbps",
                              "USB4 40Gbps",
                              "USB4® 40Gbps",
                              "Thunderbolt 2",
                              "Thunderbolt 3",
                              "Thunderbolt 4",
                              "Thunderbolt 5"
                            ],
                            "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                          },
                          "value": {
                            "type": "string",
                            "enum": [
                              "1.5Mbps",
                              "12Mbps",
                              "480Mbps",
                              "5Gbps",
                              "10Gbps",
                              "20Gbps",
                              "40Gbps",
                              "80Gbps"
                            ],
                            "description": "The current speed of the connection"
                          }
                        },
                        "required": [
                          "description",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "supported": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string",
                            "enum": [
                              "Low",
                              "Full",
                              "High",
                              "SuperSpeed USB 5Gbps",
                              "SuperSpeed USB 10Gbps",
                              "SuperSpeed USB 20Gbps",
                              "SuperSpeed USB 40Gbps",
                              "SuperSpeed USB 80Gbps",
                              "USB4 20Gbps",
                              "USB4® 20Gbps",
                              "USB4 40Gbps",
                              "USB4® 40Gbps",
                              "Thunderbolt 2",
                              "Thunderbolt 3",
                              "Thunderbolt 4",
                              "Thunderbolt 5"
                            ],
                            "description": "The description of the supported speed. This is the highest speed that the connection can support."
                          },
                          "value": {
                            "type": "string",
                            "enum": [
                              "1.5Mbps",
                              "12Mbps",
                              "480Mbps",
                              "5Gbps",
                              "10Gbps",
                              "20Gbps",
                              "40Gbps",
                              "80Gbps"
                            ],
                            "description": "The value of the supported speed. E.g '10Gbps'"
                          }
                        },
                        "required": [
                          "description",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "current"
                    ],
                    "additionalProperties": false,
                    "description": "The speed of the connection"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "usb",
                      "ethernet",
                      "bluetooth",
                      "wifi",
                      "thunderbolt",
                      "other"
                    ],
                    "description": "The type of connection"
                  },
                  "version": {
                    "type": "string",
                    "description": "The version of the connection"
                  },
                  "error": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "serial_in_use",
                              "permission_denied",
                              "connection_failure",
                              "unknown"
                            ]
                          },
                          {
                            "type": "string"
                          }
                        ],
                        "description": "The portable error code"
                      },
                      "errorId": {
                        "type": "string",
                        "description": "Error key reported by the hub. Any string is accepted."
                      }
                    },
                    "required": [
                      "code"
                    ],
                    "additionalProperties": false,
                    "description": "The host connection error"
                  }
                },
                "required": [
                  "status",
                  "updated"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false,
            "description": "The host information for this hub"
          },
          "name": {
            "type": "string",
            "description": "The name of the hub"
          },
          "note": {
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false,
            "description": "A note about this hub"
          },
          "parentHub": {
            "type": "string",
            "minLength": 1,
            "description": "The parent hub of this hub."
          },
          "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})$",
                "description": "The ID of the product"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false,
            "description": "The Hub Product ID that is associated with this hub"
          },
          "serialNumber": {
            "type": "string",
            "minLength": 1
          },
          "serialPort": {
            "type": "object",
            "properties": {
              "connection": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "serial_in_use",
                          "permission_denied",
                          "connection_failure",
                          "unknown"
                        ]
                      },
                      {
                        "type": "string"
                      }
                    ],
                    "description": "The portable error code"
                  },
                  "errorId": {
                    "type": "string",
                    "description": "Error key reported by the hub. Any string is accepted."
                  },
                  "message": {
                    "type": "string",
                    "description": "Legacy error message, only sent by hosts that predate portable error codes"
                  }
                },
                "required": [
                  "code"
                ],
                "additionalProperties": false
              },
              "location": {
                "type": "object",
                "properties": {
                  "computerId": {
                    "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"
                  },
                  "locationId": {
                    "type": "number",
                    "deprecated": false,
                    "description": "An identifier for a USB location, which is unique on each computer.",
                    "title": "USB Location ID"
                  }
                },
                "additionalProperties": false
              },
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "unresponsive",
                  "disconnected",
                  "idle",
                  "active"
                ]
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false,
            "description": "The serial port information for the hub"
          },
          "service": {
            "type": "object",
            "properties": {
              "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
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false,
            "description": "The Hub API Service associated with this hub"
          },
          "settings": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {},
            "description": "The settings for the hub"
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {},
            "description": "Additional metadata for this hub"
          },
          "ports": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "object",
              "properties": {
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "additionalProperties": false
            },
            "description": "The ports on this hub and any additional metadata for each port"
          }
        },
        "additionalProperties": false
      },
      "PatchFirmwareByIdPatchRequest": {
        "$ref": "#/components/schemas/HardwareFirmwarePatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "PatchFirmwareByIdRequest": {
        "$ref": "#/components/schemas/HardwareFirmwarePatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "PatchHardwareByIdRequest": {
        "$ref": "#/components/schemas/HardwarePatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "ReadComputerLocalApiDetailsOrErrorsRequest": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "getComputerDetails"
              },
              "path": {
                "type": "string",
                "format": "starts_with",
                "pattern": "^\\/.*"
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setPortMode"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "on",
                  "off",
                  "detect",
                  "charge"
                ]
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action",
              "mode",
              "port"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setAllPortsMode"
              },
              "body": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "on",
                      "off",
                      "detect",
                      "charge",
                      "target"
                    ]
                  },
                  "target": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "targetChargeAction": {
                    "type": "string",
                    "enum": [
                      "off",
                      "trickle"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "action",
              "body"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "getPortSchedules"
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setPortSchedule"
              },
              "body": {
                "maxItems": 32,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "action": {
                      "type": "object",
                      "properties": {
                        "mode": {
                          "type": "string",
                          "enum": [
                            "on",
                            "off",
                            "charge",
                            "detect",
                            "target"
                          ]
                        },
                        "target": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 100
                        }
                      },
                      "required": [
                        "mode"
                      ],
                      "additionalProperties": false
                    },
                    "days": {
                      "minItems": 1,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "mon",
                          "tue",
                          "wed",
                          "thu",
                          "fri",
                          "sat",
                          "sun"
                        ]
                      }
                    },
                    "time": {
                      "type": "string",
                      "pattern": "^(?<hours>[01]\\d|2[0-3]):(?<minutes>[0-5]\\d)$"
                    }
                  },
                  "required": [
                    "action",
                    "days",
                    "time"
                  ],
                  "additionalProperties": false
                }
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action",
              "body"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "clearPortSchedule"
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "getPowerLimits"
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              },
              "target": {
                "type": "string",
                "enum": [
                  "hub",
                  "ports",
                  "port"
                ]
              }
            },
            "required": [
              "action",
              "target"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setPortPowerLimit"
              },
              "body": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "number",
                    "minimum": 4500,
                    "maximum": 60000,
                    "description": "The maximum power that all ports on the hub can deliver."
                  }
                },
                "required": [
                  "limit"
                ],
                "additionalProperties": false
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action",
              "body",
              "port"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setAllPortsPowerLimit"
              },
              "body": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "number",
                    "minimum": 4500,
                    "maximum": 60000,
                    "description": "The maximum power that all ports on the hub can deliver."
                  }
                },
                "required": [
                  "limit"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "action",
              "body"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "enterAppleDfu"
              },
              "allPorts": {
                "type": "boolean",
                "const": true
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "rebootAppleDevices"
              },
              "allPorts": {
                "type": "boolean",
                "const": true
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "ReadComputerLocalApiDetailsOrErrorsResponse": {
        "$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": {}
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "RemoteComputerToken": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "baseUrl": {
            "type": "string"
          },
          "groups": {
            "default": [],
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "roles": {
            "default": [],
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "token": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "baseUrl",
          "groups",
          "roles",
          "token",
          "url"
        ],
        "additionalProperties": false
      },
      "RemoteComputerTokenPostPayload": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "expirationTimeInMinutes": {
            "default": 60,
            "type": "number",
            "minimum": 1,
            "maximum": 1440
          }
        },
        "additionalProperties": false
      },
      "RemoveAHubFromAHardwareGroupResponse": {
        "$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
      },
      "RespondToARemoteComputerRequestRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "body": {},
              "status": {
                "type": "number"
              }
            },
            "required": [
              "body",
              "status"
            ],
            "additionalProperties": false
          },
          "requestId": {
            "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 id used to identify a request in the PubSub system",
            "example": "00000000-0000-0000-0000-000000000000"
          }
        },
        "required": [
          "data",
          "requestId"
        ],
        "additionalProperties": false
      },
      "RespondToARemoteComputerRequestResponse": {
        "$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
      },
      "RunATypedHubActionRequest": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "getComputerDetails"
              },
              "path": {
                "type": "string",
                "format": "starts_with",
                "pattern": "^\\/.*"
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setPortMode"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "on",
                  "off",
                  "detect",
                  "charge"
                ]
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action",
              "mode",
              "port"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setAllPortsMode"
              },
              "body": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "on",
                      "off",
                      "detect",
                      "charge",
                      "target"
                    ]
                  },
                  "target": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "targetChargeAction": {
                    "type": "string",
                    "enum": [
                      "off",
                      "trickle"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "action",
              "body"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "getPortSchedules"
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setPortSchedule"
              },
              "body": {
                "maxItems": 32,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "action": {
                      "type": "object",
                      "properties": {
                        "mode": {
                          "type": "string",
                          "enum": [
                            "on",
                            "off",
                            "charge",
                            "detect",
                            "target"
                          ]
                        },
                        "target": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 100
                        }
                      },
                      "required": [
                        "mode"
                      ],
                      "additionalProperties": false
                    },
                    "days": {
                      "minItems": 1,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "mon",
                          "tue",
                          "wed",
                          "thu",
                          "fri",
                          "sat",
                          "sun"
                        ]
                      }
                    },
                    "time": {
                      "type": "string",
                      "pattern": "^(?<hours>[01]\\d|2[0-3]):(?<minutes>[0-5]\\d)$"
                    }
                  },
                  "required": [
                    "action",
                    "days",
                    "time"
                  ],
                  "additionalProperties": false
                }
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action",
              "body"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "clearPortSchedule"
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "getPowerLimits"
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              },
              "target": {
                "type": "string",
                "enum": [
                  "hub",
                  "ports",
                  "port"
                ]
              }
            },
            "required": [
              "action",
              "target"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setPortPowerLimit"
              },
              "body": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "number",
                    "minimum": 4500,
                    "maximum": 60000,
                    "description": "The maximum power that all ports on the hub can deliver."
                  }
                },
                "required": [
                  "limit"
                ],
                "additionalProperties": false
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action",
              "body",
              "port"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "setAllPortsPowerLimit"
              },
              "body": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "number",
                    "minimum": 4500,
                    "maximum": 60000,
                    "description": "The maximum power that all ports on the hub can deliver."
                  }
                },
                "required": [
                  "limit"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "action",
              "body"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "enterAppleDfu"
              },
              "allPorts": {
                "type": "boolean",
                "const": true
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "const": "rebootAppleDevices"
              },
              "allPorts": {
                "type": "boolean",
                "const": true
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "action"
            ],
            "additionalProperties": false
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "RunATypedHubActionResponse": {
        "$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": [
              {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the hub carried out the command."
                  },
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": {},
                    "description": "An empty object when the hub returns no body."
                  }
                ],
                "description": "The hub's acknowledgement of a command.",
                "title": "HubCommandAccepted"
              },
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "port": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991,
                      "description": "The 1-based port number."
                    },
                    "schedules": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": {}
                      },
                      "description": "The port's schedule entries, as the hub reports them."
                    }
                  },
                  "required": [
                    "port",
                    "schedules"
                  ],
                  "additionalProperties": {}
                },
                "description": "The schedules set on the hub's ports.",
                "title": "HubPortSchedules"
              },
              {
                "type": "object",
                "properties": {},
                "additionalProperties": {},
                "description": "Power-delivery limits in milliwatts for the hub, its ports, or one port, as the hub reports them.",
                "title": "HubPowerLimits"
              },
              {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the hub carried out the command on the port."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "ports": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "The 1-based port number."
                            },
                            "reason": {
                              "type": "string",
                              "description": "Why the command failed on this port."
                            },
                            "result": {
                              "type": "boolean",
                              "description": "Whether the command succeeded on this port."
                            }
                          },
                          "required": [
                            "id",
                            "result"
                          ],
                          "additionalProperties": {}
                        }
                      }
                    },
                    "required": [
                      "ports"
                    ],
                    "additionalProperties": {},
                    "description": "One outcome per port when the action targets every port."
                  }
                ],
                "description": "The outcome of an Apple device action.",
                "title": "HubAppleActionResult"
              }
            ],
            "description": "The hub's result. `getPortSchedules` returns the port schedules and `getPowerLimits` the power limits. `enterAppleDfu` and `rebootAppleDevices` return one outcome per port for `allPorts`, otherwise a boolean. Other actions return a boolean acknowledgement, or an empty object when the hub returns no body."
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "SendARequestToAnotherServiceRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "body": {},
          "headers": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "method": {
            "default": "GET",
            "type": "string",
            "enum": [
              "GET",
              "POST",
              "PUT",
              "DELETE"
            ]
          },
          "params": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "path": {
            "type": "string"
          },
          "serviceId": {
            "type": "string"
          }
        },
        "required": [
          "body",
          "headers",
          "method",
          "params",
          "path",
          "serviceId"
        ],
        "additionalProperties": false
      },
      "SendARequestToAnotherServiceResponse": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "body": {},
          "status": {
            "type": "number"
          }
        },
        "required": [
          "body",
          "status"
        ],
        "additionalProperties": false
      },
      "StartSupportBundleUploadRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "bytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 1073741824
          },
          "caseReference": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "cliVersion": {
            "type": "string",
            "maxLength": 32
          },
          "computerId": {
            "anyOf": [
              {
                "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"
              },
              {
                "type": "null"
              }
            ]
          },
          "fileName": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 255
              },
              {
                "type": "null"
              }
            ]
          },
          "sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "bytes",
          "sha256"
        ],
        "additionalProperties": false,
        "description": "A support bundle the caller is about to upload."
      },
      "StartSupportBundleUploadResponse": {
        "$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": {
              "expiresAt": {
                "type": "number",
                "minimum": 0
              },
              "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})$"
              },
              "uploadUrl": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "expiresAt",
              "id",
              "uploadUrl"
            ],
            "additionalProperties": false,
            "description": "A one-time upload location for a support bundle."
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "UnauthorizedError": {
        "type": "object",
        "required": [
          "code",
          "message",
          "detail"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "enum": [
              401
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "detail": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateDevicePatchRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "battery": {
            "type": "object",
            "properties": {
              "capacity": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "number",
                    "description": "The current capacity of the battery"
                  },
                  "original": {
                    "type": "number",
                    "description": "The original capacity of the battery"
                  }
                },
                "additionalProperties": false
              },
              "error": {
                "type": "string",
                "description": "The last error message"
              },
              "health": {
                "type": "number",
                "description": "The current battery health percentage"
              },
              "level": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "The current battery level"
              },
              "status": {
                "type": "string",
                "enum": [
                  "charging",
                  "charged",
                  "discharging",
                  "not-charging",
                  "full"
                ],
                "description": "The current charging status of the device"
              }
            },
            "required": [
              "level",
              "status"
            ],
            "additionalProperties": false,
            "description": "The details of the battery of a device"
          },
          "connection": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              },
              "speed": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The current speed of the connection"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "supported": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the supported speed. This is the highest speed that the connection can support."
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The value of the supported speed. E.g '10Gbps'"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "current"
                ],
                "additionalProperties": false,
                "description": "The speed of the connection"
              },
              "type": {
                "type": "string",
                "enum": [
                  "usb",
                  "ethernet",
                  "bluetooth",
                  "wifi",
                  "thunderbolt",
                  "other"
                ],
                "description": "The type of connection"
              },
              "version": {
                "type": "string",
                "description": "The version of the connection"
              }
            },
            "required": [
              "status",
              "updated",
              "speed",
              "type",
              "version"
            ],
            "additionalProperties": false,
            "description": "The connection information for the device"
          },
          "error": {
            "type": "string",
            "description": "Any error relating to the device"
          },
          "identifiers": {
            "type": "object",
            "properties": {
              "commonId": {
                "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": "A Cambrionix defined identifier that is used to uniquely identify the device across states"
              },
              "ecid": {
                "type": "string",
                "description": "The ECID number provided by the OS"
              },
              "imei": {
                "type": "string",
                "description": "The IMEI number provided by the OS"
              },
              "serialNumber": {
                "type": "string",
                "minLength": 1,
                "description": "The serial number provided by the OS"
              },
              "udid": {
                "type": "string",
                "description": "The UDID of the device"
              },
              "usbSerialNumber": {
                "type": "string",
                "description": "The USB serial number of the device"
              }
            },
            "additionalProperties": false,
            "description": "The unique identifiers for this device"
          },
          "location": {
            "type": "object",
            "properties": {
              "computerId": {
                "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"
              },
              "hub": {
                "type": "object",
                "properties": {
                  "serialNumber": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "serialNumber"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "number",
                "deprecated": false,
                "description": "An identifier for a USB location, which is unique on each computer.",
                "title": "USB Location ID"
              },
              "port": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false
          },
          "model": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "The code of the device model E.g 'iPad4,4'"
              },
              "description": {
                "type": "string",
                "description": "The description of the device model E.g 'iPad mini 2 (WiFi)'"
              }
            },
            "additionalProperties": false
          },
          "name": {
            "type": "string",
            "description": "The name of the device"
          },
          "network": {
            "type": "object",
            "properties": {
              "ip": {
                "type": "string"
              },
              "mac": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The network details of the device"
          },
          "note": {
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "updated": {
                "$ref": "#/components/schemas/ChangeAudit"
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false,
            "description": "Any notes about the device"
          },
          "os": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "Android",
                  "iOS",
                  "Other"
                ],
                "description": "The operating system of the device. E.g 'Android' or 'iOS'"
              },
              "version": {
                "type": "string",
                "description": "The version of the operating system"
              }
            },
            "additionalProperties": false,
            "description": "The operating system details of the device"
          },
          "product": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "The PID of the product"
              },
              "name": {
                "type": "string",
                "description": "The name of the product"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false,
            "description": "The product details of the device"
          },
          "storage": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "format": {
                  "type": "string",
                  "description": "The format of the storage"
                },
                "free": {
                  "type": "number",
                  "description": "The current storage level of the storage unit"
                },
                "max": {
                  "type": "number",
                  "description": "The maximum storage capacity of the storage unit"
                },
                "name": {
                  "type": "string",
                  "description": "The volume name of the partition"
                },
                "path": {
                  "type": "string",
                  "description": "The partition mount point"
                }
              },
              "required": [
                "format",
                "free",
                "max",
                "name",
                "path"
              ],
              "additionalProperties": false
            },
            "description": "The storage details of the device"
          },
          "trust": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "not-paired",
                  "paired",
                  "pending",
                  "failed",
                  "prohibited",
                  "denied",
                  "error"
                ],
                "description": "The trust level of the device. E.g 'not-paired', 'paired'"
              },
              "supported": {
                "type": "boolean"
              }
            },
            "required": [
              "status",
              "supported"
            ],
            "additionalProperties": false,
            "description": "The trust status of the device"
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          },
          "vendor": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false,
            "description": "The manufacturer of the device e.g Apple or Samsung"
          },
          "hardware": {
            "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
            }
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "UpdateDeviceRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "battery": {
            "type": "object",
            "properties": {
              "capacity": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "number",
                    "description": "The current capacity of the battery"
                  },
                  "original": {
                    "type": "number",
                    "description": "The original capacity of the battery"
                  }
                },
                "additionalProperties": false
              },
              "error": {
                "type": "string",
                "description": "The last error message"
              },
              "health": {
                "type": "number",
                "description": "The current battery health percentage"
              },
              "level": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "The current battery level"
              },
              "status": {
                "type": "string",
                "enum": [
                  "charging",
                  "charged",
                  "discharging",
                  "not-charging",
                  "full"
                ],
                "description": "The current charging status of the device"
              }
            },
            "required": [
              "level",
              "status"
            ],
            "additionalProperties": false,
            "description": "The details of the battery of a device"
          },
          "connection": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "connected",
                  "disconnected"
                ]
              },
              "updated": {
                "type": "number",
                "minimum": 0
              },
              "speed": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the current speed. This is the speed that the connection is currently operating at. E.g 'SuperSpeed USB 10Gbps'"
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The current speed of the connection"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "supported": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string",
                        "enum": [
                          "Low",
                          "Full",
                          "High",
                          "SuperSpeed USB 5Gbps",
                          "SuperSpeed USB 10Gbps",
                          "SuperSpeed USB 20Gbps",
                          "SuperSpeed USB 40Gbps",
                          "SuperSpeed USB 80Gbps",
                          "USB4 20Gbps",
                          "USB4® 20Gbps",
                          "USB4 40Gbps",
                          "USB4® 40Gbps",
                          "Thunderbolt 2",
                          "Thunderbolt 3",
                          "Thunderbolt 4",
                          "Thunderbolt 5"
                        ],
                        "description": "The description of the supported speed. This is the highest speed that the connection can support."
                      },
                      "value": {
                        "type": "string",
                        "enum": [
                          "1.5Mbps",
                          "12Mbps",
                          "480Mbps",
                          "5Gbps",
                          "10Gbps",
                          "20Gbps",
                          "40Gbps",
                          "80Gbps"
                        ],
                        "description": "The value of the supported speed. E.g '10Gbps'"
                      }
                    },
                    "required": [
                      "description",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "current"
                ],
                "additionalProperties": false,
                "description": "The speed of the connection"
              },
              "type": {
                "type": "string",
                "enum": [
                  "usb",
                  "ethernet",
                  "bluetooth",
                  "wifi",
                  "thunderbolt",
                  "other"
                ],
                "description": "The type of connection"
              },
              "version": {
                "type": "string",
                "description": "The version of the connection"
              }
            },
            "required": [
              "status",
              "updated",
              "speed",
              "type",
              "version"
            ],
            "additionalProperties": false,
            "description": "The connection information for the device"
          },
          "error": {
            "type": "string",
            "description": "Any error relating to the device"
          },
          "identifiers": {
            "type": "object",
            "properties": {
              "commonId": {
                "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": "A Cambrionix defined identifier that is used to uniquely identify the device across states"
              },
              "ecid": {
                "type": "string",
                "description": "The ECID number provided by the OS"
              },
              "imei": {
                "type": "string",
                "description": "The IMEI number provided by the OS"
              },
              "serialNumber": {
                "type": "string",
                "minLength": 1,
                "description": "The serial number provided by the OS"
              },
              "udid": {
                "type": "string",
                "description": "The UDID of the device"
              },
              "usbSerialNumber": {
                "type": "string",
                "description": "The USB serial number of the device"
              }
            },
            "additionalProperties": false,
            "description": "The unique identifiers for this device"
          },
          "location": {
            "type": "object",
            "properties": {
              "computerId": {
                "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"
              },
              "hub": {
                "type": "object",
                "properties": {
                  "serialNumber": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "serialNumber"
                ],
                "additionalProperties": false
              },
              "id": {
                "type": "number",
                "deprecated": false,
                "description": "An identifier for a USB location, which is unique on each computer.",
                "title": "USB Location ID"
              },
              "port": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false
          },
          "model": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "The code of the device model E.g 'iPad4,4'"
              },
              "description": {
                "type": "string",
                "description": "The description of the device model E.g 'iPad mini 2 (WiFi)'"
              }
            },
            "additionalProperties": false
          },
          "name": {
            "type": "string",
            "description": "The name of the device"
          },
          "network": {
            "type": "object",
            "properties": {
              "ip": {
                "type": "string"
              },
              "mac": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "description": "The network details of the device"
          },
          "note": {
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "updated": {
                "$ref": "#/components/schemas/ChangeAudit"
              }
            },
            "required": [
              "content"
            ],
            "additionalProperties": false,
            "description": "Any notes about the device"
          },
          "os": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "Android",
                  "iOS",
                  "Other"
                ],
                "description": "The operating system of the device. E.g 'Android' or 'iOS'"
              },
              "version": {
                "type": "string",
                "description": "The version of the operating system"
              }
            },
            "additionalProperties": false,
            "description": "The operating system details of the device"
          },
          "product": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "The PID of the product"
              },
              "name": {
                "type": "string",
                "description": "The name of the product"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false,
            "description": "The product details of the device"
          },
          "storage": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "format": {
                  "type": "string",
                  "description": "The format of the storage"
                },
                "free": {
                  "type": "number",
                  "description": "The current storage level of the storage unit"
                },
                "max": {
                  "type": "number",
                  "description": "The maximum storage capacity of the storage unit"
                },
                "name": {
                  "type": "string",
                  "description": "The volume name of the partition"
                },
                "path": {
                  "type": "string",
                  "description": "The partition mount point"
                }
              },
              "required": [
                "format",
                "free",
                "max",
                "name",
                "path"
              ],
              "additionalProperties": false
            },
            "description": "The storage details of the device"
          },
          "trust": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "not-paired",
                  "paired",
                  "pending",
                  "failed",
                  "prohibited",
                  "denied",
                  "error"
                ],
                "description": "The trust level of the device. E.g 'not-paired', 'paired'"
              },
              "supported": {
                "type": "boolean"
              }
            },
            "required": [
              "status",
              "supported"
            ],
            "additionalProperties": false,
            "description": "The trust status of the device"
          },
          "type": {
            "type": "string",
            "enum": [
              "mobile",
              "tablet",
              "storage",
              "other"
            ],
            "description": "The type of device e.g mobile, storage, other"
          },
          "vendor": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "additionalProperties": false,
            "description": "The manufacturer of the device e.g Apple or Samsung"
          },
          "hardware": {
            "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
            }
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "UpdateHardwareComputerRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "details": {
            "type": "object",
            "properties": {
              "api": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string"
                      },
                      "recorder": {
                        "type": "string"
                      },
                      "relay": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "host",
                      "recorder",
                      "relay"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "version"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "UpdateHardwareComputerResponse": {
        "$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": {
              "details": {
                "type": "object",
                "properties": {
                  "api": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "object",
                        "properties": {
                          "host": {
                            "type": "string"
                          },
                          "recorder": {
                            "type": "string"
                          },
                          "relay": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "host",
                          "recorder",
                          "relay"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "version"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "api"
                ],
                "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"
              },
              "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
              }
            },
            "required": [
              "details",
              "id",
              "organization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "UpdateOrganizationFirmwareRequest": {
        "$ref": "#/components/schemas/OrganizationHardwareFirmwarePatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "UpdateOrganizationHardwareServiceRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "UpdateVirtualHubRequest": {
        "$ref": "#/components/schemas/OrganizationVirtualHubPatchPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "UpsertHardwareComputerRequest": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "details": {
            "type": "object",
            "properties": {
              "api": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string"
                      },
                      "recorder": {
                        "type": "string"
                      },
                      "relay": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "host",
                      "recorder",
                      "relay"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "version"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "api"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "details"
        ],
        "additionalProperties": false
      },
      "UpsertHardwareComputerResponse": {
        "$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": {
              "details": {
                "type": "object",
                "properties": {
                  "api": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "object",
                        "properties": {
                          "host": {
                            "type": "string"
                          },
                          "recorder": {
                            "type": "string"
                          },
                          "relay": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "host",
                          "recorder",
                          "relay"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "version"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "api"
                ],
                "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"
              },
              "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
              }
            },
            "required": [
              "details",
              "id",
              "organization"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "result"
        ],
        "additionalProperties": false
      },
      "UpsertServiceErrorRequest": {
        "$ref": "#/components/schemas/OrganizationServiceErrorPutPayload",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      }
    }
  }
}
