diff --git a/CDT-notification-v0_8_0.xsd b/CDT-notification-v0_8_0.xsd index e3ed157d9618129f0e279e2bfb641ae0b2622241..abbec6493d0a2100e1051aa3a1ad1139cd05f00c 100644 --- a/CDT-notification-v0_8_0.xsd +++ b/CDT-notification-v0_8_0.xsd @@ -47,7 +47,29 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:complexType name="notification"> <xs:sequence> - <xs:element name="notificationEvent" type="m2m:notificationEventList" minOccurs="0"/> + <xs:element name="notificationEvent" minOccurs="0"> + <xs:complexType > + <xs:sequence> + <xs:element name="event" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="representation" type="xs:anyType" minOccurs="0"/> + <xs:element name="resourceStatus" type="m2m:resourceStatus" minOccurs="0"/> + <xs:element name="operationMonitor" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="operation" type="m2m:operation" minOccurs="0"/> + <xs:element name="originator" type="m2m:ID" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="verificationRequest" type="xs:boolean" minOccurs="0"/> <xs:element name="subscriptionDeletion" type="xs:boolean" minOccurs="0"/> <xs:element name="subscriptionReference" type="xs:anyURI" minOccurs="0"/> @@ -56,25 +78,4 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR </xs:sequence> </xs:complexType> - <xs:complexType name="notificationEventList"> - <xs:sequence> - <xs:element name="event" type="m2m:notificationEvent" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="notificationEvent"> - <xs:sequence> - <xs:element name="representation" type="xs:anyType" minOccurs="0"/> - <xs:element name="resourceStatus" type="m2m:resourceStatus" minOccurs="0"/> - <xs:element name="operationMonitor" type="m2m:operationMonitorType" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="operationMonitorType"> - <xs:sequence> - <xs:element name="operation" type="m2m:operation" minOccurs="0"/> - <xs:element name="originator" type="m2m:ID" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - </xs:schema>