Last active
February 15, 2022 01:30
-
-
Save NickDarvey/aa55096620a22368a5c442f5eb913c6b to your computer and use it in GitHub Desktop.
Verida credential schema test
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
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"$id": "https://gist.githubusercontent.com/NickDarvey/aa55096620a22368a5c442f5eb913c6b/raw/ff351942113edeb5d3d00da8ed6489e0917a69d8/schema.json", | |
"title": "Work-at-height Accreditation", | |
"titlePlural": "Work-at-height Accreditations", | |
"type": "object", | |
"database": { | |
"name": "credential" | |
}, | |
"layouts": { | |
"view": ["nricFinWpNumber", "attainmentDate"] | |
}, | |
"allOf": [ | |
{ "$ref": "https://core.schemas.verida.io/base/v0.1.0/schema.json" }, | |
{ | |
"$ref": "https://common.schemas.verida.io/credential/base/v0.1.0/schema.json" | |
}, | |
{ | |
"properties": { | |
"nricFinWpNumber": { | |
"title": "NRIC/FIN/WP No.", | |
"type": "string" | |
}, | |
"attainmentDate": { | |
"title": "Attainment date", | |
"type": "string", | |
"format": "date" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment