{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/airroi/json-schema/airroi-future-pacing-response-schema.json",
  "title": "FuturePacingResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/airroi-openapi.json#/components/schemas/FuturePacingResponse",
  "type": "object",
  "properties": {
    "market": {
      "$ref": "#/$defs/Market"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PacingDataPoint"
      }
    }
  },
  "$defs": {
    "Market": {
      "type": "object",
      "title": "Market",
      "description": "Internal representation of a geographic market used for encoding/decoding market identifiers.\n",
      "properties": {
        "country": {
          "type": "string",
          "description": "The country code where the market is located (e.g., \"US\", \"FR\")."
        },
        "region": {
          "type": "string",
          "description": "The primary administrative division, such as a state or province (e.g., \"California\", \"Ile-de-France\")."
        },
        "locality": {
          "type": "string",
          "description": "The city, town, or other municipality (e.g., \"Los Angeles\", \"Paris\")."
        },
        "district": {
          "type": [
            "string",
            "null"
          ],
          "description": "A neighborhood, borough, or other sub-city area (e.g., \"90292\", \"18th Arrondissement\")."
        }
      }
    },
    "PacingDataPoint": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "yyyy-MM-dd"
        },
        "booked_count": {
          "type": "integer"
        },
        "available_count": {
          "type": "integer"
        },
        "booked_rate_avg": {
          "type": "number",
          "format": "double"
        },
        "available_rate_avg": {
          "type": "number",
          "format": "double"
        },
        "fill_rate": {
          "type": "number",
          "format": "double"
        }
      }
    }
  }
}