Skip to content

Instantly share code, notes, and snippets.

@ottonomy
Last active March 2, 2018 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ottonomy/e7b36fd0e6ed0a42d7778df2ffd8dadf to your computer and use it in GitHub Desktop.
Save ottonomy/e7b36fd0e6ed0a42d7778df2ffd8dadf to your computer and use it in GitHub Desktop.
Draft Recipient Profile Extension
{
"@context": {
"obi": "https://w3id.org/openbadges#",
"extensions": "https://w3id.org/openbadges/extensions#",
"schema": "http://schema.org/",
"name": "schema:name",
"id": "@id"
},
"obi:validation": [
{
"obi:validatesType": "extensions:RecipientProfile",
"obi:validationSchema": "https://gist.github.com/ottonomy/e7b36fd0e6ed0a42d7778df2ffd8dadf/raw/3bfd662c8254d7056fb69997ebd4a6dd3500b433/recipientProfileschema.json"
}
]
}
{
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "RecipientProfile schema",
"description": "An assertion extension that may be used to include more information about the recipient of a badge.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A hosted or decentralized resolvable IRI identifier for the profile."
},
"name": {
"type": "string",
"description": "Name of recipient, http://schema.org/name"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment