{
  "openapi": "3.1.1",
  "info": {
    "title": "Aiventic Public API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.aiventic.ai"
    }
  ],
  "paths": {
    "/v1/model": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Find models by name across the team's brands.",
        "operationId": "publicSearchModels",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "brand",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicModelList"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/model/serial/{serial}": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Find the models a serial number belongs to.",
        "operationId": "publicLookupSerial",
        "parameters": [
          {
            "name": "serial",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "brand",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicSerialModelList"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/manual": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Search a brand's manuals, optionally within one model.",
        "operationId": "publicSearchManuals",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "brand",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicManualPage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/brand/{brand}/document/{documentId}": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get a document's metadata. No file: only the pages cited to this key are served.",
        "operationId": "publicGetDocument",
        "parameters": [
          {
            "name": "brand",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicDocument"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/brand/{brand}/document/{documentId}/page/{n}": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get one page as a one-page PDF, when a citation to this key's lineage named it.",
        "operationId": "publicGetDocumentPage",
        "parameters": [
          {
            "name": "brand",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "documentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "n",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pdfSha256",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/part": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Search a brand's parts, optionally for one model and unit.",
        "description": "With `model`, the search covers the model's documents for its variant, or for every variant still to choose; `serial` (needs `model`) picks the variant when the model has variants to choose from, which can take a few seconds. `variantResolved` is false when variants are left to choose, when the serial could not confirm a variant that has a single document, when the serial falls outside every option of a group (that group's documents are left out), or when nothing matched in the variant and the search widened to all of them: the items may then not apply to the unit. A search without a model is always true, since it names no unit to settle: its items are the brand's, checked against no unit. Each item's `match` is strong when the query holds a digit and the part number, letters and digits only, equals it or, from four characters, one contains the other; or when the query has at least one word of three or more characters other than the model and brand, and every such word is a word of the item's name. Otherwise suggestion: a candidate to check, not a confirmed answer.",
        "operationId": "publicSearchParts",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "brand",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serial",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicPartList"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/brand/{brand}/part/{partNumber}": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get a part: its supersession chain, related parts and the models whose parts lists name it.",
        "description": "`supersessions` follows the replacement chain up to five hops each way: `supersedes` lists a part that replaces this one, `supersededBy` one this part replaces, `mutual` a pair that replace each other by serial range. Each supersession names `from`, the part it was reached from: this part on the first hop, else an earlier entry. Each supersession and related part carries `context`, the catalog's condition on that edge (a model, a serial range, a kit) or null. A part joined under several conditions is listed once per condition, and one reached from several parts once per `from`. A `mutual` pair joined by one edge each way is one entry, with `reciprocalContext` for the edge back to `from`; one joined by more is listed once per edge, with that edge's condition in `context` (from `from`) or `reciprocalContext` (back to `from`) and the other null. An entry holds only under its own condition, and only while at least one entry listed for its `from` part holds; this part always holds. A `/` in `partNumber` is sent as `%2F`.",
        "operationId": "publicGetPart",
        "parameters": [
          {
            "name": "brand",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "partNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicPartDetail"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/brand/{brand}/part/{partNumber}/price": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get a part's live price and stock from each supplier the team has connected.",
        "description": "Each supplier is asked live under the team's own account, so a call can take up to the price deadline; suppliers that have not answered by then are left out. `incomplete` is true when a supplier had not answered by the deadline or failed, so items may be missing; asking again may find them. `supplier` names the supplier, or is `Own stock` for the team's own stock. `manufacturer` is The manufacturer the supplier lists for the part; null when it lists none. Suppliers are asked by part number alone, so a part of another brand with the same number is told apart only by this. `listPrice` is its list price, `accountPrice` the team's account price with it and `quotePrice` is What the team would charge for the part under its own pricing rule; null when the team has no rule, the supplier quoted no price or the supplier does not quote in USD. Each price is money whose `currency` is The ISO 4217 code the supplier quotes in, USD or CAD. It can differ per supplier and applies to the list and account price; the quote price exists only for USD suppliers. `availableQuantity` is Units the supplier reports on hand, or the team's own stock across its locations; null when it gives no number, not zero. `supplierPartNumber` is Set when the supplier would ship a different number than the one asked for; the prices and stock are then that number's. This route has its own rate limit per key, beside the others. A `/` in `partNumber` is sent as `%2F`.",
        "operationId": "publicGetPartPrice",
        "parameters": [
          {
            "name": "brand",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "partNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicPartPriceList"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/job": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "List the jobs the key's member sees in the app, newest first.",
        "description": "A member whose role views the team's jobs sees them all; a technician only the jobs assigned to them. `from` and `to` bound the appointment date. A page must start within the first 100,000 results. No customer contact details.",
        "operationId": "publicListJobs",
        "parameters": [
          {
            "name": "active",
            "in": "query",
            "description": "True for active jobs only, false for inactive only. Omit for both.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Earliest appointment date, inclusive.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Latest appointment date, inclusive.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "q",
            "in": "query",
            "description": "Free text across the job's number, status, summary, customer, location, technician and unit.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicJobPage"
                }
              }
            }
          }
        }
      }
    },
    "/v1/job/{jobId}": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get a job the key's member sees in the app.",
        "description": "The customer's `email` and `phone` are returned only to a key that also holds `customers:contact`, and only when the team's privacy setting shows them to the member; `contactDetailsHidden` is then true when it withheld them. A job the member can't see is 404, as a missing one.",
        "operationId": "publicGetJob",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicJobDetail"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/job/{jobId}/checklist": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get the diagnostic checklist a job's triage generated, in order.",
        "operationId": "publicGetJobChecklist",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicJobChecklist"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/job/{jobId}/triage": {
      "post": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Start the app's triage of a job the key's member sees; it runs in the background.",
        "description": "Answers 202 at once with `Location: /v1/job/{jobId}/triage`; read that for the outcome, which usually takes one to three minutes. A job that already has a triage needs a `context` saying what to look at again. One triage runs per job at a time: a start while one is queued or running is 409 `triage-in-progress`. Where the team writes triage results back to its field-service system, this triage does too. This route has its own rate limits, per key per hour and per team per day, beside the others.",
        "operationId": "publicStartJobTriage",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Makes the start safe to retry for 24 hours: a retry with the same key, job and context gets the stored 202 instead of a second triage. Only an accepted start is stored. The same key while the first request runs is 409 idempotency-key-in-use; with a different request, 422 idempotency-key-reused. Keys are per key lineage and case-sensitive, and apart from the keys used on ask.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "pattern": "^[\\x21-\\x7E]+$",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/PublicJobTriageRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "202": {
            "description": "Accepted",
            "headers": {
              "Idempotency-Replayed": {
                "description": "`true` when the response is the one stored for the request's Idempotency-Key, not a new run.",
                "schema": {
                  "enum": [
                    "true"
                  ],
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicJobTriageStarted"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Get how a job's triage went and the job's current triage.",
        "description": "`status` is the latest triage started through the API: `none` when there was none, `queued`, `running`, `completed`, `failed` (with `failureType`) or `blocked` (with `blockReason`, when the job can't be triaged, such as one with no brand). `runId` is that triage's, as the start returned it, so a caller can tell its own run from a later one; null with `none`. `result` is the job's current triage, whoever ran it (the app, a batch or the API), or null when it has none. `pricesHidden` is true when the team hides suggested part prices, which are then null. Each part's `currency` is the ISO 4217 code its `accountPrice` and `retailPrice` are in (USD or CAD), from the supplier that priced the part.",
        "operationId": "publicGetJobTriage",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicJobTriage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ask": {
      "post": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Ask Iven in a new chat or a chat this key created; the complete answer, or SSE with stream: true.",
        "operationId": "publicAsk",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Makes the ask safe to retry for 24 hours: a retry with the same key and request gets the stored answer (in the mode it asks for) instead of a second turn. Only a successful answer is stored. The same key while the first request runs is 409 idempotency-key-in-use; with a different request, 422 idempotency-key-reused. Keys are per key lineage and case-sensitive.",
            "schema": {
              "maxLength": 255,
              "minLength": 1,
              "pattern": "^[\\x21-\\x7E]+$",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicAskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "headers": {
              "Idempotency-Replayed": {
                "description": "`true` when the response is the one stored for the request's Idempotency-Key, not a new run.",
                "schema": {
                  "enum": [
                    "true"
                  ],
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicAskResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string",
                  "description": "Server-sent events, each `data` one JSON object: `start` {chatId}, `delta` {text}, `citation`, `items` {items} (only when the turn has items), then exactly one terminal `done` (the JSON response body) or `error` (a problem document)."
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "413": {
            "description": "Payload Too Large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "504": {
            "description": "Gateway Timeout",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v1/chat/{chatId}": {
      "get": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Read back a chat this key created, a page of messages at a time.",
        "description": "Messages oldest first, at most `limit` of them. While `nextCursor` is not null, pass it as `cursor` for the next page; a page can hold fewer than `limit` messages before the last.",
        "operationId": "publicGetChat",
        "parameters": [
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Messages per page, 1 to 100. Default 50.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "The previous page's nextCursor. Omit for the first page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicChat"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PublicApiV1Endpoints"
        ],
        "summary": "Delete a chat this key created.",
        "operationId": "publicDeleteChat",
        "parameters": [
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait at most before retrying. The rate limit's window may reset sooner.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "detail": {
            "type": [
              "null",
              "string"
            ]
          },
          "instance": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicAskRequest": {
        "required": [
          "content",
          "chatId",
          "brand",
          "model",
          "pick"
        ],
        "type": "object",
        "properties": {
          "content": {
            "type": [
              "null",
              "string"
            ]
          },
          "chatId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "brand": {
            "type": [
              "null",
              "string"
            ]
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "pick": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicPick"
              }
            ]
          },
          "stream": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "PublicAskResponse": {
        "required": [
          "chatId",
          "messageId",
          "text",
          "citations",
          "items"
        ],
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string"
          },
          "messageId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "citations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicCitation"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicItem"
            }
          }
        }
      },
      "PublicChat": {
        "required": [
          "chatId",
          "createdAt",
          "brand",
          "model",
          "messages",
          "nextCursor"
        ],
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "brand": {
            "type": [
              "null",
              "string"
            ]
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "messages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicChatMessage"
            }
          },
          "nextCursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Pass it as cursor for the next page of messages. Null on the last page."
          }
        }
      },
      "PublicChatMessage": {
        "required": [
          "id",
          "role",
          "text",
          "createdAt",
          "citations",
          "items"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/PublicMessageRole"
          },
          "text": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "citations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicCitation"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicItem"
            }
          }
        }
      },
      "PublicChoice": {
        "required": [
          "prompt",
          "axes"
        ],
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string"
          },
          "axes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicChoiceAxis"
            }
          }
        }
      },
      "PublicChoiceAxis": {
        "required": [
          "axis",
          "label",
          "options"
        ],
        "type": "object",
        "properties": {
          "axis": {
            "type": "string"
          },
          "label": {
            "type": [
              "null",
              "string"
            ]
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicChoiceOption"
            }
          }
        }
      },
      "PublicChoiceOption": {
        "required": [
          "id",
          "text",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicChoicePick": {
        "required": [
          "picks",
          "escapedAxes"
        ],
        "type": "object",
        "properties": {
          "picks": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "escapedAxes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PublicChoiceResolution": {
        "required": [
          "picks",
          "escapedAxes"
        ],
        "type": "object",
        "properties": {
          "picks": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "escapedAxes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PublicCitation": {
        "required": [
          "type",
          "title",
          "url",
          "page"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PublicCitationType"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": [
              "null",
              "string"
            ]
          },
          "page": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PublicCitationType": {
        "enum": [
          "manual",
          "parts",
          "job",
          "handbook"
        ]
      },
      "PublicDocument": {
        "required": [
          "id",
          "title",
          "type",
          "brand",
          "model",
          "dateUploaded",
          "description",
          "fileSizeBytes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/PublicDocumentType"
          },
          "brand": {
            "type": "string"
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateUploaded": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "fileSizeBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PublicDocumentType": {
        "enum": [
          "manual",
          "parts",
          "manual-and-parts",
          "warranty",
          "installation-guide",
          "schematic",
          "service-bulletin",
          "spec-sheet",
          "tech-sheet",
          "article",
          "other"
        ]
      },
      "PublicItem": {
        "required": [
          "id",
          "kind",
          "status",
          "choice",
          "quickReply",
          "partCard",
          "resolution"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "$ref": "#/components/schemas/PublicItemKind"
          },
          "status": {
            "$ref": "#/components/schemas/PublicItemStatus"
          },
          "choice": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicChoice"
              }
            ]
          },
          "quickReply": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicQuickReply"
              }
            ]
          },
          "partCard": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicPartCard"
              }
            ]
          },
          "resolution": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicItemResolution"
              }
            ]
          }
        }
      },
      "PublicItemKind": {
        "enum": [
          "choice",
          "quickReply",
          "partCard"
        ]
      },
      "PublicItemResolution": {
        "required": [
          "choice",
          "quickReply"
        ],
        "type": "object",
        "properties": {
          "choice": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicChoiceResolution"
              }
            ]
          },
          "quickReply": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicQuickReplyResolution"
              }
            ]
          }
        }
      },
      "PublicItemStatus": {
        "enum": [
          "pending",
          "resolved",
          "expired"
        ]
      },
      "PublicJobAsset": {
        "required": [
          "brand",
          "model",
          "serialNumber",
          "type"
        ],
        "type": "object",
        "properties": {
          "brand": {
            "type": [
              "null",
              "string"
            ]
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "serialNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicJobChecklist": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicJobChecklistItem"
            }
          }
        }
      },
      "PublicJobChecklistItem": {
        "required": [
          "id",
          "description",
          "completed"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string"
          },
          "completed": {
            "type": "boolean"
          }
        }
      },
      "PublicJobCustomer": {
        "required": [
          "name",
          "street",
          "city",
          "state",
          "zip",
          "email",
          "phone"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "street": {
            "type": [
              "null",
              "string"
            ]
          },
          "city": {
            "type": [
              "null",
              "string"
            ]
          },
          "state": {
            "type": [
              "null",
              "string"
            ]
          },
          "zip": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "phone": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicJobDetail": {
        "required": [
          "id",
          "number",
          "status",
          "active",
          "summary",
          "symptoms",
          "createdAt",
          "updatedAt",
          "appointmentAt",
          "appointmentDate",
          "completedAt",
          "customer",
          "location",
          "asset",
          "technician",
          "usedParts",
          "triaged",
          "contactDetailsHidden"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "number": {
            "type": "string"
          },
          "status": {
            "type": [
              "null",
              "string"
            ]
          },
          "active": {
            "type": "boolean"
          },
          "summary": {
            "type": [
              "null",
              "string"
            ]
          },
          "symptoms": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "appointmentAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "appointmentDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "completedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "customer": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicJobCustomer"
              }
            ]
          },
          "location": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicJobLocation"
              }
            ]
          },
          "asset": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicJobAsset"
              }
            ]
          },
          "technician": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicJobTechnician"
              }
            ]
          },
          "usedParts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicJobUsedPart"
            }
          },
          "triaged": {
            "type": "boolean"
          },
          "contactDetailsHidden": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "PublicJobLocation": {
        "required": [
          "name",
          "street",
          "city",
          "state",
          "zip"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "street": {
            "type": [
              "null",
              "string"
            ]
          },
          "city": {
            "type": [
              "null",
              "string"
            ]
          },
          "state": {
            "type": [
              "null",
              "string"
            ]
          },
          "zip": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicJobPage": {
        "required": [
          "items",
          "total",
          "page",
          "pageSize"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicJobSummary"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "page": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PublicJobSummary": {
        "required": [
          "id",
          "number",
          "status",
          "active",
          "createdAt",
          "appointmentAt",
          "appointmentDate",
          "brand",
          "model",
          "customerName",
          "triaged"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "number": {
            "type": "string"
          },
          "status": {
            "type": [
              "null",
              "string"
            ]
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "appointmentAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "appointmentDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "brand": {
            "type": [
              "null",
              "string"
            ]
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "customerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "triaged": {
            "type": "boolean"
          }
        }
      },
      "PublicJobTechnician": {
        "required": [
          "name",
          "identifier"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "identifier": {
            "type": "string"
          }
        }
      },
      "PublicJobTriage": {
        "required": [
          "status",
          "runId",
          "requestedAt",
          "completedAt",
          "failureType",
          "blockReason",
          "result"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PublicJobTriageStatus"
          },
          "runId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "requestedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "completedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "failureType": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "result": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicJobTriageResult"
              }
            ]
          }
        }
      },
      "PublicJobTriagePart": {
        "required": [
          "partNumber",
          "name",
          "fit",
          "supersededPartNumber",
          "availability",
          "accountPrice",
          "retailPrice",
          "currency"
        ],
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "fit": {
            "$ref": "#/components/schemas/PublicJobTriagePartFit"
          },
          "supersededPartNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "availability": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicJobTriagePartAvailability"
              }
            ]
          },
          "accountPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "retailPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "currency": {
            "type": "string"
          }
        }
      },
      "PublicJobTriagePartAvailability": {
        "required": [
          "inStock",
          "stockAsOf",
          "shipping"
        ],
        "type": "object",
        "properties": {
          "inStock": {
            "type": "boolean"
          },
          "stockAsOf": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "shipping": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicJobTriagePartShipping"
            }
          }
        }
      },
      "PublicJobTriagePartFit": {
        "enum": [
          "unknown",
          "confirmedForUnit",
          "fitsModel",
          "verifyUnit",
          "excludedForUnit",
          "notListed"
        ]
      },
      "PublicJobTriagePartShipping": {
        "required": [
          "quantity",
          "eta"
        ],
        "type": "object",
        "properties": {
          "quantity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "eta": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicJobTriageRequest": {
        "required": [
          "context"
        ],
        "type": "object",
        "properties": {
          "context": {
            "type": [
              "null",
              "string"
            ],
            "description": "What to look at, such as a new symptom. Needed when the job already has a triage."
          }
        }
      },
      "PublicJobTriageResult": {
        "required": [
          "message",
          "disclaimer",
          "parts",
          "pricesHidden"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "disclaimer": {
            "type": [
              "null",
              "string"
            ]
          },
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicJobTriagePart"
            }
          },
          "pricesHidden": {
            "type": "boolean"
          }
        }
      },
      "PublicJobTriageStarted": {
        "required": [
          "status",
          "requestedAt",
          "runId"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PublicJobTriageStatus"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "runId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "PublicJobTriageStatus": {
        "enum": [
          "none",
          "queued",
          "running",
          "completed",
          "failed",
          "blocked"
        ]
      },
      "PublicJobUsedPart": {
        "required": [
          "partNumber",
          "description",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "partNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PublicManual": {
        "required": [
          "id",
          "title",
          "type",
          "brand",
          "model",
          "dateUploaded"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/PublicDocumentType"
          },
          "brand": {
            "type": "string"
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateUploaded": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PublicManualPage": {
        "required": [
          "items",
          "total",
          "page",
          "pageSize"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicManual"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "page": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PublicMessageRole": {
        "enum": [
          "user",
          "assistant"
        ]
      },
      "PublicModel": {
        "required": [
          "brand",
          "model",
          "match"
        ],
        "type": "object",
        "properties": {
          "brand": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "match": {
            "$ref": "#/components/schemas/PublicModelMatch"
          }
        }
      },
      "PublicModelList": {
        "required": [
          "items",
          "truncated"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicModel"
            }
          },
          "truncated": {
            "type": "boolean"
          }
        }
      },
      "PublicModelMatch": {
        "enum": [
          "exact",
          "suggestion"
        ]
      },
      "PublicMoney": {
        "required": [
          "amount",
          "currency"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "currency": {
            "type": "string"
          }
        }
      },
      "PublicPartCard": {
        "required": [
          "partNumber",
          "name",
          "description",
          "imageUrl",
          "price",
          "currency",
          "stockStatus",
          "viewUrl",
          "specs",
          "isPlaceholder",
          "supplierPartNumber",
          "supplier"
        ],
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "imageUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "currency": {
            "type": [
              "null",
              "string"
            ]
          },
          "stockStatus": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicStockStatus"
              }
            ]
          },
          "viewUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "specs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicPartSpec"
            }
          },
          "isPlaceholder": {
            "type": "boolean"
          },
          "supplierPartNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "supplier": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicPartDetail": {
        "required": [
          "brand",
          "partNumber",
          "name",
          "description",
          "supersessions",
          "related",
          "models",
          "modelsTruncated"
        ],
        "type": "object",
        "properties": {
          "brand": {
            "type": "string"
          },
          "partNumber": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "supersessions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicPartSupersession"
            }
          },
          "related": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicRelatedPart"
            }
          },
          "models": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "modelsTruncated": {
            "type": "boolean"
          }
        }
      },
      "PublicPartHit": {
        "required": [
          "brand",
          "partNumber",
          "name",
          "description",
          "models",
          "modelsTruncated",
          "match"
        ],
        "type": "object",
        "properties": {
          "brand": {
            "type": "string"
          },
          "partNumber": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "models": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "modelsTruncated": {
            "type": "boolean"
          },
          "match": {
            "$ref": "#/components/schemas/PublicPartMatch"
          }
        }
      },
      "PublicPartList": {
        "required": [
          "items",
          "truncated",
          "variantResolved"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicPartHit"
            }
          },
          "truncated": {
            "type": "boolean"
          },
          "variantResolved": {
            "type": "boolean"
          }
        }
      },
      "PublicPartMatch": {
        "enum": [
          "strong",
          "suggestion"
        ]
      },
      "PublicPartPrice": {
        "required": [
          "supplier",
          "manufacturer",
          "supplierPartNumber",
          "listPrice",
          "accountPrice",
          "quotePrice",
          "inStock",
          "availableQuantity",
          "stockAsOf",
          "shipping"
        ],
        "type": "object",
        "properties": {
          "supplier": {
            "type": "string"
          },
          "manufacturer": {
            "type": [
              "null",
              "string"
            ]
          },
          "supplierPartNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "listPrice": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicMoney"
              }
            ]
          },
          "accountPrice": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicMoney"
              }
            ]
          },
          "quotePrice": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicMoney"
              }
            ]
          },
          "inStock": {
            "type": "boolean"
          },
          "availableQuantity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "stockAsOf": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "shipping": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicPartShipping"
            }
          }
        }
      },
      "PublicPartPriceList": {
        "required": [
          "items",
          "incomplete"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicPartPrice"
            }
          },
          "incomplete": {
            "type": "boolean"
          }
        }
      },
      "PublicPartRelation": {
        "enum": [
          "alsoOrder",
          "alternative"
        ]
      },
      "PublicPartShipping": {
        "required": [
          "quantity",
          "eta"
        ],
        "type": "object",
        "properties": {
          "quantity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "eta": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicPartSpec": {
        "required": [
          "name",
          "value"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "PublicPartSupersession": {
        "required": [
          "partNumber",
          "from",
          "direction",
          "context",
          "reciprocalContext"
        ],
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "direction": {
            "$ref": "#/components/schemas/PublicSupersessionDirection"
          },
          "context": {
            "type": [
              "null",
              "string"
            ]
          },
          "reciprocalContext": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicPick": {
        "required": [
          "itemId",
          "choice",
          "quickReply"
        ],
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "format": "uuid"
          },
          "choice": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicChoicePick"
              }
            ]
          },
          "quickReply": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PublicQuickReplyPick"
              }
            ]
          }
        }
      },
      "PublicQuickReply": {
        "required": [
          "prompt",
          "suggestions"
        ],
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string"
          },
          "suggestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicQuickReplySuggestion"
            }
          }
        }
      },
      "PublicQuickReplyPick": {
        "required": [
          "index"
        ],
        "type": "object",
        "properties": {
          "index": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PublicQuickReplyResolution": {
        "required": [
          "index"
        ],
        "type": "object",
        "properties": {
          "index": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PublicQuickReplySuggestion": {
        "required": [
          "text",
          "description"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicRelatedPart": {
        "required": [
          "partNumber",
          "relation",
          "context"
        ],
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "string"
          },
          "relation": {
            "$ref": "#/components/schemas/PublicPartRelation"
          },
          "context": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PublicSerialMatch": {
        "enum": [
          "exact",
          "description"
        ]
      },
      "PublicSerialModel": {
        "required": [
          "brand",
          "model",
          "code",
          "description",
          "match"
        ],
        "type": "object",
        "properties": {
          "brand": {
            "type": "string"
          },
          "model": {
            "type": [
              "null",
              "string"
            ]
          },
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "match": {
            "$ref": "#/components/schemas/PublicSerialMatch"
          }
        }
      },
      "PublicSerialModelList": {
        "required": [
          "items",
          "truncated"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSerialModel"
            }
          },
          "truncated": {
            "type": "boolean"
          }
        }
      },
      "PublicStockStatus": {
        "enum": [
          "unknown",
          "inStock",
          "outOfStock",
          "onOrder",
          "backOrdered",
          null
        ]
      },
      "PublicSupersessionDirection": {
        "enum": [
          "supersedes",
          "supersededBy",
          "mutual"
        ]
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "description": "An Aiventic API key, sent as `Authorization: Bearer aiv_sk_...`.",
        "scheme": "bearer",
        "bearerFormat": "aiv_sk_"
      }
    }
  },
  "security": [
    {
      "apiKey": [ ]
    }
  ],
  "tags": [
    {
      "name": "PublicApiV1Endpoints"
    }
  ]
}