Fields

Sample

{
  "id": 0,
  "name": "string",
  "code": "string",
  "country": "string",
  "risk_level_id": 0,
  "overview": "string",
  "arrival": "string",
  "getting_around": "string",
  "safety": "string",
  "health": "string",
  "calendar": "string",
  "latitude": 0.0,
  "longitude": 0.0,
  "zoom": 0,
  "client_id": 0,
  "geometries": {
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "geometry": {
          "type": "Polygon",
          "coordinates": [
            [
              [
                0.0,
                0.0
              ]
            ]
          ]
        },
        "properties": {
          "name": "string",
          "description": "string"
        }
      }
    ]
  }
}

City report fields

FieldFormatExample
namestringCity name
codestringIATA 3-letter code
countrystringTwo-letter ISO country code
risk_level_idintegerOne of: 1, 2, 3, 4, 5
overviewtextOverview of the city
arrivaltextArrival information and guidance
getting_aroundtextInformation about local transportation
safetytextSafety information and advice
healthtextHealth-related information and recommendations
calendartextRelevant events or dates, such as public holidays
latitudestringLatitude coordinate marking the city centre
longitudestringLongitude coordinate marking the city centre
zoomstringRecommended map zoom level
client_idintegerCompany ID (for internal Riskline use)
geometriesobjectCollection of geographic features associated with the city report
geometries.typestringGeoJSON object type
geometries.featuresarrayArray of GeoJSON features representing areas of interest
geometries.features[].typestringGeoJSON feature type
geometries.features[].geometryobjectGeoJSON geometry object containing the shape definition
geometries.features[].geometry.typestringGeometry type
geometries.features[].geometry.coordinatesarrayCoordinates defining the geometry
geometries.features[].propertiesobjectMetadata describing the geographic feature
geometries.features[].properties.namestringName of the geographic feature or area
geometries.features[].properties.descriptionstringDescription of the feature and any associated travel or safety information

Please note that the risk_level for this API is not a string, but an integer (due to historical reasons).