Example generic type when using React Structured Data
<JSONLD dangerouslyExposeHtml={true}>
<Generic
type="Event"
jsonldtype="Event"
schema={{
name: `Somebody at ${content.venue}`,
startDate: content.date,
endDate: content.date,
description: content.description.text,
image: [config.siteImage],
}}
>
<Generic
type="location"
jsonldtype="Place"
schema={{
name: content.venue,
}}
>
<Generic
type="address"
jsonldtype="PostalAddress"
schema={{
addressLocality: content.city,
addressRegion: content.state,
addressCountry: content.country,
}}
/>
</Generic>
<Generic
type="offers"
jsonldtype="Offer"
schema={{
url: content.tickets ? content.tickets.url : null,
}}
/>
<Generic
type="performer"
jsonldtype="Person"
schema={{
name: 'Somebody',
}}
/>
</Generic>
</JSONLD>