Skip to content

Instantly share code, notes, and snippets.

@thadguidry
Created January 28, 2015 22:46
Show Gist options
  • Save thadguidry/d382d83182561bdd8c02 to your computer and use it in GitHub Desktop.
Save thadguidry/d382d83182561bdd8c02 to your computer and use it in GitHub Desktop.
JSON-LD example extension to Schema.org
{
"@context": {
"@vocab": "http://schema.org",
"myVocab": "http://example.org/myVocab#",
"PlasticSurgeryProvider": "myVocab:PlasticSurgeryProvider",
"proceduresPerformed": "myVocab:proceduresPerformed"
},
"@graph": [{
"@id": "myVocab:PlasticSurgeryProvider",
"@type": "rdfs:Class",
"rdfs:label": "Plastic Surgery Provider",
"rdfs:comment": "..."
}, {
"@id": "myVocab:proceduresPerformed",
"@type": "rdf:Property",
"rdfs:label": "procedures performed",
"rdfs:comment": "The Medical Procedures performed by this Plastic Surgery Provider",
"rdfs:domain": "myVocab:PlasticSurgeryProvider"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment