{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/datosia-net/json-schema/datosia-net-post-api-v1-query-response-schema.json",
  "title": "PostApiV1QueryResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/datosia-net-openapi-generated.yml#/components/schemas/PostApiV1QueryResponse",
  "type": "object",
  "properties": {
    "query": {
      "type": "object",
      "description": "The resolved query, including the periods used."
    },
    "places": {
      "type": "object",
      "description": "Mapping of place codes to metadata (name, level, lat, lon)."
    },
    "indicators": {
      "type": "array",
      "description": "Indicator metadata (id, unit, rollup, weighted_by)."
    },
    "dimensions": {
      "type": "array",
      "description": "Dimension definitions with id and values."
    },
    "rows": {
      "type": "array",
      "description": "Flat list of results (indicator, geo, time, value, source)."
    },
    "matrix": {
      "type": "object",
      "description": "Nested matrix of values keyed by place and time."
    },
    "gaps": {
      "type": "array",
      "description": "Values a source never published, with reason."
    },
    "map_layers": {
      "type": "array",
      "description": "URLs to GeoJSON shape files."
    },
    "sources": {
      "type": "array",
      "description": "Source information (id, publisher, license, retrieved)."
    }
  }
}