Fill in the blanks, the Schema JSON-LD or Microdata code is generated and displayed below for you to copy and paste on your website.
NOTE: I did not come up with the Business Types, they are taken from the Schema Documentation. There 'may' or 'may not' be an exact match for the business you are working on by checking for a specific type here.
If I get a few requests through twitter, or email I'll add it in.
(How to get)
I can't be more clear, Check Your Work! When previewing most of the websites that have been submitted, they did not check the website using the Google Structure Tool listed below. Here is a list of a few websites that implemented the JSON-LD properly: Websites Using Schema. Test them to see what it should look like.
- Don't forget to test the output. Copy the output, either HTML or the JSON version, and paste it into the "Code Snippet" option on this tool:
Google Structure Data ToolNew: Google Rich Results Test.
If you run in to any problems, please let me know either through email or twitter.
- Do NOT add both the MicroData Code and the JSON code version to the same page.
- If using WordPress, make sure you don't place this inside a Theme that is adding Microdata tags.
Jan 5, 2023 - Added more Businesses Types.
May 17, 2018 - Added Auto calculating the Latitude and Longitude based on the address provided. No need to go to another website.
May 17, 2018 - Added "openingHoursSpecification" - There has been a long standing debate over the use of "openingHours" vs "openingHoursSpecification", but Google is listing "openingHoursSpecification" on their Local Business Page, so I felt it better to include both until there is a final decision on the matter. The Schema Issue #245 on GitHub discusses the issue.