Skip to main content

Destination

Destination information with flattened structure

codestring

Unique destination identifier

destinationCodestring

Destination code

typestring

Destination type (e.g., city, region, country)

namestring

Destination name

availableboolean

Whether the destination is available

destinationLeafstring[]

Child destination codes

closestDestinationsstring[]

Nearby destination codes

parentstring

Parent destination code

texts object[]

Destination texts in different languages

  • Array [
  • typestring

    Type of text (e.g., description, shortDescription)

    languageCodestring

    ISO 639-1 language code

    textstring

    Text content

  • ]
  • createdAtstring<date-time>

    Record creation timestamp

    updatedAtstring<date-time>

    Record last update timestamp

    Destination
    {
    "code": "string",
    "destinationCode": "string",
    "type": "string",
    "name": "string",
    "available": true,
    "destinationLeaf": [
    "string"
    ],
    "closestDestinations": [
    "string"
    ],
    "parent": "string",
    "texts": [
    {
    "type": "string",
    "languageCode": "string",
    "text": "string"
    }
    ],
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }