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" ],
"properties": { "kind": { "enum": [ "property_limit",
"composition_limit",
"computed_limit",
"required_condition",
"required_test",
"required_examination",
"required_heat_treatment",
"required_product_form",
"required_manufacturing_route",
"required_document",
"required_report_field",
"required_traceability",
"required_marking",
"required_statement",
"sampling_requirement",
"test_acceptance",
"prohibited",
"allowed_only",
"reference_compliance",
"decision_procedure",
"other" ] },
"property": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/coded_term" },
"analyte": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/coded_term" },
"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" },
"allowed_values": { "type": "array",
"minItems": 1,
"items": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/result_value" } },
"test_type": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/coded_term" },
"document_type": { "type": "string" },
"condition": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/coded_term" },
"calculation": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/calculation_spec" },
"frequency": { "type": [ "string",
"object" ] },
"scope": { "type": [ "string",
"object",
"array" ] },
"reporting": { "type": [ "string",
"object",
"array" ] },
"text": { "type": "string" },
"alternatives": { "type": "array",
"minItems": 2,
"items": { "$ref": "#/$defs/effective_requirement" } },
"notes": { "type": "array",
"items": { "type": "string" } } },
"anyOf": [ { "required": [ "expected" ] },
{ "required": [ "allowed_values" ] },
{ "required": [ "test_type" ] },
{ "required": [ "document_type" ] },
{ "required": [ "condition" ] },
{ "required": [ "calculation" ] },
{ "required": [ "text" ] },
{ "required": [ "alternatives" ] } ]}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
kind | enum — "property_limit", "composition_limit", "computed_limit", "required_condition", "required_test", "required_examination", … | Required | Kind used by this schema object. |
property | Coded term | Optional | Property used by this schema object. |
analyte | Coded term | Optional | Analyte used by this schema object. |
operator | Comparison operator | Optional | Comparison operator used when evaluating the required or reported value. |
expected | Result value | Optional | Expected used by this schema object. |
allowed_values | array — at least 1 item(s) | Optional | Allowed values used by this schema object. |
test_type | Coded term | Optional | Test type used by this schema object. |
document_type | string | Optional | Document type used by this schema object. |
condition | Coded term | Optional | Condition used by this schema object. |
calculation | Calculation spec | Optional | Calculation used by this schema object. |
frequency | string or object | Optional | Sampling or performance frequency for the required activity. |
scope | string or object or array | Optional | Boundary of the requirement or the items covered by it. |
reporting | string or object or array | Optional | Information that must be recorded, certified, or included in the evidence package. |
text | string | Optional | Text used by this schema object. |
alternatives | array — at least 2 item(s) | Optional | Alternative ways of satisfying the same requirement. The rule defines whether one or all alternatives are needed. |
notes | array | Optional | Additional explanatory notes that do not replace the structured requirement. |