<?xml version="1.0"?>
<!--P3P Policy written 23 July 2004.  Meant to model a policy that a location based services provider would offer its customers.  Compare to EPAL Policy.-->

<policies xmlns:xs="http://www.w3.org/2001/XMLSchema"
	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	  xmlns="http://www.w3.org/2002/01/p3pv1"
      xmlns:p3p="http://www.w3.org/2002/01/P3Pv1">

<!--Data schema for location based service-->

<DATASCHEMA xmlns="http://www.w3.org/2002/01/P3Pv1">

<datastruct name="location.datetime" short-description="Date/Time observed" structref="http://www.w3.org/TR/P3P/base#date">
</datastruct>

<datastruct name="location.gps.latitude" short-description="Latitude">
<categories><location/></categories>
</datastruct>

<datastruct name="location.gps.longitude" short-description="Longitude">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.roomnumber" short-description="Room Number">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.building" short-description="Building name">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.street" short-description="Street address" structref="http://www.w3.org/TR/P3P/base#postal.street">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.city" short-description="City" structref="http://www.w3.org/TR/P3P/base#postal.city">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.county" short-description="County">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.postalcode" short-description="Postal code" structref="http://www.w3.org/TR/P3P/base#postal.postalcode">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.stateprov" short-description="State/Province" structref="http://www.w3.org/TR/P3P/base#postal.stateprov">
<categories><location/></categories>
</datastruct>

<datastruct name="location.civil.country" short-description="Country" structref="http://www.w3.org/TR/P3P/base#postal.country">
<categories><location/></categories>
</datastruct>

</DATASCHEMA>

<policy discuri="http://www.example.com/English-privacy.txt" name="AdLoc">

<entity>
<data-group>
<DATA ref="#business.name">The Testing Company</DATA>
<DATA ref="#business.contact-info.postal.street">200 South 33rd Street</DATA>
<DATA ref="#business.contact-info.postal.city">Philadelphia</DATA>
<DATA ref="#business.contact-info.postal.stateprov">PA</DATA>
<DATA ref="#business.contact-info.postal.country">USA</DATA>
<DATA ref="#business.contact-info.postal.postalcode">19104</DATA>
<DATA ref="#business.organization">University of Pennsylvania</DATA>
<DATA ref="#business.contact-info.online.uri">http://www.adloc.example.com</DATA>
</data-group>
</entity>

<access>
<all/>
</access>

<statement>
<consequence>This policy defines obligations and rules for some aspects of a location based service.
(1) It allows messages to be sent to a user but requires the user to be paid five cents for any advertising message
(2) It allows transfer of location information about the user provided that the information isn't more accurate than city information and that company receiving the data has a privacy policy that is compliant with some standard.
(3)It allows location information to be stored by the company for 24 hours at most.</consequence>

<purpose>
<Contact required="opt_in"/>
<Tailoring/>
<Pseudo-analysis/>
<Pseudo-decision/>
</purpose>

<recipient>
<ours/>
<same required="opt_in"/>
</recipient>


<retention>
<business-practices/>
</retention>

<data-group base="">
<DATA ref="#user.name.given"/>
<DATA ref="#user.name.prefix"/>
<DATA ref="#user.name.family"/>
<DATA ref="#user.login.id"/>

<DATA ref="#location.datetime"/>
<DATA ref="#location.gps.latitude"/>
<DATA ref="#location.gps.longitude"/>
<DATA ref="#location.civil.roomnumber"/>
<DATA ref="#location.civil.building"/>
<DATA ref="#location.civil.street"/>
<DATA ref="#location.civil.city"/>
<DATA ref="#location.civil.county"/>
<DATA ref="#location.civil.postalcode"/>
<DATA ref="#location.civil.stateprov"/>
<DATA ref="#location.civil.country"/>
</data-group>

</statement>

</policy>
</policies>