WebSchemas/CivicServices

From W3C Wiki


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



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 team 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.

<div itemscope itemtype=”http://schema.org/GovernmentService”>
 <link itemprop=”url” href=”http://www.casamyrna.org/index.php?id=29:safelink” />
 <span itemprop=”name”>SafeLink Domestic Violence Hotline</span>
<div itemprop=”serviceArea” itemscope itemtype=”http://schema.org/AdministrativeArea”>
<span itemprop=”name”>Massachusetts</span>
</div>
<div itemprop=”provider”> itemscope itemtype=”http://schema.org/GovernmentOrganization”>
<span itemprop=”name”>Massachusetts Executive Office of Health and Human Services”</span>
</div>
<div itemprop=”operator”> itemscope itemtype=”http://schema.org/Organization”>
<span itemprop=”name”>Casa Myrna”</span>
<link itemprop=”url” href=”http://www.casamyrna.org”>
</div>
<div itemprop=”serviceChannel” itemscope itemtype=”http://schema.org/ServiceChannel”>
<span itemprop=”name”>Safelink Hotline</span>
<div itemprop=”servicePhone” itemscope itemtype=”http://schema.org/ContactPoint”>
	<span itemprop=”telephone”>(877)785-2020</span>
</div>
<div itemprop=”servicePhone” itemscope itemtype=”http://schema.org/ContactPoint”>
	<span itemprop=”contactType”>TTY</span>
	<span itemprop=”telephone”>(877)521-2601</span>
</div>
<div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
	<span itemprop=”name”>English</span>
</div>
<div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
	<span itemprop=”name”>Español</span>
</div>
<div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
	<span itemprop=”name”>Portugues</span>
</div>
<div itemprop=”availableLanguage” itemscope itemtype=”http://schema.org/Language”>
	<span itemprop=”name”>Kreyol</span>
</div>
</div>
</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