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:

-   activities 
-   culture
-   society
-   shopping
-   nature

Info

Related to Types & Categories:

The available properties of an entity might overlap with the Categories such as Mountain bike. For Types it indicates the abstract meaning of a Tour, which means this place is a tour with the main type BikeTrail. Where in categories, it indicates a sub-category of Cycling, where the tour can be for E-Bike, E-mountain bike, Gravel bike or Mountain bike.

Tip

Check out the current data in Demo Portal, & Partner Portal.

Info

Here you can examine discover.swiss data classifications (Categories tree, types and additional types). Click to Download

Data model

As example the type "Velofahren" (sui_0102) and the child categories of it.

{
    "@id": "https://api.discover.swiss/info/v2/categories/sui_0102",
    "identifier": "sui_0102",
    "name": "Velofahren",
    "children": [
        {
            "@id": "https://api.discover.swiss/info/v2/categories/sui_010201",
            "identifier": "sui_010201",
            "name": "E-Bike"
        },
        {
            "@id": "https://api.discover.swiss/info/v2/categories/sui_010202",
            "identifier": "sui_010202",
            "name": "E-Mountainbike"
        },
        {
            "@id": "https://api.discover.swiss/info/v2/categories/sui_010203",
            "identifier": "sui_010203",
            "name": "Fahrrad"
        },
        {
            "@id": "https://api.discover.swiss/info/v2/categories/sui_010204",
            "identifier": "sui_010204",
            "name": "Gravelbike"
        },
        {
            "@id": "https://api.discover.swiss/info/v2/categories/sui_010205",
            "identifier": "sui_010205",
            "name": "Mountainbike"
        },
        {
            "@id": "https://api.discover.swiss/info/v2/categories/sui_010207",
            "identifier": "sui_010207",
            "name": "Rennrad"
        }
    ]
}