{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ecoaloha-com/json-schema/ecoaloha-com-nearest-destination-schema.json",
  "title": "NearestDestination",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecoaloha-com-openapi.json#/components/schemas/NearestDestination",
  "type": "object",
  "required": [
    "id",
    "name",
    "country",
    "distanceKm"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "distanceKm": {
      "type": "integer",
      "minimum": 0,
      "description": "Great-circle distance from the point to the city centre, rounded to km. No maximum distance is applied."
    }
  }
}