From 722ba30c72f0f587c1c39eb22d032ab2845919a5 Mon Sep 17 00:00:00 2001 From: Erin Shepherd Date: Sat, 2 Mar 2024 21:32:15 +0100 Subject: [PATCH] context: add featured & backgroundUrl definitions These were missing from our context, which caused interoperability issues with people who do context processing --- priv/static/schemas/litepub-0.1.jsonld | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/priv/static/schemas/litepub-0.1.jsonld b/priv/static/schemas/litepub-0.1.jsonld index 12a6ec16f..6287669b6 100644 --- a/priv/static/schemas/litepub-0.1.jsonld +++ b/priv/static/schemas/litepub-0.1.jsonld @@ -19,6 +19,7 @@ "toot": "http://joinmastodon.org/ns#", "misskey": "https://misskey-hub.net/ns#", "fedibird": "http://fedibird.com/ns#", + "sharkey": "https://joinsharkey.org/ns#", "value": "schema:value", "sensitive": "as:sensitive", "litepub": "http://litepub.social/ns#", @@ -45,6 +46,14 @@ "contentMap": { "@id": "as:content", "@container": "@language" + }, + "featured": { + "@id": "toot:featured", + "@type": "@id" + }, + "backgroundUrl": { + "@id": "sharkey:backgroundUrl", + "@type": "@id" } } ]