{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/us-african-development-foundation/json-schema/us-african-development-foundation-spending-by-geography-response-schema.json",
  "title": "SpendingByGeographyResponse",
  "description": "Grant spending breakdown by country",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/us-african-development-foundation-spending-api-openapi.yml#/components/schemas/SpendingByGeographyResponse",
  "type": "object",
  "properties": {
    "scope": {
      "type": "string"
    },
    "geo_layer": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "description": "Geographic spending breakdown",
      "items": {
        "type": "object",
        "properties": {
          "shape_code": {
            "type": "string",
            "description": "Country/state code"
          },
          "display_name": {
            "type": "string",
            "description": "Country/region name"
          },
          "aggregated_amount": {
            "type": "number",
            "description": "Total award amount"
          },
          "award_count": {
            "type": "integer",
            "description": "Number of awards"
          }
        }
      }
    }
  }
}