mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 22:25:14 +00:00
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"title": "Example Schema",
|
|
"type": "object",
|
|
"required":["numericRange1"],
|
|
"properties": {
|
|
"numericRange1": {
|
|
"type": "object",
|
|
"title": "Numeric Range 1",
|
|
"minimum" : 100,
|
|
"maximum" : 1000,
|
|
"properties": {
|
|
"min": {
|
|
"type": "number",
|
|
"title": "Minimum Value 1"
|
|
},
|
|
"max": {
|
|
"type": "number",
|
|
"title": "Maximum Value 1"
|
|
}
|
|
}
|
|
},
|
|
"numericRange2": {
|
|
"type": "object",
|
|
"title": "Numeric Range 2",
|
|
"minimum" : -150,
|
|
"maximum" : 3000000000,
|
|
"properties": {
|
|
"min": {
|
|
"type": "number",
|
|
"title": "Minimum Value 2"
|
|
},
|
|
"max": {
|
|
"type": "number",
|
|
"title": "Maximum Value 2"
|
|
}
|
|
}
|
|
},
|
|
"numericRange3": {
|
|
"type": "object",
|
|
"title": "Numeric Range 3",
|
|
"minimum" : 0,
|
|
"maximum" : 500,
|
|
"properties": {
|
|
"min": {
|
|
"type": "number",
|
|
"title": "Minimum Value 3"
|
|
},
|
|
"max": {
|
|
"type": "number",
|
|
"title": "Maximum Value 3"
|
|
}
|
|
},
|
|
"required":["min", "max"]
|
|
}
|
|
}
|
|
} |