GovernmentService

A service provided by a government organization, e.g. food stamps, veterans benefits, etc.

Example eg-0168

Without Markup (source lint)

<div>
NYC Food Service Establishment Permit, issued by Department of Health and Mental Hygiene.
(issued through NYC Food Service Establishment Permit Service; valid in New York for 1 year).
</div>

RDFa (source lint)

<div vocab="https://schema.org/" typeof="GovernmentPermit">
  <span property="name">NYC Food Service Establishment Permit</span>
  <div property="issuedBy" typeof="GovernmentOrganization">
    <span property="name">Department of Health and Mental Hygiene"</span>
  </div>
  <div property="issuedThrough" typeof="GovernmentService">
    <span property="name">NYC Food Service Establishment Permit Service</span>
   </div>
  <div property="validIn" typeof="AdministrativeArea">
    <span property="name">New York</span>
  </div>
  <time property="validFor" datetime="P1Y">1 Year</time>
</div>

microdata (source lint)

<div itemscope itemtype="https://schema.org/GovernmentPermit">
  <span itemprop="name">NYC Food Service Establishment Permit</span>
  <div itemprop="issuedBy" itemscope itemtype="https://schema.org/GovernmentOrganization">
    <span itemprop="name">Department of Health and Mental Hygiene"</span>
  </div>
  <div itemprop="issuedThrough" itemscope itemtype="https://schema.org/GovernmentService">
    <span itemprop="name">NYC Food Service Establishment Permit Service</span>
   </div>
  <div itemprop="validIn" itemscope itemtype="https://schema.org/AdministrativeArea">
    <span itemprop="name">New York</span>
  </div>
  <time itemprop="validFor" datetime="P1Y">1 year</time>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "GovernmentPermit",
  "issuedBy": {
    "@type": "GovernmentOrganization",
    "name": "Department of Health and Mental Hygiene\""
  },
  "issuedThrough": {
    "@type": "GovernmentService",
    "name": "NYC Food Service Establishment Permit Service"
  },
  "name": "NYC Food Service Establishment Permit",
  "validFor": "P1Y",
  "validIn": {
    "@type": "AdministrativeArea",
    "name": "New York"
  }
}
</script>

structured

rdf:type schema:GovernmentPermit
schema:issuedBy
rdf:type schema:GovernmentOrganization
schema:name Department of Health and Mental Hygiene"
schema:issuedThrough
rdf:type schema:GovernmentService
schema:name NYC Food Service Establishment Permit Service
schema:name NYC Food Service Establishment Permit
schema:validFor 1 year
schema:validIn
rdf:type schema:AdministrativeArea
schema:name New York

Example eg-0169

Without Markup (source lint)

This example shows a JSON-LD description of services that do not necessarily have a direct
human-oriented HTML description. It describes a GovernmentService named "Veterans Affairs Emergency Mental Health",
its operator, service area and service details, such as its Veterans Crisis Line (including  phone contact line
hours of operation, language and other details).

RDFa

No example in this format

microdata

No example in this format

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "GovernmentService",
  "name": "Veterans Affairs Emergency Mental Health",
  "serviceType": "Psychiatric Emergency Services",
  "serviceOperator": {
    "@type": "GovernmentOrganization",
    "name": "US Department of Veterans Affairs"
  },
  "areaServed": {
    "@type": "AdministrativeArea",
    "name": "Massachusetts"
  },
  "audience": {
    "@type": "Audience",
    "name": "Veterans"
  },
  "availableChannel": {
    "@type": "ServiceChannel",
    "name": "Urgent Care Clinic",
    "availableLanguage": {
      "@type": "Language",
      "name": "Spanish",
      "alternateName": "es"
    },
    "serviceLocation": {
      "@type": "Hospital",
      "name": "VA Boston -- West Roxbury",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "1400 VFW Parkway",
        "addressLocality": "West Roxbury",
        "addressRegion": "MA",
        "postalCode": "02132"
      }
    }
  }
}
</script>

structured

rdf:type schema:GovernmentService
schema:areaServed
rdf:type schema:AdministrativeArea
schema:name Massachusetts
schema:audience
rdf:type schema:Audience
schema:name Veterans
schema:availableChannel
rdf:type schema:ServiceChannel
schema:availableLanguage
rdf:type schema:Language
schema:alternateName es
schema:name Spanish
schema:name Urgent Care Clinic
schema:serviceLocation
rdf:type schema:Hospital
schema:address
rdf:type schema:PostalAddress
schema:addressLocality West Roxbury
schema:addressRegion MA
schema:postalCode 02132
schema:streetAddress 1400 VFW Parkway
schema:name VA Boston -- West Roxbury
schema:name Veterans Affairs Emergency Mental Health
schema:serviceOperator
rdf:type schema:GovernmentOrganization
schema:name US Department of Veterans Affairs
schema:serviceType Psychiatric Emergency Services