{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meteoblue/json-schema/meteoblue-post-dataset-query-request-schema.json",
  "title": "PostDatasetQueryRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/meteoblue-openapi-generated.yml#/components/schemas/PostDatasetQueryRequest",
  "type": "object",
  "properties": {
    "runOnJobQueue": {
      "type": "boolean"
    },
    "geometry": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        },
        "locationNames": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "format": {
      "type": "string"
    },
    "timeIntervals": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "date-time"
      }
    },
    "queries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "gapFillDomain": {
            "type": [
              "string",
              "null"
            ]
          },
          "timeResolution": {
            "type": "string"
          },
          "codes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "integer"
                },
                "level": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}