{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/datosia-net/json-schema/datosia-net-post-api-v1-query-request-schema.json",
  "title": "PostApiV1QueryRequest",
  "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/PostApiV1QueryRequest",
  "type": "object",
  "properties": {
    "indicators": {
      "type": "array",
      "description": "1–10 indicator ids from find_indicators , e.g. FIN.BRANCHES_PER_100K_ADULTS."
    },
    "geo.in": {
      "type": "array",
      "description": "Countries, groups or department/municipality codes from resolve_place or list_places."
    },
    "geo.rollup": {
      "type": "boolean",
      "description": "true: each group becomes one regional value; false (default): groups expand to their countries."
    },
    "geo.drill": {
      "type": "string",
      "description": "department, municipality or district: expand each place to its units at that level."
    },
    "time": {
      "type": "object",
      "description": "{from, to} in years, or {last: N} for the N most recent periods with data. Omit for the latest."
    },
    "by": {
      "type": "array",
      "description": "Matrix axes, outermost first (indicator, geo, time). Defaults to every dimension with more than one value."
    },
    "format": {
      "type": "array",
      "description": "[\"rows\",\"matrix\"] by default; add \"geojson\" for boundaries with values."
    }
  },
  "required": [
    "indicators"
  ]
}