# booking-without-double-booking

Take bookings for a person or room with no double-booking, then export confirmed ones to .ics and CSV

- **Space:** scheduling-public (https://github.com/Tech-Realm/space-scheduling-public/tree/main/booking-without-double-booking)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3, docker
- **Routes:** stdlib-reference, calcom, saas; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use scheduling-public/booking-without-double-booking` or MCP `get_pack scheduling-public/booking-without-double-booking`
- **Files:** CHANGELOG.md, code/refflow.py, code/schema.json, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/scenario.json, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Take bookings for a person or room with no double-booking, then export confirmed ones to .ics and CSV. Our reference flow (`code/refflow.py`, stdlib sqlite) proves the records, allowed moves, numbers and export; the same rules carry over to the self-hosted app.

## Steps

1. A booking holds a resource for [start, end); back-to-back is fine, overlap is rejected.
2. Cancelled bookings free the slot.
3. Export confirmed bookings as iCalendar (`bookings.ics`) and CSV.

## Edge cases

- Store times in UTC; show them in the viewer's zone.
- End must be after start.

## Don'ts

- Don't put client phone numbers in the event title.

## Check

`lp pack check scheduling/booking-without-double-booking` runs outcome/checks.yaml.



---

Canonical URL: https://logicpacks.io/packs/scheduling-public/booking-without-double-booking

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
