Service Schema · Unhead

[Unhead Home](https://unhead.unjs.io/ "Home")

- [Docs](https://unhead.unjs.io/docs/solid-js/head/guides/get-started/overview)
- [Tools](https://unhead.unjs.io/tools)
- [Learn](https://unhead.unjs.io/learn/guides/what-is-capo)

[Releases](https://unhead.unjs.io/releases)

Search…```k`` /`

[Unhead on GitHub](https://github.com/unjs/unhead)

[User Guides](https://unhead.unjs.io/docs/solid-js/head/guides/get-started/overview)

[API](https://unhead.unjs.io/docs/solid-js/head/api/get-started/overview)

[Releases](https://unhead.unjs.io/docs/solid-js/releases/v3)

Solid.js

- [Switch to Solid.js](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/service)
- [Switch to TypeScript](https://unhead.unjs.io/docs/typescript/schema-org/api/schema/service)
- [Switch to Vue](https://unhead.unjs.io/docs/vue/schema-org/api/schema/service)
- [Switch to React](https://unhead.unjs.io/docs/react/schema-org/api/schema/service)
- [Switch to Svelte](https://unhead.unjs.io/docs/svelte/schema-org/api/schema/service)
- [Switch to Angular](https://unhead.unjs.io/docs/angular/schema-org/api/schema/service)
- [Switch to Nuxt](https://unhead.unjs.io/docs/nuxt/schema-org/api/schema/service)

v3 (stable)

Schema.org

- [Discord Support](https://discord.com/invite/275MBUBvgP)

- Composables
  - [`useSchemaOrg()`](https://unhead.unjs.io/docs/solid-js/schema-org/api/composables/use-schema-org)
- Nodes
  - [Article](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/article)
  - [Book Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/book)
  - [Breadcrumb Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/breadcrumb)
  - [Comment Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/comment)
  - [Course Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/course)
  - [Dataset Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/dataset)
  - [Event Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/event)
  - [Food Establishment Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/food-establishment)
  - [HowTo](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/how-to)
  - [Image Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/image)
  - [ItemList](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/item-list)
  - [JobPosting](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/job-posting)
  - [LocalBusiness](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/local-business)
  - [Movie Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/movie)
  - [Music Album Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/music-album)
  - [Music Group Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/music-group)
  - [Music Playlist Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/music-playlist)
  - [Music Recording Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/music-recording)
  - [Organization](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/organization)
  - [Person Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/person)
  - [Podcast Episode Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/podcast-episode)
  - [Podcast Season Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/podcast-season)
  - [Podcast Series Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/podcast-series)
  - [Product Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/product)
  - [Question Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/question)
  - [Recipe Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/recipe)
  - [Service Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/service)
  - [SoftwareApplication](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/software-app)
  - [TV Episode Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/tv-episode)
  - [TV Season Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/tv-season)
  - [TV Series Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/tv-series)
  - [Video Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/video)
  - [WebPage Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/webpage)
  - [WebSite Schema](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/website)

Schema

# Service Schema

[Copy for LLMs](https://raw.githubusercontent.com/unjs/unhead/refs/heads/main/docs/schema-org/5.api/9.schema/service.md)

Last updated Jan 19, 2026 by [Harlan Wilton](https://github.com/harlan-zw) in [docs: sync](https://github.com/unjs/unhead/commit/d2f86454774aa60706628b46a850653e1e4d56d9).

On this page

- [Schema.org Service](#schemaorg-service)
- [Useful Links](#useful-links)
- [Required properties](#required-properties)
- [Recommended Properties](#recommended-properties)
- [Defaults](#defaults)
- [Sub-Types](#sub-types)
- [Examples](#examples)
- [Types](#types)
- [Related Schemas](#related-schemas)

## [Schema.org Service](#schemaorg-service)

**Type**: `defineService(input?: Service)`

Describes a service offering (distinct from physical products).

## [Useful Links](#useful-links)

- [Service - Schema.org](https://schema.org/Service)

## [Required properties](#required-properties)

- **name** `string`The name of the service.

## [Recommended Properties](#recommended-properties)

- **serviceType** `string`The type of service (e.g., "web design", "plumbing", "consulting", "legal advice").
- **provider** `NodeRelations<Person | Organization | string>`Who provides the service. Resolves to [Person](https://unhead.unjs.io/docs/schema-org/api/schema/person) or [Organization](https://unhead.unjs.io/docs/schema-org/api/schema/organization).
- **areaServed** `string`Geographic area where the service is provided (e.g., "United States", "San Francisco", "Global").
- **offers** `NodeRelations<Offer>`Pricing information for the service. Resolves to Offer.

## [Defaults](#defaults)

- **@type**: `Service`
- **@id**: `${canonicalUrl}#service`
- **description**: `currentRouteMeta.description` _(see: [Schema.org Params](https://unhead.unjs.io/docs/schema-org/guides/core-concepts/params))_
- **image**: `currentRouteMeta.image` _(see: [Schema.org Params](https://unhead.unjs.io/docs/schema-org/guides/core-concepts/params))_

## [Sub-Types](#sub-types)

- `BroadcastService`
- `CableOrSatelliteService`
- `FinancialService`
- `FoodService`
- `GovernmentService`
- `TaxiService`
- `Telecom`

You can specify a subtype using the `@type` property.

## [Examples](#examples)

### [Minimal](#minimal)

```
defineService({
  name: 'Web Design Services',
  serviceType: 'Web Design',
})
```

### [With Pricing](#with-pricing)

```
defineService({
  name: 'Professional Web Design',
  serviceType: 'Web Design',
  description: 'Custom website design and development services',
  provider: {
    name: 'Design Studio Inc.',
  },
  areaServed: 'United States',
  offers: {
    price: 5000,
    priceCurrency: 'USD',
    description: 'Starting price for basic website',
  },
})
```

### [Complete](#complete)

```
defineService({
  'name': 'Professional Consulting Services',
  '@type': 'FinancialService',
  'serviceType': 'Financial Consulting',
  'description': 'Expert financial advisory and consulting for businesses',
  'url': 'https://example.com/services/consulting',
  'provider': {
    name: 'Expert Consultants LLC',
    url: 'https://example.com',
  },
  'areaServed': ['United States', 'Canada', 'United Kingdom'],
  'category': 'Consulting',
  'image': 'https://example.com/services/consulting-hero.jpg',
  'offers': {
    price: 250,
    priceCurrency: 'USD',
    description: 'Hourly consulting rate',
  },
  'aggregateRating': {
    ratingValue: 4.8,
    ratingCount: 120,
  },
  'review': [
    {
      author: 'Jane Smith',
      reviewRating: 5,
      reviewBody: 'Excellent service, highly recommended!',
    },
  ],
  'termsOfService': 'https://example.com/terms',
  'slogan': 'Your success is our mission',
})
```

## [Types](#types)

```
export interface ServiceChannel {
  '@type'?: 'ServiceChannel'
  'serviceUrl'?: string
  'servicePhone'?: string
  'serviceLocation'?: string
  'availableLanguage'?: string | string[]
}

type ValidServiceSubTypes = 'Service' | 'BroadcastService' | 'CableOrSatelliteService' | 'FinancialService' | 'FoodService' | 'GovernmentService' | 'TaxiService' | 'Telecom'

export interface ServiceSimple extends Thing {
  '@type'?: Arrayable<ValidServiceSubTypes>
  'name': string
  'description'?: string
  'serviceType'?: string
  'provider'?: NodeRelation<Person | Organization>
  'areaServed'?: string | unknown
  'availableChannel'?: ServiceChannel | ServiceChannel[]
  'audience'?: unknown
  'category'?: string | string[]
  'hasOfferCatalog'?: unknown
  'offers'?: NodeRelations<Offer>
  'aggregateRating'?: NodeRelation<AggregateRating>
  'review'?: NodeRelations<Review>
  'image'?: NodeRelations<string | ImageObject>
  'logo'?: NodeRelations<string | ImageObject>
  'url'?: string
  'termsOfService'?: string
  'slogan'?: string
  'brand'?: NodeRelation<Organization>
}
```

## [Related Schemas](#related-schemas)

- [Organization](https://unhead.unjs.io/docs/schema-org/api/schema/organization) - Service provider
- [LocalBusiness](https://unhead.unjs.io/docs/schema-org/api/schema/local-business) - Service location
- [Product](https://unhead.unjs.io/docs/schema-org/api/schema/product) - Related products

[Edit this page](https://github.com/unjs/unhead/edit/main/docs/schema-org/5.api/9.schema/service.md)

[Markdown For LLMs](https://raw.githubusercontent.com/unjs/unhead/refs/heads/main/docs/schema-org/5.api/9.schema/service.md)

Did this page help you?

[Recipe Schema Use defineRecipe() to add Recipe structured data. Enable rich snippets with cooking time, ingredients, nutrition, and step-by-step instructions in search.](https://unhead.unjs.io/docs/schema-org/api/schema/recipe) [SoftwareApplication Implement SoftwareApplication structured data with Unhead. JSON-LD examples for app listings, ratings, pricing, and Google rich results.](https://unhead.unjs.io/docs/schema-org/api/schema/software-app)

On this page

- [Schema.org Service](#schemaorg-service)
- [Useful Links](#useful-links)
- [Required properties](#required-properties)
- [Recommended Properties](#recommended-properties)
- [Defaults](#defaults)
- [Sub-Types](#sub-types)
- [Examples](#examples)
- [Types](#types)
- [Related Schemas](#related-schemas)

[GitHub](https://github.com/unjs/unhead) [ Discord](https://discord.com/invite/275MBUBvgP)

[ /llms.txt](https://unhead.unjs.io/llms.txt)

[Part of the UnJS ecosystem](https://unjs.io/)

### Head Management

- [Getting Started](https://unhead.unjs.io/docs/solid-js/head/guides/get-started/overview)
- [useHead](https://unhead.unjs.io/docs/solid-js/head/api/composables/use-head)
- [useSeoMeta](https://unhead.unjs.io/docs/solid-js/head/api/composables/use-seo-meta)
- [useHeadSafe](https://unhead.unjs.io/docs/solid-js/head/api/composables/use-head-safe)
- [useScript](https://unhead.unjs.io/docs/solid-js/head/api/composables/use-script)

### Schema.org

- [Getting Started](https://unhead.unjs.io/docs/solid-js/schema-org/guides/get-started/overview)
- [useSchemaOrg](https://unhead.unjs.io/docs/solid-js/schema-org/api/composables/use-schema-org)
- [Nodes](https://unhead.unjs.io/docs/solid-js/schema-org/guides/core-concepts/nodes)
- [Recipes](https://unhead.unjs.io/docs/solid-js/schema-org/guides/recipes/identity)

### Guides

- [Titles](https://unhead.unjs.io/docs/solid-js/head/guides/core-concepts/titles)
- [Streaming SSR](https://unhead.unjs.io/docs/solid-js/head/guides/core-concepts/streaming)
- [DOM Events](https://unhead.unjs.io/docs/solid-js/head/guides/core-concepts/dom-event-handling)
- [Plugins](https://unhead.unjs.io/docs/solid-js/head/guides/plugins/template-params)

### Tools

- [Meta Tag Generator](https://unhead.unjs.io/tools/meta-tag-generator)
- [OG Image Generator](https://unhead.unjs.io/tools/og-image-generator)
- [Schema.org Generator](https://unhead.unjs.io/tools/schema-generator)
- [Capo.js Analyzer](https://unhead.unjs.io/tools/capo-analyzer)

### Articles

- [What is Capo.js?](https://unhead.unjs.io/learn/guides/what-is-capo)

### Research

- [State of <head> in 2026](https://unhead.unjs.io/learn/research/state-of-head-2026)
- [Streaming Head Performance](https://unhead.unjs.io/learn/research/streaming-head-performance)
- [Capo.js Performance Research](https://unhead.unjs.io/learn/research/capo-performance-research)

Copyright © 2025-2026 Harlan Wilton - [MIT License](https://github.com/unjs/unhead/blob/main/license)