Condition leaf

Condition leaf used by this schema object.

$defs.condition_leaf · 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": [        "field",
        "op"    ],
    "properties": {        "field": {            "type": "string",
            "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*(?:\\.[a-z][a-z0-9]*(?:_[a-z0-9]+)*)*$"        },
        "op": {            "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/comparison_operator"        },
        "value": {},
        "unit": {            "type": "string"        }    }}

Fields

FieldTypeStatusMeaning
fieldstring — pattern ^[a-z][a-z0-9]*(?:_[a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:_[a-z0-9]+)*)*$RequiredPath or named input evaluated by the condition.
opComparison operatorRequiredBoolean or comparison operator applied to the condition field.
valueschemaOptionalThe value supplied, required, reported, or compared at this location.
unitstringOptionalUnit associated with the numeric value or limit. Use the unit exactly as published by the applicable profile vocabulary.