Is Schema markup inappropriate for ?
-
Is Schema(.org) markup meant specifically to be used on text? Or can you use it in a similar way that you can use Open Graph Protocol?
For example, for awhile I've been using something like this on my site:
Because it's in the head section, it appears on every page. In review, this seems to be an incorrect use? Should I only be using Schema to mark specific text? If not, what are the consequences of using Schema like this?
-
Ok, now I got the questions... sry. I didn't know the answers but I start to google and... I'll be back
-
I know what it is and how to use it, that's not the question.
When you use JSON-LD, specifically in something like the head section, you're using it without context. When this code appears on every page, it's labeling a person that may or may not be mentioned.
From the Google Developer Page on 'Specify your social profiles,'
"The social profiles in your markup must correspond to the ones that users can see on the same page."
It sounds like using this method within the head, especially with phone numbers, email, address, URL, etc., can be marked as either A) hidden text, or B) as something that would cause the rest of your markup to be ignored.
In this case... why would you ever use JSON-LD? It would never directly point to the object that's marked up like the HTML version does.
Maybe that helps clarify the question,
"In review, this seems to be an incorrect use? Should I only be using Schema to mark specific text? If not, what are the consequences of using Schema like this?"
When, exactly, is it appropriate and inappropriate to use Schema? I'm looking for an expansion in details that the Google Developer page doesn't mention. Maybe someone has been using and studying it for awhile?
-
Thats the Json-LD Mark-Up for a person, wich you can use with google like the microdate. It doesn’t matter if you place it in the or the section, Google will have no problem reading the code. It could look like that:
- <script< span="">type="application/ld+json"></script<>
- {
- "@context":"http://schema.org",
- "@type":"Person",
- "address":{
- "@type":"PostalAddress",
- "addressLocality":"Seattle",
- "addressRegion":"WA",
- "postalCode":"98052",
- "streetAddress":"20341 Whitworth Institute 405 N. Whitworth"
- },
- "colleague":[
- "http://www.xyz.edu/students/alicejones.html",
- "http://www.xyz.edu/students/bobsmith.html"
- ],
- "email":"mailto:jane-doe@xyz.edu",
- "image":"janedoe.jpg",
- "jobTitle":"Professor",
- "name":"Jane Doe",
- "telephone":"(425) 123-4567",
- "url":"http://www.janedoe.com"
- }
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
-
Data-vocabulary.org for structured markup in 2019
Hi MOZ friends, One of our clients has used data-vocabulary.org for structured markup. Schema.org says: "If you are already publishing structured data markup and it is already being used by Google, Microsoft, Yandex or Yahoo!, the markup format will generally continue to be supported. Changing to the new markup format could be helpful over time because you will be switching to a standard that is accepted across several companies, but you don't have to do it." Although there is such statement, as schema.org is the common vocabulary in 2019, should I keep it or change it with schema.org? Thanks in advance! 🙂
Technical SEO | | bbop330 -
Product schema with no offer as owner wants to give price per customer
Hi, Trying to markup products for a site that does not show prices. Is there any way to markup a product price when the business model is: 1. customer calls or contacts shop. 2. shop gives a price quote based on level of detail and finish on the product 3. there is no base or top price. Thanks in advance!
Technical SEO | | plahpoy0 -
Micro Data Schema Error - How to solve?
For my Ecommerce site suddenly following errors occurred while I test my homepage in structured data testing tools - Error - image- A value for the image field is required. Name - A value for the image field is required. On right side of tool it's show me - Warning - address - The address field is recommended. Please provide a value if available. pricerange - The priceRange field is recommended. Please provide a value if available. telephone - The telephone field is recommended. Please provide a value if available. On right side of tool it's show me - Please let me know how to solve this errors and warnings? I have implemented schema via micro data. Thanks!
Technical SEO | | adamjack0 -
How to implement schema.org for different hotel rooms types
I'm working on a resort that has different type of rooms available. Does anyone know how to use schema.org to set it a hotel with different hotel room types. I looked at the hotel schema but I did not see any room types. Thanks!
Technical SEO | | ppapola0 -
Which one should I use Schema.org or Microformats.org
Hi, I would like to know which one is better to use Schema.org or Microformats.org My CMS doesn't support Schema.org attributes, I can only use Microformats.org documentation, but I wanted to knwo if Schema.org is better one, so I will change my CMS and use another one.
Technical SEO | | FisnikSylka0 -
Schema.org for category pages
Hi, A long time ago I've added schema.org product syntax to my product detail pages. until today there is no evidence for any rich snippet on my serps. needless to say that testing tool is working ok with reviews ratings prices etc... Will adding rich snippet syntax to category pages(product lists) be any better? Thanks, Asaf
Technical SEO | | AsafY0 -
Hotels Schema.org
I am looking at potentially using some Schema mark up on hotel listing pages. This is for an OTA where lots of hotels from all over the world are available for selection (think hotels.com, booking.com, agoda.com etc) For the itemscope itemtype on say the hotel name should I be defining it as http://schema.org/hotel or http://schema.org/localbusiness For example against the hotel name I would have: Grand Plaza Hanoi I assume its the former, but I was just after some 2nd opinions. Thanks, Ben
Technical SEO | | BenRush1 -
Semantic Web and Schema
Is anyone from SEOmoz planning on writing anything about the Semantic Web and Schema and how they see it impacting SEO?
Technical SEO | | EricVallee340