{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emergingtravel/json-schema/emergingtravel-post-api-b2-bv3-search-serp-region-request2-schema.json",
  "title": "PostApiB2BV3SearchSerpRegionRequest2",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/emergingtravel-openapi-generated.yml#/components/schemas/PostApiB2BV3SearchSerpRegionRequest2",
  "type": "object",
  "properties": {
    "checkin": {
      "type": "string",
      "description": "The check-in date. The value must be not later than 730 days from the day when the request is made."
    },
    "checkout": {
      "type": "string",
      "description": "The check-out date. The value must be not later than 30 days from the checkin field value."
    },
    "currency": {
      "type": "string",
      "description": "The currency of all rooms’ prices."
    },
    "hotels_limit": {
      "type": "integer",
      "description": "The maximum number of the available hotels in the response."
    },
    "language": {
      "type": "string",
      "description": "The hotel data language."
    },
    "region_id": {
      "type": "integer",
      "description": "The region ID."
    },
    "residency": {
      "type": "string",
      "description": "The guests’ citizenship in the ISO 3166-1 alpha-2 format."
    },
    "timeout": {
      "type": "number",
      "description": "The maximum amount of time in seconds within which searching for rates will be executed."
    },
    "guests": {
      "type": "array",
      "description": "The list of guests in the rooms. One list item represents one room."
    },
    "filter": {
      "type": "object",
      "description": "Filter parameters for the search request."
    }
  },
  "required": [
    "checkin",
    "checkout",
    "region_id",
    "residency",
    "guests"
  ]
}