Quantity value

Quantity value used by this schema object.

$defs.quantity_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,
    "properties": {        "kind": {            "const": "quantity"        },
        "value": {            "type": "number"        },
        "unit": {            "type": "string",
            "minLength": 1        },
        "qualifier": {            "enum": [                "exact",
                "less_than",
                "less_than_or_equal",
                "greater_than",
                "greater_than_or_equal",
                "approximate"            ]        },
        "basis": {            "type": "string"        },
        "raw": {            "type": "string"        }    },
    "required": [        "kind",
        "value",
        "unit"    ]}

Fields

FieldTypeStatusMeaning
kindconstant — must equal "quantity"RequiredKind used by this schema object.
valuenumberRequiredThe value supplied, required, reported, or compared at this location.
unitstringRequiredUnit associated with the numeric value or limit. Use the unit exactly as published by the applicable profile vocabulary.
qualifierenum — "exact", "less_than", "less_than_or_equal", "greater_than", "greater_than_or_equal", "approximate"OptionalQualifier used by this schema object.
basisstringOptionalBasis used to select, activate, calculate, or interpret this requirement.
rawstringOptionalRaw used by this schema object.