diff --git a/CDT-activeCmdhPolicy-v0_8_0.xsd b/CDT-activeCmdhPolicy-v0_8_0.xsd index 86a27d0592f4512bda140fbd2a75c19ad7440b61..b0bea7ec40346b590155cbb4214db52a2fa5dd9b 100644 --- a/CDT-activeCmdhPolicy-v0_8_0.xsd +++ b/CDT-activeCmdhPolicy-v0_8_0.xsd @@ -35,9 +35,9 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:complexContent> <!-- Inherit Common Attributes from regularResourceType --> <xs:extension base="m2m:mgmtResource"> - <xs:sequence> - <!-- Resource Specific Attributes --> - <xs:element name="activeCmdhPolicyLink" type="m2m:ID" minOccurs="1" maxOccurs="1"/> + <xs:sequence> + <!-- Resource Specific Attributes --> + <xs:element name="activeCmdhPolicyLink" type="m2m:ID" /> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhBuffer-v0_8_0.xsd b/CDT-cmdhBuffer-v0_8_0.xsd index fa682c6e9558f5b49ac52784bc3adba0290eb0b9..03383e3e0d5d61ff15cf36e1ddfe54f51e6c3e4b 100644 --- a/CDT-cmdhBuffer-v0_8_0.xsd +++ b/CDT-cmdhBuffer-v0_8_0.xsd @@ -29,7 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> <xs:element name="cmdhBuffer"> <xs:complexType> @@ -37,24 +36,17 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <!-- Inherit Common Attributes from data type "mgmtResource" --> <xs:extension base="m2m:mgmtResource"> <xs:sequence> - <!-- mgmtObj specialization-specific Attributes --> - <xs:element name="applicableEventCategory" type="m2m:listOfEventCat" minOccurs="1" maxOccurs="1" /> - <xs:element name="maxBufferSize" type="xs:nonNegativeInteger" minOccurs="1" maxOccurs="1"/> <!-- unit in bytes --> - <xs:element name="storagePriority" minOccurs="1" maxOccurs="1"> + <!-- mgmtObj specialization-specific Attributes --> + <!-- TODO: typo in CR #663R04 in "list of m2m:leventCatWithDef", to be corrected by the Rapporteur --> + <xs:element name="applicableEventCategory" type="m2m:listOfEventCatWithDef" /> + <xs:element name="maxBufferSize" type="xs:nonNegativeInteger" /> <!-- unit in bytes --> + <xs:element name="storagePriority"> <xs:simpleType> <xs:restriction base="xs:positiveInteger"> <xs:maxExclusive value="11"/> </xs:restriction> </xs:simpleType> - </xs:element> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> + </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhDefEcValue-v0_8_0.xsd b/CDT-cmdhDefEcValue-v0_8_0.xsd index b5355a19509bbd41e27644c557117e4168881993..603f490541682bf7452efc0b7d6e44e400bc0c07 100644 --- a/CDT-cmdhDefEcValue-v0_8_0.xsd +++ b/CDT-cmdhDefEcValue-v0_8_0.xsd @@ -29,7 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> <xs:element name="cmdhDefEcValue"> <xs:complexType> @@ -38,20 +37,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:extension base="m2m:mgmtResource"> <xs:sequence> <!-- mgmtObj specialization-specific Attributes --> - <xs:element name="order" type="xs:positiveInteger" minOccurs="1" maxOccurs="1" /> - <xs:element name="defEcValue" type="m2m:eventCatType" minOccurs="1" maxOccurs="1" /> - <xs:element name="requestOrigin" type="m2m:listOfM2MID" minOccurs="1" maxOccurs="1" /> - <xs:element name="requestContext" type="xs:string" minOccurs="0" maxOccurs="1" /> - <xs:element name="requestContextNotification" type="xs:boolean" minOccurs="0" maxOccurs="1" /> - <xs:element name="requestCharacteristics" type="xs:string" minOccurs="0" maxOccurs="1" /> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> + <xs:element name="order" type="xs:positiveInteger" /> + <xs:element name="defEcValue" type="m2m:eventCat" /> + <xs:element name="requestOrigin" type="m2m:listOfM2MID" /> + <xs:element name="requestContext" type="xs:anyType" minOccurs="0" /> + <xs:element name="requestContextNotification" type="xs:boolean" minOccurs="0" /> + <xs:element name="requestCharacteristics" type="xs:anyType" minOccurs="0" /> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhDefaults-v0_8_0.xsd b/CDT-cmdhDefaults-v0_8_0.xsd index 0baa82ca15c8cbf0806c40a1cb26e42e894e46f6..f94df316ce0776145136b30468cd812468119b16 100644 --- a/CDT-cmdhDefaults-v0_8_0.xsd +++ b/CDT-cmdhDefaults-v0_8_0.xsd @@ -29,7 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> <xs:element name="cmdhDefaults"> <xs:complexType> @@ -41,16 +40,10 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <!-- Instantiations of this [cmdhDefaults] resource type shall include mgmntLink's to the following children: 1 or more mgmtLink to instance(s) of resource type [cmdhDefEcValue] - 1 mgmtLink to instance(s) of resource type [cmdhEcDefParamValues] --> + 1 or more mgmtLink to instance(s) of resource type [cmdhEcDefParamValues] --> + <!-- TODO: text in Table D.12.2-2 column "Default Value and Constraints" needs to be updated + ref to [cmdhEcDefParamValues] is missing --> <xs:element name="mgmtLink" type="m2m:mgmtLinkRef" minOccurs="2" maxOccurs="unbounded"/> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhEcDefParamValues-v0_8_0.xsd b/CDT-cmdhEcDefParamValues-v0_8_0.xsd index 18188470b1a0b74ed345072baf22c2c943a18383..33fc00db3c21a927e10bc3977a28bb9ed84e1353 100644 --- a/CDT-cmdhEcDefParamValues-v0_8_0.xsd +++ b/CDT-cmdhEcDefParamValues-v0_8_0.xsd @@ -29,8 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> - <xs:element name="cmdhEcDefParamValues"> <xs:complexType> @@ -39,19 +37,13 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:extension base="m2m:mgmtResource"> <xs:sequence> <!-- mgmtObj specialization-specific Attributes --> - <xs:element name="applicableEventCategory" type="m2m:listOfEventCat" minOccurs="1" maxOccurs="1" /> - <xs:element name="defaultRequestExpTime" type="m2m:longMin-1" minOccurs="1" maxOccurs="1" /> <!-- units in milliseconds --> - <xs:element name="defaultResultExpTime" type="m2m:longMin-1" minOccurs="1" maxOccurs="1" /> <!-- units in milliseconds --> - <xs:element name="defaultOpExecTime" type="m2m:longMin-1" minOccurs="1" maxOccurs="1" /> <!-- units in milliseconds --> - <xs:element name="defaultRespPersistence" type="m2m:longMin-1" minOccurs="1" maxOccurs="1" /> <!-- units in milliseconds --> - <xs:element name="defaultDelAggregation" type="xs:boolean" minOccurs="1" maxOccurs="1" /> - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> + <xs:element name="applicableEventCategory" type="m2m:listOfEventCatWithDef" /> + <!-- TODO: confirm whether we should use xs:long (as in TS-0004) or m2m:longMin-1 for following 4 attributes --> + <xs:element name="defaultRequestExpTime" type="xs:long" /> <!-- units in milliseconds --> + <xs:element name="defaultResultExpTime" type="xs:long" /> <!-- units in milliseconds --> + <xs:element name="defaultOpExecTime" type="xs:long" /> <!-- units in milliseconds --> + <xs:element name="defaultRespPersistence" type="xs:long" /> <!-- units in milliseconds --> + <xs:element name="defaultDelAggregation" type="xs:boolean" /> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhLimits-v0_8_0.xsd b/CDT-cmdhLimits-v0_8_0.xsd index 0e1ef8b44a7b875956b0a825730970b73b51cb8e..a66e9429ff9617018da76ca28039b79b3010f7d3 100644 --- a/CDT-cmdhLimits-v0_8_0.xsd +++ b/CDT-cmdhLimits-v0_8_0.xsd @@ -39,25 +39,35 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:extension base="m2m:mgmtResource"> <xs:sequence> <!-- mgmtObj specialization-specific Attributes --> - <xs:element name="order" type="xs:positiveInteger" minOccurs="1" maxOccurs="1" /> - <xs:element name="requestOrigin" type="m2m:listOfM2MID" minOccurs="1" maxOccurs="1" /> - <xs:element name="requestContext" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> - <xs:element name="requestContextNotification" type="xs:boolean" minOccurs="0" maxOccurs="1" /> - <xs:element name="requestCharacteristics" type="xs:string" minOccurs="0" maxOccurs="1" /> - <xs:element name="limitsEventCategory" type="m2m:listOfEventCat" minOccurs="1" maxOccurs="1" /> - <xs:element name="limitsRequestExpTime" type="m2m:listOfMinMax" minOccurs="1" maxOccurs="1" /> - <xs:element name="limitsResultExpTime" type="m2m:listOfMinMax" minOccurs="1" maxOccurs="1" /> - <xs:element name="limitsOpExecTime" type="m2m:listOfMinMax" minOccurs="1" maxOccurs="1" /> - <xs:element name="limitsRespPersistence" type="m2m:listOfMinMax" minOccurs="1" maxOccurs="1" /> - <xs:element name="limitsDelAggregation" type="m2m:listOfBoolean" minOccurs="1" maxOccurs="1" /> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> + <xs:element name="order" type="xs:positiveInteger" /> + <xs:element name="requestOrigin" type="m2m:listOfM2MID" /> + <!-- TODO change to xs:anyType missing in CR #663R04 --> + <xs:element name="requestContext" type="xs:anyType" /> + <xs:element name="requestContextNotification" type="xs:boolean" minOccurs="0" /> + <!-- TODO change to xs:anyType missing in CR #663R04 --> + <xs:element name="requestCharacteristics" type="xs:anyType" /> + <xs:element name="limitsEventCategory" type="m2m:listOfEventCat" /> + <xs:element name="limitsRequestExpTime" type="m2m:listOfMinMax" /> + <xs:element name="limitsResultExpTime" type="m2m:listOfMinMax" /> + <xs:element name="limitsOpExecTime" type="m2m:listOfMinMax" /> + <xs:element name="limitsRespPersistence" type="m2m:listOfMinMax" /> + <!-- TODO: check was happened with implementation of "m2m:permittedBooleanValues" in #661R04 --> + <xs:element name="limitsDelAggregation" > + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:annotation> + <xs:documentation>defines data type denoted "m2m:permittedBooleanValues" in #663R04. + </xs:documentation> + </xs:annotation> + <!-- False --> + <xs:enumeration value="0" /> + <!-- True --> + <xs:enumeration value="1" /> + <!-- True and False --> + <xs:enumeration value="0 1" /> + </xs:restriction> + </xs:simpleType> + </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhNetworkAccessRules-v0_8_0.xsd b/CDT-cmdhNetworkAccessRules-v0_8_0.xsd index ba8ffdb8776a79014b234c4ed3a7eee2f419c1c1..85e139b41fb366645e195402ed4abf73ed1d43a6 100644 --- a/CDT-cmdhNetworkAccessRules-v0_8_0.xsd +++ b/CDT-cmdhNetworkAccessRules-v0_8_0.xsd @@ -29,7 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> <xs:element name="cmdhNetworkAccessRules"> <xs:complexType> @@ -39,19 +38,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:extension base="m2m:mgmtResource"> <xs:sequence> <!-- mgmtObj specialization-specific Attributes --> - <xs:element name="applicableEventCategories" type="m2m:listOfEventCat" minOccurs="1" maxOccurs="1" /> + <!-- TODO: typo in CR #663R04 in "list of m2m:leventCatWithDef", to be corrected by the Rapporteur --> + <xs:element name="applicableEventCategories" type="m2m:listOfEventCatWithDef" /> <!-- Instantiations of this [cmdhPolicy] resource type shall include mgmntLink's to the following children: zero or more mgmtLink to instance(s) of resource type [cmdhNwAccessRule] --> <xs:element name="mgmtLink" type="m2m:mgmtLinkRef" minOccurs="0" maxOccurs="unbounded"/> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhNwAccessRule-v0_8_0.xsd b/CDT-cmdhNwAccessRule-v0_8_0.xsd index 98df45fede8a0f81422514db15c141d7f04165d3..5f167e979e4c54c5871fe29d71d158050b512a86 100644 --- a/CDT-cmdhNwAccessRule-v0_8_0.xsd +++ b/CDT-cmdhNwAccessRule-v0_8_0.xsd @@ -29,7 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> <xs:element name="cmdhNwAccessRule"> <xs:complexType> @@ -41,22 +40,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="targetNetwork" type="m2m:listOfM2MID" minOccurs="1" maxOccurs="1" /> <xs:element name="minReqVolume" type="xs:nonNegativeInteger" minOccurs="1" maxOccurs="1" /> <xs:element name="backOffParameters" type="m2m:backOffParameters" minOccurs="1" maxOccurs="1" /> - <xs:element name="otherConditions" type="xs:string" minOccurs="1" maxOccurs="1" /> + <xs:element name="otherConditions" type="xs:anyType" minOccurs="1" maxOccurs="1" /> <!-- Instantiations of this [cmdhPolicy] resource type shall include mgmntLink's to the following children: - 1 mgmtLink to an instance of resource type [schedule] with fixed name allowedSchedule, - 1 or more mgmtLink to instance(s) of resource type [cmdhLimits], - 1 or more mgmtLink to instance(s) of resource type [cmdhNetworkAccessRules] - 1 or more mgmtLink to instance(s) of resource type [cmdhBuffer] --> - <xs:element name="mgmtLink" type="m2m:mgmtLinkRef" minOccurs="0" maxOccurs="unbounded"/> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> + zero or more mgmtLink to instance(s) of resource type schedule --> + <!-- TODO: clarify if multiple schedule elements shall be included rather than a link to non-mgmtObj specialization --> + <xs:element name="mgmtLink" type="m2m:mgmtLinkRef" minOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-cmdhPolicy-v0_8_0.xsd b/CDT-cmdhPolicy-v0_8_0.xsd index 5609f3c5f2755efe65fb4ca0471bb68e6da1da72..e4def53fa971970adc5bdc80b683852de5339913 100644 --- a/CDT-cmdhPolicy-v0_8_0.xsd +++ b/CDT-cmdhPolicy-v0_8_0.xsd @@ -29,7 +29,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR elementFormDefault="unqualified" attributeFormDefault="unqualified" > <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> - <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> <xs:element name="cmdhPolicy" > <xs:complexType> @@ -45,15 +44,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR 1 or more mgmtLink to instance(s) of resource type [cmdhLimits], 1 or more mgmtLink to instance(s) of resource type [cmdhNetworkAccessRules] 1 or more mgmtLink to instance(s) of resource type [cmdhBuffer] --> - <xs:element name="mgmtLink" type="m2m:mgmtLinkRef" minOccurs="0" maxOccurs="unbounded"/> - - <!-- Child Resources --> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> - <xs:choice minOccurs="1" maxOccurs="unbounded"> - <xs:element ref="m2m:subscription"></xs:element> - </xs:choice> - </xs:choice> + <xs:element name="mgmtLink" type="m2m:mgmtLinkRef" minOccurs="4" maxOccurs="unbounded"/> + </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/CDT-commonTypes-v0_8_0.xsd b/CDT-commonTypes-v0_8_0.xsd index 9251aaf8f7c01554b0ec8e43d4636e70f6fa8194..1065f3bb36bde4b59f8e846c2bb317a74a9dc6b7 100644 --- a/CDT-commonTypes-v0_8_0.xsd +++ b/CDT-commonTypes-v0_8_0.xsd @@ -107,7 +107,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <list itemType="m2m:eventCat" /> </xs:simpleType> - <xs:simpleType name="listOfEventCatwithDef"> + <xs:simpleType name="listOfEventCatWithDef"> <list itemType="m2m:eventCatWithDef" /> </xs:simpleType>