Skip to content

Categories

discover.swiss uses Categories, in order to make it easy to navigate and to improve search, Categories are built like a tree. However, it does not exist in Schema.org

An example of the Categories available at discover.swiss: - gastronomy - accommodation - points of interest - tours - events

Info

Related to Types & Categorise:

The available properties of an entity might overlap with the Categories such as Restaurant. For Types it indicates the abstract meaning of a Restaurant, which means this place is a restaurant with the main type FoodEstablishment. Where in categories, it indicates a sub-category of Gastronomie, where the restaurant has, a kitchen and this kitchen can be → vegan, Italian, etc.

Info

Check out the current data in DEMO APP, & Partner Portal.

Data model

Example:

{
    "Key": "ds_gastronomy",
    "Name": {
        "de": "Gastronomie",
        "en": "Gastronomy",
        "fr": "Gastronomie",
        "it": "Gastronomia"
    },
    "categories": [
        {
            "Key": "ds_tours",
            "Name": {
                "de": "Restaurant",
                "en": "Restaurant",
                "fr": "Restaurant",
                "it": "Ristoranti"
            },
            "categories": [
                {
                    "Key": "ds_cuisine",
                    "Name": {
                        "de": "Küche",
                        "en": "Cuisine",
                        "fr": "Cuisine",
                        "it": "Cucina"
                    },
                    "Icons": [
                        {
                            "Name": "IconUrl",
                            "Url": "https://res.oastatic.com/icons/alpstein/alpineSnackBar/dark_blue/alpineSnackBar.square_vector.svg"
                        },
                        {
                            "Name": "IconInactiveUrl",
                            "Url": "https://res.oastatic.com/icons/alpstein/alpineSnackBar/grey80/alpineSnackBar.square_vector.svg"
                        }
                    ]
                },
                {
                    "Key": "ds_coffee",
                    "Name": {
                        "de": "Kaffee & Teeraum",
                        "en": "Coffee Houses & Tea Rooms",
                        "fr": "Salon de thé",
                        "it": "Caffè"
                    }
                }
            ]
        }
    ]
}


Last update: May 25, 2021 07:43:36