context: add featured & backgroundUrl definitions

These were missing from our context, which caused interoperability issues with
people who do context processing
This commit is contained in:
Erin Shepherd 2024-03-02 21:32:15 +01:00
parent 2d439034ca
commit 722ba30c72

View file

@ -19,6 +19,7 @@
"toot": "http://joinmastodon.org/ns#", "toot": "http://joinmastodon.org/ns#",
"misskey": "https://misskey-hub.net/ns#", "misskey": "https://misskey-hub.net/ns#",
"fedibird": "http://fedibird.com/ns#", "fedibird": "http://fedibird.com/ns#",
"sharkey": "https://joinsharkey.org/ns#",
"value": "schema:value", "value": "schema:value",
"sensitive": "as:sensitive", "sensitive": "as:sensitive",
"litepub": "http://litepub.social/ns#", "litepub": "http://litepub.social/ns#",
@ -45,6 +46,14 @@
"contentMap": { "contentMap": {
"@id": "as:content", "@id": "as:content",
"@container": "@language" "@container": "@language"
},
"featured": {
"@id": "toot:featured",
"@type": "@id"
},
"backgroundUrl": {
"@id": "sharkey:backgroundUrl",
"@type": "@id"
} }
} }
] ]