Schemaorg API import

Hi,

I would like to import a Schema.org API in a website. The problem is, that nodes like “@context” dont work that well. There is an easy way in Go with type event struct { } which is recommended to use with structured data. But I have not found a way in Hugo to use it. OTOH the map[string]interface {} is only recommended for unstructured data if I understand right, but works quickly.

Which way should I go or is the best?

The API can be found here https://api.kulturadressen.de/api?apiKey=4d6c276ac285ac0ed5f73320a3a16f0b&search=performance&type=2328&style=json-ld

I want so select all grouped events by “Parent ID” so that on the page I dont clutter the display with single events. so I cant just print it all out, but need to work on the output to reduce it. So that a grouped event has a name, a first and a last date, an image, description.

Any help appreciated. I guess I just did not find the right path…

Ciao,
Thilo