A validator specifying the constraints on a numeric node.
Name | @id | Type | Description | Inherited from |
---|---|---|---|---|
exclusiveMaximum | stencila:exclusiveMaximum | number | The exclusive upper limit for a numeric node. See note 3. | NumberValidator |
exclusiveMinimum | stencila:exclusiveMinimum | number | The exclusive lower limit for a numeric node. See note 4. | NumberValidator |
id | schema:id | string | The identifier for this item. | Entity |
maximum | stencila:maximum | number | The inclusive upper limit for a numeric node. See note 5. | NumberValidator |
meta | stencila:meta | object | Metadata associated with this item. | Entity |
minimum | stencila:minimum | number | The inclusive lower limit for a numeric node. See note 6. | NumberValidator |
multipleOf | stencila:multipleOf | number | A number that a numeric node must be a multiple of. See note 2. | NumberValidator |
maximum
, multipleOf
etc properties. Analogous to the JSON Schema number
validation type. Note that the IntegerValidator
type extends this validator with the additional constraint that the number have no fractional part.exclusiveMaximum
.exclusiveMinimum
.maximum
.minimum
.This documentation was generated from NumberValidator.schema.yaml.