{
  "artifact": {
    "bytes": 8213,
    "format": "json",
    "mediaType": "application/json",
    "path": "samples/states/calcom/availability-conflict/state.json",
    "sha256": "19d46a02761e57294b6ab4cd9e367e9a7c69993d752043916319d44ace0f0581"
  },
  "capabilities": {
    "limitations": [
      "Time-zone and organization-admin behavior require operation-specific verification."
    ],
    "required": [
      "state.read",
      "state.load",
      "state.reset",
      "rest.bookings"
    ],
    "supportedSurface": "Stateful users, event types, schedules, availability, and booking workflows."
  },
  "category": "edge-case",
  "displayName": "Cal.com availability conflict",
  "entityCounts": {
    "collections": {
      "bookings": 0,
      "calendars": 0,
      "eventTypes": 1,
      "outOfOfficeEntries": 1,
      "reservedSlots": 1,
      "schedules": 1,
      "teamMemberships": 0,
      "teams": 0,
      "users": 1,
      "webhooks": 0
    },
    "total": 5
  },
  "environmentId": "calcom",
  "expectedDiff": {
    "changedPathsInclude": [],
    "exact": true,
    "notes": "The provider-native mutation is expected to fail and produce no state diff."
  },
  "expectedFirstRead": {
    "body": null,
    "expectedStatus": [
      200
    ],
    "method": "GET",
    "operationId": "listUnavailableSlots",
    "path": "/v2/slots?eventTypeId=5898555&start=2027-01-15&end=2027-01-15",
    "transport": "provider-rest"
  },
  "id": "calcom.availability-conflict.v1",
  "provenance": {
    "authoredBy": "archal",
    "kind": "authored",
    "sanitizationNotes": [
      "Replaced 1 credential-shaped or non-example email value(s).",
      "Replacement paths: users.0.payload.email (email-domain)"
    ],
    "sourcePath": "clones/calcom/seeds/demo.json",
    "sourceSha256": "4129ba15f96c3e118046f77f2ed7d1f62a6e295d3bb545d21a7b80912b12ae84",
    "transformationNotes": [
      "Constructed by the exact reviewed profile calcom.availability-conflict.",
      "Selected and amended records from the pinned clones/calcom/seeds/demo.json fixture without changing that historical source.",
      "Validated against the scenario proof, first-read prerequisites, mutation prerequisites, and declared relationship closure.",
      "Canonicalized object-key ordering for byte-stable public output."
    ]
  },
  "purpose": "Place a reserved slot inside an out-of-office window to exercise conflict and no-availability behavior.",
  "qualification": {
    "candidate": {
      "basis": "catalog-admission",
      "status": "passed"
    },
    "certification": {
      "evidencePath": null,
      "lastHostedVerificationAt": null,
      "runtimeBundleDigest": null,
      "sourceCommit": null,
      "status": "unknown"
    },
    "isolation": {
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "reset": {
      "expected": "restores-loaded-sample",
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "validation": {
      "checks": [
        "artifact-hash",
        "historical-source-lock",
        "state-contract",
        "scenario-semantics",
        "relationship-closure",
        "secret-scan",
        "size-limit"
      ],
      "status": "passed",
      "validator": "archal.environment-samples.v1"
    }
  },
  "representativeMutation": {
    "body": {
      "attendee": {
        "email": "maya.chen@example.test",
        "name": "Maya Chen",
        "timeZone": "America/Los_Angeles"
      },
      "eventTypeId": 5898555,
      "start": "2027-01-15T18:00:00.000Z"
    },
    "expectedStatus": [
      400
    ],
    "method": "POST",
    "operationId": "createBookingInUnavailableWindow",
    "path": "/v2/bookings",
    "transport": "provider-rest"
  },
  "schema": "archal.environment-sample",
  "schemaVersion": 1,
  "slug": "availability-conflict",
  "stateContract": {
    "format": "json",
    "schema": "archal.environment-state.calcom",
    "version": 1
  }
}
