-
-
Save HughP/bf89416ae95ecd63c9d5e188f86d3672 to your computer and use it in GitHub Desktop.
A strawman example of encoding a Dublin Core Application Profile as JSON-LD context object.
This file contains hidden or 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
{ | |
"@id": "http://example.com/app-profile.json", | |
"@context": { | |
"title": "http://purl.org/dc/terms/title", | |
"description": "http://purl.org/dc/terms/description", | |
"creator": "http://purl.org/dc/terms/creator" | |
}, | |
"title": "JSON-LD Dublin Core Application Profile", | |
"description": "This is an example of a Dublin Core Application Profile as a JSON-LD. The point is to demonstrate that a JSON-LD context document could contain metadata. If it is desirable to annotate the use of particular properties they could theoretically fit into @graph using existing or a new DCAP vocabulary, etc.", | |
"creator": "http://twitter.com/edsu", | |
"@graph": [ | |
... add any details here about how particular properties are being used ... | |
] | |
} | |
This file contains hidden or 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": "http://example.com/app-profile.json", | |
"@id": "http://example.com/item/123", | |
"title": "Awesome resource metadata", | |
"description": "This is an item description that references the app profile using JSON-LD context.", | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment