{
  "components": {
    "responses": {
      "Problem401": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem401"
            }
          }
        },
        "description": "Unauthorized",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          },
          "WWW-Authenticate": {
            "description": "Bearer authentication challenge.",
            "schema": {
              "const": "Bearer realm=\"voyage.house\"",
              "type": "string"
            }
          }
        }
      },
      "Problem402": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem402"
            }
          }
        },
        "description": "Hotel search allowance exhausted",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem403": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem403"
            }
          }
        },
        "description": "Insufficient scope; Onboarding required; Several rooms not enabled",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem404": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem404"
            }
          }
        },
        "description": "Resource not found",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem405": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem405"
            }
          }
        },
        "description": "Method not allowed",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem409": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem409"
            }
          }
        },
        "description": "Resource conflict; Rate no longer available; Too many rooms for this hotel; No rates for that many rooms; Price could not be confirmed; Idempotency conflict; Operation in progress",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem413": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem413"
            }
          }
        },
        "description": "Payload too large",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem422": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem422"
            }
          }
        },
        "description": "Invalid request",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem429": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem429"
            }
          }
        },
        "description": "Rate limit exceeded",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem500": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem500"
            }
          }
        },
        "description": "Internal error",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      },
      "Problem503": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/ApiProblem503"
            }
          }
        },
        "description": "API unavailable; Hotel supplier unavailable; Hotel library unavailable",
        "headers": {
          "Retry-After": {
            "description": "Delay in seconds, when supplied for a retryable problem.",
            "schema": {
              "pattern": "^[1-9][0-9]*$",
              "type": "string"
            }
          }
        }
      }
    },
    "schemas": {
      "ApiProblem": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 401,
                "type": "number"
              },
              "title": {
                "const": "Unauthorized",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/unauthorized",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 402,
                "type": "number"
              },
              "title": {
                "const": "Hotel search allowance exhausted",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/quota-exhausted",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 403,
                "type": "number"
              },
              "title": {
                "const": "Insufficient scope",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/insufficient-scope",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 403,
                "type": "number"
              },
              "title": {
                "const": "Onboarding required",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/onboarding-required",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 404,
                "type": "number"
              },
              "title": {
                "const": "Resource not found",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/resource-not-found",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 405,
                "type": "number"
              },
              "title": {
                "const": "Method not allowed",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/method-not-allowed",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Resource conflict",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/resource-conflict",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Rate no longer available",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rate-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Too many rooms for this hotel",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rooms-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "No rates for that many rooms",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rooms-no-rates",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Price could not be confirmed",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/price-not-confirmed",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 403,
                "type": "number"
              },
              "title": {
                "const": "Several rooms not enabled",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rooms-not-enabled",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Idempotency conflict",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/idempotency-conflict",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Operation in progress",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/idempotency-in-progress",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 413,
                "type": "number"
              },
              "title": {
                "const": "Payload too large",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/payload-too-large",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 422,
                "type": "number"
              },
              "title": {
                "const": "Invalid request",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/validation-error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 429,
                "type": "number"
              },
              "title": {
                "const": "Rate limit exceeded",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rate-limited",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 500,
                "type": "number"
              },
              "title": {
                "const": "Internal error",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/internal-error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 503,
                "type": "number"
              },
              "title": {
                "const": "API unavailable",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/api-disabled",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 503,
                "type": "number"
              },
              "title": {
                "const": "Hotel supplier unavailable",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/supplier-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 503,
                "type": "number"
              },
              "title": {
                "const": "Hotel library unavailable",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/hotel-library-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem401": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 401,
                "type": "number"
              },
              "title": {
                "const": "Unauthorized",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/unauthorized",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem402": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 402,
                "type": "number"
              },
              "title": {
                "const": "Hotel search allowance exhausted",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/quota-exhausted",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem403": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 403,
                "type": "number"
              },
              "title": {
                "const": "Insufficient scope",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/insufficient-scope",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 403,
                "type": "number"
              },
              "title": {
                "const": "Onboarding required",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/onboarding-required",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 403,
                "type": "number"
              },
              "title": {
                "const": "Several rooms not enabled",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rooms-not-enabled",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem404": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 404,
                "type": "number"
              },
              "title": {
                "const": "Resource not found",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/resource-not-found",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem405": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 405,
                "type": "number"
              },
              "title": {
                "const": "Method not allowed",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/method-not-allowed",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem409": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Resource conflict",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/resource-conflict",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Rate no longer available",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rate-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Too many rooms for this hotel",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rooms-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "No rates for that many rooms",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rooms-no-rates",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Price could not be confirmed",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/price-not-confirmed",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Idempotency conflict",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/idempotency-conflict",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 409,
                "type": "number"
              },
              "title": {
                "const": "Operation in progress",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/idempotency-in-progress",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem413": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 413,
                "type": "number"
              },
              "title": {
                "const": "Payload too large",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/payload-too-large",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem422": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 422,
                "type": "number"
              },
              "title": {
                "const": "Invalid request",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/validation-error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem429": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 429,
                "type": "number"
              },
              "title": {
                "const": "Rate limit exceeded",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/rate-limited",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem500": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 500,
                "type": "number"
              },
              "title": {
                "const": "Internal error",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/internal-error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "ApiProblem503": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 503,
                "type": "number"
              },
              "title": {
                "const": "API unavailable",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/api-disabled",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 503,
                "type": "number"
              },
              "title": {
                "const": "Hotel supplier unavailable",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/supplier-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "retryAfterSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              "status": {
                "const": 503,
                "type": "number"
              },
              "title": {
                "const": "Hotel library unavailable",
                "type": "string"
              },
              "type": {
                "const": "https://voyage.house/problems/hotel-library-unavailable",
                "type": "string"
              }
            },
            "required": [
              "type",
              "title",
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "add_quote_option_Body": {
        "additionalProperties": false,
        "properties": {
          "adults": {
            "maximum": 8,
            "minimum": 1,
            "type": "integer"
          },
          "checkIn": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "checkOut": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "hotelId": {
            "anyOf": [
              {
                "description": "The Voyage House hotel id (a UUID).",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "type": "string"
              },
              {
                "deprecated": true,
                "description": "Deprecated: an earlier numeric hotel code, still accepted and mapped to its hotel id.",
                "pattern": "^\\d{1,20}$",
                "type": "string"
              }
            ]
          },
          "rateRef": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "rooms": {
            "anyOf": [
              {
                "maximum": 9,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "hotelId",
          "checkIn",
          "checkOut",
          "adults",
          "rateRef"
        ],
        "type": "object"
      },
      "add_quote_option_Input": {
        "additionalProperties": false,
        "properties": {
          "adults": {
            "maximum": 8,
            "minimum": 1,
            "type": "integer"
          },
          "checkIn": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "checkOut": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "hotelId": {
            "anyOf": [
              {
                "description": "The Voyage House hotel id (a UUID).",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "type": "string"
              },
              {
                "deprecated": true,
                "description": "Deprecated: an earlier numeric hotel code, still accepted and mapped to its hotel id.",
                "pattern": "^\\d{1,20}$",
                "type": "string"
              }
            ]
          },
          "rateRef": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "rooms": {
            "anyOf": [
              {
                "maximum": 9,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "hotelId",
          "checkIn",
          "checkOut",
          "adults",
          "rooms",
          "rateRef"
        ],
        "type": "object"
      },
      "add_quote_option_Output": {
        "additionalProperties": false,
        "properties": {
          "created": {
            "type": "boolean"
          },
          "data": {
            "additionalProperties": false,
            "properties": {
              "chargedTotals": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMinor": {
                      "pattern": "^-?\\d+(?![\\s\\S])",
                      "type": "string"
                    },
                    "currency": {
                      "pattern": "^[A-Z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "currency",
                    "amountMinor"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "createdAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "hotel": {
                      "additionalProperties": false,
                      "properties": {
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "anyOf": [
                            {
                              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "city"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "perRoom": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "charged": {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          "roomIndex": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "roomIndex",
                          "charged"
                        ],
                        "type": "object"
                      },
                      "maxItems": 9,
                      "minItems": 2,
                      "type": "array"
                    },
                    "rate": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "enum": [
                            "PERK",
                            "SPECIAL",
                            "MEMBER",
                            "STANDARD",
                            "REGULAR",
                            "OTHER_NEGOTIATED"
                          ],
                          "type": "string"
                        },
                        "planName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "refundable": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "category",
                        "planName",
                        "refundable"
                      ],
                      "type": "object"
                    },
                    "rateExpiresAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "room": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "roomCount": {
                      "maximum": 9,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "stay": {
                      "additionalProperties": false,
                      "properties": {
                        "adults": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "checkIn": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "checkOut": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "childAges": {
                          "items": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "nights": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "checkIn",
                        "checkOut",
                        "nights",
                        "adults",
                        "childAges"
                      ],
                      "type": "object"
                    },
                    "supplierObservedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "hotel",
                    "room",
                    "rate",
                    "stay",
                    "roomCount",
                    "charged",
                    "supplierObservedAt",
                    "rateExpiresAt"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "note": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              "title": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "validityDays": {
                "maximum": 60,
                "minimum": 1,
                "type": "integer"
              },
              "version": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "tripId",
              "title",
              "status",
              "note",
              "validityDays",
              "version",
              "items",
              "chargedTotals",
              "createdAt",
              "updatedAt"
            ],
            "type": "object"
          },
          "itemId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "data",
          "itemId",
          "created"
        ],
        "type": "object"
      },
      "add_traveller_loyalty_program_Body": {
        "additionalProperties": false,
        "properties": {
          "membershipNumber": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "programName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "supplierCode": {
            "pattern": "^[A-Z0-9]{2}$",
            "type": "string"
          }
        },
        "required": [
          "supplierCode",
          "programName",
          "membershipNumber"
        ],
        "type": "object"
      },
      "add_traveller_loyalty_program_Input": {
        "additionalProperties": false,
        "properties": {
          "membershipNumber": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "programName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "supplierCode": {
            "pattern": "^[A-Z0-9]{2}$",
            "type": "string"
          },
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "travellerId",
          "supplierCode",
          "programName",
          "membershipNumber"
        ],
        "type": "object"
      },
      "add_traveller_loyalty_program_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "firstName": {
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "loyaltyPrograms": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "membershipNumber": {
                      "type": "string"
                    },
                    "membershipNumberMasked": {
                      "type": "string"
                    },
                    "programName": {
                      "type": "string"
                    },
                    "supplierCode": {
                      "pattern": "^[A-Z0-9]{2}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "supplierCode",
                    "programName",
                    "membershipNumber",
                    "membershipNumberMasked"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "middleName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "passengerType": {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "clientId",
              "firstName",
              "middleName",
              "lastName",
              "title",
              "passengerType",
              "email",
              "phone",
              "loyaltyPrograms"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "add_trip_traveller_Body": {
        "additionalProperties": false,
        "properties": {
          "lead": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "travellerId"
        ],
        "type": "object"
      },
      "add_trip_traveller_Input": {
        "additionalProperties": false,
        "properties": {
          "lead": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "travellerId",
          "lead"
        ],
        "type": "object"
      },
      "add_trip_traveller_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "lead": {
                  "type": "boolean"
                },
                "travellerId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "travellerId",
                "lead"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "cancel_booking_Input": {
        "additionalProperties": false,
        "properties": {
          "bookingId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "bookingId"
        ],
        "type": "object"
      },
      "cancel_booking_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "confirmUrl": {
                "anyOf": [
                  {
                    "format": "uri",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "roomCount": {
                "maximum": 99,
                "minimum": 1,
                "type": "integer"
              },
              "state": {
                "enum": [
                  "ready",
                  "in-progress",
                  "confirmed",
                  "cancel-in-progress",
                  "cancel-pending",
                  "cancelled",
                  "reconciling",
                  "price-changed",
                  "card-expired",
                  "not-booked"
                ],
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "tripId",
              "state",
              "roomCount",
              "confirmUrl"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "create_api_key_Body": {
        "additionalProperties": false,
        "properties": {
          "actingAgentId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "audience": {
            "enum": [
              "ADVISOR",
              "CLIENT_SITE"
            ],
            "type": "string"
          },
          "expiresIn": {
            "anyOf": [
              {
                "maximum": 31536000,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "rateLimitMax": {
            "exclusiveMinimum": 0,
            "maximum": 2147483647,
            "type": "integer"
          },
          "rateLimitTimeWindow": {
            "exclusiveMinimum": 0,
            "maximum": 2147483647,
            "type": "integer"
          },
          "scopes": {
            "additionalProperties": {
              "items": {
                "maxLength": 64,
                "minLength": 1,
                "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            "propertyNames": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "name",
          "scopes",
          "audience",
          "rateLimitTimeWindow",
          "rateLimitMax"
        ],
        "type": "object"
      },
      "create_api_key_Input": {
        "additionalProperties": false,
        "properties": {
          "actingAgentId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "audience": {
            "enum": [
              "ADVISOR",
              "CLIENT_SITE"
            ],
            "type": "string"
          },
          "expiresIn": {
            "anyOf": [
              {
                "maximum": 31536000,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "rateLimitMax": {
            "exclusiveMinimum": 0,
            "maximum": 2147483647,
            "type": "integer"
          },
          "rateLimitTimeWindow": {
            "exclusiveMinimum": 0,
            "maximum": 2147483647,
            "type": "integer"
          },
          "scopes": {
            "additionalProperties": {
              "items": {
                "maxLength": 64,
                "minLength": 1,
                "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            "propertyNames": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "name",
          "scopes",
          "audience",
          "actingAgentId",
          "expiresIn",
          "rateLimitTimeWindow",
          "rateLimitMax"
        ],
        "type": "object"
      },
      "create_api_key_Output": {
        "additionalProperties": false,
        "properties": {
          "keyId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "plaintextKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefix": {
            "const": "vh_",
            "type": "string"
          },
          "recovery": {
            "anyOf": [
              {
                "const": "revoke-and-reissue",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "enum": [
              "created",
              "reveal_unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "state",
          "keyId",
          "prefix",
          "plaintextKey",
          "recovery"
        ],
        "type": "object"
      },
      "create_booking_link_Body": {
        "additionalProperties": false,
        "properties": {
          "adults": {
            "description": "Adults per room, 1 to 8.",
            "maximum": 8,
            "minimum": 1,
            "type": "integer"
          },
          "checkIn": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "checkOut": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "hotelId": {
            "anyOf": [
              {
                "description": "The Voyage House hotel id (a UUID).",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "type": "string"
              },
              {
                "deprecated": true,
                "description": "Deprecated: an earlier numeric hotel code, still accepted and mapped to its hotel id.",
                "pattern": "^\\d{1,20}$",
                "type": "string"
              }
            ]
          },
          "rateRef": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "rooms": {
            "anyOf": [
              {
                "maximum": 9,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Since 2.7.0. Identical rooms, 1 to 9 (the rateRef must be for the same rooms); 1 when omitted."
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "hotelId",
          "checkIn",
          "checkOut",
          "adults",
          "rateRef"
        ],
        "type": "object"
      },
      "create_booking_link_Input": {
        "additionalProperties": false,
        "properties": {
          "adults": {
            "description": "Adults per room, 1 to 8.",
            "maximum": 8,
            "minimum": 1,
            "type": "integer"
          },
          "checkIn": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "checkOut": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "hotelId": {
            "anyOf": [
              {
                "description": "The Voyage House hotel id (a UUID).",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "type": "string"
              },
              {
                "deprecated": true,
                "description": "Deprecated: an earlier numeric hotel code, still accepted and mapped to its hotel id.",
                "pattern": "^\\d{1,20}$",
                "type": "string"
              }
            ]
          },
          "rateRef": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "rooms": {
            "anyOf": [
              {
                "maximum": 9,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Since 2.7.0. Identical rooms, 1 to 9 (the rateRef must be for the same rooms); 1 when omitted."
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "hotelId",
          "checkIn",
          "checkOut",
          "adults",
          "rooms",
          "rateRef"
        ],
        "type": "object"
      },
      "create_booking_link_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "charged": {
                "additionalProperties": false,
                "properties": {
                  "amountMinor": {
                    "pattern": "^-?\\d+(?![\\s\\S])",
                    "type": "string"
                  },
                  "currency": {
                    "pattern": "^[A-Z]{3}$",
                    "type": "string"
                  }
                },
                "required": [
                  "currency",
                  "amountMinor"
                ],
                "type": "object"
              },
              "checkoutUrl": {
                "format": "uri",
                "type": "string"
              },
              "expiresAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                "type": "string"
              },
              "hotelId": {
                "anyOf": [
                  {
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "checkoutUrl",
              "expiresAt",
              "tripId",
              "hotelId",
              "charged"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "create_client_Body": {
        "additionalProperties": false,
        "properties": {
          "displayCurrencyCode": {
            "anyOf": [
              {
                "enum": [
                  "GBP",
                  "USD",
                  "EUR",
                  "CHF",
                  "JPY",
                  "CNY",
                  "HKD",
                  "SGD",
                  "AUD",
                  "NZD",
                  "CAD",
                  "AED",
                  "SAR",
                  "QAR",
                  "KWD",
                  "BHD",
                  "OMR",
                  "INR",
                  "KRW",
                  "THB",
                  "MYR",
                  "IDR",
                  "PHP",
                  "VND",
                  "TWD",
                  "SEK",
                  "NOK",
                  "DKK",
                  "PLN",
                  "CZK",
                  "HUF",
                  "ZAR",
                  "BRL",
                  "MXN",
                  "TRY",
                  "ILS"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 254,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "ACTIVE",
                  "ARCHIVED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "firstName",
          "lastName"
        ],
        "type": "object"
      },
      "create_client_Input": {
        "additionalProperties": false,
        "properties": {
          "displayCurrencyCode": {
            "anyOf": [
              {
                "enum": [
                  "GBP",
                  "USD",
                  "EUR",
                  "CHF",
                  "JPY",
                  "CNY",
                  "HKD",
                  "SGD",
                  "AUD",
                  "NZD",
                  "CAD",
                  "AED",
                  "SAR",
                  "QAR",
                  "KWD",
                  "BHD",
                  "OMR",
                  "INR",
                  "KRW",
                  "THB",
                  "MYR",
                  "IDR",
                  "PHP",
                  "VND",
                  "TWD",
                  "SEK",
                  "NOK",
                  "DKK",
                  "PLN",
                  "CZK",
                  "HUF",
                  "ZAR",
                  "BRL",
                  "MXN",
                  "TRY",
                  "ILS"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 254,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "ACTIVE",
                  "ARCHIVED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "firstName",
          "lastName",
          "email",
          "phone",
          "tags",
          "status",
          "displayCurrencyCode"
        ],
        "type": "object"
      },
      "create_client_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "displayCurrencyCode": {
                    "enum": [
                      "GBP",
                      "USD",
                      "EUR",
                      "CHF",
                      "JPY",
                      "CNY",
                      "HKD",
                      "SGD",
                      "AUD",
                      "NZD",
                      "CAD",
                      "AED",
                      "SAR",
                      "QAR",
                      "KWD",
                      "BHD",
                      "OMR",
                      "INR",
                      "KRW",
                      "THB",
                      "MYR",
                      "IDR",
                      "PHP",
                      "VND",
                      "TWD",
                      "SEK",
                      "NOK",
                      "DKK",
                      "PLN",
                      "CZK",
                      "HUF",
                      "ZAR",
                      "BRL",
                      "MXN",
                      "TRY",
                      "ILS"
                    ],
                    "type": "string"
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lastActivityAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "marketingOptIn": {
                    "type": "boolean"
                  },
                  "name": {
                    "additionalProperties": false,
                    "properties": {
                      "firstName": {
                        "type": "string"
                      },
                      "kind": {
                        "const": "live",
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "firstName",
                      "lastName"
                    ],
                    "type": "object"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "redactedAt": {
                    "type": "null"
                  },
                  "status": {
                    "enum": [
                      "ACTIVE",
                      "ARCHIVED"
                    ],
                    "type": "string"
                  },
                  "tags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "lastActivityAt",
                  "name",
                  "email",
                  "phone",
                  "tags",
                  "marketingOptIn",
                  "displayCurrencyCode",
                  "redactedAt"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lastActivityAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "name": {
                    "additionalProperties": false,
                    "properties": {
                      "initials": {
                        "maxLength": 16,
                        "minLength": 1,
                        "type": "string"
                      },
                      "kind": {
                        "const": "redacted",
                        "type": "string"
                      },
                      "redactedAt": {
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "initials",
                      "redactedAt"
                    ],
                    "type": "object"
                  },
                  "redactedAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "ACTIVE",
                      "ARCHIVED"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "lastActivityAt",
                  "name",
                  "redactedAt"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "create_oauth_client_Body": {
        "additionalProperties": false,
        "properties": {
          "actingAgentId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "audience": {
            "enum": [
              "ADVISOR",
              "CLIENT_SITE"
            ],
            "type": "string"
          },
          "expiresIn": {
            "anyOf": [
              {
                "maximum": 31536000,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "additionalProperties": {
              "items": {
                "maxLength": 64,
                "minLength": 1,
                "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            "propertyNames": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
              "type": "string"
            },
            "type": "object"
          },
          "tokenEndpointAuthMethod": {
            "enum": [
              "client_secret_basic",
              "client_secret_post"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "scopes",
          "audience",
          "tokenEndpointAuthMethod"
        ],
        "type": "object"
      },
      "create_oauth_client_Input": {
        "additionalProperties": false,
        "properties": {
          "actingAgentId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "audience": {
            "enum": [
              "ADVISOR",
              "CLIENT_SITE"
            ],
            "type": "string"
          },
          "expiresIn": {
            "anyOf": [
              {
                "maximum": 31536000,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "additionalProperties": {
              "items": {
                "maxLength": 64,
                "minLength": 1,
                "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            "propertyNames": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
              "type": "string"
            },
            "type": "object"
          },
          "tokenEndpointAuthMethod": {
            "enum": [
              "client_secret_basic",
              "client_secret_post"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "scopes",
          "audience",
          "actingAgentId",
          "expiresIn",
          "tokenEndpointAuthMethod"
        ],
        "type": "object"
      },
      "create_oauth_client_Output": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "clientSecret": {
            "type": [
              "string",
              "null"
            ]
          },
          "credentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          },
          "operationId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "recovery": {
            "anyOf": [
              {
                "const": "rotate-secret",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "enum": [
              "created",
              "reveal_unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "state",
          "operationId",
          "clientId",
          "credentialVersion",
          "clientSecret",
          "recovery"
        ],
        "type": "object"
      },
      "create_traveller_Body": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 320,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "middleName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "passengerType": {
            "anyOf": [
              {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "firstName",
          "lastName"
        ],
        "type": "object"
      },
      "create_traveller_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 320,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "middleName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "passengerType": {
            "anyOf": [
              {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clientId",
          "firstName",
          "lastName",
          "middleName",
          "title",
          "passengerType",
          "email",
          "phone"
        ],
        "type": "object"
      },
      "create_traveller_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "firstName": {
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "loyaltyPrograms": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "membershipNumber": {
                      "type": "string"
                    },
                    "membershipNumberMasked": {
                      "type": "string"
                    },
                    "programName": {
                      "type": "string"
                    },
                    "supplierCode": {
                      "pattern": "^[A-Z0-9]{2}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "supplierCode",
                    "programName",
                    "membershipNumber",
                    "membershipNumberMasked"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "middleName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "passengerType": {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "clientId",
              "firstName",
              "middleName",
              "lastName",
              "title",
              "passengerType",
              "email",
              "phone",
              "loyaltyPrograms"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "create_trip_Body": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "endDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "startDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clientId",
          "name"
        ],
        "type": "object"
      },
      "create_trip_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "endDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "startDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clientId",
          "name",
          "destination",
          "startDate",
          "endDate"
        ],
        "type": "object"
      },
      "create_trip_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "destination": {
                "anyOf": [
                  {
                    "maxLength": 256,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "endDate": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "name": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "startDate": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PLANNING",
                  "QUOTED",
                  "BOOKED",
                  "IN_PROGRESS",
                  "COMPLETED",
                  "CANCELLED"
                ],
                "type": "string"
              },
              "travellerCount": {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              }
            },
            "required": [
              "id",
              "clientId",
              "name",
              "status",
              "startDate",
              "endDate",
              "destination",
              "travellerCount",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "delete_client_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "clientId"
        ],
        "type": "object"
      },
      "delete_client_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "deleted": {
                "const": true,
                "type": "boolean"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "deleted"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "delete_quote_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          }
        },
        "required": [
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "delete_quote_Input": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteId",
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "delete_quote_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "deleted": {
                "const": true,
                "type": "boolean"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "deleted"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "delete_traveller_Input": {
        "additionalProperties": false,
        "properties": {
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "travellerId"
        ],
        "type": "object"
      },
      "delete_traveller_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "deleted": {
                "const": true,
                "type": "boolean"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "deleted"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "delete_trip_Input": {
        "additionalProperties": false,
        "properties": {
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId"
        ],
        "type": "object"
      },
      "delete_trip_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "deleted": {
                "const": true,
                "type": "boolean"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "deleted"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "get_agency_context_Input": {
        "additionalProperties": false,
        "properties": {},
        "type": "object"
      },
      "get_agency_context_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "advisorId": {
                "minLength": 1,
                "type": "string"
              },
              "advisorName": {
                "type": "string"
              },
              "agencyId": {
                "minLength": 1,
                "type": "string"
              },
              "agencyName": {
                "type": "string"
              },
              "displayCurrencyCode": {
                "enum": [
                  "GBP",
                  "USD",
                  "EUR",
                  "CHF",
                  "JPY",
                  "CNY",
                  "HKD",
                  "SGD",
                  "AUD",
                  "NZD",
                  "CAD",
                  "AED",
                  "SAR",
                  "QAR",
                  "KWD",
                  "BHD",
                  "OMR",
                  "INR",
                  "KRW",
                  "THB",
                  "MYR",
                  "IDR",
                  "PHP",
                  "VND",
                  "TWD",
                  "SEK",
                  "NOK",
                  "DKK",
                  "PLN",
                  "CZK",
                  "HUF",
                  "ZAR",
                  "BRL",
                  "MXN",
                  "TRY",
                  "ILS"
                ],
                "type": "string"
              },
              "permissions": {
                "additionalProperties": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "propertyNames": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "object"
              },
              "role": {
                "enum": [
                  "owner",
                  "admin",
                  "member",
                  "sub_advisor"
                ],
                "type": "string"
              }
            },
            "required": [
              "agencyId",
              "agencyName",
              "advisorId",
              "advisorName",
              "role",
              "displayCurrencyCode",
              "permissions"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "list_api_keys_Input": {
        "additionalProperties": false,
        "properties": {},
        "type": "object"
      },
      "list_api_keys_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "actingAgentId": {
                  "anyOf": [
                    {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "audience": {
                  "enum": [
                    "ADVISOR",
                    "CLIENT_SITE"
                  ],
                  "type": "string"
                },
                "createdAt": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                  "type": "string"
                },
                "enabled": {
                  "type": "boolean"
                },
                "expiresAt": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "lastRequest": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "maxLength": 32,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prefix": {
                  "const": "vh_",
                  "type": "string"
                },
                "rateLimitMax": {
                  "exclusiveMinimum": 0,
                  "maximum": 2147483647,
                  "type": "integer"
                },
                "rateLimitTimeWindow": {
                  "exclusiveMinimum": 0,
                  "maximum": 2147483647,
                  "type": "integer"
                },
                "scopes": {
                  "additionalProperties": {
                    "items": {
                      "maxLength": 64,
                      "minLength": 1,
                      "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                      "type": "string"
                    },
                    "maxItems": 64,
                    "type": "array"
                  },
                  "propertyNames": {
                    "maxLength": 64,
                    "minLength": 1,
                    "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                    "type": "string"
                  },
                  "type": "object"
                },
                "start": {
                  "anyOf": [
                    {
                      "maxLength": 32,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "start",
                "prefix",
                "scopes",
                "actingAgentId",
                "audience",
                "expiresAt",
                "lastRequest",
                "enabled",
                "createdAt",
                "rateLimitMax",
                "rateLimitTimeWindow"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "nextCursor": {
            "type": "null"
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "list_bookings_Input": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "maxLength": 512,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  {
                    "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "limit",
          "cursor"
        ],
        "type": "object"
      },
      "list_bookings_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "awaitingHotel": {
                  "const": true,
                  "type": "boolean"
                },
                "cancelledAt": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "charged": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "checkIn": {
                  "anyOf": [
                    {
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "checkOut": {
                  "anyOf": [
                    {
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "confirmedTotalMismatch": {
                  "additionalProperties": false,
                  "properties": {
                    "accepted": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "type": "string"
                        },
                        "currency": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amount"
                      ],
                      "type": "object"
                    },
                    "basis": {
                      "enum": [
                        "total",
                        "afterTax"
                      ],
                      "type": "string"
                    },
                    "confirmed": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "type": "string"
                        },
                        "currency": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amount"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "confirmed",
                    "accepted",
                    "basis"
                  ],
                  "type": "object"
                },
                "hotelConfirmation": {
                  "anyOf": [
                    {
                      "maxLength": 128,
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hotelName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "id": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "notBookedReason": {
                  "enum": [
                    "ROOMS_REFUSED"
                  ],
                  "type": "string"
                },
                "perRoom": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "charged": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "fees": {
                        "additionalProperties": false,
                        "properties": {
                          "amountMinor": {
                            "pattern": "^-?\\d+(?![\\s\\S])",
                            "type": "string"
                          },
                          "currency": {
                            "pattern": "^[A-Z]{3}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "currency",
                          "amountMinor"
                        ],
                        "type": "object"
                      },
                      "roomIndex": {
                        "maximum": 99,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "taxes": {
                        "additionalProperties": false,
                        "properties": {
                          "amountMinor": {
                            "pattern": "^-?\\d+(?![\\s\\S])",
                            "type": "string"
                          },
                          "currency": {
                            "pattern": "^[A-Z]{3}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "currency",
                          "amountMinor"
                        ],
                        "type": "object"
                      }
                    },
                    "required": [
                      "roomIndex",
                      "charged"
                    ],
                    "type": "object"
                  },
                  "maxItems": 99,
                  "minItems": 2,
                  "type": "array"
                },
                "reference": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "roomCount": {
                  "maximum": 99,
                  "minimum": 1,
                  "type": "integer"
                },
                "state": {
                  "enum": [
                    "ready",
                    "in-progress",
                    "confirmed",
                    "cancel-in-progress",
                    "cancel-pending",
                    "cancelled",
                    "reconciling",
                    "price-changed",
                    "card-expired",
                    "not-booked"
                  ],
                  "type": "string"
                },
                "tripId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "tripId",
                "hotelName",
                "checkIn",
                "checkOut",
                "state",
                "reference",
                "hotelConfirmation",
                "roomCount",
                "charged",
                "cancelledAt"
              ],
              "type": "object"
            },
            "maxItems": 50,
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "list_clients_Input": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "maxLength": 512,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  {
                    "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "q": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "ACTIVE",
                  "ARCHIVED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "limit",
          "cursor",
          "q",
          "status"
        ],
        "type": "object"
      },
      "list_clients_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "displayCurrencyCode": {
                      "enum": [
                        "GBP",
                        "USD",
                        "EUR",
                        "CHF",
                        "JPY",
                        "CNY",
                        "HKD",
                        "SGD",
                        "AUD",
                        "NZD",
                        "CAD",
                        "AED",
                        "SAR",
                        "QAR",
                        "KWD",
                        "BHD",
                        "OMR",
                        "INR",
                        "KRW",
                        "THB",
                        "MYR",
                        "IDR",
                        "PHP",
                        "VND",
                        "TWD",
                        "SEK",
                        "NOK",
                        "DKK",
                        "PLN",
                        "CZK",
                        "HUF",
                        "ZAR",
                        "BRL",
                        "MXN",
                        "TRY",
                        "ILS"
                      ],
                      "type": "string"
                    },
                    "email": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "lastActivityAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "marketingOptIn": {
                      "type": "boolean"
                    },
                    "name": {
                      "additionalProperties": false,
                      "properties": {
                        "firstName": {
                          "type": "string"
                        },
                        "kind": {
                          "const": "live",
                          "type": "string"
                        },
                        "lastName": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "firstName",
                        "lastName"
                      ],
                      "type": "object"
                    },
                    "phone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "redactedAt": {
                      "type": "null"
                    },
                    "status": {
                      "enum": [
                        "ACTIVE",
                        "ARCHIVED"
                      ],
                      "type": "string"
                    },
                    "tags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "id",
                    "status",
                    "lastActivityAt",
                    "name",
                    "email",
                    "phone",
                    "tags",
                    "marketingOptIn",
                    "displayCurrencyCode",
                    "redactedAt"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "lastActivityAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "name": {
                      "additionalProperties": false,
                      "properties": {
                        "initials": {
                          "maxLength": 16,
                          "minLength": 1,
                          "type": "string"
                        },
                        "kind": {
                          "const": "redacted",
                          "type": "string"
                        },
                        "redactedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "initials",
                        "redactedAt"
                      ],
                      "type": "object"
                    },
                    "redactedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "ACTIVE",
                        "ARCHIVED"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "status",
                    "lastActivityAt",
                    "name",
                    "redactedAt"
                  ],
                  "type": "object"
                }
              ]
            },
            "maxItems": 50,
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "list_incentives_ClientOutput": {
        "additionalProperties": false,
        "properties": {
          "incentives": {
            "items": {
              "not": {}
            },
            "maxItems": 0,
            "type": "array"
          }
        },
        "required": [
          "incentives"
        ],
        "type": "object"
      },
      "list_incentives_Input": {
        "additionalProperties": false,
        "properties": {
          "checkIn": {
            "anyOf": [
              {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Stay check-in, YYYY-MM-DD, or null."
          },
          "checkOut": {
            "anyOf": [
              {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Stay check-out, YYYY-MM-DD, or null."
          },
          "hotelId": {
            "anyOf": [
              {
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A hotel's id from a result in this chat (a UUID), or null."
          },
          "partner": {
            "anyOf": [
              {
                "maxLength": 120,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A partner name or partner page slug, or null for every partner."
          }
        },
        "required": [
          "partner",
          "hotelId",
          "checkIn",
          "checkOut"
        ],
        "type": "object"
      },
      "list_incentives_Output": {
        "additionalProperties": false,
        "properties": {
          "incentives": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "bookBy": {
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "type": "string"
                },
                "bookingOpen": {
                  "type": "boolean"
                },
                "commission": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "grossPercent": {
                          "pattern": "^(?:0|[1-9]\\d{0,2})(?:\\.\\d{0,1}[1-9])?$",
                          "type": "string"
                        },
                        "kind": {
                          "enum": [
                            "agency",
                            "own"
                          ],
                          "type": "string"
                        },
                        "shownPercent": {
                          "anyOf": [
                            {
                              "pattern": "^(?:0|[1-9]\\d{0,2})(?:\\.\\d{0,1}[1-9])?$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "steps": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "label": {
                                "enum": [
                                  "gross",
                                  "agencyShare",
                                  "combined"
                                ],
                                "type": "string"
                              },
                              "parts": {
                                "anyOf": [
                                  {
                                    "items": false,
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "prefixItems": [
                                      {
                                        "pattern": "^(?:0|[1-9]\\d{0,2})(?:\\.\\d{0,1}[1-9])?$",
                                        "type": "string"
                                      },
                                      {
                                        "pattern": "^(?:0|[1-9]\\d{0,2})(?:\\.\\d{0,1}[1-9])?$",
                                        "type": "string"
                                      }
                                    ],
                                    "type": "array"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "percent": {
                                "pattern": "^(?:0|[1-9]\\d{0,2})(?:\\.\\d{0,1}[1-9])?$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "label",
                              "percent",
                              "parts"
                            ],
                            "type": "object"
                          },
                          "maxItems": 2,
                          "minItems": 2,
                          "type": "array"
                        }
                      },
                      "required": [
                        "grossPercent",
                        "shownPercent",
                        "kind",
                        "steps"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "details": {
                  "maxLength": 2000,
                  "type": "string"
                },
                "enhancedPercent": {
                  "anyOf": [
                    {
                      "maxLength": 8,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hotelCount": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "name": {
                  "maxLength": 120,
                  "minLength": 1,
                  "type": "string"
                },
                "partners": {
                  "items": {
                    "maxLength": 120,
                    "minLength": 1,
                    "type": "string"
                  },
                  "maxItems": 50,
                  "type": "array"
                },
                "slug": {
                  "maxLength": 96,
                  "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                  "type": "string"
                },
                "travelBy": {
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "type": "string"
                },
                "travelFrom": {
                  "anyOf": [
                    {
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "slug",
                "name",
                "bookBy",
                "travelFrom",
                "travelBy",
                "bookingOpen",
                "partners",
                "hotelCount",
                "details",
                "enhancedPercent",
                "commission"
              ],
              "type": "object"
            },
            "maxItems": 20,
            "type": "array"
          }
        },
        "required": [
          "incentives"
        ],
        "type": "object"
      },
      "list_oauth_clients_Input": {
        "additionalProperties": false,
        "properties": {},
        "type": "object"
      },
      "list_oauth_clients_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "actingAgentId": {
                  "anyOf": [
                    {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "audience": {
                  "enum": [
                    "ADVISOR",
                    "CLIENT_SITE"
                  ],
                  "type": "string"
                },
                "clientId": {
                  "pattern": "^[A-Za-z0-9_-]{43}$",
                  "type": "string"
                },
                "createdAt": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                  "type": "string"
                },
                "credentialVersion": {
                  "maximum": 2147483647,
                  "minimum": 1,
                  "type": "integer"
                },
                "expiresAt": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "maxLength": 32,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "revokedAt": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scopes": {
                  "additionalProperties": {
                    "items": {
                      "maxLength": 64,
                      "minLength": 1,
                      "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                      "type": "string"
                    },
                    "maxItems": 64,
                    "type": "array"
                  },
                  "propertyNames": {
                    "maxLength": 64,
                    "minLength": 1,
                    "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                    "type": "string"
                  },
                  "type": "object"
                },
                "status": {
                  "enum": [
                    "ACTIVE",
                    "REVOKED"
                  ],
                  "type": "string"
                },
                "tokenEndpointAuthMethod": {
                  "enum": [
                    "client_secret_basic",
                    "client_secret_post"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "clientId",
                "name",
                "tokenEndpointAuthMethod",
                "credentialVersion",
                "audience",
                "scopes",
                "actingAgentId",
                "status",
                "expiresAt",
                "revokedAt",
                "createdAt"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "nextCursor": {
            "type": "null"
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "list_quotes_Input": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "maxLength": 512,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  {
                    "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tripId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "limit",
          "cursor",
          "tripId",
          "status"
        ],
        "type": "object"
      },
      "list_quotes_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "chargedTotals": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "amountMinor": {
                        "pattern": "^-?\\d+(?![\\s\\S])",
                        "type": "string"
                      },
                      "currency": {
                        "pattern": "^[A-Z]{3}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "amountMinor"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "formerAdvisor": {
                  "const": true,
                  "type": "boolean"
                },
                "id": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "itemCount": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "status": {
                  "enum": [
                    "PROPOSED",
                    "DRAFT",
                    "SENT",
                    "VIEWED",
                    "ACCEPTED",
                    "DECLINED",
                    "EXPIRED",
                    "SEND_FAILED",
                    "BOOKED"
                  ],
                  "type": "string"
                },
                "title": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "tripId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "updatedAt": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "tripId",
                "title",
                "status",
                "itemCount",
                "chargedTotals",
                "createdAt",
                "updatedAt"
              ],
              "type": "object"
            },
            "maxItems": 50,
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "list_rate_programs_Input": {
        "additionalProperties": false,
        "properties": {},
        "type": "object"
      },
      "list_rate_programs_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "category": {
                  "enum": [
                    "PERK",
                    "SPECIAL",
                    "MEMBER",
                    "STANDARD",
                    "REGULAR",
                    "OTHER_NEGOTIATED"
                  ],
                  "type": "string"
                },
                "labelKey": {
                  "enum": [
                    "rate-programs:categories.perk",
                    "rate-programs:categories.special",
                    "rate-programs:categories.member",
                    "rate-programs:categories.standard",
                    "rate-programs:categories.regular",
                    "rate-programs:categories.otherNegotiated"
                  ],
                  "type": "string"
                },
                "order": {
                  "maximum": 6,
                  "minimum": 1,
                  "type": "integer"
                },
                "programs": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "code": {
                        "pattern": "^[A-Z]{3}$",
                        "type": "string"
                      },
                      "labelKey": {
                        "enum": [
                          "rate-programs:programs.preferredPerk",
                          "rate-programs:programs.partnerPerk",
                          "rate-programs:programs.preferredSpecial",
                          "rate-programs:programs.partnerSpecial",
                          "rate-programs:programs.member",
                          "rate-programs:programs.standardPrimary",
                          "rate-programs:programs.standardPartner",
                          "rate-programs:programs.standardAdditional"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "labelKey"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "category",
                "order",
                "labelKey",
                "programs"
              ],
              "type": "object"
            },
            "maxItems": 6,
            "minItems": 6,
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "list_travellers_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "cursor": {
            "anyOf": [
              {
                "maxLength": 512,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  {
                    "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clientId",
          "limit",
          "cursor"
        ],
        "type": "object"
      },
      "list_travellers_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "clientId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "firstName": {
                  "type": "string"
                },
                "id": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "loyaltyPrograms": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "maxLength": 256,
                        "minLength": 1,
                        "type": "string"
                      },
                      "membershipNumber": {
                        "type": "string"
                      },
                      "membershipNumberMasked": {
                        "type": "string"
                      },
                      "programName": {
                        "type": "string"
                      },
                      "supplierCode": {
                        "pattern": "^[A-Z0-9]{2}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "supplierCode",
                      "programName",
                      "membershipNumber",
                      "membershipNumberMasked"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "middleName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "passengerType": {
                  "enum": [
                    "ADULT",
                    "CHILD",
                    "INFANT"
                  ],
                  "type": "string"
                },
                "phone": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "clientId",
                "firstName",
                "middleName",
                "lastName",
                "title",
                "passengerType",
                "email",
                "phone",
                "loyaltyPrograms"
              ],
              "type": "object"
            },
            "maxItems": 50,
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "list_trip_travellers_Input": {
        "additionalProperties": false,
        "properties": {
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId"
        ],
        "type": "object"
      },
      "list_trip_travellers_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "lead": {
                  "type": "boolean"
                },
                "travellerId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "travellerId",
                "lead"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "list_trips_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cursor": {
            "anyOf": [
              {
                "maxLength": 512,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  {
                    "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "PLANNING",
                  "QUOTED",
                  "BOOKED",
                  "IN_PROGRESS",
                  "COMPLETED",
                  "CANCELLED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "limit",
          "cursor",
          "clientId",
          "status"
        ],
        "type": "object"
      },
      "list_trips_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "clientId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "destination": {
                  "anyOf": [
                    {
                      "maxLength": 256,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "endDate": {
                  "anyOf": [
                    {
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "startDate": {
                  "anyOf": [
                    {
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "enum": [
                    "PLANNING",
                    "QUOTED",
                    "BOOKED",
                    "IN_PROGRESS",
                    "COMPLETED",
                    "CANCELLED"
                  ],
                  "type": "string"
                },
                "travellerCount": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "updatedAt": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "clientId",
                "name",
                "status",
                "startDate",
                "endDate",
                "destination",
                "travellerCount",
                "updatedAt"
              ],
              "type": "object"
            },
            "maxItems": 50,
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "read_booking_Input": {
        "additionalProperties": false,
        "properties": {
          "bookingId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "bookingId"
        ],
        "type": "object"
      },
      "read_booking_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "awaitingHotel": {
                "const": true,
                "type": "boolean"
              },
              "cancelledAt": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "charged": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "amountMinor": {
                        "pattern": "^-?\\d+(?![\\s\\S])",
                        "type": "string"
                      },
                      "currency": {
                        "pattern": "^[A-Z]{3}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "amountMinor"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "checkIn": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "checkOut": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "confirmedTotalMismatch": {
                "additionalProperties": false,
                "properties": {
                  "accepted": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "type": "object"
                  },
                  "basis": {
                    "enum": [
                      "total",
                      "afterTax"
                    ],
                    "type": "string"
                  },
                  "confirmed": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "confirmed",
                  "accepted",
                  "basis"
                ],
                "type": "object"
              },
              "hotelConfirmation": {
                "anyOf": [
                  {
                    "maxLength": 128,
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hotelName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "notBookedReason": {
                "enum": [
                  "ROOMS_REFUSED"
                ],
                "type": "string"
              },
              "perRoom": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "amountMinor": {
                              "pattern": "^-?\\d+(?![\\s\\S])",
                              "type": "string"
                            },
                            "currency": {
                              "pattern": "^[A-Z]{3}$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "amountMinor"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "roomIndex": {
                      "maximum": 99,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "roomIndex",
                    "charged"
                  ],
                  "type": "object"
                },
                "maxItems": 99,
                "minItems": 2,
                "type": "array"
              },
              "reference": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "roomCount": {
                "maximum": 99,
                "minimum": 1,
                "type": "integer"
              },
              "state": {
                "enum": [
                  "ready",
                  "in-progress",
                  "confirmed",
                  "cancel-in-progress",
                  "cancel-pending",
                  "cancelled",
                  "reconciling",
                  "price-changed",
                  "card-expired",
                  "not-booked"
                ],
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "tripId",
              "hotelName",
              "checkIn",
              "checkOut",
              "state",
              "reference",
              "hotelConfirmation",
              "roomCount",
              "charged",
              "cancelledAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "read_client_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "clientId"
        ],
        "type": "object"
      },
      "read_client_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "displayCurrencyCode": {
                    "enum": [
                      "GBP",
                      "USD",
                      "EUR",
                      "CHF",
                      "JPY",
                      "CNY",
                      "HKD",
                      "SGD",
                      "AUD",
                      "NZD",
                      "CAD",
                      "AED",
                      "SAR",
                      "QAR",
                      "KWD",
                      "BHD",
                      "OMR",
                      "INR",
                      "KRW",
                      "THB",
                      "MYR",
                      "IDR",
                      "PHP",
                      "VND",
                      "TWD",
                      "SEK",
                      "NOK",
                      "DKK",
                      "PLN",
                      "CZK",
                      "HUF",
                      "ZAR",
                      "BRL",
                      "MXN",
                      "TRY",
                      "ILS"
                    ],
                    "type": "string"
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lastActivityAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "marketingOptIn": {
                    "type": "boolean"
                  },
                  "name": {
                    "additionalProperties": false,
                    "properties": {
                      "firstName": {
                        "type": "string"
                      },
                      "kind": {
                        "const": "live",
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "firstName",
                      "lastName"
                    ],
                    "type": "object"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "redactedAt": {
                    "type": "null"
                  },
                  "status": {
                    "enum": [
                      "ACTIVE",
                      "ARCHIVED"
                    ],
                    "type": "string"
                  },
                  "tags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "lastActivityAt",
                  "name",
                  "email",
                  "phone",
                  "tags",
                  "marketingOptIn",
                  "displayCurrencyCode",
                  "redactedAt"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lastActivityAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "name": {
                    "additionalProperties": false,
                    "properties": {
                      "initials": {
                        "maxLength": 16,
                        "minLength": 1,
                        "type": "string"
                      },
                      "kind": {
                        "const": "redacted",
                        "type": "string"
                      },
                      "redactedAt": {
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "initials",
                      "redactedAt"
                    ],
                    "type": "object"
                  },
                  "redactedAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "ACTIVE",
                      "ARCHIVED"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "lastActivityAt",
                  "name",
                  "redactedAt"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "read_hotel_rates_ClientOutput": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "hotel": {
                "additionalProperties": false,
                "properties": {
                  "chainCode": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "city": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "countryCode": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "hotelId": {
                    "anyOf": [
                      {
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "hotelId",
                  "name",
                  "chainCode",
                  "city",
                  "countryCode"
                ],
                "type": "object"
              },
              "rooms": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "rates": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "breakfastIncluded": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "cancelPenalties": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "amount": {
                                  "anyOf": [
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amountMinor": {
                                          "pattern": "^-?\\d+(?![\\s\\S])",
                                          "type": "string"
                                        },
                                        "currency": {
                                          "pattern": "^[A-Z]{3}$",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "currency",
                                        "amountMinor"
                                      ],
                                      "type": "object"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "deadline": {
                                  "anyOf": [
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "absolute": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "offsetDropTime": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "offsetMultiplier": {
                                          "anyOf": [
                                            {
                                              "maximum": 9007199254740991,
                                              "minimum": -9007199254740991,
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "offsetUnit": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "absolute",
                                        "offsetUnit",
                                        "offsetMultiplier",
                                        "offsetDropTime"
                                      ],
                                      "type": "object"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "nights": {
                                  "anyOf": [
                                    {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "percent": {
                                  "anyOf": [
                                    {
                                      "maximum": 100,
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "deadline",
                                "amount",
                                "percent",
                                "nights"
                              ],
                              "type": "object"
                            },
                            "maxItems": 10,
                            "type": "array"
                          },
                          "category": {
                            "type": "string"
                          },
                          "charged": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "checkDeadlineWithHotel": {
                            "type": "boolean"
                          },
                          "fees": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "freeCancelUntil": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "hotelDeadline": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "day": {
                                    "format": "date",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                                    "type": "string"
                                  },
                                  "time": {
                                    "anyOf": [
                                      {
                                        "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "day",
                                  "time"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "payment": {
                            "anyOf": [
                              {
                                "enum": [
                                  "pay_at_hotel",
                                  "deposit",
                                  "prepaid"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "perRoom": {
                            "anyOf": [
                              {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "beforeTax": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amountMinor": {
                                          "pattern": "^-?\\d+(?![\\s\\S])",
                                          "type": "string"
                                        },
                                        "currency": {
                                          "pattern": "^[A-Z]{3}$",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "currency",
                                        "amountMinor"
                                      ],
                                      "type": "object"
                                    },
                                    "charged": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amountMinor": {
                                          "pattern": "^-?\\d+(?![\\s\\S])",
                                          "type": "string"
                                        },
                                        "currency": {
                                          "pattern": "^[A-Z]{3}$",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "currency",
                                        "amountMinor"
                                      ],
                                      "type": "object"
                                    },
                                    "fees": {
                                      "anyOf": [
                                        {
                                          "additionalProperties": false,
                                          "properties": {
                                            "amountMinor": {
                                              "pattern": "^-?\\d+(?![\\s\\S])",
                                              "type": "string"
                                            },
                                            "currency": {
                                              "pattern": "^[A-Z]{3}$",
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "currency",
                                            "amountMinor"
                                          ],
                                          "type": "object"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "roomIndex": {
                                      "maximum": 9,
                                      "minimum": 1,
                                      "type": "integer"
                                    },
                                    "taxes": {
                                      "anyOf": [
                                        {
                                          "additionalProperties": false,
                                          "properties": {
                                            "amountMinor": {
                                              "pattern": "^-?\\d+(?![\\s\\S])",
                                              "type": "string"
                                            },
                                            "currency": {
                                              "pattern": "^[A-Z]{3}$",
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "currency",
                                            "amountMinor"
                                          ],
                                          "type": "object"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "roomIndex",
                                    "charged",
                                    "beforeTax",
                                    "taxes",
                                    "fees"
                                  ],
                                  "type": "object"
                                },
                                "maxItems": 9,
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "planName": {
                            "type": "string"
                          },
                          "prepaid": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "rateRef": {
                            "anyOf": [
                              {
                                "pattern": "^[A-Za-z0-9_-]{43}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "refundable": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "roomCount": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "taxes": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "total": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "rateRef",
                          "category",
                          "planName",
                          "breakfastIncluded",
                          "prepaid",
                          "payment",
                          "charged",
                          "total",
                          "refundable",
                          "freeCancelUntil",
                          "hotelDeadline",
                          "checkDeadlineWithHotel",
                          "cancelPenalties",
                          "roomCount",
                          "perRoom",
                          "taxes",
                          "fees"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "roomTypeCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "roomTypeCode",
                    "rates"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "stay": {
                "additionalProperties": false,
                "properties": {
                  "adults": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "checkIn": {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  "checkOut": {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  "rooms": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  }
                },
                "required": [
                  "checkIn",
                  "checkOut",
                  "adults",
                  "rooms"
                ],
                "type": "object"
              }
            },
            "required": [
              "hotel",
              "stay",
              "rooms"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "read_hotel_rates_Input": {
        "additionalProperties": false,
        "properties": {
          "adults": {
            "anyOf": [
              {
                "maximum": 8,
                "minimum": 1,
                "type": "integer"
              },
              {
                "pattern": "^[1-8]$",
                "type": "string"
              }
            ],
            "description": "Adults per room, 1 to 8."
          },
          "checkIn": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "checkOut": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "hotelId": {
            "anyOf": [
              {
                "description": "The Voyage House hotel id (a UUID).",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "type": "string"
              },
              {
                "deprecated": true,
                "description": "Deprecated: an earlier numeric hotel code, still accepted and mapped to its hotel id.",
                "pattern": "^\\d{1,20}$",
                "type": "string"
              }
            ]
          },
          "rooms": {
            "anyOf": [
              {
                "pattern": "^[1-9]$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Since 2.7.0. Identical rooms, \"1\" to \"9\", each with `adults` adults; 1 when omitted. Every price is for all rooms."
          }
        },
        "required": [
          "hotelId",
          "checkIn",
          "checkOut",
          "adults",
          "rooms"
        ],
        "type": "object"
      },
      "read_hotel_rates_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "commission": {
                "anyOf": [
                  {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "audience": {
                            "const": "principal",
                            "type": "string"
                          },
                          "gross": {
                            "additionalProperties": false,
                            "properties": {
                              "maxBps": {
                                "maximum": 10000,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "minBps": {
                                "maximum": 10000,
                                "minimum": 1,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "minBps",
                              "maxBps"
                            ],
                            "type": "object"
                          },
                          "kind": {
                            "const": "percent",
                            "type": "string"
                          },
                          "result": {
                            "additionalProperties": false,
                            "properties": {
                              "max": {
                                "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                "type": "string"
                              },
                              "min": {
                                "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                "type": "string"
                              }
                            },
                            "required": [
                              "min",
                              "max"
                            ],
                            "type": "object"
                          },
                          "shares": {
                            "additionalProperties": false,
                            "properties": {
                              "agencyBps": {
                                "maximum": 10000,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "agencyBps"
                            ],
                            "type": "object"
                          }
                        },
                        "required": [
                          "kind",
                          "audience",
                          "gross",
                          "shares",
                          "result"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "audience": {
                            "const": "advisor",
                            "type": "string"
                          },
                          "gross": {
                            "additionalProperties": false,
                            "properties": {
                              "maxBps": {
                                "maximum": 10000,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "minBps": {
                                "maximum": 10000,
                                "minimum": 1,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "minBps",
                              "maxBps"
                            ],
                            "type": "object"
                          },
                          "kind": {
                            "const": "percent",
                            "type": "string"
                          },
                          "result": {
                            "additionalProperties": false,
                            "properties": {
                              "max": {
                                "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                "type": "string"
                              },
                              "min": {
                                "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                "type": "string"
                              }
                            },
                            "required": [
                              "min",
                              "max"
                            ],
                            "type": "object"
                          },
                          "shares": {
                            "additionalProperties": false,
                            "properties": {
                              "agencyBps": {
                                "maximum": 10000,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "splitBps": {
                                "anyOf": [
                                  {
                                    "maximum": 10000,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "agencyBps",
                              "splitBps"
                            ],
                            "type": "object"
                          }
                        },
                        "required": [
                          "kind",
                          "audience",
                          "gross",
                          "shares",
                          "result"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "audience": {
                            "const": "principal",
                            "type": "string"
                          },
                          "gross": {
                            "additionalProperties": false,
                            "properties": {
                              "maxMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              },
                              "minMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              }
                            },
                            "required": [
                              "minMinor",
                              "maxMinor"
                            ],
                            "type": "object"
                          },
                          "kind": {
                            "const": "amount",
                            "type": "string"
                          },
                          "result": {
                            "additionalProperties": false,
                            "properties": {
                              "maxMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              },
                              "minMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              }
                            },
                            "required": [
                              "minMinor",
                              "maxMinor"
                            ],
                            "type": "object"
                          },
                          "shares": {
                            "additionalProperties": false,
                            "properties": {
                              "agencyBps": {
                                "maximum": 10000,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "agencyBps"
                            ],
                            "type": "object"
                          }
                        },
                        "required": [
                          "kind",
                          "audience",
                          "gross",
                          "shares",
                          "result"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "audience": {
                            "const": "advisor",
                            "type": "string"
                          },
                          "gross": {
                            "additionalProperties": false,
                            "properties": {
                              "maxMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              },
                              "minMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              }
                            },
                            "required": [
                              "minMinor",
                              "maxMinor"
                            ],
                            "type": "object"
                          },
                          "kind": {
                            "const": "amount",
                            "type": "string"
                          },
                          "result": {
                            "additionalProperties": false,
                            "properties": {
                              "maxMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              },
                              "minMinor": {
                                "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                "type": "string"
                              }
                            },
                            "required": [
                              "minMinor",
                              "maxMinor"
                            ],
                            "type": "object"
                          },
                          "shares": {
                            "additionalProperties": false,
                            "properties": {
                              "agencyBps": {
                                "maximum": 10000,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "splitBps": {
                                "anyOf": [
                                  {
                                    "maximum": 10000,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "agencyBps",
                              "splitBps"
                            ],
                            "type": "object"
                          }
                        },
                        "required": [
                          "kind",
                          "audience",
                          "gross",
                          "shares",
                          "result"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "commissionable",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hotel": {
                "additionalProperties": false,
                "properties": {
                  "chainCode": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "city": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "countryCode": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "hotelId": {
                    "anyOf": [
                      {
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "hotelId",
                  "name",
                  "chainCode",
                  "city",
                  "countryCode"
                ],
                "type": "object"
              },
              "rooms": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "rates": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "breakfastIncluded": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "cancelPenalties": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "amount": {
                                  "anyOf": [
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amountMinor": {
                                          "pattern": "^-?\\d+(?![\\s\\S])",
                                          "type": "string"
                                        },
                                        "currency": {
                                          "pattern": "^[A-Z]{3}$",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "currency",
                                        "amountMinor"
                                      ],
                                      "type": "object"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "deadline": {
                                  "anyOf": [
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "absolute": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "offsetDropTime": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "offsetMultiplier": {
                                          "anyOf": [
                                            {
                                              "maximum": 9007199254740991,
                                              "minimum": -9007199254740991,
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "offsetUnit": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "absolute",
                                        "offsetUnit",
                                        "offsetMultiplier",
                                        "offsetDropTime"
                                      ],
                                      "type": "object"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "nights": {
                                  "anyOf": [
                                    {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "percent": {
                                  "anyOf": [
                                    {
                                      "maximum": 100,
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "deadline",
                                "amount",
                                "percent",
                                "nights"
                              ],
                              "type": "object"
                            },
                            "maxItems": 10,
                            "type": "array"
                          },
                          "category": {
                            "type": "string"
                          },
                          "charged": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "checkDeadlineWithHotel": {
                            "type": "boolean"
                          },
                          "fees": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "freeCancelUntil": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "hotelDeadline": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "day": {
                                    "format": "date",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                                    "type": "string"
                                  },
                                  "time": {
                                    "anyOf": [
                                      {
                                        "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "day",
                                  "time"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "payment": {
                            "anyOf": [
                              {
                                "enum": [
                                  "pay_at_hotel",
                                  "deposit",
                                  "prepaid"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "perRoom": {
                            "anyOf": [
                              {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "beforeTax": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amountMinor": {
                                          "pattern": "^-?\\d+(?![\\s\\S])",
                                          "type": "string"
                                        },
                                        "currency": {
                                          "pattern": "^[A-Z]{3}$",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "currency",
                                        "amountMinor"
                                      ],
                                      "type": "object"
                                    },
                                    "charged": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amountMinor": {
                                          "pattern": "^-?\\d+(?![\\s\\S])",
                                          "type": "string"
                                        },
                                        "currency": {
                                          "pattern": "^[A-Z]{3}$",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "currency",
                                        "amountMinor"
                                      ],
                                      "type": "object"
                                    },
                                    "fees": {
                                      "anyOf": [
                                        {
                                          "additionalProperties": false,
                                          "properties": {
                                            "amountMinor": {
                                              "pattern": "^-?\\d+(?![\\s\\S])",
                                              "type": "string"
                                            },
                                            "currency": {
                                              "pattern": "^[A-Z]{3}$",
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "currency",
                                            "amountMinor"
                                          ],
                                          "type": "object"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "roomIndex": {
                                      "maximum": 9,
                                      "minimum": 1,
                                      "type": "integer"
                                    },
                                    "taxes": {
                                      "anyOf": [
                                        {
                                          "additionalProperties": false,
                                          "properties": {
                                            "amountMinor": {
                                              "pattern": "^-?\\d+(?![\\s\\S])",
                                              "type": "string"
                                            },
                                            "currency": {
                                              "pattern": "^[A-Z]{3}$",
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "currency",
                                            "amountMinor"
                                          ],
                                          "type": "object"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "roomIndex",
                                    "charged",
                                    "beforeTax",
                                    "taxes",
                                    "fees"
                                  ],
                                  "type": "object"
                                },
                                "maxItems": 9,
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "planName": {
                            "type": "string"
                          },
                          "prepaid": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "rateRef": {
                            "anyOf": [
                              {
                                "pattern": "^[A-Za-z0-9_-]{43}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "refundable": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "roomCount": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "taxes": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "total": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "amountMinor": {
                                    "pattern": "^-?\\d+(?![\\s\\S])",
                                    "type": "string"
                                  },
                                  "currency": {
                                    "pattern": "^[A-Z]{3}$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "amountMinor"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "rateRef",
                          "category",
                          "planName",
                          "breakfastIncluded",
                          "prepaid",
                          "payment",
                          "charged",
                          "total",
                          "refundable",
                          "freeCancelUntil",
                          "hotelDeadline",
                          "checkDeadlineWithHotel",
                          "cancelPenalties",
                          "roomCount",
                          "perRoom",
                          "taxes",
                          "fees"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "roomTypeCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "roomTypeCode",
                    "rates"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "stay": {
                "additionalProperties": false,
                "properties": {
                  "adults": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "checkIn": {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  "checkOut": {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  "rooms": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  }
                },
                "required": [
                  "checkIn",
                  "checkOut",
                  "adults",
                  "rooms"
                ],
                "type": "object"
              }
            },
            "required": [
              "hotel",
              "stay",
              "rooms",
              "commission"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "read_oauth_client_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          }
        },
        "required": [
          "clientId"
        ],
        "type": "object"
      },
      "read_oauth_client_Output": {
        "additionalProperties": false,
        "properties": {
          "actingAgentId": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "audience": {
            "enum": [
              "ADVISOR",
              "CLIENT_SITE"
            ],
            "type": "string"
          },
          "clientId": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
            "type": "string"
          },
          "credentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          },
          "expiresAt": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 32,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "revokedAt": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scopes": {
            "additionalProperties": {
              "items": {
                "maxLength": 64,
                "minLength": 1,
                "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            "propertyNames": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
              "type": "string"
            },
            "type": "object"
          },
          "status": {
            "enum": [
              "ACTIVE",
              "REVOKED"
            ],
            "type": "string"
          },
          "tokenEndpointAuthMethod": {
            "enum": [
              "client_secret_basic",
              "client_secret_post"
            ],
            "type": "string"
          }
        },
        "required": [
          "clientId",
          "name",
          "tokenEndpointAuthMethod",
          "credentialVersion",
          "audience",
          "scopes",
          "actingAgentId",
          "status",
          "expiresAt",
          "revokedAt",
          "createdAt"
        ],
        "type": "object"
      },
      "read_quote_Input": {
        "additionalProperties": false,
        "properties": {
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteId"
        ],
        "type": "object"
      },
      "read_quote_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "chargedTotals": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMinor": {
                      "pattern": "^-?\\d+(?![\\s\\S])",
                      "type": "string"
                    },
                    "currency": {
                      "pattern": "^[A-Z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "currency",
                    "amountMinor"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "createdAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "hotel": {
                      "additionalProperties": false,
                      "properties": {
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "anyOf": [
                            {
                              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "city"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "perRoom": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "charged": {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          "roomIndex": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "roomIndex",
                          "charged"
                        ],
                        "type": "object"
                      },
                      "maxItems": 9,
                      "minItems": 2,
                      "type": "array"
                    },
                    "rate": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "enum": [
                            "PERK",
                            "SPECIAL",
                            "MEMBER",
                            "STANDARD",
                            "REGULAR",
                            "OTHER_NEGOTIATED"
                          ],
                          "type": "string"
                        },
                        "planName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "refundable": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "category",
                        "planName",
                        "refundable"
                      ],
                      "type": "object"
                    },
                    "rateExpiresAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "room": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "roomCount": {
                      "maximum": 9,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "stay": {
                      "additionalProperties": false,
                      "properties": {
                        "adults": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "checkIn": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "checkOut": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "childAges": {
                          "items": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "nights": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "checkIn",
                        "checkOut",
                        "nights",
                        "adults",
                        "childAges"
                      ],
                      "type": "object"
                    },
                    "supplierObservedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "hotel",
                    "room",
                    "rate",
                    "stay",
                    "roomCount",
                    "charged",
                    "supplierObservedAt",
                    "rateExpiresAt"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "note": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              "title": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "validityDays": {
                "maximum": 60,
                "minimum": 1,
                "type": "integer"
              },
              "version": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "tripId",
              "title",
              "status",
              "note",
              "validityDays",
              "version",
              "items",
              "chargedTotals",
              "createdAt",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "read_trip_Input": {
        "additionalProperties": false,
        "properties": {
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId"
        ],
        "type": "object"
      },
      "read_trip_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "destination": {
                "anyOf": [
                  {
                    "maxLength": 256,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "endDate": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "name": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "startDate": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PLANNING",
                  "QUOTED",
                  "BOOKED",
                  "IN_PROGRESS",
                  "COMPLETED",
                  "CANCELLED"
                ],
                "type": "string"
              },
              "travellerCount": {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              }
            },
            "required": [
              "id",
              "clientId",
              "name",
              "status",
              "startDate",
              "endDate",
              "destination",
              "travellerCount",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "remove_quote_option_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          }
        },
        "required": [
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "remove_quote_option_Input": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "itemId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteId",
          "expectedUpdatedAt",
          "itemId"
        ],
        "type": "object"
      },
      "remove_quote_option_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "chargedTotals": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMinor": {
                      "pattern": "^-?\\d+(?![\\s\\S])",
                      "type": "string"
                    },
                    "currency": {
                      "pattern": "^[A-Z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "currency",
                    "amountMinor"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "createdAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "hotel": {
                      "additionalProperties": false,
                      "properties": {
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "anyOf": [
                            {
                              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "city"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "perRoom": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "charged": {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          "roomIndex": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "roomIndex",
                          "charged"
                        ],
                        "type": "object"
                      },
                      "maxItems": 9,
                      "minItems": 2,
                      "type": "array"
                    },
                    "rate": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "enum": [
                            "PERK",
                            "SPECIAL",
                            "MEMBER",
                            "STANDARD",
                            "REGULAR",
                            "OTHER_NEGOTIATED"
                          ],
                          "type": "string"
                        },
                        "planName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "refundable": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "category",
                        "planName",
                        "refundable"
                      ],
                      "type": "object"
                    },
                    "rateExpiresAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "room": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "roomCount": {
                      "maximum": 9,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "stay": {
                      "additionalProperties": false,
                      "properties": {
                        "adults": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "checkIn": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "checkOut": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "childAges": {
                          "items": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "nights": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "checkIn",
                        "checkOut",
                        "nights",
                        "adults",
                        "childAges"
                      ],
                      "type": "object"
                    },
                    "supplierObservedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "hotel",
                    "room",
                    "rate",
                    "stay",
                    "roomCount",
                    "charged",
                    "supplierObservedAt",
                    "rateExpiresAt"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "note": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              "title": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "validityDays": {
                "maximum": 60,
                "minimum": 1,
                "type": "integer"
              },
              "version": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "tripId",
              "title",
              "status",
              "note",
              "validityDays",
              "version",
              "items",
              "chargedTotals",
              "createdAt",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "remove_traveller_loyalty_program_Input": {
        "additionalProperties": false,
        "properties": {
          "loyaltyProgramId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "travellerId",
          "loyaltyProgramId"
        ],
        "type": "object"
      },
      "remove_traveller_loyalty_program_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "firstName": {
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "loyaltyPrograms": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "membershipNumber": {
                      "type": "string"
                    },
                    "membershipNumberMasked": {
                      "type": "string"
                    },
                    "programName": {
                      "type": "string"
                    },
                    "supplierCode": {
                      "pattern": "^[A-Z0-9]{2}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "supplierCode",
                    "programName",
                    "membershipNumber",
                    "membershipNumberMasked"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "middleName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "passengerType": {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "clientId",
              "firstName",
              "middleName",
              "lastName",
              "title",
              "passengerType",
              "email",
              "phone",
              "loyaltyPrograms"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "remove_trip_traveller_Input": {
        "additionalProperties": false,
        "properties": {
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "travellerId"
        ],
        "type": "object"
      },
      "remove_trip_traveller_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "lead": {
                  "type": "boolean"
                },
                "travellerId": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "travellerId",
                "lead"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "reorder_quote_items_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "itemIds": {
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 20,
            "type": "array"
          }
        },
        "required": [
          "expectedUpdatedAt",
          "itemIds"
        ],
        "type": "object"
      },
      "reorder_quote_items_Input": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "itemIds": {
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 20,
            "type": "array"
          },
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteId",
          "expectedUpdatedAt",
          "itemIds"
        ],
        "type": "object"
      },
      "reorder_quote_items_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "chargedTotals": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMinor": {
                      "pattern": "^-?\\d+(?![\\s\\S])",
                      "type": "string"
                    },
                    "currency": {
                      "pattern": "^[A-Z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "currency",
                    "amountMinor"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "createdAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "hotel": {
                      "additionalProperties": false,
                      "properties": {
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "anyOf": [
                            {
                              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "city"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "perRoom": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "charged": {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          "roomIndex": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "roomIndex",
                          "charged"
                        ],
                        "type": "object"
                      },
                      "maxItems": 9,
                      "minItems": 2,
                      "type": "array"
                    },
                    "rate": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "enum": [
                            "PERK",
                            "SPECIAL",
                            "MEMBER",
                            "STANDARD",
                            "REGULAR",
                            "OTHER_NEGOTIATED"
                          ],
                          "type": "string"
                        },
                        "planName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "refundable": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "category",
                        "planName",
                        "refundable"
                      ],
                      "type": "object"
                    },
                    "rateExpiresAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "room": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "roomCount": {
                      "maximum": 9,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "stay": {
                      "additionalProperties": false,
                      "properties": {
                        "adults": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "checkIn": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "checkOut": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "childAges": {
                          "items": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "nights": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "checkIn",
                        "checkOut",
                        "nights",
                        "adults",
                        "childAges"
                      ],
                      "type": "object"
                    },
                    "supplierObservedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "hotel",
                    "room",
                    "rate",
                    "stay",
                    "roomCount",
                    "charged",
                    "supplierObservedAt",
                    "rateExpiresAt"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "note": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              "title": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "validityDays": {
                "maximum": 60,
                "minimum": 1,
                "type": "integer"
              },
              "version": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "tripId",
              "title",
              "status",
              "note",
              "validityDays",
              "version",
              "items",
              "chargedTotals",
              "createdAt",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "revise_quote_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          }
        },
        "required": [
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "revise_quote_Input": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteId",
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "revise_quote_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "chargedTotals": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMinor": {
                      "pattern": "^-?\\d+(?![\\s\\S])",
                      "type": "string"
                    },
                    "currency": {
                      "pattern": "^[A-Z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "currency",
                    "amountMinor"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "createdAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "hotel": {
                      "additionalProperties": false,
                      "properties": {
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "anyOf": [
                            {
                              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "city"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "perRoom": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "charged": {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          "roomIndex": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "roomIndex",
                          "charged"
                        ],
                        "type": "object"
                      },
                      "maxItems": 9,
                      "minItems": 2,
                      "type": "array"
                    },
                    "rate": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "enum": [
                            "PERK",
                            "SPECIAL",
                            "MEMBER",
                            "STANDARD",
                            "REGULAR",
                            "OTHER_NEGOTIATED"
                          ],
                          "type": "string"
                        },
                        "planName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "refundable": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "category",
                        "planName",
                        "refundable"
                      ],
                      "type": "object"
                    },
                    "rateExpiresAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "room": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "roomCount": {
                      "maximum": 9,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "stay": {
                      "additionalProperties": false,
                      "properties": {
                        "adults": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "checkIn": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "checkOut": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "childAges": {
                          "items": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "nights": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "checkIn",
                        "checkOut",
                        "nights",
                        "adults",
                        "childAges"
                      ],
                      "type": "object"
                    },
                    "supplierObservedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "hotel",
                    "room",
                    "rate",
                    "stay",
                    "roomCount",
                    "charged",
                    "supplierObservedAt",
                    "rateExpiresAt"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "note": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              "title": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "validityDays": {
                "maximum": 60,
                "minimum": 1,
                "type": "integer"
              },
              "version": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "tripId",
              "title",
              "status",
              "note",
              "validityDays",
              "version",
              "items",
              "chargedTotals",
              "createdAt",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "revoke_api_key_Input": {
        "additionalProperties": false,
        "properties": {
          "keyId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "keyId"
        ],
        "type": "object"
      },
      "revoke_api_key_Output": {
        "additionalProperties": false,
        "properties": {
          "operationId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "outcome": {
            "enum": [
              "APPLIED",
              "DELETED",
              "QUEUED"
            ],
            "type": "string"
          },
          "resourceId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "resourceVersion": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "operationId",
          "resourceId",
          "resourceVersion",
          "outcome"
        ],
        "type": "object"
      },
      "revoke_oauth_client_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedCredentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "expectedCredentialVersion"
        ],
        "type": "object"
      },
      "revoke_oauth_client_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "expectedCredentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "clientId",
          "expectedCredentialVersion"
        ],
        "type": "object"
      },
      "revoke_oauth_client_Output": {
        "additionalProperties": false,
        "properties": {
          "operationId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "outcome": {
            "enum": [
              "APPLIED",
              "DELETED",
              "QUEUED"
            ],
            "type": "string"
          },
          "resourceId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "resourceVersion": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "operationId",
          "resourceId",
          "resourceVersion",
          "outcome"
        ],
        "type": "object"
      },
      "rotate_oauth_client_secret_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedCredentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "expectedCredentialVersion"
        ],
        "type": "object"
      },
      "rotate_oauth_client_secret_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "expectedCredentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "clientId",
          "expectedCredentialVersion"
        ],
        "type": "object"
      },
      "rotate_oauth_client_secret_Output": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "clientSecret": {
            "type": [
              "string",
              "null"
            ]
          },
          "credentialVersion": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer"
          },
          "operationId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "recovery": {
            "anyOf": [
              {
                "const": "rotate-secret",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "enum": [
              "created",
              "reveal_unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "state",
          "operationId",
          "clientId",
          "credentialVersion",
          "clientSecret",
          "recovery"
        ],
        "type": "object"
      },
      "search_hotels_ClientOutput": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "chainCode": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "chainName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "distance": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "value": {
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "value",
                        "unit"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hotelId": {
                  "anyOf": [
                    {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                },
                "location": {
                  "additionalProperties": false,
                  "properties": {
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "countryCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lng": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "lat",
                    "lng",
                    "city",
                    "countryCode"
                  ],
                  "type": "object"
                },
                "lowestPrice": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lowestPricePerRoom": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lowestRateCategory": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "rating": {
                  "anyOf": [
                    {
                      "minimum": 0,
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "roomCount": {
                  "maximum": 9,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "hotelId",
                "name",
                "chainCode",
                "chainName",
                "rating",
                "location",
                "distance",
                "lowestPrice",
                "roomCount",
                "lowestPricePerRoom",
                "lowestRateCategory"
              ],
              "type": "object"
            },
            "maxItems": 200,
            "type": "array"
          },
          "degraded": {
            "const": "standard-rates-omitted",
            "description": "Since 2.3.0. Present only on a first page answered without standard rates: some standard rates may be missing from these hotels and their next pages. Read a hotel's rates to see all of them.",
            "type": "string"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "search_hotels_Input": {
        "additionalProperties": false,
        "properties": {
          "adults": {
            "anyOf": [
              {
                "maximum": 8,
                "minimum": 1,
                "type": "integer"
              },
              {
                "pattern": "^[1-8]$",
                "type": "string"
              }
            ],
            "description": "Adults per room, 1 to 8."
          },
          "checkIn": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "checkOut": {
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "type": "string"
          },
          "cursor": {
            "anyOf": [
              {
                "maxLength": 1024,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lat": {
            "description": "Decimal degrees, for example 51.5072.",
            "pattern": "^-?\\d{1,3}(?:\\.\\d{1,8})?$",
            "type": "string"
          },
          "lng": {
            "description": "Decimal degrees, for example 51.5072.",
            "pattern": "^-?\\d{1,3}(?:\\.\\d{1,8})?$",
            "type": "string"
          },
          "radiusKm": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  {
                    "pattern": "^(?:[1-9]|[1-4]\\d|50)$",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Search distance in km, 1 to 50; 15 when omitted."
          },
          "rooms": {
            "anyOf": [
              {
                "pattern": "^[1-9]$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Since 2.7.0. Identical rooms, \"1\" to \"9\", each with `adults` adults; 1 when omitted. Every price is for all rooms."
          }
        },
        "required": [
          "lat",
          "lng",
          "checkIn",
          "checkOut",
          "adults",
          "rooms",
          "radiusKm",
          "cursor"
        ],
        "type": "object"
      },
      "search_hotels_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "chainCode": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "chainName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "commission": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "audience": {
                              "const": "principal",
                              "type": "string"
                            },
                            "gross": {
                              "additionalProperties": false,
                              "properties": {
                                "maxBps": {
                                  "maximum": 10000,
                                  "minimum": 1,
                                  "type": "integer"
                                },
                                "minBps": {
                                  "maximum": 10000,
                                  "minimum": 1,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "minBps",
                                "maxBps"
                              ],
                              "type": "object"
                            },
                            "kind": {
                              "const": "percent",
                              "type": "string"
                            },
                            "result": {
                              "additionalProperties": false,
                              "properties": {
                                "max": {
                                  "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                  "type": "string"
                                },
                                "min": {
                                  "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "min",
                                "max"
                              ],
                              "type": "object"
                            },
                            "shares": {
                              "additionalProperties": false,
                              "properties": {
                                "agencyBps": {
                                  "maximum": 10000,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "agencyBps"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "kind",
                            "audience",
                            "gross",
                            "shares",
                            "result"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "audience": {
                              "const": "advisor",
                              "type": "string"
                            },
                            "gross": {
                              "additionalProperties": false,
                              "properties": {
                                "maxBps": {
                                  "maximum": 10000,
                                  "minimum": 1,
                                  "type": "integer"
                                },
                                "minBps": {
                                  "maximum": 10000,
                                  "minimum": 1,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "minBps",
                                "maxBps"
                              ],
                              "type": "object"
                            },
                            "kind": {
                              "const": "percent",
                              "type": "string"
                            },
                            "result": {
                              "additionalProperties": false,
                              "properties": {
                                "max": {
                                  "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                  "type": "string"
                                },
                                "min": {
                                  "pattern": "^\\d+(?:\\.\\d{1,2})?(?![\\s\\S])",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "min",
                                "max"
                              ],
                              "type": "object"
                            },
                            "shares": {
                              "additionalProperties": false,
                              "properties": {
                                "agencyBps": {
                                  "maximum": 10000,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "splitBps": {
                                  "anyOf": [
                                    {
                                      "maximum": 10000,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "agencyBps",
                                "splitBps"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "kind",
                            "audience",
                            "gross",
                            "shares",
                            "result"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "audience": {
                              "const": "principal",
                              "type": "string"
                            },
                            "gross": {
                              "additionalProperties": false,
                              "properties": {
                                "maxMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                },
                                "minMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "minMinor",
                                "maxMinor"
                              ],
                              "type": "object"
                            },
                            "kind": {
                              "const": "amount",
                              "type": "string"
                            },
                            "result": {
                              "additionalProperties": false,
                              "properties": {
                                "maxMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                },
                                "minMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "minMinor",
                                "maxMinor"
                              ],
                              "type": "object"
                            },
                            "shares": {
                              "additionalProperties": false,
                              "properties": {
                                "agencyBps": {
                                  "maximum": 10000,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "agencyBps"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "kind",
                            "audience",
                            "gross",
                            "shares",
                            "result"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "audience": {
                              "const": "advisor",
                              "type": "string"
                            },
                            "gross": {
                              "additionalProperties": false,
                              "properties": {
                                "maxMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                },
                                "minMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "minMinor",
                                "maxMinor"
                              ],
                              "type": "object"
                            },
                            "kind": {
                              "const": "amount",
                              "type": "string"
                            },
                            "result": {
                              "additionalProperties": false,
                              "properties": {
                                "maxMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                },
                                "minMinor": {
                                  "pattern": "^[1-9]\\d*(?![\\s\\S])",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "minMinor",
                                "maxMinor"
                              ],
                              "type": "object"
                            },
                            "shares": {
                              "additionalProperties": false,
                              "properties": {
                                "agencyBps": {
                                  "maximum": 10000,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "splitBps": {
                                  "anyOf": [
                                    {
                                      "maximum": 10000,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "agencyBps",
                                "splitBps"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "kind",
                            "audience",
                            "gross",
                            "shares",
                            "result"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "kind": {
                              "const": "commissionable",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "distance": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "value": {
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "value",
                        "unit"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hotelId": {
                  "anyOf": [
                    {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                },
                "location": {
                  "additionalProperties": false,
                  "properties": {
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "countryCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lng": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "lat",
                    "lng",
                    "city",
                    "countryCode"
                  ],
                  "type": "object"
                },
                "lowestPrice": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lowestPricePerRoom": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lowestRateCategory": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "rating": {
                  "anyOf": [
                    {
                      "minimum": 0,
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "roomCount": {
                  "maximum": 9,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "hotelId",
                "name",
                "chainCode",
                "chainName",
                "rating",
                "location",
                "distance",
                "lowestPrice",
                "roomCount",
                "lowestPricePerRoom",
                "lowestRateCategory",
                "commission"
              ],
              "type": "object"
            },
            "maxItems": 200,
            "type": "array"
          },
          "degraded": {
            "const": "standard-rates-omitted",
            "description": "Since 2.3.0. Present only on a first page answered without standard rates: some standard rates may be missing from these hotels and their next pages. Read a hotel's rates to see all of them.",
            "type": "string"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "nextCursor"
        ],
        "type": "object"
      },
      "send_quote_Input": {
        "additionalProperties": false,
        "properties": {
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteId"
        ],
        "type": "object"
      },
      "send_quote_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "issueId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "linkExpiresAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "operationId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "shareUrl": {
                "anyOf": [
                  {
                    "maxLength": 2048,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "validUntil": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              }
            },
            "required": [
              "operationId",
              "issueId",
              "shareUrl",
              "validUntil",
              "linkExpiresAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "update_client_Body": {
        "additionalProperties": false,
        "properties": {
          "displayCurrencyCode": {
            "anyOf": [
              {
                "enum": [
                  "GBP",
                  "USD",
                  "EUR",
                  "CHF",
                  "JPY",
                  "CNY",
                  "HKD",
                  "SGD",
                  "AUD",
                  "NZD",
                  "CAD",
                  "AED",
                  "SAR",
                  "QAR",
                  "KWD",
                  "BHD",
                  "OMR",
                  "INR",
                  "KRW",
                  "THB",
                  "MYR",
                  "IDR",
                  "PHP",
                  "VND",
                  "TWD",
                  "SEK",
                  "NOK",
                  "DKK",
                  "PLN",
                  "CZK",
                  "HUF",
                  "ZAR",
                  "BRL",
                  "MXN",
                  "TRY",
                  "ILS"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 254,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "ACTIVE",
                  "ARCHIVED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [],
        "type": "object"
      },
      "update_client_Input": {
        "additionalProperties": false,
        "properties": {
          "clientId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "displayCurrencyCode": {
            "anyOf": [
              {
                "enum": [
                  "GBP",
                  "USD",
                  "EUR",
                  "CHF",
                  "JPY",
                  "CNY",
                  "HKD",
                  "SGD",
                  "AUD",
                  "NZD",
                  "CAD",
                  "AED",
                  "SAR",
                  "QAR",
                  "KWD",
                  "BHD",
                  "OMR",
                  "INR",
                  "KRW",
                  "THB",
                  "MYR",
                  "IDR",
                  "PHP",
                  "VND",
                  "TWD",
                  "SEK",
                  "NOK",
                  "DKK",
                  "PLN",
                  "CZK",
                  "HUF",
                  "ZAR",
                  "BRL",
                  "MXN",
                  "TRY",
                  "ILS"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 254,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "ACTIVE",
                  "ARCHIVED"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clientId",
          "firstName",
          "lastName",
          "email",
          "phone",
          "tags",
          "status",
          "displayCurrencyCode"
        ],
        "type": "object"
      },
      "update_client_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "displayCurrencyCode": {
                    "enum": [
                      "GBP",
                      "USD",
                      "EUR",
                      "CHF",
                      "JPY",
                      "CNY",
                      "HKD",
                      "SGD",
                      "AUD",
                      "NZD",
                      "CAD",
                      "AED",
                      "SAR",
                      "QAR",
                      "KWD",
                      "BHD",
                      "OMR",
                      "INR",
                      "KRW",
                      "THB",
                      "MYR",
                      "IDR",
                      "PHP",
                      "VND",
                      "TWD",
                      "SEK",
                      "NOK",
                      "DKK",
                      "PLN",
                      "CZK",
                      "HUF",
                      "ZAR",
                      "BRL",
                      "MXN",
                      "TRY",
                      "ILS"
                    ],
                    "type": "string"
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lastActivityAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "marketingOptIn": {
                    "type": "boolean"
                  },
                  "name": {
                    "additionalProperties": false,
                    "properties": {
                      "firstName": {
                        "type": "string"
                      },
                      "kind": {
                        "const": "live",
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "firstName",
                      "lastName"
                    ],
                    "type": "object"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "redactedAt": {
                    "type": "null"
                  },
                  "status": {
                    "enum": [
                      "ACTIVE",
                      "ARCHIVED"
                    ],
                    "type": "string"
                  },
                  "tags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "lastActivityAt",
                  "name",
                  "email",
                  "phone",
                  "tags",
                  "marketingOptIn",
                  "displayCurrencyCode",
                  "redactedAt"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lastActivityAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "name": {
                    "additionalProperties": false,
                    "properties": {
                      "initials": {
                        "maxLength": 16,
                        "minLength": 1,
                        "type": "string"
                      },
                      "kind": {
                        "const": "redacted",
                        "type": "string"
                      },
                      "redactedAt": {
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "initials",
                      "redactedAt"
                    ],
                    "type": "object"
                  },
                  "redactedAt": {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "ACTIVE",
                      "ARCHIVED"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "lastActivityAt",
                  "name",
                  "redactedAt"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "update_quote_Body": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "note": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "offerEnd": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "date": {
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string"
                      },
                      "time": {
                        "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "date",
                      "time"
                    ],
                    "type": "object"
                  },
                  {
                    "const": "default",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 120,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "validityDays": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "const": 3,
                    "type": "number"
                  },
                  {
                    "const": 7,
                    "type": "number"
                  },
                  {
                    "const": 14,
                    "type": "number"
                  },
                  {
                    "const": 30,
                    "type": "number"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "update_quote_Input": {
        "additionalProperties": false,
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "note": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "offerEnd": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "date": {
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string"
                      },
                      "time": {
                        "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "date",
                      "time"
                    ],
                    "type": "object"
                  },
                  {
                    "const": "default",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "quoteId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 120,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "validityDays": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "const": 3,
                    "type": "number"
                  },
                  {
                    "const": 7,
                    "type": "number"
                  },
                  {
                    "const": 14,
                    "type": "number"
                  },
                  {
                    "const": 30,
                    "type": "number"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "quoteId",
          "expectedUpdatedAt",
          "title",
          "note",
          "validityDays",
          "offerEnd"
        ],
        "type": "object"
      },
      "update_quote_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "chargedTotals": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMinor": {
                      "pattern": "^-?\\d+(?![\\s\\S])",
                      "type": "string"
                    },
                    "currency": {
                      "pattern": "^[A-Z]{3}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "currency",
                    "amountMinor"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "createdAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "charged": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "fees": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    },
                    "hotel": {
                      "additionalProperties": false,
                      "properties": {
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "anyOf": [
                            {
                              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The Voyage House hotel id (a UUID); null only while the hotel library cannot answer."
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "city"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "perRoom": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "charged": {
                            "additionalProperties": false,
                            "properties": {
                              "amountMinor": {
                                "pattern": "^-?\\d+(?![\\s\\S])",
                                "type": "string"
                              },
                              "currency": {
                                "pattern": "^[A-Z]{3}$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "currency",
                              "amountMinor"
                            ],
                            "type": "object"
                          },
                          "roomIndex": {
                            "maximum": 9,
                            "minimum": 1,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "roomIndex",
                          "charged"
                        ],
                        "type": "object"
                      },
                      "maxItems": 9,
                      "minItems": 2,
                      "type": "array"
                    },
                    "rate": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "enum": [
                            "PERK",
                            "SPECIAL",
                            "MEMBER",
                            "STANDARD",
                            "REGULAR",
                            "OTHER_NEGOTIATED"
                          ],
                          "type": "string"
                        },
                        "planName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "refundable": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "category",
                        "planName",
                        "refundable"
                      ],
                      "type": "object"
                    },
                    "rateExpiresAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "room": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "roomCount": {
                      "maximum": 9,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "stay": {
                      "additionalProperties": false,
                      "properties": {
                        "adults": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "checkIn": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "checkOut": {
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                          "type": "string"
                        },
                        "childAges": {
                          "items": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "nights": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "checkIn",
                        "checkOut",
                        "nights",
                        "adults",
                        "childAges"
                      ],
                      "type": "object"
                    },
                    "supplierObservedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "taxes": {
                      "additionalProperties": false,
                      "properties": {
                        "amountMinor": {
                          "pattern": "^-?\\d+(?![\\s\\S])",
                          "type": "string"
                        },
                        "currency": {
                          "pattern": "^[A-Z]{3}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "currency",
                        "amountMinor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "hotel",
                    "room",
                    "rate",
                    "stay",
                    "roomCount",
                    "charged",
                    "supplierObservedAt",
                    "rateExpiresAt"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "note": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PROPOSED",
                  "DRAFT",
                  "SENT",
                  "VIEWED",
                  "ACCEPTED",
                  "DECLINED",
                  "EXPIRED",
                  "SEND_FAILED",
                  "BOOKED"
                ],
                "type": "string"
              },
              "title": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "tripId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              },
              "validityDays": {
                "maximum": 60,
                "minimum": 1,
                "type": "integer"
              },
              "version": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "tripId",
              "title",
              "status",
              "note",
              "validityDays",
              "version",
              "items",
              "chargedTotals",
              "createdAt",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "update_traveller_Body": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 320,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "middleName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "passengerType": {
            "anyOf": [
              {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [],
        "type": "object"
      },
      "update_traveller_Input": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "anyOf": [
              {
                "format": "email",
                "maxLength": 320,
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "middleName": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "passengerType": {
            "anyOf": [
              {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "travellerId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "travellerId",
          "firstName",
          "lastName",
          "middleName",
          "title",
          "passengerType",
          "email",
          "phone"
        ],
        "type": "object"
      },
      "update_traveller_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "firstName": {
                "type": "string"
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "loyaltyPrograms": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "membershipNumber": {
                      "type": "string"
                    },
                    "membershipNumberMasked": {
                      "type": "string"
                    },
                    "programName": {
                      "type": "string"
                    },
                    "supplierCode": {
                      "pattern": "^[A-Z0-9]{2}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "supplierCode",
                    "programName",
                    "membershipNumber",
                    "membershipNumberMasked"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "middleName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "passengerType": {
                "enum": [
                  "ADULT",
                  "CHILD",
                  "INFANT"
                ],
                "type": "string"
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "clientId",
              "firstName",
              "middleName",
              "lastName",
              "title",
              "passengerType",
              "email",
              "phone",
              "loyaltyPrograms"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "update_trip_Body": {
        "additionalProperties": false,
        "properties": {
          "destination": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "endDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "startDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "update_trip_Input": {
        "additionalProperties": false,
        "properties": {
          "destination": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "endDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "startDate": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tripId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tripId",
          "expectedUpdatedAt",
          "name",
          "destination",
          "startDate",
          "endDate"
        ],
        "type": "object"
      },
      "update_trip_Output": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "clientId": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "destination": {
                "anyOf": [
                  {
                    "maxLength": 256,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "endDate": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "name": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "startDate": {
                "anyOf": [
                  {
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "PLANNING",
                  "QUOTED",
                  "BOOKED",
                  "IN_PROGRESS",
                  "COMPLETED",
                  "CANCELLED"
                ],
                "type": "string"
              },
              "travellerCount": {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "updatedAt": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "type": "string"
              }
            },
            "required": [
              "id",
              "clientId",
              "name",
              "status",
              "startDate",
              "endDate",
              "destination",
              "travellerCount",
              "updatedAt"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "apiKey": {
        "description": "An Agency API key. Supply one Bearer prefix; the X-API-Key header is also accepted for API keys.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "Client credentials with explicit scope and the configured resource. Resource calls recheck the current application grant; cookies do not authenticate API calls.",
        "flows": {
          "clientCredentials": {
            "scopes": {
              "ac:create": "Allows create on ac resources.",
              "ac:delete": "Allows delete on ac resources.",
              "ac:read": "Allows read on ac resources.",
              "ac:update": "Allows update on ac resources.",
              "aiCredits:purchase": "Allows purchase on aiCredits resources.",
              "apiKey:create": "Allows create on apiKey resources.",
              "apiKey:delete": "Allows delete on apiKey resources.",
              "apiKey:read": "Allows read on apiKey resources.",
              "apiKey:update": "Allows update on apiKey resources.",
              "billing:create": "Allows create on billing resources.",
              "billing:delete": "Allows delete on billing resources.",
              "billing:read": "Allows read on billing resources.",
              "billing:update": "Allows update on billing resources.",
              "booking:cancel": "Allows cancel on booking resources.",
              "booking:create": "Allows create on booking resources.",
              "booking:read": "Allows read on booking resources.",
              "booking:update": "Allows update on booking resources.",
              "client:create": "Allows create on client resources.",
              "client:delete": "Allows delete on client resources.",
              "client:read": "Allows read on client resources.",
              "client:redact": "Allows redact on client resources.",
              "client:update": "Allows update on client resources.",
              "commission:read": "Allows read on commission resources.",
              "invitation:cancel": "Allows cancel on invitation resources.",
              "invitation:create": "Allows create on invitation resources.",
              "marketing_campaign:activate": "Allows activate on marketing_campaign resources.",
              "marketing_campaign:create": "Allows create on marketing_campaign resources.",
              "marketing_campaign:deactivate": "Allows deactivate on marketing_campaign resources.",
              "marketing_campaign:read": "Allows read on marketing_campaign resources.",
              "marketing_campaign:update": "Allows update on marketing_campaign resources.",
              "member:create": "Allows create on member resources.",
              "member:delete": "Allows delete on member resources.",
              "member:update": "Allows update on member resources.",
              "organization:delete": "Allows delete on organization resources.",
              "organization:update": "Allows update on organization resources.",
              "quote:create": "Allows create on quote resources.",
              "quote:delete": "Allows delete on quote resources.",
              "quote:read": "Allows read on quote resources.",
              "quote:update": "Allows update on quote resources.",
              "sabre_credit:read": "Allows read on sabre_credit resources.",
              "sabre_credit:update": "Allows update on sabre_credit resources.",
              "site:read": "Allows read on site resources.",
              "site:update": "Allows update on site resources.",
              "traveller:create": "Allows create on traveller resources.",
              "traveller:delete": "Allows delete on traveller resources.",
              "traveller:read": "Allows read on traveller resources.",
              "traveller:update": "Allows update on traveller resources.",
              "trip:create": "Allows create on trip resources.",
              "trip:delete": "Allows delete on trip resources.",
              "trip:read": "Allows read on trip resources.",
              "trip:update": "Allows update on trip resources.",
              "webhook:create": "Allows create on webhook resources.",
              "webhook:delete": "Allows delete on webhook resources.",
              "webhook:read": "Allows read on webhook resources.",
              "webhook:update": "Allows update on webhook resources."
            },
            "tokenUrl": "https://app.voyage.house/api/auth/oauth2/token"
          }
        },
        "type": "oauth2",
        "x-issuer": "https://app.voyage.house/api/auth",
        "x-resource": "https://app.voyage.house/api/v1"
      }
    }
  },
  "info": {
    "description": "Agency-scoped services authenticated by API keys or OAuth client credentials.",
    "title": "voyage.house API",
    "version": "2.8.0"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/agency": {
      "get": {
        "description": "Read the key's own Agency, its issuing advisor and the key's effective permissions.",
        "operationId": "get_agency_context",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/get_agency_context_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": []
          }
        ],
        "summary": "Read the key's own Agency, its issuing advisor and the key's effective permissions.",
        "tags": [
          "agency"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/get_agency_context_Output"
          },
          "client": {
            "$ref": "#/components/schemas/get_agency_context_Output"
          }
        },
        "x-capability": "agency.context",
        "x-principal-only": false,
        "x-scope": "any"
      }
    },
    "/api/v1/api-keys": {
      "get": {
        "description": "List API key registrations.",
        "operationId": "list_api_keys",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_api_keys_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:read"
            ]
          }
        ],
        "summary": "List API key registrations.",
        "tags": [
          "apiKey"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_api_keys_Output"
          }
        },
        "x-capability": "apiKey.list",
        "x-principal-only": true,
        "x-scope": "apiKey:read"
      },
      "post": {
        "description": "Issue an API key; plaintext is revealed once.",
        "operationId": "create_api_key",
        "parameters": [
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/create_api_key_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_api_key_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_api_key_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:create"
            ]
          }
        ],
        "summary": "Issue an API key; plaintext is revealed once.",
        "tags": [
          "apiKey"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/create_api_key_Output"
          }
        },
        "x-capability": "apiKey.create",
        "x-idempotency": "anchored",
        "x-principal-only": true,
        "x-scope": "apiKey:create"
      }
    },
    "/api/v1/api-keys/{keyId}": {
      "delete": {
        "description": "Revoke an API key and retain its issuance history.",
        "operationId": "revoke_api_key",
        "parameters": [
          {
            "description": "keyId path parameter.",
            "explode": false,
            "in": "path",
            "name": "keyId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/revoke_api_key_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:delete"
            ]
          }
        ],
        "summary": "Revoke an API key and retain its issuance history.",
        "tags": [
          "apiKey"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/revoke_api_key_Output"
          }
        },
        "x-capability": "apiKey.revoke",
        "x-idempotency": "anchored",
        "x-principal-only": true,
        "x-scope": "apiKey:delete"
      }
    },
    "/api/v1/booking-links": {
      "post": {
        "description": "Create a 24-hour checkout link for one of your own trips from a rateRef: the rate is re-derived with one counted look and the advisor completes guests, card and confirmation in the app. Since 2.7.0 `rooms` (1-9, default 1, the rateRef must be for the same rooms); `adults` is per room; the price is for all rooms. No card or guest data passes through the API.",
        "operationId": "create_booking_link",
        "parameters": [
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/create_booking_link_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_booking_link_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_booking_link_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "booking:create"
            ]
          }
        ],
        "summary": "Create a 24-hour checkout link for one of your own trips from a rateRef: the rate is re-derived with one counted look and the advisor completes guests, card and confirmation in the app. Since 2.7.0 `rooms` (1-9, default 1, the rateRef must be for the same rooms); `adults` is per room; the price is for all rooms. No card or guest data passes through the API.",
        "tags": [
          "booking"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/create_booking_link_Output"
          },
          "client": {
            "$ref": "#/components/schemas/create_booking_link_Output"
          }
        },
        "x-capability": "booking.prepareCheckout",
        "x-idempotency": "anchored",
        "x-meters": "look-to-book",
        "x-principal-only": false,
        "x-scope": "booking:create"
      }
    },
    "/api/v1/bookings": {
      "get": {
        "description": "List a trip's bookings, oldest first, with state (awaitingHotel: the hotel has not confirmed it yet; confirmedTotalMismatch: the booking was confirmed at a different total; notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms, with an opaque cursor.",
        "operationId": "list_bookings",
        "parameters": [
          {
            "description": "tripId query parameter.",
            "explode": false,
            "in": "query",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "limit query parameter.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                      "type": "string"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "cursor query parameter.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 512,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_bookings_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "booking:read"
            ]
          }
        ],
        "summary": "List a trip's bookings, oldest first, with state (awaitingHotel: the hotel has not confirmed it yet; confirmedTotalMismatch: the booking was confirmed at a different total; notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms, with an opaque cursor.",
        "tags": [
          "booking"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_bookings_Output"
          },
          "client": {
            "$ref": "#/components/schemas/list_bookings_Output"
          }
        },
        "x-capability": "booking.list",
        "x-principal-only": false,
        "x-scope": "booking:read"
      }
    },
    "/api/v1/bookings/{bookingId}": {
      "get": {
        "description": "Read one booking by its booking id with state (notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms.",
        "operationId": "read_booking",
        "parameters": [
          {
            "description": "bookingId path parameter.",
            "explode": false,
            "in": "path",
            "name": "bookingId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/read_booking_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "booking:read"
            ]
          }
        ],
        "summary": "Read one booking by its booking id with state (notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms.",
        "tags": [
          "booking"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/read_booking_Output"
          },
          "client": {
            "$ref": "#/components/schemas/read_booking_Output"
          }
        },
        "x-capability": "booking.read",
        "x-principal-only": false,
        "x-scope": "booking:read"
      }
    },
    "/api/v1/bookings/{bookingId}/cancel": {
      "post": {
        "description": "Cancel a booking inside its free-cancellation window (one supplier cancel); otherwise returns confirmUrl, the booking's Cancel dialog with its penalty in the app, and changes nothing. A booking with several rooms is cancelled whole (all rooms): the hotel holds them as one booking under one confirmation number.",
        "operationId": "cancel_booking",
        "parameters": [
          {
            "description": "bookingId path parameter.",
            "explode": false,
            "in": "path",
            "name": "bookingId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/cancel_booking_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "booking:cancel"
            ]
          }
        ],
        "summary": "Cancel a booking inside its free-cancellation window (one supplier cancel); otherwise returns confirmUrl, the booking's Cancel dialog with its penalty in the app, and changes nothing. A booking with several rooms is cancelled whole (all rooms): the hotel holds them as one booking under one confirmation number.",
        "tags": [
          "booking"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/cancel_booking_Output"
          }
        },
        "x-capability": "booking.cancel",
        "x-idempotency": "anchored",
        "x-meters": "look-to-book",
        "x-principal-only": false,
        "x-scope": "booking:cancel"
      }
    },
    "/api/v1/clients": {
      "get": {
        "description": "List Agency CRM clients as list summaries, in directory order with an opaque cursor. Archived clients are left out unless status=ARCHIVED is asked for; removed clients appear as redacted tombstones.",
        "operationId": "list_clients",
        "parameters": [
          {
            "description": "limit query parameter.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                      "type": "string"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "cursor query parameter.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 512,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "q query parameter.",
            "explode": false,
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 120,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "status query parameter.",
            "explode": false,
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "ACTIVE",
                    "ARCHIVED"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_clients_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "client:read"
            ]
          }
        ],
        "summary": "List Agency CRM clients as list summaries, in directory order with an opaque cursor. Archived clients are left out unless status=ARCHIVED is asked for; removed clients appear as redacted tombstones.",
        "tags": [
          "client"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_clients_Output"
          }
        },
        "x-capability": "client.list",
        "x-principal-only": false,
        "x-scope": "client:read"
      },
      "post": {
        "description": "Create an Agency CRM client from list-summary fields; consent, address and notes stay in the app. The client is also added as their own traveller, with the same first and last name.",
        "operationId": "create_client",
        "parameters": [
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/create_client_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_client_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_client_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "client:create"
            ]
          }
        ],
        "summary": "Create an Agency CRM client from list-summary fields; consent, address and notes stay in the app. The client is also added as their own traveller, with the same first and last name.",
        "tags": [
          "client"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/create_client_Output"
          }
        },
        "x-capability": "client.create",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "client:create"
      }
    },
    "/api/v1/clients/{clientId}": {
      "delete": {
        "description": "Archive an Agency CRM client with its trips and travellers; refused while one of its trips holds a live booking.",
        "operationId": "delete_client",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/delete_client_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "client:delete"
            ]
          }
        ],
        "summary": "Archive an Agency CRM client with its trips and travellers; refused while one of its trips holds a live booking.",
        "tags": [
          "client"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/delete_client_Output"
          }
        },
        "x-capability": "client.delete",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "client:delete"
      },
      "get": {
        "description": "Read one Agency CRM client as its list summary.",
        "operationId": "read_client",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/read_client_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "client:read"
            ]
          }
        ],
        "summary": "Read one Agency CRM client as its list summary.",
        "tags": [
          "client"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/read_client_Output"
          }
        },
        "x-capability": "client.read",
        "x-principal-only": false,
        "x-scope": "client:read"
      },
      "patch": {
        "description": "Update an Agency CRM client.\nOmitted or null fields stay unchanged. Setting status to ARCHIVED returns resource-conflict while a trip has a pending, confirmed, modified or unresolved hotel booking, or an attempt that may still hold a reservation. These bookings count regardless of checkout date, including stays recorded as booked elsewhere.",
        "operationId": "update_client",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/update_client_Body"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/update_client_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "client:update"
            ]
          }
        ],
        "summary": "Update an Agency CRM client.",
        "tags": [
          "client"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/update_client_Output"
          }
        },
        "x-capability": "client.update",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "client:update"
      }
    },
    "/api/v1/clients/{clientId}/travellers": {
      "get": {
        "description": "List the travellers of one Agency CRM client with their contact fields and loyalty memberships (full numbers), by name with an opaque cursor.",
        "operationId": "list_travellers",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "limit query parameter.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                      "type": "string"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "cursor query parameter.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 512,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_travellers_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "traveller:read"
            ]
          }
        ],
        "summary": "List the travellers of one Agency CRM client with their contact fields and loyalty memberships (full numbers), by name with an opaque cursor.",
        "tags": [
          "traveller"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_travellers_Output"
          }
        },
        "x-capability": "traveller.list",
        "x-principal-only": false,
        "x-scope": "traveller:read"
      },
      "post": {
        "description": "Add a traveller to an Agency CRM client from name, title, passenger type and contact fields; passport details stay in the app.",
        "operationId": "create_traveller",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/create_traveller_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_traveller_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_traveller_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "traveller:create"
            ]
          }
        ],
        "summary": "Add a traveller to an Agency CRM client from name, title, passenger type and contact fields; passport details stay in the app.",
        "tags": [
          "traveller"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/create_traveller_Output"
          }
        },
        "x-capability": "traveller.create",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "traveller:create"
      }
    },
    "/api/v1/hotels": {
      "get": {
        "description": "Search live hotels around coordinates for a stay: one supplier page with the lowest charged price, the commission line for your role and an opaque next-page cursor. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms. Each call is one counted hotel search.",
        "operationId": "search_hotels",
        "parameters": [
          {
            "description": "Decimal degrees, for example 51.5072.",
            "explode": false,
            "in": "query",
            "name": "lat",
            "required": true,
            "schema": {
              "description": "Decimal degrees, for example 51.5072.",
              "pattern": "^-?\\d{1,3}(?:\\.\\d{1,8})?$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Decimal degrees, for example 51.5072.",
            "explode": false,
            "in": "query",
            "name": "lng",
            "required": true,
            "schema": {
              "description": "Decimal degrees, for example 51.5072.",
              "pattern": "^-?\\d{1,3}(?:\\.\\d{1,8})?$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "checkIn query parameter.",
            "explode": false,
            "in": "query",
            "name": "checkIn",
            "required": true,
            "schema": {
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "checkOut query parameter.",
            "explode": false,
            "in": "query",
            "name": "checkOut",
            "required": true,
            "schema": {
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Adults per room, 1 to 8.",
            "explode": false,
            "in": "query",
            "name": "adults",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "maximum": 8,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "pattern": "^[1-8]$",
                  "type": "string"
                }
              ],
              "description": "Adults per room, 1 to 8."
            },
            "style": "form"
          },
          {
            "description": "Since 2.7.0. Identical rooms, \"1\" to \"9\", each with `adults` adults; 1 when omitted. Every price is for all rooms.",
            "explode": false,
            "in": "query",
            "name": "rooms",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[1-9]$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Since 2.7.0. Identical rooms, \"1\" to \"9\", each with `adults` adults; 1 when omitted. Every price is for all rooms."
            },
            "style": "form"
          },
          {
            "description": "Search distance in km, 1 to 50; 15 when omitted.",
            "explode": false,
            "in": "query",
            "name": "radiusKm",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "pattern": "^(?:[1-9]|[1-4]\\d|50)$",
                      "type": "string"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "Search distance in km, 1 to 50; 15 when omitted."
            },
            "style": "form"
          },
          {
            "description": "cursor query parameter.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 1024,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/search_hotels_Output"
                    },
                    {
                      "$ref": "#/components/schemas/search_hotels_ClientOutput"
                    }
                  ]
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "booking:create"
            ]
          }
        ],
        "summary": "Search live hotels around coordinates for a stay: one supplier page with the lowest charged price, the commission line for your role and an opaque next-page cursor. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms. Each call is one counted hotel search.",
        "tags": [
          "hotel"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/search_hotels_Output"
          },
          "client": {
            "$ref": "#/components/schemas/search_hotels_ClientOutput"
          }
        },
        "x-capability": "hotel.search",
        "x-meters": "look-to-book",
        "x-principal-only": false,
        "x-scope": "booking:create"
      }
    },
    "/api/v1/hotels/{hotelId}/rates": {
      "get": {
        "description": "Read one hotel's live rooms and rates for a stay: charged price, refundability, free-cancel deadline (the hotel's own in hotel time, and the platform's latest free-cancel instant), an opaque rateRef for a checkout link and the hotel's commission line for your role. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms, with each room's own figures. Each call is one counted hotel search.",
        "operationId": "read_hotel_rates",
        "parameters": [
          {
            "description": "hotelId path parameter.",
            "explode": false,
            "in": "path",
            "name": "hotelId",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "description": "The Voyage House hotel id (a UUID).",
                  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                  "type": "string"
                },
                {
                  "deprecated": true,
                  "description": "Deprecated: an earlier numeric hotel code, still accepted and mapped to its hotel id.",
                  "pattern": "^\\d{1,20}$",
                  "type": "string"
                }
              ]
            },
            "style": "simple"
          },
          {
            "description": "checkIn query parameter.",
            "explode": false,
            "in": "query",
            "name": "checkIn",
            "required": true,
            "schema": {
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "checkOut query parameter.",
            "explode": false,
            "in": "query",
            "name": "checkOut",
            "required": true,
            "schema": {
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Adults per room, 1 to 8.",
            "explode": false,
            "in": "query",
            "name": "adults",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "maximum": 8,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "pattern": "^[1-8]$",
                  "type": "string"
                }
              ],
              "description": "Adults per room, 1 to 8."
            },
            "style": "form"
          },
          {
            "description": "Since 2.7.0. Identical rooms, \"1\" to \"9\", each with `adults` adults; 1 when omitted. Every price is for all rooms.",
            "explode": false,
            "in": "query",
            "name": "rooms",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[1-9]$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Since 2.7.0. Identical rooms, \"1\" to \"9\", each with `adults` adults; 1 when omitted. Every price is for all rooms."
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/read_hotel_rates_Output"
                    },
                    {
                      "$ref": "#/components/schemas/read_hotel_rates_ClientOutput"
                    }
                  ]
                }
              }
            },
            "description": "Successful operation."
          },
          "308": {
            "description": "An earlier identifier still accepted as input: the same operation at its current address, query unchanged. Not metered.",
            "headers": {
              "Location": {
                "description": "The current address of this resource.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "booking:create"
            ]
          }
        ],
        "summary": "Read one hotel's live rooms and rates for a stay: charged price, refundability, free-cancel deadline (the hotel's own in hotel time, and the platform's latest free-cancel instant), an opaque rateRef for a checkout link and the hotel's commission line for your role. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms, with each room's own figures. Each call is one counted hotel search.",
        "tags": [
          "hotel"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/read_hotel_rates_Output"
          },
          "client": {
            "$ref": "#/components/schemas/read_hotel_rates_ClientOutput"
          }
        },
        "x-capability": "hotel.rates",
        "x-meters": "look-to-book",
        "x-principal-only": false,
        "x-scope": "booking:create"
      }
    },
    "/api/v1/incentives": {
      "get": {
        "description": "List current partner incentives (offers such as \"stay 4, pay 3\" or an enhanced commission) every advisor can use, optionally for one partner, one hotel (by its id) and one stay. Each has its book-by date, travel window, partners, hotel count, details and the viewer's commission line. Client-facing answers never mention incentives or commission.",
        "operationId": "list_incentives",
        "parameters": [
          {
            "description": "A partner name or partner page slug, or null for every partner.",
            "explode": false,
            "in": "query",
            "name": "partner",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 120,
                  "minLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "A partner name or partner page slug, or null for every partner."
            },
            "style": "form"
          },
          {
            "description": "A hotel's id from a result in this chat (a UUID), or null.",
            "explode": false,
            "in": "query",
            "name": "hotelId",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "A hotel's id from a result in this chat (a UUID), or null."
            },
            "style": "form"
          },
          {
            "description": "Stay check-in, YYYY-MM-DD, or null.",
            "explode": false,
            "in": "query",
            "name": "checkIn",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Stay check-in, YYYY-MM-DD, or null."
            },
            "style": "form"
          },
          {
            "description": "Stay check-out, YYYY-MM-DD, or null.",
            "explode": false,
            "in": "query",
            "name": "checkOut",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Stay check-out, YYYY-MM-DD, or null."
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/list_incentives_Output"
                    },
                    {
                      "$ref": "#/components/schemas/list_incentives_ClientOutput"
                    }
                  ]
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": []
          }
        ],
        "summary": "List current partner incentives (offers such as \"stay 4, pay 3\" or an enhanced commission) every advisor can use, optionally for one partner, one hotel (by its id) and one stay. Each has its book-by date, travel window, partners, hotel count, details and the viewer's commission line. Client-facing answers never mention incentives or commission.",
        "tags": [
          "incentive"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_incentives_Output"
          },
          "client": {
            "$ref": "#/components/schemas/list_incentives_ClientOutput"
          }
        },
        "x-capability": "incentive.list",
        "x-principal-only": false,
        "x-scope": "any"
      }
    },
    "/api/v1/oauth/clients": {
      "get": {
        "description": "List OAuth client registrations.",
        "operationId": "list_oauth_clients",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_oauth_clients_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:read"
            ]
          }
        ],
        "summary": "List OAuth client registrations.",
        "tags": [
          "oauthClient"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_oauth_clients_Output"
          }
        },
        "x-capability": "oauthClient.list",
        "x-principal-only": true,
        "x-scope": "apiKey:read"
      },
      "post": {
        "description": "Create an OAuth client; its secret is revealed once.",
        "operationId": "create_oauth_client",
        "parameters": [
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/create_oauth_client_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_oauth_client_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_oauth_client_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:create"
            ]
          }
        ],
        "summary": "Create an OAuth client; its secret is revealed once.",
        "tags": [
          "oauthClient"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/create_oauth_client_Output"
          }
        },
        "x-capability": "oauthClient.create",
        "x-idempotency": "anchored",
        "x-principal-only": true,
        "x-scope": "apiKey:create"
      }
    },
    "/api/v1/oauth/clients/{clientId}": {
      "delete": {
        "description": "Revoke an OAuth client and its outstanding access tokens.",
        "operationId": "revoke_oauth_client",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z0-9_-]{43}$",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/revoke_oauth_client_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/revoke_oauth_client_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:delete"
            ]
          }
        ],
        "summary": "Revoke an OAuth client and its outstanding access tokens.",
        "tags": [
          "oauthClient"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/revoke_oauth_client_Output"
          }
        },
        "x-capability": "oauthClient.revoke",
        "x-idempotency": "anchored",
        "x-principal-only": true,
        "x-scope": "apiKey:delete"
      },
      "get": {
        "description": "Read an OAuth client registration.",
        "operationId": "read_oauth_client",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z0-9_-]{43}$",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/read_oauth_client_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:read"
            ]
          }
        ],
        "summary": "Read an OAuth client registration.",
        "tags": [
          "oauthClient"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/read_oauth_client_Output"
          }
        },
        "x-capability": "oauthClient.read",
        "x-principal-only": true,
        "x-scope": "apiKey:read"
      }
    },
    "/api/v1/oauth/clients/{clientId}/rotate-secret": {
      "post": {
        "description": "Rotate an OAuth secret at its expected version.",
        "operationId": "rotate_oauth_client_secret",
        "parameters": [
          {
            "description": "clientId path parameter.",
            "explode": false,
            "in": "path",
            "name": "clientId",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z0-9_-]{43}$",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/rotate_oauth_client_secret_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/rotate_oauth_client_secret_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "apiKey:update"
            ]
          }
        ],
        "summary": "Rotate an OAuth secret at its expected version.",
        "tags": [
          "oauthClient"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/rotate_oauth_client_secret_Output"
          }
        },
        "x-capability": "oauthClient.rotateSecret",
        "x-idempotency": "anchored",
        "x-principal-only": true,
        "x-scope": "apiKey:update"
      }
    },
    "/api/v1/quotes": {
      "get": {
        "description": "List Agency quotes with exact per-currency charged totals, most recently updated first, with an opaque cursor. Quotes of archived clients are left out.",
        "operationId": "list_quotes",
        "parameters": [
          {
            "description": "limit query parameter.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                      "type": "string"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "cursor query parameter.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 512,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "tripId query parameter.",
            "explode": false,
            "in": "query",
            "name": "tripId",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "status query parameter.",
            "explode": false,
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "PROPOSED",
                    "DRAFT",
                    "SENT",
                    "VIEWED",
                    "ACCEPTED",
                    "DECLINED",
                    "EXPIRED",
                    "SEND_FAILED",
                    "BOOKED"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_quotes_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:read"
            ]
          }
        ],
        "summary": "List Agency quotes with exact per-currency charged totals, most recently updated first, with an opaque cursor. Quotes of archived clients are left out.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_quotes_Output"
          }
        },
        "x-capability": "quote.list",
        "x-principal-only": false,
        "x-scope": "quote:read"
      }
    },
    "/api/v1/quotes/{quoteId}": {
      "delete": {
        "description": "Delete an unsent draft quote; refused while a booking or checkout uses one of its options.",
        "operationId": "delete_quote",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/delete_quote_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/delete_quote_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:delete"
            ]
          }
        ],
        "summary": "Delete an unsent draft quote; refused while a booking or checkout uses one of its options.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/delete_quote_Output"
          }
        },
        "x-capability": "quote.delete",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "quote:delete"
      },
      "get": {
        "description": "Read one Agency quote with its items and exact charged money; no commission, client or GBP data.",
        "operationId": "read_quote",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/read_quote_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:read"
            ]
          }
        ],
        "summary": "Read one Agency quote with its items and exact charged money; no commission, client or GBP data.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/read_quote_Output"
          }
        },
        "x-capability": "quote.read",
        "x-principal-only": false,
        "x-scope": "quote:read"
      },
      "patch": {
        "description": "Set a draft quote's title, plain-text note (an empty note clears it), validity in days (3, 7, 14 or 30) or exact offer end (`offerEnd`: UK `date` YYYY-MM-DD and 24-hour `time` HH:mm, at most 60 days ahead; `\"default\"` returns to the validity rule) at its expected update time; null or absent fields stay unchanged and at least one must change. No repricing.",
        "operationId": "update_quote",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/update_quote_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/update_quote_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:update"
            ]
          }
        ],
        "summary": "Set a draft quote's title, plain-text note (an empty note clears it), validity in days (3, 7, 14 or 30) or exact offer end (`offerEnd`: UK `date` YYYY-MM-DD and 24-hour `time` HH:mm, at most 60 days ahead; `\"default\"` returns to the validity rule) at its expected update time; null or absent fields stay unchanged and at least one must change. No repricing.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/update_quote_Output"
          }
        },
        "x-capability": "quote.update",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "quote:update"
      }
    },
    "/api/v1/quotes/{quoteId}/items/{itemId}": {
      "delete": {
        "description": "Remove one option from a draft quote; refused while a booking or checkout uses it.",
        "operationId": "remove_quote_option",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "itemId path parameter.",
            "explode": false,
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/remove_quote_option_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/remove_quote_option_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:update"
            ]
          }
        ],
        "summary": "Remove one option from a draft quote; refused while a booking or checkout uses it.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/remove_quote_option_Output"
          }
        },
        "x-capability": "quote.removeItem",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "quote:update"
      }
    },
    "/api/v1/quotes/{quoteId}/reorder": {
      "post": {
        "description": "Set the order of a draft quote's options: name every option id once, in the new order.",
        "operationId": "reorder_quote_items",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reorder_quote_items_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/reorder_quote_items_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:update"
            ]
          }
        ],
        "summary": "Set the order of a draft quote's options: name every option id once, in the new order.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/reorder_quote_items_Output"
          }
        },
        "x-capability": "quote.reorderItems",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "quote:update"
      }
    },
    "/api/v1/quotes/{quoteId}/revise": {
      "post": {
        "description": "Open the next version of a sent quote as a draft with the same options, title, note and validity (no repricing); refused while the trip holds another open draft.",
        "operationId": "revise_quote",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/revise_quote_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/revise_quote_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/revise_quote_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:create"
            ]
          }
        ],
        "summary": "Open the next version of a sent quote as a draft with the same options, title, note and validity (no repricing); refused while the trip holds another open draft.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/revise_quote_Output"
          }
        },
        "x-capability": "quote.revise",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "quote:create"
      }
    },
    "/api/v1/quotes/{quoteId}/send": {
      "post": {
        "description": "Send a DRAFT quote to its client's email: one share link and one queued email per operation, delivered by the worker.",
        "operationId": "send_quote",
        "parameters": [
          {
            "description": "quoteId path parameter.",
            "explode": false,
            "in": "path",
            "name": "quoteId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/send_quote_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:update"
            ]
          }
        ],
        "summary": "Send a DRAFT quote to its client's email: one share link and one queued email per operation, delivered by the worker.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/send_quote_Output"
          }
        },
        "x-capability": "quote.send",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "quote:update"
      }
    },
    "/api/v1/rate-programs": {
      "get": {
        "description": "List the configured hotel rate categories in display order with their programme codes and label keys.",
        "operationId": "list_rate_programs",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_rate_programs_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": []
          }
        ],
        "summary": "List the configured hotel rate categories in display order with their programme codes and label keys.",
        "tags": [
          "rateProgram"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_rate_programs_Output"
          },
          "client": {
            "$ref": "#/components/schemas/list_rate_programs_Output"
          }
        },
        "x-capability": "rateProgram.list",
        "x-principal-only": false,
        "x-scope": "any"
      }
    },
    "/api/v1/travellers/{travellerId}": {
      "delete": {
        "description": "Delete a traveller of an Agency CRM client; the traveller leaves every read.",
        "operationId": "delete_traveller",
        "parameters": [
          {
            "description": "travellerId path parameter.",
            "explode": false,
            "in": "path",
            "name": "travellerId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/delete_traveller_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "traveller:delete"
            ]
          }
        ],
        "summary": "Delete a traveller of an Agency CRM client; the traveller leaves every read.",
        "tags": [
          "traveller"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/delete_traveller_Output"
          }
        },
        "x-capability": "traveller.delete",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "traveller:delete"
      },
      "patch": {
        "description": "Update the name, title, passenger type or contact fields of a traveller; omitted or null fields stay unchanged.",
        "operationId": "update_traveller",
        "parameters": [
          {
            "description": "travellerId path parameter.",
            "explode": false,
            "in": "path",
            "name": "travellerId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/update_traveller_Body"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/update_traveller_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "traveller:update"
            ]
          }
        ],
        "summary": "Update the name, title, passenger type or contact fields of a traveller; omitted or null fields stay unchanged.",
        "tags": [
          "traveller"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/update_traveller_Output"
          }
        },
        "x-capability": "traveller.update",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "traveller:update"
      }
    },
    "/api/v1/travellers/{travellerId}/loyalty-programs": {
      "post": {
        "description": "Save a traveller's loyalty membership for the programme family of a supplier code, replacing that family's existing membership; the full number is returned.",
        "operationId": "add_traveller_loyalty_program",
        "parameters": [
          {
            "description": "travellerId path parameter.",
            "explode": false,
            "in": "path",
            "name": "travellerId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/add_traveller_loyalty_program_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/add_traveller_loyalty_program_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "traveller:update"
            ]
          }
        ],
        "summary": "Save a traveller's loyalty membership for the programme family of a supplier code, replacing that family's existing membership; the full number is returned.",
        "tags": [
          "traveller"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/add_traveller_loyalty_program_Output"
          }
        },
        "x-capability": "traveller.addLoyaltyProgram",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "traveller:update"
      }
    },
    "/api/v1/travellers/{travellerId}/loyalty-programs/{loyaltyProgramId}": {
      "delete": {
        "description": "Remove one loyalty membership from a traveller and return the traveller's remaining memberships.",
        "operationId": "remove_traveller_loyalty_program",
        "parameters": [
          {
            "description": "travellerId path parameter.",
            "explode": false,
            "in": "path",
            "name": "travellerId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "loyaltyProgramId path parameter.",
            "explode": false,
            "in": "path",
            "name": "loyaltyProgramId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/remove_traveller_loyalty_program_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "traveller:update"
            ]
          }
        ],
        "summary": "Remove one loyalty membership from a traveller and return the traveller's remaining memberships.",
        "tags": [
          "traveller"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/remove_traveller_loyalty_program_Output"
          }
        },
        "x-capability": "traveller.removeLoyaltyProgram",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "traveller:update"
      }
    },
    "/api/v1/trips": {
      "get": {
        "description": "List Agency CRM trips as trip-level summaries, most recently updated first, with an opaque cursor. Trips of archived clients are left out.",
        "operationId": "list_trips",
        "parameters": [
          {
            "description": "limit query parameter.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "pattern": "^(?:[1-9]|[1-4][0-9]|50)$",
                      "type": "string"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "cursor query parameter.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 512,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "clientId query parameter.",
            "explode": false,
            "in": "query",
            "name": "clientId",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          },
          {
            "description": "status query parameter.",
            "explode": false,
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "PLANNING",
                    "QUOTED",
                    "BOOKED",
                    "IN_PROGRESS",
                    "COMPLETED",
                    "CANCELLED"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_trips_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:read"
            ]
          }
        ],
        "summary": "List Agency CRM trips as trip-level summaries, most recently updated first, with an opaque cursor. Trips of archived clients are left out.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_trips_Output"
          }
        },
        "x-capability": "trip.list",
        "x-principal-only": false,
        "x-scope": "trip:read"
      },
      "post": {
        "description": "Create a PLANNING trip for a visible Agency CRM client from its name, destination and dates. The client’s own traveller, when they have one, starts on the trip as lead guest.",
        "operationId": "create_trip",
        "parameters": [
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/create_trip_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_trip_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/create_trip_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:create"
            ]
          }
        ],
        "summary": "Create a PLANNING trip for a visible Agency CRM client from its name, destination and dates. The client’s own traveller, when they have one, starts on the trip as lead guest.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/create_trip_Output"
          }
        },
        "x-capability": "trip.create",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "trip:create"
      }
    },
    "/api/v1/trips/{tripId}": {
      "delete": {
        "description": "Delete a trip with its quotes, notes and files; refused while it holds a live booking.",
        "operationId": "delete_trip",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/delete_trip_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:delete"
            ]
          }
        ],
        "summary": "Delete a trip with its quotes, notes and files; refused while it holds a live booking.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/delete_trip_Output"
          }
        },
        "x-capability": "trip.delete",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "trip:delete"
      },
      "get": {
        "description": "Read one Agency CRM trip as its trip-level summary.",
        "operationId": "read_trip",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/read_trip_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:read"
            ]
          }
        ],
        "summary": "Read one Agency CRM trip as its trip-level summary.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/read_trip_Output"
          }
        },
        "x-capability": "trip.read",
        "x-principal-only": false,
        "x-scope": "trip:read"
      },
      "patch": {
        "description": "Update a trip name, destination or dates at its expected update time; omitted or null fields stay unchanged.",
        "operationId": "update_trip",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/update_trip_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/update_trip_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:update"
            ]
          }
        ],
        "summary": "Update a trip name, destination or dates at its expected update time; omitted or null fields stay unchanged.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/update_trip_Output"
          }
        },
        "x-capability": "trip.update",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "trip:update"
      }
    },
    "/api/v1/trips/{tripId}/quote-options": {
      "post": {
        "description": "Add one hotel option to your own trip's draft quote from a rateRef of the hotel rates read: the rate is re-found with one counted hotel search and priced from it, then one counted price check freezes the client's rate terms with the option (two counted looks per add; if the price check fails the option is added without them). rooms is 1-9 identical rooms (null or absent is 1) and adults is per room; the rateRef must come from a rates read with the same rooms, and the option's charged total is for all rooms. The first option opens the draft, named after the trip.",
        "operationId": "add_quote_option",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/add_quote_option_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/add_quote_option_Output"
                }
              }
            },
            "description": "Previously committed operation recovered with current authorization.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/add_quote_option_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "quote:create"
            ]
          }
        ],
        "summary": "Add one hotel option to your own trip's draft quote from a rateRef of the hotel rates read: the rate is re-found with one counted hotel search and priced from it, then one counted price check freezes the client's rate terms with the option (two counted looks per add; if the price check fails the option is added without them). rooms is 1-9 identical rooms (null or absent is 1) and adults is per room; the rateRef must come from a rates read with the same rooms, and the option's charged total is for all rooms. The first option opens the draft, named after the trip.",
        "tags": [
          "quote"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/add_quote_option_Output"
          }
        },
        "x-capability": "quote.addItem",
        "x-idempotency": "anchored",
        "x-meters": "look-to-book",
        "x-principal-only": false,
        "x-scope": "quote:create"
      }
    },
    "/api/v1/trips/{tripId}/travellers": {
      "get": {
        "description": "List the travellers assigned to a trip as traveller ids with the lead flag.",
        "operationId": "list_trip_travellers",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/list_trip_travellers_Output"
                }
              }
            },
            "description": "Successful operation."
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:read"
            ]
          }
        ],
        "summary": "List the travellers assigned to a trip as traveller ids with the lead flag.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/list_trip_travellers_Output"
          }
        },
        "x-capability": "trip.listTravellers",
        "x-principal-only": false,
        "x-scope": "trip:read"
      },
      "post": {
        "description": "Assign one of the trip client's travellers to a trip, optionally as its only lead; assigning an assigned traveller changes nothing.",
        "operationId": "add_trip_traveller",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/add_trip_traveller_Body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/add_trip_traveller_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:update"
            ]
          }
        ],
        "summary": "Assign one of the trip client's travellers to a trip, optionally as its only lead; assigning an assigned traveller changes nothing.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/add_trip_traveller_Output"
          }
        },
        "x-capability": "trip.addTraveller",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "trip:update"
      }
    },
    "/api/v1/trips/{tripId}/travellers/{travellerId}": {
      "delete": {
        "description": "Unassign a traveller from a trip; unassigning an unassigned traveller changes nothing.",
        "operationId": "remove_trip_traveller",
        "parameters": [
          {
            "description": "tripId path parameter.",
            "explode": false,
            "in": "path",
            "name": "tripId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "travellerId path parameter.",
            "explode": false,
            "in": "path",
            "name": "travellerId",
            "required": true,
            "schema": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Stable operation key. Reuse only for the same input; an uncertain result must be recovered before another write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/remove_trip_traveller_Output"
                }
              }
            },
            "description": "Successful operation.",
            "headers": {
              "Idempotent-Replayed": {
                "description": "Present with value true on a recovered operation.",
                "schema": {
                  "const": "true",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Problem401"
          },
          "402": {
            "$ref": "#/components/responses/Problem402"
          },
          "403": {
            "$ref": "#/components/responses/Problem403"
          },
          "404": {
            "$ref": "#/components/responses/Problem404"
          },
          "405": {
            "$ref": "#/components/responses/Problem405"
          },
          "409": {
            "$ref": "#/components/responses/Problem409"
          },
          "413": {
            "$ref": "#/components/responses/Problem413"
          },
          "422": {
            "$ref": "#/components/responses/Problem422"
          },
          "429": {
            "$ref": "#/components/responses/Problem429"
          },
          "500": {
            "$ref": "#/components/responses/Problem500"
          },
          "503": {
            "$ref": "#/components/responses/Problem503"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "trip:update"
            ]
          }
        ],
        "summary": "Unassign a traveller from a trip; unassigning an unassigned traveller changes nothing.",
        "tags": [
          "trip"
        ],
        "x-audience-schemas": {
          "advisor": {
            "$ref": "#/components/schemas/remove_trip_traveller_Output"
          }
        },
        "x-capability": "trip.removeTraveller",
        "x-idempotency": "anchored",
        "x-principal-only": false,
        "x-scope": "trip:update"
      }
    }
  },
  "servers": [
    {
      "description": "voyage.house application",
      "url": "https://app.voyage.house"
    }
  ],
  "tags": [
    {
      "description": "agency operations.",
      "name": "agency"
    },
    {
      "description": "apiKey operations.",
      "name": "apiKey"
    },
    {
      "description": "booking operations.",
      "name": "booking"
    },
    {
      "description": "client operations.",
      "name": "client"
    },
    {
      "description": "hotel operations.",
      "name": "hotel"
    },
    {
      "description": "incentive operations.",
      "name": "incentive"
    },
    {
      "description": "oauthClient operations.",
      "name": "oauthClient"
    },
    {
      "description": "quote operations.",
      "name": "quote"
    },
    {
      "description": "rateProgram operations.",
      "name": "rateProgram"
    },
    {
      "description": "traveller operations.",
      "name": "traveller"
    },
    {
      "description": "trip operations.",
      "name": "trip"
    }
  ],
  "webhooks": {}
}
