{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-calibration-import-price-result-schema.json",
  "title": "CalibrationImportPriceResult",
  "description": "What the price commit did — honest per-row accounting.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcnm-io-calibration-api-openapi.yml#/components/schemas/CalibrationImportPriceResult",
  "properties": {
    "import_id": {
      "type": "string",
      "title": "Import Id"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Import lifecycle status after the commit."
    },
    "pairs_priced": {
      "type": "integer",
      "title": "Pairs Priced",
      "description": "Distinct (part, lot) pairs fanned out by THIS call."
    },
    "accepted": {
      "type": "integer",
      "title": "Accepted",
      "description": "Rows whose calculation was created and enqueued."
    },
    "served_from_cache": {
      "type": "integer",
      "title": "Served From Cache",
      "description": "Rows answered instantly from an identical prior run — never billed."
    },
    "parked": {
      "type": "integer",
      "title": "Parked",
      "description": "Rows whose calculation was created but parked on billing (spend cap / approval); resumable, not running."
    },
    "skipped": {
      "type": "integer",
      "title": "Skipped",
      "description": "Rows already priced or already queued before this call — a re-POST resumes, it never duplicates."
    },
    "calculations_created": {
      "type": "integer",
      "title": "Calculations Created",
      "description": "New calculation rows this call created."
    },
    "remaining_needs_calc": {
      "type": "integer",
      "title": "Remaining Needs Calc",
      "description": "Rows still unpriced after this call (0 when fully committed)."
    }
  },
  "type": "object",
  "required": [
    "import_id",
    "status",
    "pairs_priced",
    "accepted",
    "served_from_cache",
    "parked",
    "skipped",
    "calculations_created",
    "remaining_needs_calc"
  ]
}