Calculation

A machine-readable formula, required inputs, units, and result semantics.

$defs.calculation · 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": [        "id",
        "expression",
        "inputs"    ],
    "properties": {        "id": {            "type": "string"        },
        "expression": {            "type": "string"        },
        "inputs": {            "type": "array",
            "items": {                "type": "string"            }        },
        "result_unit": {            "type": "string"        },
        "source": {            "$ref": "#/$defs/source_ref"        }    }}

Fields

FieldTypeStatusMeaning
idstringRequiredStable identifier for the calculation or formula.
expressionstringRequiredMachine-readable or source-preserved mathematical expression.
inputsarrayRequiredRequired chemistry, design, service, dimensional, or other input paths.
result_unitstringOptionalUnit of the calculated result.
sourceSource refOptionalSource location defining the formula and its use.