WebSchemas/CivicServices

From W3C Wiki
< WebSchemas
Revision as of 18:18, 27 June 2013 by Danbri (Talk | contribs)

Jump to: navigation, search


This is a WebSchemas proposal CivicServices for schema.org. See Proposals listing for more. Status: Discussion



Overview

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