For example, consider a subset of the user data provided by the Twitter API:
{
"id_str": "6253282",
"screen_name": "twitterapi",
"name": "Twitter API"
}
Let’s say I want to model this information with JSON-LD. I can easily adapt most of this data using standards like:
- JSON-LD’s built-in
@id
attribute - Schema.org’s
name
attribute - RFC 7565’s
acct
URI scheme
{
"@id": "acct:6253282@twitter.com",
"???": "twitterapi",
"http://schema.org/name": "Twitter API"
}
(The ???
is a placeholder for the descriptor I’m seeking.)
In short: are there any standard vocabularies that I could use to replace the ???
in the code snippet above?