Last active
December 19, 2016 17:08
-
-
Save gkellogg/d80b4dde9acc64bd7cf2154c27634b83 to your computer and use it in GitHub Desktop.
Example ShExJ files and context compatible with JSON-LD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://gist.githubusercontent.com/gkellogg/d80b4dde9acc64bd7cf2154c27634b83/raw/eaca2a6d4f9f192e53a1a0fd3ee6db91d0153f48/context.jsonld", | |
"type": "Schema", | |
"shapes":{ | |
"http://a.example/S1": { | |
"type": "Shape" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@vocab": "http://shexspec.github.io/ns#", | |
"shex": "http://shexspec.github.io/ns#", | |
"type": "@type", | |
"Shape": "shex:Shape", | |
"shapes": {"@id": "shex:shapes", "@type": "@id"} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment