diff --git a/.gitignore b/.gitignore index fec58af..8b8f355 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ __pycache__/ api-test.* notes.md +notes.py diff --git a/core/ld.py b/core/ld.py index 60ec50b..5ac48a7 100644 --- a/core/ld.py +++ b/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", + }, + }, }, }