# Harbour House Stay

A six-room property with non-overlapping stays, room-night occupancy and linked ancillary charges.

All entities and transactions are fictional. Snapshot: 2026-09-08.

## Start with the linked model

1. Open operations.xlsx and review the Summary sheet. Source tables contain stable primary keys and declared references.
2. Change source values in the workbook to explore the calculated totals and editable chart.
3. Compare output values with expected-results.json. The JSON Schema checks types; primary-key uniqueness and joins also require the listed semantic checks.
4. Use invalid-records.json only in a local validation harness. Its three cases exercise duplicate keys, wrong types and an orphan reference.

## Included tables

| Table | Records | Primary key |
| --- | ---: | --- |
| rooms | 6 | room_id |
| stays | 12 | stay_id |
| extras | 12 | charge_id |
| itineraries | 12 | itinerary_id |
| event_resources | 3 | resource_id |
| events | 4 | event_id |
| event_catering | 4 | catering_id |

## Expected totals

- Occupied room nights: 48.00 nights. Sum stays.nights over the included records.
- Room revenue: 6,840.00 USD. Sum stays.room_revenue over the included records.
- Ancillary revenue: 672.00 USD. Sum extras.total over the included records.

## Platform mapping

primary-records.csv is a generic example table. It is not a native platform export. Where this kit includes a named profile, use that profile’s separate CSV and schema and review its compatibility level before uploading.

## Scope and assumptions

