JSON Schema Script Closing Tags
-
Hello I can't get the following script to work. There seems to be something with the closing tags I've tried various combinations, however, no luck.
-
Hey!
Yeah you forgot to close some objects + arrays. This is at least validating but please make sure your objects are correct:
-
Hi Marge,
What do you mean by it not "working"? What, exactly, happens? Please, feel free to provide as much detail as possible.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Has Anyone Successfully implemented SpecialAnnouncement Schema?
Hello, I'm in the process of updating my clients' websites with the SpecialAnnouncement Schema type, and I'm wondering if anyone has successfully done so yet, and whether or not they're seeing any kind of results /richsnippets directly in SERPs from it? Also, has anyone else run into issues checking their schema with Google's Structured Data Testing Tool? Sometimes I get an error saying "specialAnnouncement is not a type known to Google," and sometimes I get one saying that "the property datePosted is not recognized by Google for an object of type SpecialAnnouncement." I assume these errors are because the schema type is so new, but you know what happens when you assume... Thank you for any insights!
Local Website Optimization | | LocalSEOLady0 -
Can I have multiple GeoShape Schema for one page on one domain?
Hi Mozers, I'm working on some Schema for a client of mine, but whilst doing the research on GeoShapes with my developer, we came across a potential issue with this particular mark-up. My client is B2C business, operating in numerous places across the UK. I want to use the Circle property from GeoShape to draw out multiple circles across the UK, but am I able to do this? From looking at some other websites, most seem to just have one GeoShape. Can I have multiple on the same page and same domain? Thanks! Virginia
Local Website Optimization | | Virginia-Girtz0 -
Schema medical speciality error
I'm having an issue correctly formatting a medical specialty for a gastroenterologist. The Google structured data tool is giving me the error of "The property specialty is not recognized by Google for an object of type _Physician". _ Any suggestions on how to correctly update the schema code for a physician's specialty? Thanks, Keith LsPc55X iHUW88a
Local Website Optimization | | Keith_Kaiser1 -
Do you use HREF lang tags when each page that is localised only exists in that language?
Hi, I have 2 questions I am seeking an answer for. We have a home page in english GB, we then also have products which are specifically served in US. For these pages where the phone number is american, the spelling is american, the address is american, do we need to implement href lang tags? The page isn't a version of another page in english, the page is only in the native language.Secondly, is it recommended to create a second home page and then localise that page for US users?I'd be really greatful if anyone has any pointers as googles forum doesn't explain best practice for this case (as far as I can tell).Many thanks
Local Website Optimization | | Adam_PirateStudios0 -
Can I use Schema zip code markup that includes multiple zip codes but no actual address?
The company doesn't have physical locations but offers services in multiple cities and states across the US. We want to develop a better hyperlocal SEO strategy and implement schema but the only address information available is zip codes, names of cities and state. Can we omit the actual street address in the formatting but add multiple zipcodes?
Local Website Optimization | | hristina-m0 -
Hreflang errors "no return tag" sitemap.xml , and local search landing page with wrong Languages
Really need help , our website when search in google(US) will provide global page (keyword:asus/asus zenfone3). and search console also return "no return tags"another wear thing is when use googlebot crawl sitemap.xml googlebot cannot finish the file less than a quarterCan you please advise on what needs to be edited or changed to make sure my implementation is correct and not returning errors?
Local Website Optimization | | June01270 -
What is the SEO effect of schema subtype deprecation? Do I really have to update the subtype if there isn't a suitable alternative?
Could someone please elaborate on the SEO effect of schema subtype deprecation? Does it even matter? The Local business properties section of developers.google.com says to: Define each local business location as a LocalBusiness type. Use the most specific LocalBusiness sub-type possible; for example, Restaurant, DaySpa, HealthClub, and so on. Unfortunately, the ProfessionalService page of schema.org states that ProfessionalService has been deprecated and many of my clients don't fit anywhere else (or if they do it's not a LocalBusiness subtype). I find it inconvenient to have to modify my different clients' JSON-LD from LocalBusiness to ProfessionalService back to LocalBusiness. I'm not saying this happens every day but how does one keep up with it all? I'm really trying to take advantage of the numerous types, attributes, etc., in structured data but I feel the more I implement, the harder it will be to update later (true of many things, of course). I do feel this is important and that a better workflow could be the answer. If you have something that works for you, please let us know. If you think it's not important tell us why not? (Why Google is wrong) I understand there is always a better use of our time, but I'd like to limit the discussion to solving this Google/Schema.org deprecation issue specifically.
Local Website Optimization | | bulletproofsearch0 -
Structured Data Schema for Local business
Hi Where should you add ‘local business’ schema, the 'Home Page', ‘About Us’ page, 'Contact Us' page etc etc ? I presume the page with the address such as 'contact us' page but if say the address is on every page say in a footer for example is it ok to add address schema to every page ? I know someone who did this and havn't got any rich snippets out of it so presume best to focus on one primary page such as 'contact' or 'about' type pages ? Also: If your business serves multiple areas can you add schema for the other areas too or is it only for your primary business address ?
Local Website Optimization | | Dan-Lawrence
For example if your business address is listed in say ‘Wandsworth’ but you visit & serve customers in ‘Clapham’, ‘Balham’ & other regions of South West London, anyway of adding local business address structured data to your site for these areas too (to help target local searches including these other regions) Many Thanks
Dan0