CDT-notification-v2_0_0.xsd 3.88 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Copyright Notification

No part of this document may be reproduced, in an electronic retrieval system or otherwise, except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.
© 2015, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TTA, TTC). All rights reserved.

Notice of Disclaimer & Limitation of Liability 

The information provided in this document is directed solely to professionals who have the appropriate degree of experience to understand 
and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. 
No recommendation as to products or vendors is made or should be implied. 

NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE, 
GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY 
PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. 
NO oneM2M PARTNER TYPE 1 SHALL BE LIABLE, BEYOND THE AMOUNT OF ANY SUM RECEIVED IN PAYMENT BY THAT PARTNER FOR THIS DOCUMENT, WITH RESPECT TO 
ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES. 
oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.

-->
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.onem2m.org/xml/protocols"
        xmlns:m2m="http://www.onem2m.org/xml/protocols" elementFormDefault="unqualified"
        xmlns:xs="http://www.w3.org/2001/XMLSchema">
27 28
    <xs:include schemaLocation="CDT-commonTypes-v2_0_0.xsd"/>
    <xs:include schemaLocation="CDT-responsePrimitive-v2_0_0.xsd"/>
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66


        <xs:element name="notification" type="m2m:notification" />      

        <xs:element name="aggregatedNotification" type="m2m:aggregatedNotification" />

        <xs:complexType name="aggregatedNotification">
                <xs:sequence>
                        <xs:element name="notification" type="m2m:notification" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>

        <xs:complexType name="notification">
                <xs:sequence>
                        <xs:element name="notificationEvent" minOccurs="0">
                            <xs:complexType >
                                <xs:sequence>
                                      <xs:element name="representation" type="xs:anyType" 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: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"/>
                        <xs:element name="creator" type="m2m:ID" minOccurs="0"/>
                        <xs:element name="notificationForwardingURI" type="xs:anyURI" minOccurs="0"/>
                </xs:sequence>
        </xs:complexType>

</xs:schema>