Created
August 15, 2023 07:29
-
-
Save DOBEN/15f6e2ba8f4c99f134264a14327a8017 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" | |
}, | |
"graduationYear": { | |
"title": "Graduation year", | |
"type": "number", | |
"description": "Graduation year" | |
} | |
}, | |
"required": [ | |
"degreeType", | |
"degreeName", | |
"graduationYear" | |
] | |
} | |
}, | |
"required": [ | |
"id", | |
"attributes" | |
] | |
} | |
}, | |
"required": [ | |
"credentialSubject" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment