mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
39 lines
866 B
JSON
39 lines
866 B
JSON
|
{
|
||
|
"title": "Testing Number Field",
|
||
|
"type": "object",
|
||
|
"required": [
|
||
|
"price1",
|
||
|
"price2",
|
||
|
"price3",
|
||
|
"price4"
|
||
|
],
|
||
|
"properties": {
|
||
|
"price1": {
|
||
|
"type": "number",
|
||
|
"title": "Price 1 - No Minimum",
|
||
|
"validationErrorMessage": "Must be a positive number"
|
||
|
|
||
|
},
|
||
|
"price2": {
|
||
|
"type": "number",
|
||
|
"minimum": 0,
|
||
|
"title": "Price 2 - Minimum:0",
|
||
|
"validationErrorMessage": "Must be a positive number"
|
||
|
|
||
|
},
|
||
|
"price3": {
|
||
|
"type": "number",
|
||
|
"minimum": 0.01,
|
||
|
"title": "Price 3 - Minimum:0.01",
|
||
|
"validationErrorMessage": "Must be a positive number"
|
||
|
|
||
|
},
|
||
|
"price4": {
|
||
|
"type": "number",
|
||
|
"minimum": 0.00001,
|
||
|
"title": "Price 4 - Minimum:0.00001",
|
||
|
"validationErrorMessage": "Must be a positive number"
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|