Created
September 6, 2023 12:10
-
-
Save DOBEN/c5980da73c9b88e0e3e5b39a862019ed to your computer and use it in GitHub Desktop.
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
{ | |
"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