{
"@context": "https://labs.eventnotifications.net/contexts/profile.jsonld",
"id": "https://myid.surf.nl/profile/2134",
"type": "PersonalProfileDocument",
"primaryTopic": {
"id": "https://myid.surf.nl/profile/2134#me",
"type": "Person",
"mastodon": "https://mastodon.social/@patrickhochstenbach",
"homepage": "https://wiki.mycontributions.info/en/researcher/orcid/0000-0001-8390-6171"
"modified": "2024-09-24T09:31:10"
}
}
Remarks:
@context
: a link to a JSON-LD context document (RDF agents use this to translate the content into linked data)id
: the URL of the published user profiletype
: must bePersonalProfileDocument
primaryTopic
: contains the information about the userid
: the URL of the published user profile plus some anchor (e.g.#me
)- we use this to point externally to point to the interesting part of the JSON-LD document
type
: must bePerson
mastodon
: a link to the researcher Mastodon profilehomepage
: a link to the researcher claims pagemodified
: last modification or verification date of this information
All fields are mandatory.
- The verification service is at https://myid.surf.nl .
- A researcher logs in and edits her profile with her mastodon and homepage links.
- A public facing profile page is available for her at https://myid.surf.nl/profile/2134 .
- The JSON-LD can be published inline in the HTML document using the
<script type="application/ld+json">..JSON-LD</script>
header
<script type="application/ld+json">
{
"@context": "https://labs.eventnotifications.net/contexts/profile.jsonld",
"id": "http://localhost:8000/profile/8000",
"type": "PersonalProfileDocument",
"primaryTopic": {
"id": "http://localhost:8000/profile/8000#me",
"type": "Person",
"mastodon": "https://mastodon.social/@patrickhochstenbach",
"homepage": "https://wiki.mycontributions.info/en/researcher/orcid/0000-0001-8390-6171",
"modified": "2024-09-24T09:31:10"
}
}
</script>
Note: when serving the HTML record it is advisory to serve the Mastodon links with the rel="me"
attribute. This will trigger mastodon verification services to recognize these links.
yarn install
yarn server
./bin/verification-cli.js http://localhost:8000/profile/8000