From 4d1856b25467de5389c7cc02bebc3b1ba0c9db4c Mon Sep 17 00:00:00 2001 From: Wolfgang Granzow <wgranzow@qti.qualcomm.com> Date: Tue, 10 Oct 2017 01:20:07 +0200 Subject: [PATCH] Rel-2 changes agreed at PRO#31 See PRO-2017-0298 for a detailed description of the changes --- v2_14_0/CDT-commonTypes-v2_14_0.xsd | 16 ++++++++++++++++ v2_14_0/CDT-enumerationTypes-v2_14_0.xsd | 2 ++ v2_14_0/CDT-locationPolicy-v2_14_0.xsd | 4 ++-- v2_14_0/CDT-request-v2_14_0.xsd | 2 +- v2_14_0/CDT-timeSeriesInstance-v2_14_0.xsd | 2 ++ v2_14_0/CDT-token-v2_14_0.xsd | 11 ++--------- 6 files changed, 25 insertions(+), 12 deletions(-) diff --git a/v2_14_0/CDT-commonTypes-v2_14_0.xsd b/v2_14_0/CDT-commonTypes-v2_14_0.xsd index cfe2407..6599bff 100644 --- a/v2_14_0/CDT-commonTypes-v2_14_0.xsd +++ b/v2_14_0/CDT-commonTypes-v2_14_0.xsd @@ -392,6 +392,22 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR </xs:restriction> </xs:simpleType> + <xs:simpleType name="locationTargetID"> + <xs:union> + <xs:simpleType> + <xs:restriction base='m2m:nodeID' /> + </xs:simpleType> + <xs:simpleType> + <xs:restriction base='m2m:externalID' /> + </xs:simpleType> + <xs:simpleType> + <xs:restriction base="xs:string" > + <xs:pattern value="([0-9]*)" /> + </xs:restriction> + </xs:simpleType> + </xs:union> + </xs:simpleType> + <!--********************** --> <!-- oneM2M Complex Types --> <!--********************** --> diff --git a/v2_14_0/CDT-enumerationTypes-v2_14_0.xsd b/v2_14_0/CDT-enumerationTypes-v2_14_0.xsd index 2f0bffc..06f2b13 100644 --- a/v2_14_0/CDT-enumerationTypes-v2_14_0.xsd +++ b/v2_14_0/CDT-enumerationTypes-v2_14_0.xsd @@ -696,6 +696,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:documentation>This is used for [software], [firmware] resources.</xs:documentation> </xs:annotation> <xs:restriction base="xs:integer"> + <!-- Uninitialzed --> + <xs:enumeration value="0" /> <!-- Successful --> <xs:enumeration value="1" /> <!-- Failure --> diff --git a/v2_14_0/CDT-locationPolicy-v2_14_0.xsd b/v2_14_0/CDT-locationPolicy-v2_14_0.xsd index 719ebd8..77f7dc3 100644 --- a/v2_14_0/CDT-locationPolicy-v2_14_0.xsd +++ b/v2_14_0/CDT-locationPolicy-v2_14_0.xsd @@ -39,7 +39,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <!-- Resource Specific Attributes --> <xs:element name="locationSource" type="m2m:locationSource" /> <xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" /> - <xs:element name="locationTargetID" type="m2m:nodeID" 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" /> @@ -67,7 +67,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <!-- Resource Specific Attributes --> <xs:element name="locationSource" type="m2m:locationSource" minOccurs="0" /> <xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" /> - <xs:element name="locationTargetID" type="m2m:nodeID" 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" /> diff --git a/v2_14_0/CDT-request-v2_14_0.xsd b/v2_14_0/CDT-request-v2_14_0.xsd index 57f5f70..2b22378 100644 --- a/v2_14_0/CDT-request-v2_14_0.xsd +++ b/v2_14_0/CDT-request-v2_14_0.xsd @@ -44,7 +44,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="originator" type="m2m:ID" /> <xs:element name="requestID" type="m2m:requestID" /> <xs:element name="metaInformation" type="m2m:metaInformation" /> - <xs:element name="primitiveContent" type="m2m:primitiveContent" /> + <xs:element name="primitiveContent" type="m2m:primitiveContent" minOccurs="0" /> <xs:element name="requestStatus" type="m2m:requestStatus" /> <xs:element name="operationResult" type="m2m:operationResult" /> diff --git a/v2_14_0/CDT-timeSeriesInstance-v2_14_0.xsd b/v2_14_0/CDT-timeSeriesInstance-v2_14_0.xsd index 7e044f5..0f5ed81 100644 --- a/v2_14_0/CDT-timeSeriesInstance-v2_14_0.xsd +++ b/v2_14_0/CDT-timeSeriesInstance-v2_14_0.xsd @@ -37,6 +37,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="dataGenerationTime" type="m2m:absRelTimestamp" /> <xs:element name="content" type="xs:anySimpleType" /> <xs:element name="sequenceNr" type="xs:nonNegativeInteger" minOccurs="0" /> + <xs:element name="contentSize" type="xs:nonNegativeInteger" /> <!-- Child Resources --> @@ -54,6 +55,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="dataGenerationTime" type="m2m:absRelTimestamp" minOccurs="0" /> <xs:element name="content" type="xs:anySimpleType" minOccurs="0" /> <xs:element name="sequenceNr" type="xs:nonNegativeInteger" minOccurs="0" /> + <xs:element name="contentSize" type="xs:nonNegativeInteger" minOccurs="0" /> <!-- Child Resources --> diff --git a/v2_14_0/CDT-token-v2_14_0.xsd b/v2_14_0/CDT-token-v2_14_0.xsd index 5efc9a4..c9c21e4 100644 --- a/v2_14_0/CDT-token-v2_14_0.xsd +++ b/v2_14_0/CDT-token-v2_14_0.xsd @@ -42,15 +42,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="notBefore" type="m2m:timestamp" /> <xs:element name="notAfter" type="m2m:timestamp" minOccurs="0"/> <xs:element name="tokenName" type="xs:string" minOccurs="0" /> - <xs:element name="audience" type="m2m:listOfM2MID" minOccurs="0" /> - - <xs:element name="permissions" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="permission" type="m2m:tokenPermission" /> - </xs:sequence> - </xs:complexType> - </xs:element> + <xs:element name="audience" type="m2m:listOfM2MID" minOccurs="0" /> + <xs:element name="permissions" type="m2m:tokenPermissions" minOccurs="0" /> <xs:element name="extension" type="xs:string" minOccurs="0" /> <!-- Child Resources --> -- GitLab