{
  "schemaVersion": 1,
  "kitId": "business-appointment-capacity",
  "asOf": "2026-09-08",
  "tableCounts": {
    "providers": 3,
    "slots": 24,
    "bookings": 18,
    "resources": 3,
    "communications": 18
  },
  "primaryKeyDuplicates": 0,
  "foreignKeyFailures": 0,
  "metrics": [
    {
      "id": "slots-capacity",
      "label": "Available slots",
      "value": 24.0,
      "unit": "slots",
      "calculation": "Sum slots.capacity over the included records.",
      "formula": {
        "op": "sum",
        "table": "slots",
        "column": "capacity"
      }
    },
    {
      "id": "bookings-occupied",
      "label": "Occupied slots",
      "value": 16.0,
      "unit": "slots",
      "calculation": "Sum bookings.occupied over the included records.",
      "formula": {
        "op": "sum",
        "table": "bookings",
        "column": "occupied"
      }
    },
    {
      "id": "bookings-count",
      "label": "Booking records",
      "value": 18.0,
      "unit": "records",
      "calculation": "Count unique booking_id values in bookings.",
      "formula": {
        "op": "count",
        "table": "bookings"
      }
    }
  ],
  "chart": {
    "title": "Occupied capacity",
    "unit": "slots",
    "points": [
      {
        "label": "Desk A",
        "value": 4
      },
      {
        "label": "Desk B",
        "value": 6
      },
      {
        "label": "Desk C",
        "value": 6
      }
    ]
  },
  "negativeTests": {
    "cases": 3,
    "errors": [
      "duplicate-primary-key",
      "schema-type",
      "foreign-key"
    ]
  },
  "compatibility": "Model-derived fixture assertions. External platform storage has not been exercised.",
  "capacity": {
    "available": 24,
    "occupied": 16,
    "unoccupied": 8,
    "utilization": 0.6666666666666666
  },
  "numericWorkflowChecks": {
    "availableSlots": 24,
    "occupiedSlots": 16,
    "draftMessages": 18,
    "resources": 3,
    "clinicalFields": 0
  }
}
