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": [ "expression",
"input_names" ],
"properties": { "expression": { "type": "string",
"minLength": 1 },
"expression_language": { "enum": [ "matjson_infix_0.1",
"source_text",
"other" ] },
"input_names": { "type": "array",
"minItems": 1,
"uniqueItems": true,
"items": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$" } },
"result_unit": { "type": "string" },
"rounding": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/rounding_rule" },
"source": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/standard_reference" } }}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
expression | string | Required | A machine-readable Boolean or numeric expression. |
expression_language | enum — "matjson_infix_0.1", "source_text", "other" | Optional | Expression language used by this schema object. |
input_names | array — at least 1 item(s) | Required | Input names used by this schema object. |
result_unit | string | Optional | Result unit used by this schema object. |
rounding | Rounding rule | Optional | Rounding used by this schema object. |
source | Standard reference | Optional | Reusable provenance for a requirement, value, evidence item, or result. |