diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index e18684de60..1ee5c0920e 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -58,6 +58,9 @@ class JsonLD case 'http://joinmastodon.org/ns': $url = DI::basePath() . '/static/joinmastodon.jsonld'; break; + case 'https://purl.archive.org/socialweb/webfinger': + $url = DI::basePath() . '/static/socialweb-webfinger.jsonld'; + break; default: switch (parse_url($url, PHP_URL_PATH)) { case '/schemas/litepub-0.1.jsonld'; diff --git a/static/socialweb-webfinger.jsonld b/static/socialweb-webfinger.jsonld new file mode 100644 index 0000000000..7c0fd9e742 --- /dev/null +++ b/static/socialweb-webfinger.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "wf": "https://purl.archive.org/socialweb/webfinger#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "webfinger": { + "@id": "wf:webfinger", + "@type": "xsd:string" + } + } +} \ No newline at end of file