sample-process-models/misc/qa/forms/text-field-test-2/test-text-field-2-schema.json

29 lines
594 B
JSON
Raw Normal View History

2024-07-15 10:51:00 -04:00
{
"title": "Text Field",
"description": "A set of simple text fields with some required",
"type": "object",
"required": [
"firstName", "lastName", "email"
],
"properties": {
"firstName": {
"type": "string",
"title": "First name",
"default": "Chuck N"
},
"lastName": {
"type": "string",
"title": "Last name",
"default": "N"
},
"phone": {
"type": "string",
"title": "Phone No"
},
"email": {
"type": "string",
"pattern": "^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$",
"title": "Email"
}
}
}