: Correct vocabulary and/or Microformats for real estate listings? Given I am running a real estate rentals listing website, what would be the correct vocabulary (for use in Microdata) or Microformats
Given I am running a real estate rentals listing website, what would be the correct vocabulary (for use in Microdata) or Microformats for the listing pages? There is the usual data: address, photos, price, start date, possible end date, person who is renting it out, list of amenities, description etc.
Are there also Microformats/vocabularies that can be used in the listing summary page (e.g., page that displays all listings in a particular city)?
More posts by @Welton855
3 Comments
Sorted by latest first Latest Oldest Best
For the actual residence, use 'Place' as the schema markup to denote address etc.
For anything transactional, refer to the potentialAction property.
<div itemscope itemtype="http://schema.org/Place">
...
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/TradeAction"> <!-- change 'TradeAction' to 'RentAction' or 'Buy Action' if applicable-->
...
<meta itemprop="name" content="Name of Transaction Type" />
<!-- If you list multiple action, here is where you'll declare them as new itemtype. -->
<span itemprop="price">9</span> per <span itemprop="endTime" itemscope itemtype="DateTime"><! -- dataSetInterval or whatever would be best dateTime property --></span>
</div> <!-- end potentialAction -->
</div> <! -- end Place -->`
Depending on the context, your TradeAction could be set to BuyAction, RentAction or whatever can be the case.
I just would like to point out scope within Microdata since that is where people get tripped up. Whenever you see expected type in the Schema.org documentation, that is where you declare itemtype="http://schame.org/ExpectedTypeName" here.
Each type must have at the very least a name property declared, and remember - expectedType can return a child of that type.
i.e. If expected Type is Local Business, I can do Pharmacy if it is more specific.
Use this format: Replace Organization with Place use <span itemprop="thing"> Home For Sale
<div itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">Beyond Window Cleaning</span>
Located at: div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
span itemprop="streetAddress">1231 Mallard Creek Dr.</span>,
span itemprop="addressLocality">Aubrey</span>,<span itemprop="addressRegion">TX</span>76227.
</div>
Phone: span itemprop="telephone">(469) 209-9070</span>
<a href="http://beyondwindowcleaning.com/" itemprop="url">http://beyondwindowcleaning.com</a>
</div>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.