{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grafomem-com/json-schema/grafomem-com-calibration-body-schema.json",
  "title": "CalibrationBody",
  "description": "Body for PUT /v1/cgr/calibration/{agent_key} (module-level so FastAPI resolves it\nas the request body, not a query param).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grafomem-com-cgr-issuance-api-openapi.yml#/components/schemas/CalibrationBody",
  "properties": {
    "calibration_weight": {
      "type": "number",
      "title": "Calibration Weight"
    },
    "n_observations": {
      "type": "integer",
      "title": "N Observations",
      "default": 0
    },
    "method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Method"
    }
  },
  "type": "object",
  "required": [
    "calibration_weight"
  ]
}