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": [ "operator",
"expected",
"observed",
"result" ],
"properties": { "operator": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/comparison_operator" },
"expected": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/result_value" },
"observed": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/result_value" },
"result": { "enum": [ "true",
"false",
"indeterminate" ] },
"unit_conversions": { "type": "array",
"items": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/unit_conversion" } },
"rounding": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/rounding_rule" },
"calculation_ref": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/local_id" },
"basis": { "type": "string" },
"notes": { "type": "array",
"items": { "type": "string" } } }}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
operator | Comparison operator | Required | Comparison operator used when evaluating the required or reported value. |
expected | Result value | Required | Expected used by this schema object. |
observed | Result value | Required | Observed used by this schema object. |
result | enum — "true", "false", "indeterminate" | Required | Result used by this schema object. |
unit_conversions | array | Optional | Unit conversions used by this schema object. |
rounding | Rounding rule | Optional | Rounding used by this schema object. |
calculation_ref | Local id | Optional | Calculation ref used by this schema object. |
basis | string | Optional | Basis used to select, activate, calculate, or interpret this requirement. |
notes | array | Optional | Additional explanatory notes that do not replace the structured requirement. |