Schema param_constraint_rational.json
Show original (referenced schemas with $ref)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"rational": { }
},
"description": "Describes a Rational Parameter Constraint",
"properties": {
"enum": {
"items": {
"additionalProperties": false,
"properties": {
"denominator": {
"default": 1,
"type": "integer"
},
"numerator": {
"type": "integer"
}
},
"required": [
"numerator"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"maximum": {
"additionalProperties": false,
"properties": {
"denominator": {
"default": 1,
"type": "integer"
},
"numerator": {
"type": "integer"
}
},
"required": [
"numerator"
],
"type": "object"
},