Range value

Range value used by this schema object.

$defs.range_value · object

Definition JSON

This fragment is shown exactly as published. Use the chevrons to fold objects and arrays; linked $ref values return to their targets in the complete schema.

{    "type": "object",
    "additionalProperties": false,
    "required": [        "kind",
        "minimum",
        "maximum",
        "unit"    ],
    "properties": {        "kind": {            "const": "range"        },
        "minimum": {            "type": "number"        },
        "maximum": {            "type": "number"        },
        "unit": {            "type": "string",
            "minLength": 1        },
        "minimum_inclusive": {            "type": "boolean",
            "default": true        },
        "maximum_inclusive": {            "type": "boolean",
            "default": true        },
        "basis": {            "type": "string"        },
        "raw": {            "type": "string"        }    }}

Fields

FieldTypeStatusMeaning
kindconstant — must equal "range"RequiredKind used by this schema object.
minimumnumberRequiredLower acceptance bound or minimum required value.
maximumnumberRequiredUpper acceptance bound or maximum permitted value.
unitstringRequiredUnit associated with the numeric value or limit. Use the unit exactly as published by the applicable profile vocabulary.
minimum_inclusivebooleanOptionalMinimum inclusive used by this schema object.
maximum_inclusivebooleanOptionalMaximum inclusive used by this schema object.
basisstringOptionalBasis used to select, activate, calculate, or interpret this requirement.
rawstringOptionalRaw used by this schema object.