Skip to content

Instantly share code, notes, and snippets.

@DOBEN
Created September 6, 2023 12:10
Show Gist options
  • Save DOBEN/c5980da73c9b88e0e3e5b39a862019ed to your computer and use it in GitHub Desktop.
Save DOBEN/c5980da73c9b88e0e3e5b39a862019ed to your computer and use it in GitHub Desktop.
{
"name": "Education certificate",
"description": "Simple representation of an education certificate.",
"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": {
"DegreeName": {
"title": "Degree Name",
"type": "string",
"description": "Degree name is here"
},
"Degreeyear": {
"title": "Degree year",
"type": "object",
"description": "Degree year",
"properties": {
"type": {
"type": "string",
"const": "date-time"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
},
"required": [
"type",
"timestamp"
]
}
},
"required": [
"DegreeName",
"Degreeyear"
]
}
},
"required": [
"id",
"attributes"
]
}
},
"required": [
"credentialSubject"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment