{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/engineering.msa.linearity/1.0.0/input.json",
  "title": "MSA linearity — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "xref": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 3,
      "description": "Reference values across the range. Aliases: X, ref, reference. Share-URL: comma-separated."
    },
    "ylab": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 3,
      "description": "Indications paired with xref. Aliases: y, measured."
    }
  },
  "required": [
    "xref",
    "ylab"
  ],
  "description": "OLS of measurement error ε = ylab − xref versus xref: slope = dε/d(xref). n≥3 paired points. Not a single-master bias, not Type-1 Cg, and not a %Linearity pass/fail. (calculation_version 1.0.0)"
}
