You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
scriptform/test/test_formdefinition_validat...

74 lines
1.9 KiB

{
"title": "test",
"forms": [
{
"name": "test_required",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "string",
"type": "string",
"required": true
}
]
},
{
"name": "test_val_string",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_string",
"type": "string",
"minlen": 4,
"maxlen": 6
}
]
},
{
"name": "test_val_integer",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_integer",
"type": "integer",
"min": 4,
"max": 6
}
]
},
{
"name": "test_val_float",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_float",
"type": "float",
"min": 2.1,
"max": 2.3
}
]
},
{
"name": "test_val_date",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_date",
"type": "date",
"min": "2015-03-02",
"max": "2015-03-05"
}
]
}
]
}