Skip to content

Instantly share code, notes, and snippets.

@science
Created March 8, 2016 06:03
Show Gist options
  • Save science/b1244c9283f7b5ed5c94 to your computer and use it in GitHub Desktop.
Save science/b1244c9283f7b5ed5c94 to your computer and use it in GitHub Desktop.
A sample json-ld schema.org structure with an optional "disavowal" paradata statement, refuting the metadata provided
{
"@id": "http://docsteach.org/activities/16/detail",
"@type": "CreativeWork",
"name": "The Constitution at Work",
"thumbnailUrl": "http://docsteach.org/assets/lesson/000/000/022/22_medium.jpg",
"url": "http://docsteach.org/activities/16/detail",
"paradata": {
"activity": {
"actor": "organization",
"verb": {
"action": "disavowal"
}
}
},
"learningRegistryMetadata": {
"digital_signature": {
"key_location": ["http://goopen.sandbox.learningregistry.net/pubkey"],
},
"TOS": {
"submission_TOS": "http://www.learningregistry.org/tos"
},
"payload_placement": "json-ld embedded",
"identity": {
"submitter": "Steve Midgley <[email protected]>",
"signer": "Steve Midgley",
"submitter_type": "user"
}
},
"@context": [
{
"@vocab": "http://schema.org/",
"url": {
"@type": "@id"
}
},
{
"lrmi": "http://lrmi.net/the-specification#",
"useRightsUrl": {
"@id": "lrmi:useRightsUrl",
"@type": "@id"
}
},
{
"learningregistry": "http://learningregistry.org/schemas/v2/envelope",
"learningRegistryMetadata": {
"@id": "learningregistry:learningRegistryMetadata",
"@type": "@id"
}
},
{
"paradata": "http://learningregistry.org/schemas/v2/paradata/disavowal",
"paradata": {
"@id": "paradata:disavowal",
"@type": "@id"
}
} ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment