RentAction
RentAction is a TradeAction subtype for paying to use property. Properties: landlord (Person / Organization) and realEstateAgent (RealEstateAgent).
Full example of schema.org/RentAction json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "RentAction",
"agent": { "@type": "Person", "name": "Researcher" },
"object": { "@type": "Apartment", "name": "Nørrebrogade 44, 3rd floor" },
"landlord": { "@type": "Organization", "name": "Dunmore Foundation" },
"price": "12000",
"priceCurrency": "DKK"
}
</script>Minimal valid version
The smallest markup that still produces a valid RentAction 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.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "RentAction",
"agent": { "@type": "Person", "name": "Tenant" },
"object": { "@type": "Apartment", "name": "Example flat" }
}
</script>Google rich results this unlocks
RentAction is a structural type. It does not produce a rich result on its own.
Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). RentAction becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common RentAction 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.
- 01
Missing landlord
WrongRentAction with only agent + objectRightInclude landlord — the counterparty identifies the rent relationshiplandlord distinguishes Rent from Buy.
Schema properties in this example
About the example data
Renting a 1-bedroom Copenhagen flat for the Dunmore Archive researcher-in-residence.
Comments
Loading comments...