[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:
parent
b3809514ae
commit
0839c8936f
1 changed files with 16 additions and 10 deletions
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue