kopia lustrzana https://github.com/jointakahe/takahe
Provide some stuff we know of for Mastodon schema
Should fix GoToSocial pulls. Refs #223.pull/226/head
rodzic
ed83726247
commit
bf5a46df38
|
@ -15,3 +15,4 @@
|
||||||
__pycache__/
|
__pycache__/
|
||||||
api-test.*
|
api-test.*
|
||||||
notes.md
|
notes.md
|
||||||
|
notes.py
|
||||||
|
|
10
core/ld.py
10
core/ld.py
|
@ -362,7 +362,15 @@ schemas = {
|
||||||
"contentType": "application/ld+json",
|
"contentType": "application/ld+json",
|
||||||
"documentUrl": "http://joinmastodon.org/ns",
|
"documentUrl": "http://joinmastodon.org/ns",
|
||||||
"contextUrl": None,
|
"contextUrl": None,
|
||||||
"document": {},
|
"document": {
|
||||||
|
"@context": {
|
||||||
|
"toot": "http://joinmastodon.org/ns#",
|
||||||
|
"discoverable": "toot:discoverable",
|
||||||
|
"devices": "toot:devices",
|
||||||
|
"featured": "toot:featured",
|
||||||
|
"featuredTags": "toot:featuredTags",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue