FAQ Database Discussion Community


Opening hours go over midnight

schema.org,microdata
Is it possible to set an opening time which goes, for example, from 22:00 to 03:00? It’s not defined in the description of Schema.org’s openingHours. If it’s not working with openingHours, does it work with the properties opens/closes from OpeningHoursSpecification? For example like this: <div itemprop="openingHoursSpecification" itemscope itemtype="http://schema.org/OpeningHoursSpecification">Mo, <link itemprop="dayOfWeek"...

Is there a Schema.org type for SaaS or subscriptions?

saas,schema.org
We sell a Software as a Service with a monthly subscription, I’m trying to figure out if we can provide metadata through Schema.org’s specifications. I have been concidering products, but it doesn’t seem to support subscription costs. For products, Google seem to have e-commerce physical object-type stuff in mind. There...

Structured data not being picked up on telephone number

html5,schema.org,microdata,google-rich-snippets,structured-data
I have the following snippet of code in a website. When I run this through the Google Structured Data Testing Tool, it doesn’t pick up the phone number. I’m not sure where I’m going wrong: <div class="telephone-number" itemscope itemtype="http://schema.org/Organization"> <p>Call Us: <a itemprop="telephone" href="tel:07749918143">07749 918 143</a></p> </div> The error generated...

Schema.org, correct Attributes for a School Undergraduate Program

schema.org,rdfa
I am unsure as to how I should attribute a school's programs. I need to denote the top level, so Graduate vs. Undergraduate and then subs of those items, so Graduate -> Art or Undergraduate -> Java Programming. I am assuming I would be using Thing > Organization > EducationalOrganization...

Why is the schema.org JSON-LD representation so small?

