mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
User: nelson@spiffworkflow.org clicked save for example/test/SimpleForm.json
This commit is contained in:
parent
a2547a8b74
commit
4ed719ceb2
@ -1,27 +1,38 @@
|
||||
{
|
||||
"schema": {
|
||||
"friends": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Friend",
|
||||
"properties": {
|
||||
"nick": {
|
||||
"type": "string",
|
||||
"title": "Nickname",
|
||||
"required": true
|
||||
},
|
||||
"gender": {
|
||||
"type": "string",
|
||||
"title": "Gender",
|
||||
"enum": [ "male", "female", "alien" ]
|
||||
},
|
||||
"age": {
|
||||
"type": "integer",
|
||||
"title": "Age"
|
||||
}
|
||||
}
|
||||
}
|
||||
"title": "A registration form",
|
||||
"description": "A simple form example.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"firstName",
|
||||
"lastName"
|
||||
],
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"type": "string",
|
||||
"title": "First name",
|
||||
"default": "Chuck"
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user