mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-01 16:51:21 +00:00
Fix: Use correctly parseable JSON-LD context (#2299)
* Fix: Use correctly parseable JSON-LD context * Changed: Better ordering for context document alphabetized properties * Changed: Use xsd types instead of schema.org types * Changed: use simple namespacing
This commit is contained in:
parent
a29cf04092
commit
5b7376512f
1 changed files with 16 additions and 14 deletions
|
@ -1,19 +1,21 @@
|
||||||
[
|
[
|
||||||
"https://www.w3.org/ns/activitystreams",
|
"https://www.w3.org/ns/activitystreams",
|
||||||
|
"https://w3id.org/security/v1",
|
||||||
{
|
{
|
||||||
"stickied": "as:stickied",
|
"lemmy": "https://join-lemmy.org/ns#",
|
||||||
"pt": "https://join-lemmy.org#",
|
"litepub": "http://litepub.social/ns#",
|
||||||
"sc": "http://schema.org#",
|
"pt": "https://joinpeertube.org/ns#",
|
||||||
"matrixUserId": {
|
"ChatMessage": "litepub:ChatMessage",
|
||||||
"type": "sc:Text",
|
"commentsEnabled": "pt:commentsEnabled",
|
||||||
"id": "as:alsoKnownAs"
|
|
||||||
},
|
|
||||||
"sensitive": "as:sensitive",
|
"sensitive": "as:sensitive",
|
||||||
"comments_enabled": {
|
"matrixUserId": "lemmy:matrixUserId",
|
||||||
"type": "sc:Boolean",
|
"posting_restricted_to_mods": "lemmy:posting_restricted_to_mods",
|
||||||
"id": "pt:commentsEnabled"
|
"remove_data": "lemmy:remove_data",
|
||||||
|
"stickied": "lemmy:stickied",
|
||||||
|
"moderators": {
|
||||||
|
"@type": "@id",
|
||||||
|
"@id": "lemmy:moderators"
|
||||||
},
|
},
|
||||||
"moderators": "as:moderators"
|
"expires": "as:endTime"
|
||||||
},
|
}
|
||||||
"https://w3id.org/security/v1"
|
|
||||||
]
|
]
|
Loading…
Reference in a new issue