Skip to content

Instantly share code, notes, and snippets.

@ottonomy
Created February 24, 2015 16:29
Show Gist options
  • Save ottonomy/d169f25bef31dc35e146 to your computer and use it in GitHub Desktop.
Save ottonomy/d169f25bef31dc35e146 to your computer and use it in GitHub Desktop.
contextbadges
{
"@context": {
"id": "@id",
"type": "@type",
"obi": "http://specification.openbadges.org/#",
"assertion": "obi:Assertion",
"badge": { "@id": "badge", "@type": "@id" },
"issuer": { "@id": "obi: Issuer", "@type": "@id" },
"extension": "http://specification.openbadges.org/extensions#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"schema": "http://schema.org/",
"name": { "@id": "schema:name", "@type": "xsd:string" },
"description": { "@id": "schema:description", "@type": "xsd:string" },
"url": { "@id": "schema:url", "@type": "@id" },
"image": { "@id": "schema:image", "@type": "@id" },
"uid": { "@id": "obi:uid", "@type": "xsd:string" },
"recipient": { "@id": "obi:recipient", "@type": "@id" },
"hashed": { "@id": "obi:hashed", "@type": "xsd:boolean" },
"salt": { "@id": "obi:salt", "@type": "xsd:string" },
"identity": { "@id": "obi:identityHash", "@type": "@id" },
"issuedOn": { "@id": "obi:issueDate", "@type": "xsd:dateTime" },
"expires": { "@id": "obi:expirationDate", "@type": "xsd:dateTime" },
"evidence": { "@id": "obi:evidence", "@type": "@id" },
"verify": { "@id": "obi:verificationObject", "@type": "@id" },
"hosted": "obi:HostedBadges",
"signed": "obi:SignedBadge",
"criteria": { "@id": "obi:criteria", "@type": "@id" },
"tags": { "@id": "obi:tags", "@type": "@id" },
"alignment": { "@id": "obi:alignment", "@type": "@id" },
"email": { "@id": "schema:email", "@type": "schema:email" },
"revocationList": { "@id": "obi:revocationList", "@type": "@id" }
},
"obi:validation": [
{
"obi:validatesType": "assertion",
"obi:validationSchema": "http://specification.openbadges.org/1.1/schema/assertion.json"
},
{
"obi:validatesType": "badge",
"obi:validationSchema": "http://specification.openbadges.org/1.1/schema/badgeclass.json"
},
{
"obi:validatesType": "issuer",
"obi:validationSchema": "http://specification.openbadges.org/1.1/schema/issuer.json"
},
{
"obi:validatesType": "extension",
"obi:validationSchema": "http://specification.openbadges.org/1.1/schema/extension.json"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment