{ "$id": "/pub/schema/range.schema", "title": "Range parameter", "type": "object", "properties": { "type": { "const": "range" }, "keyword": { "$ref": "/pub/schema/keyword.schema" }, "description": { "$ref": "/pub/schema/desc.schema" }, "required": { "type": "boolean", "description": "informs whether the parameter is required or not" }, "multiple": { "type": "boolean", "description": "informs whether the parameter can be informed more than once" }, "default": { "type": "integer", "description": "default int value" }, "min": { "type": "number", "description": "minimal acceptable value (inclusive)" }, "max": { "type": "number", "description": "maximal acceptable value (inclusive)" }, "inc": { "type": "number", "description": "reasonable increment in value (for use in GUI)" }, "digits": { "type": "integer", "description": "reasonable amount of decimal digits to show in GUI" }, "value": { "type": "array", "items": { "oneOf": [ { "$ref": "/pub/schema/expression.schema" }, { "type": "object", "properties": { "literal": { "type": "number", "description": "Number with a range" } }, "additionalProperties": false } ] } } }, "required": ["type", "keyword", "description", "required", "multiple", "min", "max", "default"], "additionalProperties": false }