Type Alias Catalogue

Catalogue: Category[]

The catalogue is a tree-like data structure that describes what the user can search for. The application passes the catalogue to lens as a JSON string via the component. Lens validates the JSON against a JSON schema that is automatically generated from this type definition. Many components of lens use the catalogue. Most notably the component renders the catalogue as a collapsable tree and allows the user to add items from the catalogue to the search bar.