Last active
March 2, 2018 18:17
-
-
Save ottonomy/e7b36fd0e6ed0a42d7778df2ffd8dadf to your computer and use it in GitHub Desktop.
Draft Recipient Profile Extension
This file contains 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": { | |
"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" | |
} | |
] | |
} |
This file contains 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
{ | |
"$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