schema.org,json-ld
When requesting the schema.org vocabulary in JSON-LD form (which can be accomplished via the following request headers): Accept: application/ld+json, application/json;q=0.9, application/javascript;q=0.5, text/javascript;q=0.5, text/plain;q=0.2, */*;q=0.1 The response document (snipped included at the bottom) appears to be very small and incomplete at first blush. It only lists a few attributes, and does...

Child properties of Schema.org property

seo,semantic-web,schema.org,microdata,google-rich-snippets
I've been trying to figure out this riddle from a day now. Lets say that we have a TV Episode as following, <main itemscope itemtype="https://schema.org/TVEpisode"> <h1> <a itemprop="url" href="self.html"> Pokemon - <span itemprop="episodeNumber">88</span> </a> </h1> <h2 itemprop="name">In the Pink</h2> <p>Source: <span itemprop="partOfSeries">Pokemon</span> <span itemprop="partOfSeason">Orange Islands</span> </p> </main> Now the problem...

Schema.org Organization: url, logo in one place and social links in another

schema.org,microdata
So I just came across the 'sameAs' for schema.org's organization type which lets you link your social profiles. My problem is my url and logo are in one spot (header) while the social links are in other (footer). <div class="container custom-top" itemscope itemtype="http://schema.org/Organization"> <a class="custom-logo" itemprop="url" href="/"> <img itemprop="logo" alt="sitename"...

How to model directories and files using schema.org types with JSON-LD syntax?

schema.org,json-ld
I'm trying to model the concept of folders (or directories) and files. Folders can contain files, or other folders (arbitrary nested recursive structure, like on your typical filesystem). I would ideally like to start with a schema.org context and base type, and extend that to represent these entities. For various...

Write Microdata just with and

html5,schema.org,microdata
How to write this Microdata code <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <span itemprop="ratingValue">4.6</span> ( <span itemprop="ratingCount">8864</span> ratings ) </div> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> Price: $<span itemprop="price">1.00</span> <meta itemprop="priceCurrency" content="USD" /> </div> as <link …> or <meta …>? I do not have HTML tag in my page....

Define extra properties for an existing class in RDFS?

semantic-web,ontology,schema.org,rdfs
I want to create a RDFS schema about venue info which contains for example: address info and xxx info. I find another schema about it:https://schema.org/Place. It contains more properties about address info but no info about xxx. So Should I make my schema venue as a subclass of https://schema.org/Place and...

Content-Type for Email Markup Actions

email,mime-types,content-type,schema.org,google-schemas
I've been looking at email Actions (which apparently are in a process of being standardized), and considering implementing these for an application of mine. However, the entire documentation seems to be missing the mime-type to define for the message part that includes this json-ld metadata. For example, gpg signatures are...

Schema.org mandatory fields and the time needed until Google shows changes

seo,schema.org,google-rich-snippets
I have implemented Schema.org (using Microdata) inside my product pages and when I check Google Webmaster Tools it is crawled by Googlebot and interpreted successfully. The point is I have not implemented some properties inside Product type like brand. I need to know whether there is some subset of all...

redefine and declare property in RDFS

semantic-web,schema.org,rdfs
I want to create a RDFS schema about venue info which contains for example: address info. I find another schema about it:https://schema.org/Place which has the property address info. The first question is can I declare the Venue also has the property of address? I already know that I can use...

Does Google not support rich snippets for reviews of the schema.org type VideoGame?

html5,schema.org,microdata,rich-snippets,google-rich-snippets
When you search for "site:videochums.com/review", some reviews no longer have rich snippets. I recently changed the reviews to include the type "VideoGame" as opposed to what I had before; "SoftwareApplication". Are the rich snippets not showing because Google doesn't support VideoGame? I tried the Structured Data Testing Tool and everything...

Setting the service details for several reviews with structured data

html,schema.org,microdata,structured-data
I'm doing up a testimonials page and recently I have been utilising structured data to help SE's find the reviews more easily; as per the review information found. Now, normally if I was doing one review I would do something like this: <div itemscope itemtype="http://schema.org/Review"> <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Service"> <span...

SPARQL queries for data-vocabulary.org

sparql,schema.org,vocabulary
I am using SPARQL queries to query the data that is marked up using the Schema.org vocabulary. I see that some sites are still using Data-Vocabulary.org for their mark up. Can I just replace the schema.org with data-vocabulary.org in my SPARQL queries to make the queries work? Is it only...

Can I have multiple images marked up in a schema.org ImageObject?

html5,schema.org,microdata
In an HTML5 figure element, you can have multiple images inside. However, if you have the figure marked up as an ImageObject, can you mark up all the images inside of the figure with itemprop="contentUrl" or should only the first be marked up?

Structured markup adding models to product data

schema.org,microdata
I have a question regarding the correct way of using structured markup (Microdata / Schema.org) for the situation where I have a main overview product and then, within that, a list of models with separate prices and a custom attribute. Simplified example: <div class="mainproduct" itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name">Product Name</h1> <p...

Is it good to use ItemPage (schema.org) to my courses?

webpage,schema.org
I'm describing a site for distance education with schema.org and JSON. Any pages are with this: <body itemscope itemtype="http://schema.org/WebPage"> but I have many pages for every course - German course, Economics course, Hairdressing course etc. (Product pages) and I was described them with <body itemscope itemtype="http://schema.org/ItemPage"> How is better to...

Classifying chemical raw materials to introduce in Schema.org

schema.org
I should introduce the products of a company that creates chemical, mineral and agricultural raw materials. To explain more clearly, some examples are Ammonium Sulfate (as an agricultural product), Phosphate (as Minerals) and Sulphuric acid as a chemical raw material. Reviewing http://schema.org/Product, http://schema.org/Thing, https://schema.org/docs/meddocs.html and also https://schema.org/MedicalEntity, I don't know...

Enabling Google Sitelinks Search Box

schema.org,google-rich-snippets,json-ld
I want to enable Google Sitelinks Search Box for a website. The point is its custom search page is implemented by hash fragment so the JSON-LD data snippet is like this: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "name" : "my site", "alternateName" : "example.com", "url": "http://www.example.com/", "potentialAction": { "@type":...

GSA: microdata gets truncated

schema.org,microdata,google-search-appliance
I'm feeding the data of into Google Search Appliance. My feed contains HTML documents enchanced with Microdata from schema.org (specifically this). To my surprise: the search results aren't any different to the ones I receive without microdata enhancement in place, while using test tool, I'm seeing that GSA cuts the...

Which Schema.org property should I use for related articles, quizzes, stories? [closed]

html5,semantic-markup,schema.org,microdata
So there is a quiz & stories website, and on the right or bottom side of the screen (while you taking a quiz or read a story) there should be some lists of SIMILAR items, so the user can jump around at any time. Examples, for story reader section (similar...

Microdata/Schema.org/SEO: How to properly set a ContactPoint

html,seo,schema.org,microdata
After adding microdata to a page, I usually go to: https://developers.google.com/webmasters/structured-data/testing-tool/ to test it out and to make sure there's nothing missing. I am getting the following error: "ContactPoint must be attached to a parent with a declared type" I am not sure what I am missing...? Sample HTML <div...

Is it okay to use same schema.org markup twice on one page?

schema.org,microdata,rich-snippets,structured-data
On a product page I have two aggregated ratings for one product at different places, which means they contain identical information. I want to have them twice on that page due to ux reasons, but I'm not sure if I can markup them with schema.org everytime or if this would...

Can't get Google Now card to trigger from email

html,email,schema.org,google-now,json-ld
I've followed the tutorial here: https://developers.google.com/schemas/tutorials/google-now-cards and I cannot get an event card to show up in my google now. I have noticed that some of the test emails I sent yesterday using this link http://gmail-actions.appspot.com/ (as suggested by the tutorial) have correctly showed the "Modify Reservation" button in Gmail...

Using schema.org/Product image on a non image element

seo,prestashop,product,schema.org,microdata
I am editing a Prestashop installation and have a slightly odd situation. In PS when you add a colour attribute to a product it shows an <a> tag with a background colour to show the colour choices. In the shop I am building for an art supplier, we are having...

Schema.org's WebSite vs WebPage

html5,seo,schema.org
I was reading Google documentation on how to impletement Sitelinks Search Box. In the example, they use itemscope itemtype="http://schema.org/WebSite" to implement sub-properties like potentialAction, etc. However, after reading the schema documentation CreativeWork it looks to me that WebSite is inferior to WebPage. They inherit the same properites from CreativeWork WebPage...

Site name in Google search results for multi-language websites

html,seo,schema.org,google-rich-snippets
Using Schema.org, I can set the name for my website so it’s visible in Google Search: https://developers.google.com/structured-data/site-name Example: <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "WebSite", "name" : "Your WebSite Name", "alternateName" : "An alternative name for your WebSite", "url" : "http://www.your-site.com" } </script> What if I have multi-language...

How do you use link text as value in schema.org value?

html,metadata,schema.org,microdata
I'm trying to markup some HTML with schema.org microdata, however I'm getting an issue with my markup: Here's my current HTML: <div> <h1> <a href="example.com/1234">The name is here</a> <small>(Some extra info)</small> </h1> Tons more content about the thing </div> What I want to do is describe the existence of the...

Schema.org - JSON-LD - Where to Place?

schema.org,json-ld
I am looking to use JSON-LD for schema on a website. (Schema meaning schema.org data.) I know how to write the data but my question is is there a prefered location in my code to insert this data? In other words, should the JSON-LD always be in the head, body,...

Best JSON-LD practices: using multiple