WebSchemas/CivicServices

From W3C Wiki
< WebSchemas
Revision as of 11:53, 5 August 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://www.casamyrna.org/index.php?id=29:safelink” />
  3. <span itemprop=name”>SafeLink Domestic Violence Hotline</span>
  4. <div itemprop=”serviceArea” itemscope itemtype=”http://schema.org/AdministrativeArea”>
  5. <span itemprop=name”>Massachusetts</span>
  6. </div>
  7. <div itemprop=”provider”> itemscope itemtype=”http://schema.org/GovernmentOrganization”>
  8. <span itemprop=name”>Massachusetts Executive Office of Health and Human Services”</span>
  9. </div>
  10. <div itemprop=”operator”> itemscope itemtype=”http://schema.org/Organization”>
  11. <span itemprop=name”>Casa Myrna”</span>
  12. <link itemprop=”url” href=”http://www.casamyrna.org”>
  13. </div>
  14. <div itemprop=”serviceChannel” itemscope itemtype=”http://schema.org/ServiceChannel”>
  15. <span itemprop=name”>Safelink Hotline</span>
  16. <div itemprop=”servicePhone” itemscope itemtype=”http://schema.org/ContactPoint”>
  17. 	<span itemprop=”telephone”>(877)785-2020</span>
  18. </div>
  19. <div itemprop=”servicePhone” itemscope itemtype=”http://schema.org/ContactPoint”>
  20. 	<span itemprop=”contactType”>TTY</span>
  21. 	<span itemprop=”telephone”>(877)521-2601</span>
  22. </div>
  23. <div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
  24. 	<span itemprop=name”>English</span>
  25. </div>
  26. <div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
  27. 	<span itemprop=name”>Español</span>
  28. </div>
  29. <div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
  30. 	<span itemprop=name”>Portugues</span>
  31. </div>
  32. <div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
  33. 	<span itemprop=name”>Kreyol</span>
  34. </div>
  35. </div>
  36. </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