Connect to us:

info@onlineownership.com | 01536 269 657 | 07789 901268

Update your Structured Data with Image & priceRange

Google’s Structured Data Testing tool started showing errors messages that included: images and priceRange for LocalBusiness structured data and for @type Hotels, it also showed errors for starRating.

This is not an error with the Structured Data Testing tool, as the new fields have also been updated within Schema.org and if you actually correct the errors, you get a green Preview button displayed, which displays how your business will appear in mobile Rich Cards.

 

Structured Data Update for Local Business

Updated Fields in Local Business Structured Data Markup

New errors appearing for Local Business structured data markup within structured data testing tool. Depending on your business @type the two prevalent ones are: images and priceRange.
new error fields in structured data testing tool

 

Old LocalBusiness Structured Data Markup

 

<script type="application/ld+json">
   {
  	"@context": "http://schema.org",
  	"@type": "LocalBusiness",
   	"address": {
    "@type": "PostalAddress",
    "streetAddress": "6 Regal Close",
    "addressLocality": "Corby",
    "addressRegion": "Northamptonshire",
    "postalCode":"NN17 1EZ"
    
  	},
  	"description": "Online Ownership is a results driven, ethical SEO and online marketing consultancy",
  	"name": "Online Ownership",
    "openingHours": "Mo-Fr 09:00-18:00",
  	"telephone": "01536 269 657",
  	"email": "info@onlineowership.com",
    "url": "http://dev.onlineownership.com",
    "hasMap": "https://goo.gl/maps/nGeYv6mVXvF2",
    "sameAs" : [
    "https://plus.google.com/+OnlineownershipUK",
    "https://www.youtube.com/channel/UCwpL0xyVCiYJS_Yozf8Mt_g"
    ]
     }
   }
</script>

 

As mentioned earlier, this is not a bug as some people are speculating. If you do correct the error fields and update the structured data, you will see a preview button appear.

 

Errors Corrected in structured data testing tool with preview button

 

Updated LocalBusiness Structured Data Markup

Lines 5, 6 updated with new fields.

 

<script type="application/ld+json">
   {
  	"@context": "http://schema.org",
  	"@type": "LocalBusiness",
    "image": "http://dev.onlineownership.com/wp-content/themes/onlineownership/images/online-ownership-logo.png",
    "priceRange" : "£40 - £450",
  	"address": {
    "@type": "PostalAddress",
    "streetAddress": "6 Regal Close",
    "addressLocality": "Corby",
    "addressRegion": "Northamptonshire",
    "postalCode":"NN17 1EZ"
    
  	},
  	"description": "Online Ownership is a results driven, ethical SEO and online marketing consultancy",
  	"name": "Online Ownership",
    "openingHours": "Mo-Fr 09:00-18:00",
  	"telephone": "01536 269 657",
  	"email": "info@onlineowership.com",
    "url": "http://dev.onlineownership.com",
    "hasMap": "https://goo.gl/maps/nGeYv6mVXvF2",
    "sameAs" : [
    "https://plus.google.com/+OnlineownershipUK",
    "https://www.youtube.com/channel/UCwpL0xyVCiYJS_Yozf8Mt_g"
    ]
     }
   }
</script>

 

New Rich Card Preview

Once you have corrected the error fields and click the green preview button, you are shown a preview of what your mobile rich card may look like in search.

 

rich card preview tool for structured data markup

 

What is the Google Search Preview Tool?

The Google Search Preview is not a real Search results page. It helps you preview your structured data markup for web or mobile app URL as it would appear in the Google Search results page. This helps you ensure your structured data markup or App Indexing integration generates the Google Search display you expect.

The tool uses a prominent message to indicate that Search results are only a preview.

When viewing the preview results, keep the following in mind:

The search preview is approximate.
Real Google Search results for your data might look different.

The search preview is illustrative.
We do not guarantee that the content you preview will be displayed in Search results. Your content will likely appear in Search results for relevant queries, but that content must first pass through our systems to be appropriately indexed and ranked before it appears in actual Search results. We reserve the right to filter out any results at our discretion if it violates our quality guidelines. Finally, any preview tool URL for your content is only valid for a limited duration (e.g. weeks).

We don’t guarantee the specific position of the result on an actual search result page.

View Google Documentation

 

Structured Data Update to Hotels

New fields required in Hotels structured data is: image, priceRange, starRating.

 

Update to Hotel Structured Data

New Lines: 5,6,7

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Hotel",
  "image": "http://www.aleenta.com/files/4814/7763/2666/aleenta-Pool-Signature.jpg",
  "starRating" : { "@type" : "Rating",
                   "ratingValue" : "5"},
  "priceRange" : "$100 - $300",
 "address": {
    "@type": "PostalAddress",
    "streetAddress": "33 Moo 5, Takua Thung, Khok Kloi",
    "addressLocality": "Phang Nga",
    "addressRegion": "Phuket",
    "postalCode": "82140",
    "addressCountry": "Thailand"
  },
  
  "description": "Aleenta Phuket Resort & Spa luxury boutique beach hotel, villas and residences located on Phuket's most pristine private beach in Phang Nga",
  "name": "Aleenta Phuket Resort & Spa",
  "alternateName": "Aleenta Phuket Phang Nga Resort and Spa",
  "alternateName": "Aleenta Phuket Phang Nga",
  "alternateName": "Aleenta Phuket",
  "telephone": "+66 (0) 76 580 333",
  "email": "rsvn.aph@aleenta.com",
  "url": "http://www.aleenta.com/phuket/",
  "sameAs" : [ "https://plus.google.com/+aleentaphuket",
    "https://www.facebook.com/aleenta.phuket",
    "https://www.tripadvisor.co.uk/Hotel_Review-g1951344-d607307-Reviews-Aleenta_Resort_Spa_Phuket_Phangnga-

Khok_Kloi_Takua_Thung_District_Phang_Nga_Province.html"]
    },   
   "hasMap": "https://goo.gl/maps/GTazusDV4aS2"
  }
 }
}
</script>

 

View additional updated hotel structured data markup with aggregateRating and reserveAction.