Step 7 The basics
Purpose (Product)
Collect core capacity details that define the listing: guests, bedrooms, beds, and bathrooms.
These values power search ranking, pricing guidance, cleaning and inventory planning, and are used to scaffold the property’s room structure for later steps (photos, amenities, etc.).
UX Flow (What the user sees)
A single screen with four counters:
Guests (capacity)
Bedrooms
Beds
Bathrooms
Each counter has +/− controls with sensible bounds. Validation requires all values >= 1.
On Next, values are saved and the system auto-generates room entities (Bedrooms, Bathrooms) for downstream steps (e.g., photo tagging).
On success, the flow advances to the next step.
![[Desktop 6.png]]
Validation rules and error states
Client schema:
capacity≥ 1bedrooms≥ 1beds≥ 1bathrooms≥ 1
UI constraints:
Counters typically bounded to [1..50]
Error states:
Client validation fails → inline error, no API calls
PATCH/POST fails → user remains on step; parent displays an error banner (or console log)