kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch 'update-litepub-context' into 'develop'
fixes #1341; Update pleroma JSON-LD Schema Closes #1341 See merge request funkwhale/funkwhale!1275environments/review-docs-devel-1399dq/deployments/6607
commit
648abfd90f
|
@ -316,8 +316,8 @@ CONTEXTS = [
|
||||||
"shortId": "LITEPUB",
|
"shortId": "LITEPUB",
|
||||||
"contextUrl": None,
|
"contextUrl": None,
|
||||||
"documentUrl": "http://litepub.social/ns",
|
"documentUrl": "http://litepub.social/ns",
|
||||||
|
# from https://git.pleroma.social/pleroma/pleroma/-/blob/release/2.2.3/priv/static/schemas/litepub-0.1.jsonld
|
||||||
"document": {
|
"document": {
|
||||||
# from https://ap.thequietplace.social/schemas/litepub-0.1.jsonld
|
|
||||||
"@context": {
|
"@context": {
|
||||||
"Emoji": "toot:Emoji",
|
"Emoji": "toot:Emoji",
|
||||||
"Hashtag": "as:Hashtag",
|
"Hashtag": "as:Hashtag",
|
||||||
|
@ -326,6 +326,7 @@ CONTEXTS = [
|
||||||
"conversation": {"@id": "ostatus:conversation", "@type": "@id"},
|
"conversation": {"@id": "ostatus:conversation", "@type": "@id"},
|
||||||
"discoverable": "toot:discoverable",
|
"discoverable": "toot:discoverable",
|
||||||
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
||||||
|
"capabilities": "litepub:capabilities",
|
||||||
"ostatus": "http://ostatus.org#",
|
"ostatus": "http://ostatus.org#",
|
||||||
"schema": "http://schema.org#",
|
"schema": "http://schema.org#",
|
||||||
"toot": "http://joinmastodon.org/ns#",
|
"toot": "http://joinmastodon.org/ns#",
|
||||||
|
@ -340,6 +341,7 @@ CONTEXTS = [
|
||||||
"@type": "@id",
|
"@type": "@id",
|
||||||
},
|
},
|
||||||
"EmojiReact": "litepub:EmojiReact",
|
"EmojiReact": "litepub:EmojiReact",
|
||||||
|
"ChatMessage": "litepub:ChatMessage",
|
||||||
"alsoKnownAs": {"@id": "as:alsoKnownAs", "@type": "@id"},
|
"alsoKnownAs": {"@id": "as:alsoKnownAs", "@type": "@id"},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Update pleroma JSON-LD Schema (#1341)
|
Ładowanie…
Reference in New Issue