Skip to content

Commit f5aa61a

Browse files
committed
Use sioc:Container for spaces
1 parent 4fcd5d1 commit f5aa61a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/website/app/api/data/[space_id]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const GET = async (
117117
const data = {
118118
"@context": [ctxUrl, localCtx],
119119
"@id": baseUrl,
120-
"@type": "Space",
120+
"@type": "Container",
121121
label: space.name,
122122
sameAs: space.url,
123123
container_of: Object.entries(withMaxDate).map(([id, lastModified]) => ({

apps/website/public/schema/context.jsonld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2929
},
3030
"creator": "dc:creator",
31+
"Container": "sioc:Container",
3132
"content": "sioc:content",
3233
"container_of": "sioc:container_of",
3334
"has_container": { "@id": "sioc:has_container", "@type": "@id" },

0 commit comments

Comments
 (0)