Created
August 18, 2023 12:39
-
-
Save DOBEN/1c9fcf3079f6fcc23ec6e4c7519f2d8a 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" | |
}, | |
"graduationDate": { | |
"title": "Graduation date", | |
"type": "string", | |
"format": "date-time", | |
"description": "Graduation date" | |
} | |
}, | |
"required": [ | |
"degreeType", | |
"degreeName", | |
"graduationDate" | |
] | |
} | |
}, | |
"required": [ | |
"id", | |
"attributes" | |
] | |
} | |
}, | |
"required": [ | |
"credentialSubject" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment