Amadeus Solutions · Schema

DateTimeRange

DateTimeRange schema

AirlinesBookingFlightsGDSHotelsTravelTravel Technology
View JSON Schema on GitHub

JSON Schema

flight-offers-search-date-time-range-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-schema/flight-offers-search-date-time-range-schema.json",
  "title": "DateTimeRange",
  "description": "DateTimeRange schema",
  "required": [
    "date"
  ],
  "allOf": [
    {
      "$ref": "#/definitions/DateTimeType"
    },
    {
      "type": "object",
      "properties": {
        "dateWindow": {
          "description": "Either 1, 2 or 3 extra days around the local date (IxD for +/- x days - Ex: I3D), Either 1 to 3 days after the local date (PxD for +x days - Ex: P3D), or 1 to 3 days before the local date (MxD for -x days - Ex: M3D)\n\nCan not be combined with \"originRadius\" or \"destinationRadius\".\n",
          "type": "string",
          "example": "I3D",
          "pattern": "^[MPI][1-3]D"
        },
        "timeWindow": {
          "description": "1 to 12 hours around (both +and -) the local time. Possibly limited by the number of extra days when specified, i.e.  in some situations, it may not be used to exceed the maximum date range. [1-12]H format, e.g. 6H\n\nCan not be combined with \"originRadius\" or \"destinationRadius\".\n",
          "type": "string",
          "example": "2H",
          "pattern": "^([1-9]|10|11|12)H"
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flight-offers-search-date-time-range"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.