JSON+LD For A Campground RV Park and Product Schema

203 views
Skip to first unread message

Denver Prophit Jr.

unread,
Nov 9, 2019, 7:25:44 AM11/9/19
to Semantic Search Marketing
I have a gist. It marks up well, for the most part. Can't figure out how to CHARGE for the electricity feature. It's a feature because some state/federal parks do not have electrical/water/sewage hookups. And, electricity costs $x.xx. I also wrote out a general product. But, the various campingPtich offers do cost varyingly. I'm reading https://schema.org/docs/hotels.html And, trying to make sense of their microdata example and how that would fit into my gist.

  <span itemprop="name">Single Room</span>
  <span itemprop="description">Our single rooms are cosy and comfortable.</span>
  Rate: <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    <link itemprop="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
    <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <meta itemprop="price" content="99.00">$99.00
      <meta itemprop="priceCurrency" content="USD">
      <meta itemprop="unitCode" content="DAY">per night
    </span>
  </span>
</div>

If you could comment here and make code suggestions on the Github Gist, that would be nice. As, I'm leaving it up for search.

jarnovandriel

unread,
Nov 12, 2019, 8:48:49 AM11/12/19
to Semantic Search Marketing
To be honest,

Specifying the Offer for the electricity is a complex one which doesn't have a short answer. If I were you I'd try to reach Martin Hepp hoping he can help you with modeling this correctly. Having said that, be aware there currently aren't any consumers of such data (at least not amongst the major search engines) so I hope you've got a good case for setting up such advanced markup beyond SEO. If not I fear there's no real justification for taking it as far as you want to.

Thad Guidry

unread,
Nov 12, 2019, 12:39:22 PM11/12/19
to jarnovandriel, Semantic Search Marketing
For this you would want to use a Multi-type entity since campingPitch is not also an Organization, but a Place.
And there's no way to tie a campingPitch via a property to an Organization currently.
"owns" is not a property on Place unfortunately at this time... its a missing property currently in my opinion where an issue could be opened to allow that property to exist on campingPitch
or, campingPitch can just be treated as a Service in which case...

An Organization can be a provider of a Service as well as have Offers and hasOfferCatalog.

Hope that helps you model something that is workable, if not ideal, with what we have currently.



--
You received this message because you are subscribed to the Google Groups "Semantic Search Marketing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-ma...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semantic-search-marketing/4b7af304-d3a8-4387-b9b8-12610bc63bca%40googlegroups.com.

Denver Prophit Jr.

unread,
Nov 12, 2019, 12:54:32 PM11/12/19
to Semantic Search Marketing
I believe GMB is what I'll have to use to setup "hotel" type features and rental prices? Just wanted to make sure structured data matched the offerings.

Denver Prophit Jr.

unread,
Nov 12, 2019, 12:57:38 PM11/12/19
to Semantic Search Marketing
https://schema.org/docs/hotels.html I was trying to match this for a HotelRoom so CampingPitch should be similar and possibly changed a bit?
To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-marketing+unsub...@googlegroups.com.

Thad Guidry

unread,
Nov 12, 2019, 5:46:21 PM11/12/19
to Denver Prophit Jr., Semantic Search Marketing
Ah !  LodgingBusiness !  I knew I had talked about this scenario before and we did account for it, albeit in a different way.
So yeah, you have the ability to connect the dots and manage the relationships that you need by starting with LodgingBusiness as the Org model to begin with.

Best of luck!  You are learning fast Denver!



To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-ma...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Semantic Search Marketing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-ma...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semantic-search-marketing/ed3b9644-b0cb-4ab1-9842-326fbb847133%40googlegroups.com.

Jeannie Hill

unread,
Nov 12, 2019, 7:01:58 PM11/12/19
to Semantic Search Marketing
Fascinating discussion where the entity must be understood as either an Organization or a Place. I appreciate your logic, Thad Guidry.


On Tuesday, November 12, 2019 at 4:46:21 PM UTC-6, Thad Guidry wrote:
Ah !  LodgingBusiness !  I knew I had talked about this scenario before and we did account for it, albeit in a different way.
So yeah, you have the ability to connect the dots and manage the relationships that you need by starting with LodgingBusiness as the Org model to begin with.

Best of luck!  You are learning fast Denver!



To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-marketing+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Semantic Search Marketing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-marketing+unsub...@googlegroups.com.

Denver Prophit Jr.

unread,
Dec 6, 2019, 6:08:14 AM12/6/19
to Semantic Search Marketing
I'm exploring additional information into the CampingPitch for describing containsPlace. Some attributes such as potentialAction => RentAction. For RV Hosts, rental periods can be nightly, weekly and monthly just as most hotels. So, the RentAction depends on how long they guest wishes to stay. http://jsoneditoronline.org/?id=adbd19a4a78b4649b5adf432dd5c54a3 line 285 is where I've began to mark this up on the 30 Amp RV Lots. Please note on 481 describes lease duration possibilities. This is where I'm stuck on potential action => Price. It just depends!?

Should I omit the price and just put the landlord?

Martin Hepp

unread,
Dec 6, 2019, 6:20:27 AM12/6/19
to Denver Prophit Jr., Semantic Search Marketing
I have no time to describe this in detail, but lots of hints and examples are here:

https://schema.org/docs/hotels.html


Search for "compound prices" for the pattern you are looking for.

Best wishes
Martin Hepp

-----------------------------------
martin hepp http://www.heppnetz.de
mfh...@gmail.com
@mfhepp
> --
> You received this message because you are subscribed to the Google Groups "Semantic Search Marketing" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-ma...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/semantic-search-marketing/661a88f3-41b8-434d-b3ff-b583d985070e%40googlegroups.com.

Denver Prophit Jr.

unread,
Dec 6, 2019, 12:23:05 PM12/6/19
to Semantic Search Marketing
Dr. Hepp, I tried this from that doc. It's how I based most of my markup with trial and error

<div itemscope itemtype="http://schema.org/HotelRoom http://schema.org/Product">
 
<span itemprop="name">Single Room</span>
 
<span itemprop="description">Our single rooms are cosy and comfortable.</span>
  Rate:
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
   
<link itemprop="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
   
<span itemprop="priceSpecification" itemscope itemtype="http://schema.org/UnitPriceSpecification">
     
<meta itemprop="price" content="99.00">$99.00
     
<meta itemprop="priceCurrency" content="USD">
     
<meta itemprop="unitCode" content="DAY">per night
   
</span>
 
</span>
</div>

Line 381 http://jsoneditoronline.org/?id=adbd19a4a78b4649b5adf432dd5c54a3 The business function seemed redundant with the new definition for "@type": "OfferForLease"

I'll check for compound prices types in the potentialAction related to containsPlace => potentialAction => RentalAction => price.

Denver Prophit Jr.

unread,
Dec 6, 2019, 12:33:26 PM12/6/19
to Semantic Search Marketing
I read https://schema.org/CompoundPriceSpecification. Doesn't seem to quite express a potential action that someone might lease a day, week or month. But this one seems to mean sumtotal with differing parts that make a whole. More like what I expressed starting on line 381 with eligibleDuration http://jsoneditoronline.org/?id=adbd19a4a78b4649b5adf432dd5c54a3
> To unsubscribe from this group and stop receiving emails from it, send an email to semantic-search-marketing+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages