Created
August 23, 2023 11:39
-
-
Save DOBEN/96ce4a28510c747c709fbc61b93503a9 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
{ | |
"$id": "https://example-university.com/certificates/JsonSchema2023-education-certificate.json", | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"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": { | |
"degreeType": { | |
"title": "Degree type", | |
"type": "string", | |
"description": "Degree type" | |
}, | |
"degreeName": { | |
"title": "Degree name", | |
"type": "string", | |
"description": "Degree name" | |
}, | |
"degreeName2": { | |
"title": "Degree name", | |
"type": "string", | |
"description": "Degree name" | |
}, | |
"graduationDate": { | |
"title": "Graduation date", | |
"type": "string", | |
"format": "date-time", | |
"description": "Graduation date" | |
} | |
}, | |
"required": [ | |
"degreeType", | |
"degreeName", | |
"degreeName2", | |
"graduationDate" | |
] | |
} | |
}, | |
"required": [ | |
"id", | |
"attributes" | |
] | |
} | |
}, | |
"required": [ | |
"credentialSubject" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment