Created
September 15, 2017 07:36
-
-
Save x4d3/8529aa47822df82ff33d6fdae7dbe59f 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
{ | |
"title": "A registration form", | |
"description": "A simple form example.", | |
"type": "object", | |
"required": [ | |
"firstName", | |
"lastName" | |
], | |
"properties": { | |
"firstName": { | |
"type": "string", | |
"title": "First name" | |
}, | |
"lastName": { | |
"type": "string", | |
"title": "Last name" | |
}, | |
"age": { | |
"type": "integer", | |
"title": "Age" | |
}, | |
"bio": { | |
"type": "string", | |
"title": "Bio" | |
}, | |
"password": { | |
"type": "string", | |
"title": "Password", | |
"minLength": 3 | |
}, | |
"telephone": { | |
"type": "string", | |
"title": "Telephone", | |
"minLength": 10 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment