{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/engineering.msa.gauge_capability.input.json",
  "title": "Gauge capability (Cg/Cgk) — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "values": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "number"
      },
      "description": "Repeats on a master. Sample s needs n≥2 when ddof=1. Share-URL: comma-separated. Alias: sample."
    },
    "xm": {
      "type": "number",
      "description": "Master / reference value. Aliases: xref, ref, x_m."
    },
    "T": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Characteristic tolerance span. Alias: span. Do not combine with lsl+usl or tol."
    },
    "span": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Alias for T."
    },
    "lsl": {
      "type": "number",
      "description": "Lower specification limit. Provide with usl, or use T or tol instead."
    },
    "usl": {
      "type": "number",
      "description": "Upper specification limit. Must be greater than lsl."
    },
    "tol": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Half-width; span = 2·tol. Do not combine with lsl+usl or T."
    },
    "frac": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1,
      "description": "Tolerance fraction used in Cg/Cgk. Default 0.2. Alias: k_tol. Not coverage factor k."
    },
    "ddof": {
      "type": "integer",
      "enum": [
        0,
        1
      ],
      "description": "Delta degrees of freedom. 1 = Bessel (default), 0 = population."
    }
  },
  "required": [
    "values",
    "xm"
  ],
  "description": "Type-1 Cg/Cgk from repeats on a master: Cg=(frac·T)/(6s), Cgk=(frac·T/2−|x̄−xm|)/(3s). frac defaults to 0.2 (Bosch / VDA 5). Not AIAG GRR, not Cp/Cpk, and not a Cg≥1.33 verdict. (calculation_version 1.0.0)"
}
