X Enterprises
nuxt-x-schema

Service

Schema.org Service JSON-LD component for professional service structured data.

Service

The XSchemaService component injects a <script type="application/ld+json"> tag for service structured data. No visible output — SEO only.

Components

<XSchemaService />

Use on pages describing a professional service offering. When provider is omitted, the component defaults to the app config organization.

<XSchemaService
  name="Web Development"
  description="Custom web application development services"
  service-type="WebDevelopment"
  area-served="Seattle, WA"
/>

Props

PropTypeRequiredDescription
nameStringYesService name
descriptionStringYesService description
serviceTypeStringYesService type identifier
providerOrganizationNoProvider Organization object (defaults to app config organization)
areaServedString | String[]NoGeographic area(s) served
offersOfferNoPricing Offer object
imageString | String[]NoService image URL(s)
urlStringNoService page URL
categoryStringNoService category

AI Context

component: XSchemaService
package: "@xenterprises/nuxt-x-schema"
output: JSON-LD script tag in <head>
use-when: Adding Service structured data on professional service pages
place: In page-level components (pages/ or layouts/), NOT in shared headers
notes:
  - Renderless component — no visible DOM output; purely SEO metadata
  - Injects JSON-LD server-side via useHead — SSR-safe, visible to crawlers on first paint
  - provider defaults to app config organization when omitted
Copyright © 2026