Skip to content

Instantly share code, notes, and snippets.

@elf-pavlik
Last active August 29, 2015 14:18
Show Gist options
  • Save elf-pavlik/029917ccc535e889f693 to your computer and use it in GitHub Desktop.
Save elf-pavlik/029917ccc535e889f693 to your computer and use it in GitHub Desktop.
{
"@context": "https://w3id.org/credentials/v1",
"id": "https://example.com/identities/bob",
"type": ["Identity", "Person"],
"name": "Bob Bobman",
"birthdate": "1985-12-14",
"email": "bbob@example.com",
"badge": ["https://bigunivertsity.edu/credentials/BA"],
"credential": [{
"id": "http://biguniversity.gov/credentials/53091",
"type": "UniversityDegree",
"claim": {
"id": "https://example.com/identities/bob",
"name": "Bob Bobman",
"birthdate": "1985-12-14",
"badgeAssertion": [
{
"id": "https://biguniversity.edu/credentials/53091/badge",
"type": "Assertion",
"recipient": {
"identity": "bbob@example.com",
"type": "email",
"hashed": false
},
"issueDate": "2015-03-01",
"badge": {
"id": "https://bigunivertsity.edu/credentials/BA",
"type": "BadgeClass",
"name": "Bachelor of Arts",
"description": "The gold standard of credentials in liberal arts education",
"image": "https://biguniversity.edu/credentials/BA/image",
"criteria": "https://biguniversity.edu/credentials/BA/criteria",
"issuer": {
"id": "https://biguniversity.edu/id",
"type": ["BadgeIssuer", "Identity"],
"name": "Big University",
"url": "http://biguniversity.edu",
"publicKey": "https://biguniversity.edu/keys/1"
}
}
}
]
},
"expires": "2018-01-01",
"signature": {
"type": "GraphSignature2012",
"creator": "https://biguniversity.edu/keys/1",
"signature": "3780eyfh3q0fhhfiq3q9f8ahsidfhf29rhaish"
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment