Difference between revisions of "WebSchemas/CivicServices"

From W3C Wiki
Jump to: navigation, search
m (Example markup (microdata))
m (Example markup (microdata))
Line 20: Line 20:
<div itemscope itemtype=”http://schema.org/GovernmentService”>
<div itemscope itemtype=”http://schema.org/GovernmentService”>
<link itemprop=”url” href=”http://on.nyc.gov/fsep” />
<link itemprop=”url” href=”http://on.nyc.gov/fsep” />
<span itemprop=”name”> NYC Food Service Establishment Permit Service</span><div itemprop=”serviceArea” itemscope itemtype=”http://schema.org/AdministrativeArea”>
<span itemprop=”name”> NYC Food Service Establishment Permit Service</span>
<div itemprop=”serviceArea” itemscope itemtype=”http://schema.org/AdministrativeArea”>
<span itemprop=”name”>New York</span>
<span itemprop=”name”>New York</span>

Revision as of 18:18, 27 June 2013

This is an archived WebSchemas proposal CivicServices for schema.org. See Proposals listing for more. Note: active schema.org development is now based at github


This page discusses a proposal extending schema.org to cover various kinds of civic services.

From the document: This document is a proposal by the Google.org Social Impact tem for some extensions of Schema.org schemas to better support the description of public civic services.

Draft proposal

The draft is available as a PDF document.

Example markup (microdata)

The following example is taken from the first draft; it may not track any subsequent drafts linked below.

  1. <div itemscope itemtype=”http://schema.org/GovernmentService”>
  2. <link itemprop=”url” href=”http://on.nyc.gov/fsep” />
  3. <span itemprop=name”> NYC Food Service Establishment Permit Service</span>
  4. <div itemprop=”serviceArea” itemscope itemtype=”http://schema.org/AdministrativeArea”>
  5. <span itemprop=name”>New York</span>
  6. </div>
  7. <div itemprop=”provider”> itemscope itemtype=”http://schema.org/GovernmentOrganization”>
  8. <span itemprop=name”>Department of Health and Mental Hygiene”</span>
  9. </div>
  10. <div itemprop=”audience” itemscope itemtype=”http://schema.org/BusinessAudience”>
  11. <span itemprop=”audienceType”>FoodEstablishment</span>
  12. </div>
  13. <div itemprop=”serviceChannel” itemscope itemtype=”http://schema.org/ServiceChannel”>
  14. <span itemprop=name”>NYC Food Service Web Channel</span>
  15. <link itemprop=”serviceUrl” href=”https://a858-elpaca.nyc.gov/CitizenAccess//>
  16. </div>
  17. <div itemprop=”serviceChannel” itemscope itemtype=”http://schema.org/ServiceChannel”>
  18. <span itemprop=name”>NYC Food Service Physical Channel</span>
  19. <div itemprop=”serviceLocation” itemscope itemtype=”http://schema.org/GovernmentBuilding”>
  20. <span itemprop=name”>DCA Citywide Licensing Center</span>
  21. <div itemprop=”address” itemscope itemtype=”http://schema.org/PostalAddress”>
  22. <span itemprop=”streetAddress”>42 Broadway</span>
  23. <span itemprop=”addressLocality”>New York</span>
  24. <span itemprop=”addressRegion”>NY</span>
  25. <span itemprop=”postalCode”>10004</span>
  26. </div>
  27. <time itemprop=”openingHours” datetime=”M,T,Th,Fr 09:00-17:00”>Mondays, Tuesdays, 
  28. Thursdays, and Fridays 9am-5pm</time>
  29. <time itemprop=”openingHours” datetime=”W 08:30-17:00”>Wednesdays 8:30am-5pm</time>
  30. </div>
  31. </div>
  32. </div>

The example is in Microdata. RDFa is important to many in the govt sector; an RDFa version would look very similar. Roughly, 'itemscope' is not written; 'itemtype' becomes 'typeof', 'itemprop' becomes 'property'.

Related Work

  • W3C e-govt Linked Data group