diff --git a/src/components/json-ld.tsx b/src/components/json-ld.tsx index 101fc1aa40..b91902cfeb 100644 --- a/src/components/json-ld.tsx +++ b/src/components/json-ld.tsx @@ -97,7 +97,12 @@ export function JsonLd({ data, id }: JsonLdProps) { return { '@context': [ 'https://w3id.org/kim/lrmi-profile/draft/context.jsonld', - { '@language': lang }, + { + '@language': lang, + '@vocab': 'http://schema.org/', + type: '@type', + id: '@id', + }, ], id: getIRI(id), type, diff --git a/src/components/landing/rework/landing-json-ld.tsx b/src/components/landing/rework/landing-json-ld.tsx index ed11559d71..2b403de460 100644 --- a/src/components/landing/rework/landing-json-ld.tsx +++ b/src/components/landing/rework/landing-json-ld.tsx @@ -14,7 +14,12 @@ export function LandingJsonLd() { return { '@context': [ 'https://w3id.org/kim/lrmi-profile/draft/context.jsonld', - { '@language': 'de' }, + { + '@language': 'de', + '@vocab': 'http://schema.org', + type: '@type', + id: '@id', + }, ], id: 'https://serlo.org/', type: ['EducationalOrganization', 'NGO'],