Category

fun Category(id: CategoryId, name: String, parents: Set<CategoryId> = emptySet(), children: Set<CategoryId> = emptySet(), synonyms: List<String> = emptyList())

Parameters

id

The identifier for the POI category.

name

The name of the POI category.

parents

The list of parent ids of the POI category.

children

The list of sub-category ids of the POI category.

synonyms

The synonyms for the POI category.