mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-28 18:21:00 +00:00
Provide some stuff we know of for Mastodon schema
Should fix GoToSocial pulls. Refs #223.
This commit is contained in:
parent
ed83726247
commit
bf5a46df38
2 changed files with 10 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,3 +15,4 @@
|
|||
__pycache__/
|
||||
api-test.*
|
||||
notes.md
|
||||
notes.py
|
||||
|
|
10
core/ld.py
10
core/ld.py
|
@ -362,7 +362,15 @@ schemas = {
|
|||
"contentType": "application/ld+json",
|
||||
"documentUrl": "http://joinmastodon.org/ns",
|
||||
"contextUrl": None,
|
||||
"document": {},
|
||||
"document": {
|
||||
"@context": {
|
||||
"toot": "http://joinmastodon.org/ns#",
|
||||
"discoverable": "toot:discoverable",
|
||||
"devices": "toot:devices",
|
||||
"featured": "toot:featured",
|
||||
"featuredTags": "toot:featuredTags",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue