{
  "description": "Synthetic payloads only. These identifiers are not provisioned sandbox records.",
  "tokenRequest": {
    "grant_type": "client_credentials",
    "client_id": "<client-id>",
    "client_secret": "<client-secret>",
    "scope": "patients.read appointments.read"
  },
  "patientSearch": {
    "filters": {
      "email": "person@example.invalid"
    },
    "limit": 50,
    "offset": 0
  },
  "patientCreate": {
    "doctorId": "doctor-demo",
    "firstName": "Synthetic",
    "lastName": "Patient",
    "email": "person@example.invalid"
  },
  "patientUpdate": {
    "email": "updated@example.invalid"
  },
  "appointmentCreate": {
    "doctorId": "doctor-demo",
    "patientId": "patient-demo",
    "startsAt": "2026-11-03T09:00:00+01:00",
    "endsAt": "2026-11-03T09:30:00+01:00",
    "type": "Consultation"
  },
  "appointmentReschedule": {
    "startsAt": "2026-11-03T10:00:00+01:00",
    "endsAt": "2026-11-03T10:30:00+01:00"
  },
  "appointmentCancelled": {
    "data": {
      "id": "appointment-demo",
      "archived": true,
      "status": "Annullato"
    }
  },
  "webhook": {
    "eventId": "evt_demo_001",
    "eventType": "appointment.updated",
    "eventVersion": "1",
    "tenantId": "clinic-demo",
    "resourceId": "appointment-demo",
    "timestamp": "2026-11-03T09:05:00Z",
    "metadata": {
      "apiVersion": "v1",
      "requestId": "evt_demo_001",
      "resourceType": "appointments"
    }
  }
}
