Commit a6f44af7 authored by Wolfgang Granzow's avatar Wolfgang Granzow

Changes agreed at PRO#37/TP#37 for Rel-2

See deteiled list of changes in PRO-2018-0238-PRO37_changes_of_XML_schemas_to_align_with_TS-0004
parent 01d57b43
......@@ -1220,5 +1220,33 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="locationInformationType">
<xs:annotation>
<xs:documentation>Used in the locationInformationType attribute of the locationPolicy resource</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<!-- Position fix -->
<xs:enumeration value="1" />
<!-- Geofence event -->
<xs:enumeration value="2" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="geofenceEventCriteria">
<xs:annotation>
<xs:documentation>Used in the geofenceEventCriteria attribute of the locationPolicy resource</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<!-- Entering -->
<xs:enumeration value="1" />
<!-- Leaving -->
<xs:enumeration value="2" />
<!-- Inside -->
<xs:enumeration value="3" />
<!-- Outside -->
<xs:enumeration value="4" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
......@@ -38,12 +38,15 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element name="locationSource" type="m2m:locationSource" />
<xs:element name="locationInformationType" type="m2m:locationInformationType" />
<xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" />
<xs:element name="locationTargetID" type="m2m:locationTargetID" minOccurs="0" />
<xs:element name="locationServer" type="xs:anyURI" minOccurs="0" />
<xs:element name="locationContainerID" type="xs:anyURI" />
<xs:element name="locationContainerName" type="xs:string" minOccurs="0" />
<xs:element name="locationStatus" type="xs:string" />
<xs:element name="geographicalTargetArea" type="xs:anyType" minOccurs="0" />
<xs:element name="geofenceEventCriteria" type="m2m:geofenceEventCriteria" minOccurs="0" />
<!-- Child Resources -->
<xs:choice minOccurs="0" maxOccurs="1">
......@@ -66,12 +69,15 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element name="locationSource" type="m2m:locationSource" minOccurs="0" />
<xs:element name="locationInformationType" type="m2m:locationInformationType" minOccurs="0" />
<xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" />
<xs:element name="locationTargetID" type="m2m:locationTargetID" minOccurs="0" />
<xs:element name="locationServer" type="xs:anyURI" minOccurs="0" />
<xs:element name="locationContainerID" type="xs:anyURI" minOccurs="0" />
<xs:element name="locationContainerName" type="xs:string" minOccurs="0" />
<xs:element name="locationStatus" type="xs:string" minOccurs="0" />
<xs:element name="geographicalTargetArea" type="xs:anyType" minOccurs="0" />
<xs:element name="geofenceEventCriteria" type="m2m:geofenceEventCriteria" minOccurs="0" />
<!-- No Child Resources -->
</xs:sequence>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment