mirror of https://gitlab.com/bashrc2/epicyon
Update litepub context
parent
be82be3326
commit
8ac310011d
77
context.py
77
context.py
|
@ -256,44 +256,53 @@ def get_litepub_social() -> {}:
|
|||
def getLitepubV0_1() -> {}:
|
||||
# https://domain/schemas/litepub-0.1.jsonld
|
||||
return {
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
'@context': [
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
'https://w3id.org/security/v1',
|
||||
{
|
||||
"Emoji": "toot:Emoji",
|
||||
"Hashtag": "as:Hashtag",
|
||||
"PropertyValue": "schema:PropertyValue",
|
||||
"atomUri": "ostatus:atomUri",
|
||||
"conversation": {
|
||||
"@id": "ostatus:conversation",
|
||||
"@type": "@id"
|
||||
'ChatMessage': 'litepub:ChatMessage',
|
||||
'Emoji': 'toot:Emoji',
|
||||
'EmojiReact': 'litepub:EmojiReact',
|
||||
'Hashtag': 'as:Hashtag',
|
||||
'PropertyValue': 'schema:PropertyValue',
|
||||
'alsoKnownAs': {
|
||||
'@id': 'as:alsoKnownAs',
|
||||
'@type': '@id'
|
||||
},
|
||||
"discoverable": "toot:discoverable",
|
||||
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
||||
"capabilities": "litepub:capabilities",
|
||||
"ostatus": "http://ostatus.org#",
|
||||
"schema": "http://schema.org#",
|
||||
"toot": "http://joinmastodon.org/ns#",
|
||||
"value": "schema:value",
|
||||
"sensitive": "as:sensitive",
|
||||
"litepub": "http://litepub.social/ns#",
|
||||
"invisible": "litepub:invisible",
|
||||
"directMessage": "litepub:directMessage",
|
||||
"listMessage": {
|
||||
"@id": "litepub:listMessage",
|
||||
"@type": "@id"
|
||||
'atomUri': 'ostatus:atomUri',
|
||||
'capabilities': 'litepub:capabilities',
|
||||
'contentMap': {
|
||||
'@container': '@language',
|
||||
'@id': 'as:content'
|
||||
},
|
||||
"oauthRegistrationEndpoint": {
|
||||
"@id": "litepub:oauthRegistrationEndpoint",
|
||||
"@type": "@id"
|
||||
'conversation': {
|
||||
'@id': 'ostatus:conversation',
|
||||
'@type': '@id'
|
||||
},
|
||||
"EmojiReact": "litepub:EmojiReact",
|
||||
"ChatMessage": "litepub:ChatMessage",
|
||||
"alsoKnownAs": {
|
||||
"@id": "as:alsoKnownAs",
|
||||
"@type": "@id"
|
||||
}
|
||||
}
|
||||
'directMessage': 'litepub:directMessage',
|
||||
'discoverable': 'toot:discoverable',
|
||||
'fedibird': 'http://fedibird.com/ns#',
|
||||
'formerRepresentations': 'litepub:formerRepresentations',
|
||||
'invisible': 'litepub:invisible',
|
||||
'listMessage': {
|
||||
'@id': 'litepub:listMessage',
|
||||
'@type': '@id'
|
||||
},
|
||||
'litepub': 'http://litepub.social/ns#',
|
||||
'manuallyApprovesFollowers': 'as:manuallyApprovesFollowers',
|
||||
'misskey': 'https://misskey-hub.net/ns#',
|
||||
'oauthRegistrationEndpoint': {
|
||||
'@id': 'litepub:oauthRegistrationEndpoint',
|
||||
'@type': '@id'
|
||||
},
|
||||
'ostatus': 'http://ostatus.org#',
|
||||
'quoteUri': 'fedibird:quoteUri',
|
||||
'quoteUrl': 'as:quoteUrl',
|
||||
'schema': 'http://schema.org#',
|
||||
'sensitive': 'as:sensitive',
|
||||
'toot': 'http://joinmastodon.org/ns#',
|
||||
'value': 'schema:value',
|
||||
'vcard': 'http://www.w3.org/2006/vcard/ns#'}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue