Note the @type that’s used to classify not just the main page, but also elements within the description, such as the author and the publisher, types Person and Organization respectively. One programming caveat: when working with JSON, you have to be really strict with your use of commas. When listing keys in your object, you cannot put a comma after the last value. PHP is very forgiving with this, so moving into JSON from PHP can be a bit of a wake-up call. For structured data, you especially need to watch when there are multiple key/value pairs that dynamically may or may not be included depending on the item. You may have to make trailing commas conditional on what comes after.
Google can take the information you give it and present it in new and interesting ways. Some of these include showing breadcrumbs under your link, adding a site search box beneath your site’s search result, adding your event to lists of events in a calendar, using your content to answer questions in a toggle, adding your job posting to a job search, creating a card for your local business, and displaying product information in the search results (such as price, availability and review ratings).
There are so many possibilities with structured data and the uses are only growing!
© 2020. All rights reserved. E-dreamz, Inc.