diff --git a/v2_19_0/CDT-enumerationTypes-v2_19_0.xsd b/v2_19_0/CDT-enumerationTypes-v2_19_0.xsd index 71238b80a6fa5254b2d7b5b70b27cc42c94105b4..bcac57cb29a8dc7dbaf3a72995d130a9edd07273 100644 --- a/v2_19_0/CDT-enumerationTypes-v2_19_0.xsd +++ b/v2_19_0/CDT-enumerationTypes-v2_19_0.xsd @@ -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> diff --git a/v2_19_0/CDT-locationPolicy-v2_19_0.xsd b/v2_19_0/CDT-locationPolicy-v2_19_0.xsd index 0eb304a136419f0b17119cadb874d5038632729e..ea26df19b4e536232b4238f6c91c5931c90d8972 100644 --- a/v2_19_0/CDT-locationPolicy-v2_19_0.xsd +++ b/v2_19_0/CDT-locationPolicy-v2_19_0.xsd @@ -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>