Rooms & Layout
These attributes describe the interior layout, room counts, and floor plan characteristics of a property.
Bedrooms
Section titled “Bedrooms”bedrooms_total
Section titled “bedrooms_total”- Type:
INT - Description: Total number of bedrooms
- Example:
3 - Required: No
- Indexed: Yes
- Use Case: Primary filter for property searches
bedrooms_above_grade
Section titled “bedrooms_above_grade”- Type:
INT - Description: Number of bedrooms above ground level
- Example:
3 - Required: No
bedrooms_below_grade
Section titled “bedrooms_below_grade”- Type:
INT - Description: Number of bedrooms below ground level (basement bedrooms)
- Example:
0 - Required: No
Bathrooms
Section titled “Bathrooms”bathrooms_total
Section titled “bathrooms_total”- Type:
DOUBLE - Description: Total number of bathrooms (can include half baths)
- Example:
2.5(2 full + 1 half) - Required: No
- Indexed: Yes
- Use Case: Primary filter for property searches
bathrooms_full
Section titled “bathrooms_full”- Type:
INT - Description: Number of full bathrooms (toilet, sink, shower/tub)
- Example:
2 - Required: No
bathrooms_three_quarter
Section titled “bathrooms_three_quarter”- Type:
INT - Description: Number of three-quarter bathrooms (toilet, sink, shower)
- Example:
1 - Required: No
bathrooms_half
Section titled “bathrooms_half”- Type:
INT - Description: Number of half bathrooms/powder rooms (toilet, sink)
- Example:
1 - Required: No
bathrooms_one_quarter
Section titled “bathrooms_one_quarter”- Type:
INT - Description: Number of quarter bathrooms (toilet only)
- Example:
0 - Required: No
Common Rooms
Section titled “Common Rooms”living_rooms
Section titled “living_rooms”- Type:
INT - Description: Number of living rooms
- Example:
1 - Required: No
dining_rooms
Section titled “dining_rooms”- Type:
INT - Description: Number of formal dining rooms
- Example:
1 - Required: No
family_rooms
Section titled “family_rooms”- Type:
INT - Description: Number of family rooms
- Example:
1 - Required: No
great_rooms
Section titled “great_rooms”- Type:
INT - Description: Number of great rooms (combined living/dining)
- Example:
1 - Required: No
kitchens
Section titled “kitchens”- Type:
INT - Description: Number of kitchens
- Example:
1 - Required: No
Utility Rooms
Section titled “Utility Rooms”pantries
Section titled “pantries”- Type:
INT - Description: Number of pantries
- Example:
1 - Required: No
laundry_rooms
Section titled “laundry_rooms”- Type:
INT - Description: Number of laundry rooms
- Example:
1 - Required: No
mudrooms
Section titled “mudrooms”- Type:
INT - Description: Number of mudrooms
- Example:
1 - Required: No
Work & Study Spaces
Section titled “Work & Study Spaces”offices
Section titled “offices”- Type:
INT - Description: Number of offices
- Example:
1 - Required: No
studies
Section titled “studies”- Type:
INT - Description: Number of studies
- Example:
1 - Required: No
libraries
Section titled “libraries”- Type:
INT - Description: Number of libraries
- Example:
1 - Required: No
Recreation & Entertainment
Section titled “Recreation & Entertainment”bonus_rooms
Section titled “bonus_rooms”- Type:
INT - Description: Number of bonus/flex rooms
- Example:
1 - Required: No
recreation_rooms
Section titled “recreation_rooms”- Type:
INT - Description: Number of recreation rooms
- Example:
1 - Required: No
media_rooms
Section titled “media_rooms”- Type:
INT - Description: Number of media/theater rooms
- Example:
1 - Required: No
home_theaters
Section titled “home_theaters”- Type:
INT - Description: Number of dedicated home theaters
- Example:
1 - Required: No
exercise_rooms
Section titled “exercise_rooms”- Type:
INT - Description: Number of exercise/fitness rooms
- Example:
1 - Required: No
game_rooms
Section titled “game_rooms”- Type:
INT - Description: Number of game rooms
- Example:
1 - Required: No
workshops
Section titled “workshops”- Type:
INT - Description: Number of workshops
- Example:
1 - Required: No
craft_rooms
Section titled “craft_rooms”- Type:
INT - Description: Number of craft rooms
- Example:
1 - Required: No
wine_cellars
Section titled “wine_cellars”- Type:
INT - Description: Number of wine cellars
- Example:
1 - Required: No
storage_rooms
Section titled “storage_rooms”- Type:
INT - Description: Number of storage rooms
- Example:
2 - Required: No
closets_walk_in
Section titled “closets_walk_in”- Type:
INT - Description: Number of walk-in closets
- Example:
2 - Required: No
Structure
Section titled “Structure”stories
Section titled “stories”- Type:
DOUBLE - Description: Number of stories/floors
- Example:
2.0,1.5(split-level) - Required: No
levels_total
Section titled “levels_total”- Type:
INT - Description: Total number of levels
- Example:
2 - Required: No
levels_above_grade
Section titled “levels_above_grade”- Type:
INT - Description: Number of levels above ground
- Example:
2 - Required: No
levels_below_grade
Section titled “levels_below_grade”- Type:
INT - Description: Number of levels below ground
- Example:
1 - Required: No
basement_type
Section titled “basement_type”- Type:
VARCHAR(50) - Description: Type of basement
- Values:
"full","partial","finished","unfinished","none" - Example:
"finished" - Required: No
attic_type
Section titled “attic_type”- Type:
VARCHAR(50) - Description: Type of attic
- Values:
"finished","unfinished","none","loft" - Example:
"unfinished" - Required: No
Usage Examples
Section titled “Usage Examples”Filter by Bedrooms and Bathrooms
Section titled “Filter by Bedrooms and Bathrooms”SELECT * FROM propertiesWHERE bedrooms_total >= 3AND bathrooms_total >= 2AND status = 'active'ORDER BY price_current;Find Properties with Home Offices
Section titled “Find Properties with Home Offices”SELECT * FROM propertiesWHERE offices > 0OR studies > 0ORDER BY offices DESC, studies DESC;Count Total Rooms
Section titled “Count Total Rooms”SELECT id, bedrooms_total + bathrooms_total + living_rooms + dining_rooms + kitchens AS total_roomsFROM propertiesWHERE bedrooms_total IS NOT NULL;Find Multi-Level Properties
Section titled “Find Multi-Level Properties”SELECT * FROM propertiesWHERE levels_total >= 2ORDER BY levels_total DESC;Properties with Finished Basements
Section titled “Properties with Finished Basements”SELECT * FROM propertiesWHERE basement_type = 'finished'AND bedrooms_below_grade > 0;Best Practices
Section titled “Best Practices”- Always set
bedrooms_totalandbathrooms_total: Primary search filters - Use decimal for bathrooms: Include half baths (e.g., 2.5)
- Distinguish above/below grade: Important for basement bedrooms
- Count all room types: Provides comprehensive property description
- Set
basement_typeandattic_type: Helps buyers understand space
Related Attributes
Section titled “Related Attributes”- Dimensions - Area measurements for rooms
- Interior Features - Room finishes and features
- Construction Attributes - Building structure affecting layout