schemamarkup.wikiThe schema.org and structured data reference

Service

From schemamarkup.wiki, the sourced reference on schema.org and structured data

Schema.org's Service is "a service provided by an organization, e.g. delivery service, print services, etc."[1] It is an Intangible, not a LocalBusiness, so it describes what a business does rather than the business itself.[1] Its key link is provider, "the service provider, service operator, or service performer," which points from the service to the organization or person that performs it.[2] Google's structured data documentation has no Service feature, so a Service node is entity description, not a route to a rich result.[3]

Place in the hierarchy

Service sits at Thing > Intangible > Service, and its direct subtypes are BroadcastService, CableOrSatelliteService, FinancialProduct, FoodService, GovernmentService, Taxi, TaxiService, WebAPI.[1] LocalBusiness types such as LegalService and FinancialService are businesses, not Services, despite the names; LegalService's definition says it "can be described as a provider of one or more Service(s)."[4]

Properties that carry entity meaning

PropertyExpected valuesSchema.org definition (quoted)
providerOrganization, Person"The service provider, service operator, or service performer; the goods producer."[2]
serviceTypeGovernmentBenefitsType, Text"The type of service being offered, e.g. veterans' benefits, emergency relief, etc."[5]
areaServedAdministrativeArea, GeoShape, Place, Text"The geographic area where a service or offered item is provided."[6]
offersDemand, Offer"An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event."[7]
hasOfferCatalogOfferCatalog"Indicates an OfferCatalog listing for this Organization, Person, or Service."[8]
audienceAudience"An intended audience, i.e. a group for whom something was created."[9]
categoryCategoryCode, PhysicalActivityCategory, Text, Thing, URL"A category for the item."[10]
termsOfServiceText, URL"Human-readable terms of service documentation."[11]
isRelatedToProduct, Service"A pointer to another, somehow related product (or multiple products)."[12]
isSimilarToProduct, Service"A pointer to another, functionally similar product (or multiple products)."[13]

serviceArea also appears on Service but is superseded by areaServed.[14] provider differs from seller: provider is the party that performs the service, and "another party (a seller) may offer those services or goods on behalf of the provider."[2]

Linking services to the business

The two directions are provider on the Service and hasOfferCatalog or makesOffer on the business.[2][8][15] On a service page, the WebPage's mainEntity can be the Service and the Service's provider the business's @id, so the page, the service and the business form one connected graph. See Entity graphs on business websites and mainEntity.[16][17]

serviceType takes text, or a GovernmentBenefitsType for government benefits.[5] A site with many services can keep the names consistent by defining them once in a DefinedTermSet and using category to point to a term.[10][18]

What Google documents

Google's search gallery has no Service feature, and its product documentation covers products, not services.[3][19] Google's review snippet documentation lists the types it supports for reviews; Service is not among them.[20] Google's general guidelines still apply to any Service markup: it must be "a true representation of the page content."[21]

Service subtype definitions

Schema.org lists these direct subtypes of Service. Most describe narrow kinds of services, and some, such as FinancialProduct, are more often used for products sold by financial firms than for local services.

TypeSchema.org definition (quoted)
BroadcastService"A delivery service through which content is provided via broadcast over the air or online."[22]
CableOrSatelliteService"A service which provides access to media programming like TV or radio."[23]
FinancialProduct"A product provided to consumers and businesses by financial institutions such as banks, insurance companies, brokerage firms, consumer finance companies, and investment companies which comprise the financial services industry."[24]
FoodService"A food service, like breakfast, lunch, or dinner."[25]
GovernmentService"A service provided by a government organization, e.g. food stamps, veterans benefits, etc."[26]
Taxi"A taxi."[27]
TaxiService"A service for a vehicle for hire with a driver for local travel."[28]
WebAPI"An application programming interface accessible over Web/Internet technologies."[29]

Common mistakes

  • Typing the business as Service. The business is a LocalBusiness or Organization; Service is what it provides.[1]
  • Services without a provider, which leaves the service unconnected to anyone.[2]
  • serviceArea in new markup. Use areaServed.[14]
  • Prices the page does not show. Offers should match visible prices.[21]
  • Review stars on Service markup, a type Google's review snippets do not list.[20]

Example

A fictional service page.

{
  "@context": "https://schema.org",
  "@type": "Service",
  "@id": "https://www.example.com/drain-cleaning#service",
  "name": "Drain cleaning",
  "serviceType": "Drain cleaning",
  "provider": { "@id": "https://www.example.com/#organization" },
  "areaServed": [ { "@type": "City", "name": "Exampleville" } ],
  "offers": { "@type": "Offer", "price": "149.00", "priceCurrency": "USD" },
  "termsOfService": "https://www.example.com/terms"
}

Common questions

Is LegalService a Service?

No. It is a LocalBusiness that can provide Services.[4]

Does Google show Service rich results?

Google documents no Service feature.[3]

What links a Service to the business?

provider.[2]

References

  1. ^ "Service (type)". Schema.org.
  2. ^ "provider (property)". Schema.org.
  3. ^ "Structured data markup that Google Search supports (search gallery)". Google Search Central.
  4. ^ "LegalService (type)". Schema.org.
  5. ^ "serviceType (property)". Schema.org.
  6. ^ "areaServed (property)". Schema.org.
  7. ^ "offers (property)". Schema.org.
  8. ^ "hasOfferCatalog (property)". Schema.org.
  9. ^ "audience (property)". Schema.org.
  10. ^ "category (property)". Schema.org.
  11. ^ "termsOfService (property)". Schema.org.
  12. ^ "isRelatedTo (property)". Schema.org.
  13. ^ "isSimilarTo (property)". Schema.org.
  14. ^ "serviceArea (property)". Schema.org.
  15. ^ "makesOffer (property)". Schema.org.
  16. ^ "mainEntity (property)". Schema.org.
  17. ^ "JSON-LD 1.1, section 4.5 Embedding". World Wide Web Consortium (W3C).
  18. ^ "DefinedTermSet (type)". Schema.org.
  19. ^ "Introduction to Product structured data". Google Search Central.
  20. ^ "Review snippet (Review, AggregateRating) structured data". Google Search Central.
  21. ^ "General structured data guidelines". Google Search Central.
  22. ^ "BroadcastService (type)". Schema.org.
  23. ^ "CableOrSatelliteService (type)". Schema.org.
  24. ^ "FinancialProduct (type)". Schema.org.
  25. ^ "FoodService (type)". Schema.org.
  26. ^ "GovernmentService (type)". Schema.org.
  27. ^ "Taxi (type)". Schema.org.
  28. ^ "TaxiService (type)". Schema.org.
  29. ^ "WebAPI (type)". Schema.org.