XooCode(){

SingleFamilyResidence

SingleFamilyResidence is a House subtype for detached single-family homes: a freestanding residential dwelling on its own lot, designed for one household. It re-declares numberOfRooms and occupancy from Accommodation but adds nothing new. Use it for detached homes; for townhouses and row houses, use House.

The type hierarchy is Thing → Place → Accommodation → House → SingleFamilyResidence. The classification matters because financing, zoning, insurance, and MLS portals treat single-family detached homes differently from attached or multi-family housing. For the complete property walkthrough, see the House example. Replace "@type": "House" with "@type": "SingleFamilyResidence".

Full example of schema.org/SingleFamilyResidence json-ld markup

The markup is verified as valid with Rich Results Test from Google.

Highlight legend:Required by GoogleRecommendedOptional
schema.org/SingleFamilyResidence
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SingleFamilyResidence",
  "name": "212 Maple Avenue, Dunmore",
  "description": "Detached 4-bedroom single-family home on a quarter-acre lot. Family-friendly neighborhood, walking distance to Dunmore Elementary.",
  "url": "https://dunmorerealty.com/listings/212-maple-avenue",
  "image": "https://dunmorerealty.com/listings/212-maple-avenue/exterior-16x9.jpg",
  "address": { "@type": "PostalAddress", "streetAddress": "212 Maple Avenue", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" },
  "numberOfRooms": 9,
  "numberOfBedrooms": 4,
  "numberOfBathroomsTotal": 3,
  "floorSize": { "@type": "QuantitativeValue", "value": "2400", "unitCode": "FTK" },
  "occupancy": { "@type": "QuantitativeValue", "value": 8 },
  "yearBuilt": 1962
}
</script>

Minimal valid version

The smallest markup that still produces a valid SingleFamilyResidence entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/SingleFamilyResidence (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SingleFamilyResidence",
  "name": "212 Maple Avenue, Dunmore",
  "address": { "@type": "PostalAddress", "streetAddress": "212 Maple Avenue", "addressLocality": "Dunmore", "addressRegion": "PA", "addressCountry": "US" },
  "numberOfBedrooms": 4,
  "image": "https://dunmorerealty.com/listings/212-maple-avenue/exterior-16x9.jpg"
}
</script>

Google rich results this unlocks

Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.

Common SingleFamilyResidence mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    Using SingleFamilyResidence for a townhouse

    Wrong
    "@type": "SingleFamilyResidence" for an attached townhouse
    Right
    Use House for attached residential types; SingleFamilyResidence only for detached homes

    Single-family in real estate terminology specifically means detached. Townhouses share walls with neighbors and have different zoning, financing, and HOA implications.

About the example data

A detached single-family home for sale in Dunmore, PA, marketed to families relocating for tech jobs at Xoo Code Inc.

Comments

Loading comments...

Leave a comment