From 59fada050867b8186e22962c324ac5ca93b3710f Mon Sep 17 00:00:00 2001 From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> Date: Wed, 18 May 2022 14:03:26 +0200 Subject: [PATCH] SDS-2021-0045R03 - TS-0004_notificationEventType_for_timeSeries_R4 Signed-off-by: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> --- CDT-commonTypes.xsd | 2 +- CDT-enumerationTypes.xsd | 4 ++++ CDT-notification.xsd | 2 +- CDT-timeSeriesNotification.xsd | 39 ++++++++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 CDT-timeSeriesNotification.xsd diff --git a/CDT-commonTypes.xsd b/CDT-commonTypes.xsd index a2e0234..09b7fe3 100644 --- a/CDT-commonTypes.xsd +++ b/CDT-commonTypes.xsd @@ -658,7 +658,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/CDT-enumerationTypes.xsd b/CDT-enumerationTypes.xsd index 98057eb..e96b2c4 100644 --- a/CDT-enumerationTypes.xsd +++ b/CDT-enumerationTypes.xsd @@ -957,6 +957,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> @@ -981,6 +983,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/CDT-notification.xsd b/CDT-notification.xsd index 98c07e7..645fc04 100644 --- a/CDT-notification.xsd +++ b/CDT-notification.xsd @@ -53,7 +53,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" minOccurs="1"/> </xs:sequence> </xs:complexType> </xs:element> diff --git a/CDT-timeSeriesNotification.xsd b/CDT-timeSeriesNotification.xsd new file mode 100644 index 0000000..1ef090f --- /dev/null +++ b/CDT-timeSeriesNotification.xsd @@ -0,0 +1,39 @@ +<?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. +© 2022, 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.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