When you're done, submit your website to be included in my upcoming "Websites Using Schema" page.
Directions
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.
If I get a few requests through twitter, or email I'll add it in.
(How to get)
Advice
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 Tool.
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.
Output Type:
Change List
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.