25 lines
456 B
JSON
25 lines
456 B
JSON
{
|
|
"title": "A registration form",
|
|
"description": "A simple form example.",
|
|
"type": "object",
|
|
"required": [
|
|
"firstName",
|
|
"lastName"
|
|
],
|
|
"properties": {
|
|
"firstName": {
|
|
"type": "string",
|
|
"title": "First name",
|
|
"default": "Michael"
|
|
},
|
|
"lastName": {
|
|
"type": "string",
|
|
"title": "Last name"
|
|
},
|
|
"telephone": {
|
|
"type": "string",
|
|
"title": "Telephone",
|
|
"minLength": 10
|
|
}
|
|
}
|
|
} |