From ad11aadbe3186e1996da4f861040a5dc13cb4c76 Mon Sep 17 00:00:00 2001
From: Peter Niblett <peter_niblett@uk.ibm.com>
Date: Wed, 11 May 2022 17:22:33 +0200
Subject: [PATCH] 
 SDS-2020-0362R07-TS-0004_notificationEventType_for_timeSeries_R3

---
 v3_23_0/CDT-commonTypes-v3_23_0.xsd           |  2 +-
 v3_23_0/CDT-enumerationTypes-v3_23_0.xsd      |  4 ++
 v3_23_0/CDT-notification-v3_23_0.xsd          |  2 +-
 .../CDT-timeSeriesNotification-v3_23_0.xsd    | 42 +++++++++++++++++++
 4 files changed, 48 insertions(+), 2 deletions(-)
 create mode 100644 v3_23_0/CDT-timeSeriesNotification-v3_23_0.xsd

diff --git a/v3_23_0/CDT-commonTypes-v3_23_0.xsd b/v3_23_0/CDT-commonTypes-v3_23_0.xsd
index ca6accb..3e66105 100644
--- a/v3_23_0/CDT-commonTypes-v3_23_0.xsd
+++ b/v3_23_0/CDT-commonTypes-v3_23_0.xsd
@@ -615,7 +615,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
 			<xs:element name="sizeBelow" type="xs:positiveInteger" minOccurs="0" />
 			<xs:element name="operationMonitor" type="m2m:operationMonitor" minOccurs="0" maxOccurs="unbounded" />
 			<xs:element name="attribute" type="m2m:attributeList" minOccurs="0" maxOccurs="1" />
-			<xs:element name="notificationEventType" type="m2m:notificationEventType" minOccurs="0" maxOccurs="6" />
+			<xs:element name="notificationEventType" type="m2m:notificationEventType" minOccurs="0" maxOccurs="5" />
 			<xs:element name="childResourceType" minOccurs="0" maxOccurs="1" >
 				<xs:simpleType>
 					<xs:restriction> 
diff --git a/v3_23_0/CDT-enumerationTypes-v3_23_0.xsd b/v3_23_0/CDT-enumerationTypes-v3_23_0.xsd
index 0ef0433..5d2dba1 100644
--- a/v3_23_0/CDT-enumerationTypes-v3_23_0.xsd
+++ b/v3_23_0/CDT-enumerationTypes-v3_23_0.xsd
@@ -816,6 +816,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
 			<xs:enumeration value="3" />
 			<!-- Trigger Payload -->
 			<xs:enumeration value="4" />
+			<!-- Timeseries notification -->
+			<xs:enumeration value="5" />
 		</xs:restriction>
 	</xs:simpleType>
 
@@ -840,6 +842,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
 			<xs:enumeration value="6" />
 			<!-- Blocking_Update -->
 			<xs:enumeration value="7" />
+			<!-- Report_on_Missing_Data_Points -->
+			<xs:enumeration value="8" />
 		</xs:restriction>
 	</xs:simpleType>
 
diff --git a/v3_23_0/CDT-notification-v3_23_0.xsd b/v3_23_0/CDT-notification-v3_23_0.xsd
index debb934..fd5d88b 100644
--- a/v3_23_0/CDT-notification-v3_23_0.xsd
+++ b/v3_23_0/CDT-notification-v3_23_0.xsd
@@ -52,7 +52,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
                                                </xs:sequence>
                                          </xs:complexType>
                                       </xs:element>
-                                      <xs:element name="notificationEventType" type="m2m:notificationEventType" minOccurs="0"/>
+                                      <xs:element name="notificationEventType" type="m2m:notificationEventType"/>
                                 </xs:sequence>
                             </xs:complexType>
                         </xs:element>                      
diff --git a/v3_23_0/CDT-timeSeriesNotification-v3_23_0.xsd b/v3_23_0/CDT-timeSeriesNotification-v3_23_0.xsd
new file mode 100644
index 0000000..cd0e35f
--- /dev/null
+++ b/v3_23_0/CDT-timeSeriesNotification-v3_23_0.xsd
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+Copyright Notification
+
+The oneM2M Partners authorize you to copy this document, or any components thereof, provided that you retain all copyright and other proprietary notices 
+contained in the original materials on any copies of the materials and that you comply strictly with these terms. 
+This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of 
+any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document. 
+© 2021, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, 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">
+
+	<xs:include schemaLocation="CDT-commonTypes-v3_23_0.xsd" />
+	
+	<xs:element name="timeSeriesNotification">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="missingDataList" type="m2m:missingDataList"/>
+				<xs:element name="missingDataCurrentNr" type="xs:nonNegativeInteger"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	
+</xs:schema>
+
-- 
GitLab