From a9092092b04481210a5ec963a3b6f804f3619a3c Mon Sep 17 00:00:00 2001 From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> Date: Tue, 17 May 2022 16:16:22 +0200 Subject: [PATCH] SDS-2020-0368R02 - TS-0004-notification_recording_R4 Signed-off-by: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> --- CDT-commonTypes.xsd | 14 ++++++++++++++ CDT-crossResourceSubscription.xsd | 2 ++ CDT-subscription.xsd | 2 ++ 3 files changed, 18 insertions(+) diff --git a/CDT-commonTypes.xsd b/CDT-commonTypes.xsd index 26a4f76..dff6bfd 100644 --- a/CDT-commonTypes.xsd +++ b/CDT-commonTypes.xsd @@ -1443,6 +1443,20 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR </xs:sequence> </xs:complexType> + <xs:complexType name="setOfNotificationStatsInfo"> + <xs:sequence> + <xs:element name="notificationStats" minOccurs="1" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="target" type="xs:anyURI"/> + <xs:element name="requestsSent" type="xs:nonNegativeInteger"/> + <xs:element name="responsesReceived" type="xs:nonNegativeInteger"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + <!-- Resource type definitions. These types include the "common attributes" that are used by oneM2M Resources. Each oneM2M Resource has a resource type that is defined in a separate schema, but each resource type extends one of the types that is defined below --> diff --git a/CDT-crossResourceSubscription.xsd b/CDT-crossResourceSubscription.xsd index a304d14..4cbf925 100644 --- a/CDT-crossResourceSubscription.xsd +++ b/CDT-crossResourceSubscription.xsd @@ -54,6 +54,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR </xs:simpleType> </xs:element> <xs:element name="subscriberURI" type="m2m:ID" minOccurs="0" /> + <xs:element name="notificationStatsEnable" type="xs:boolean"/> + <xs:element name="notificationStatsInfo" type="m2m:setOfNotificationStatsInfo" minOccurs="0" /> <!-- Child Resources --> <xs:choice minOccurs="0" maxOccurs="1"> diff --git a/CDT-subscription.xsd b/CDT-subscription.xsd index ba8651e..7478440 100644 --- a/CDT-subscription.xsd +++ b/CDT-subscription.xsd @@ -56,6 +56,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="notificationEventCat" type="m2m:eventCat" minOccurs="0" /> <xs:element name="subscriberURI" type="xs:anyURI" minOccurs="0" /> <xs:element name="associatedCrossResourceSub" type="m2m:listOfURIs" minOccurs="0" /> + <xs:element name="notificationStatsEnable" type="xs:boolean"/> + <xs:element name="notificationStatsInfo" type="m2m:setOfNotificationStatsInfo" minOccurs="0" /> <!-- Child Resources --> <xs:choice minOccurs="0" maxOccurs="1"> -- GitLab