Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Schema.org type do I use to define a service?

How I define a service with schema.org?

For example, A pest control business: "Termite control" -> I think it's not a product ( http://schema.org/Product )

What should I use to define it?

like image 285
Arnaubf Avatar asked Feb 21 '13 08:02

Arnaubf


4 Answers

At http://schema.org/Product it reads (bold emphasis mine):

A product is anything that is made available for sale—for example, a pair of shoes, a concert ticket, or a car. Commodity services, like haircuts, can also be represented using this type.

So I’d say if you sell the "Termite control" service, Product is fine.

Update: The description for Product changed to this:

Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.

So it still includes services.


While there is now also the type Service ("A service provided by an organization, e.g. delivery service, print services, etc."), it misses properties to sell this service, i.e., you can’t reference an Offer and so you can’t denote a price for the service you provide.

Update: A Service can now also have the offers property, so it’s possible to sell/offer a Service. (Thanks for the notice, @Murali KG.)

like image 95
unor Avatar answered Oct 13 '22 20:10

unor


Basically, you can use the service itemtype this way:

<div itemscope itemtype="http://schema.org/Service">

        <img  itemprop="image" src="http://my-image.jpg">
        <div itemprop="name">Service name</div>
        <span itemprop="description">Description of the service</span>
                
</div><!--end of itemscope-->

Unfortunately, service itemtype doesn't allow you to specify as many properties as with Product itemtype, so:

You can also use product itemtype to define a service but, some search engines might not use it if you don't follow their guideline. For instance, Google requires that:

  • the main topic of the page should be a specific product
  • The product should be available for purchase directly on the page
  • price must be included
  • It's not an adult-related products
  • If the product has been reviewed by a single reviewer, the reviewer’s name needs to be a valid name for a Person

See Google's Rich snippets - Products guideline

like image 30
agence web JHN Avatar answered Oct 13 '22 22:10

agence web JHN


I would advise you NOT to use the product schema for a service as there is a property specifically for Services.

like image 4
Thanos Avatar answered Oct 13 '22 21:10

Thanos


I think you should be fine using ProfessionalService as itemtype, because to my best understanding pest control is a professional service.

like image 1
Ákos Nikházy Avatar answered Oct 13 '22 20:10

Ákos Nikházy