Last active
August 22, 2019 09:23
-
-
Save foaly-nr1/8c2379efcc52c19bed3900751903e14d 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
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://example.com/root.json", | |
"type": "object", | |
"title": "The Root Schema", | |
"required": [ | |
"referenceType", | |
"referenceValue", | |
"dateOfBirth" | |
], | |
"properties": { | |
"referenceType": { | |
"$id": "#/properties/referenceType", | |
"type": "string", | |
"enum": [ | |
"HO.UID2" | |
], | |
"title": "The Referencetype Schema", | |
"description": "The type of reference that is contained within referenceValue. It's envisaged that there may be multiple reference types in the future, initially there will only be a single reference type supported.", | |
"default": "", | |
"examples": [ | |
"<type of reference that is contained within referenceValue>" | |
] | |
}, | |
"referenceValue": { | |
"$id": "#/properties/referenceValue", | |
"type": "string", | |
"title": "The Referencevalue Schema", | |
"default": "", | |
"examples": [ | |
"<The unique identifier used to lookup the person>" | |
], | |
"pattern": "^(.*)$" | |
}, | |
"dateOfBirth": { | |
"$id": "#/properties/dateOfBirth", | |
"type": "string", | |
"title": "The Dateofbirth Schema", | |
"default": "", | |
"examples": [ | |
"<date of birth of the person being checked>" | |
], | |
"pattern": "^(.*)$" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment