Amadeus Traveler Media · JSON Structure

Points Of Interest Location Structure

Location schema

Type: object Properties: 9
ContentDestinationMediaPhotosPoints of InterestTourismTravel

Location is a JSON Structure definition published by Amadeus Traveler Media, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id self type subType name geoCode category tags rank

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-traveler-media/refs/heads/main/json-structure/points-of-interest-location-structure.json",
  "name": "Location",
  "description": "Location schema",
  "properties": {
    "id": {
      "description": "id of the ressource",
      "type": "string"
    },
    "self": {
      "$ref": "#/definitions/Links"
    },
    "type": {
      "description": "the resource name",
      "type": "string",
      "example": "location"
    },
    "subType": {
      "description": "location sub type",
      "type": "string",
      "enum": [
        "AIRPORT",
        "CITY",
        "POINT_OF_INTEREST",
        "DISTRICT"
      ],
      "example": "AIRPORT"
    },
    "name": {
      "description": "short name of the location",
      "type": "string",
      "example": "Paris CDG"
    },
    "geoCode": {
      "$ref": "#/definitions/GeoCode"
    },
    "category": {
      "description": "category of the location",
      "type": "string",
      "enum": [
        "SIGHTS",
        "BEACH_PARK",
        "HISTORICAL",
        "NIGHTLIFE",
        "RESTAURANT",
        "SHOPPING"
      ],
      "example": "HISTORICAL"
    },
    "tags": {
      "description": "list of tags related to the location",
      "type": "array",
      "items": {
        "type": "string",
        "example": [
          "grocery",
          "japanese",
          "cafe"
        ]
      }
    },
    "rank": {
      "description": "the rank is the position compared to other locations based on how famous is a place. 1 being the highest.",
      "type": "string",
      "example": 1
    }
  },
  "type": "object"
}