{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carbonara-co2-org/json-schema/carbonara-co2-org-place-schema.json",
  "title": "Place",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carbonara-co2-org-places-api-openapi.yml#/components/schemas/Place",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "kinds": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "city",
          "port",
          "rail",
          "road",
          "airport",
          "inland",
          "border"
        ]
      }
    },
    "name": {
      "type": "string"
    },
    "alt_name": {
      "type": "string",
      "description": "e.g. the English name of a place listed under its local name"
    },
    "region": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "country_name": {
      "type": "string"
    },
    "lat": {
      "type": "number"
    },
    "lon": {
      "type": "number"
    }
  }
}