From 7a4dced0b0fab7f70a80bf0342df2ad0c254b777 Mon Sep 17 00:00:00 2001 From: wgranzow <wgranzow@qti.qualcomm.com> Date: Thu, 29 Jan 2015 12:30:54 +0100 Subject: [PATCH] latest update --- CDT-notification-v0_8_0.xsd | 45 +++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/CDT-notification-v0_8_0.xsd b/CDT-notification-v0_8_0.xsd index e3ed157..abbec64 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> -- GitLab