Provide some stuff we know of for Mastodon schema

Should fix GoToSocial pulls. Refs #223.
pull/226/head
Andrew Godwin 2022-12-21 18:23:12 +00:00
rodzic ed83726247
commit bf5a46df38
2 zmienionych plików z 10 dodań i 1 usunięć

1
.gitignore vendored
Wyświetl plik

@ -15,3 +15,4 @@
__pycache__/
api-test.*
notes.md
notes.py

Wyświetl plik

@ -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",
},
},
},
}