[backend/federation] Improve layout of the canonical Iceshrimp.NET JSON-LD context

This gets pruned and re-serialized before it gets placed in JSON responses anyway, so we might as well make it easier to read for development purposes.
This commit is contained in:
Laura Hausmann 2024-09-09 21:23:30 +02:00
parent b3809514ae
commit 0839c8936f
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -3,6 +3,10 @@
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"toot": "http://joinmastodon.org/ns#",
"misskey": "https://misskey-hub.net/ns#",
"vcard": "http://www.w3.org/2006/vcard/ns#",
"movedTo": {
"@id": "as:movedTo",
"@type": "@id"
@ -11,18 +15,24 @@
"@id": "toot:featured",
"@type": "@id"
},
"webfinger": {
"@id": "https://purl.archive.org/socialweb/webfinger#webfinger",
"@type": "xsd:string"
},
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"movedToUri": "as:movedTo",
"sensitive": "as:sensitive",
"Hashtag": "as:Hashtag",
"quoteUri": "http://fedibird.com/ns#quoteUri",
"quoteUrl": "as:quoteUrl",
"toot": "http://joinmastodon.org/ns#",
"Emoji": "toot:Emoji",
"discoverable": "toot:discoverable",
"votersCount": "toot:votersCount",
"PropertyValue": "http://schema.org#PropertyValue",
"value": "http://schema.org#value",
"misskey": "https://misskey-hub.net/ns#",
"_misskey_content": "misskey:_misskey_content",
"_misskey_quote": "misskey:_misskey_quote",
"_misskey_reaction": "misskey:_misskey_reaction",
@ -30,14 +40,10 @@
"_misskey_talk": "misskey:_misskey_talk",
"_misskey_summary": "misskey:_misskey_summary",
"isCat": "misskey:isCat",
"vcard": "http://www.w3.org/2006/vcard/ns#",
"Bite": "https://ns.mia.jetzt/as#Bite",
"EmojiReact": "http://litepub.social/ns#EmojiReact",
"votersCount": "toot:votersCount",
"webfinger": {
"@id": "https://purl.archive.org/socialweb/webfinger#webfinger",
"@type": "xsd:string"
}
"quoteUri": "http://fedibird.com/ns#quoteUri",
"EmojiReact": "http://litepub.social/ns#EmojiReact"
}
]
}