Skip to content

Instantly share code, notes, and snippets.

@DOBEN
Last active September 6, 2023 13:51
Show Gist options
  • Save DOBEN/4a93484f46f576951b64dc2c2668cdd8 to your computer and use it in GitHub Desktop.
Save DOBEN/4a93484f46f576951b64dc2c2668cdd8 to your computer and use it in GitHub Desktop.
{
"name": "Education certificate",
"description": "Simple representation of an education certificate.",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example-university.com/certificates/JsonSchema2023-education-certificate.json",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"id": {
"title": "Credential subject id",
"type": "string",
"description": "Credential subject identifier"
},
"attributes": {
"title": "Attributes",
"description": "Credential attributes",
"type": "object",
"properties": {
"Name": {
"title": "Name",
"type": "string",
"description": "name"
}
},
"required": [
"Name"
]
}
},
"required": [
"id",
"attributes"
]
}
},
"required": [
"credentialSubject"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment