diff --git a/CDT-commonTypes.xsd b/CDT-commonTypes.xsd index 26a4f76873b5ea72ee84471d18e3bdebbb6d7683..dff6bfd3019055acc372e67180172723cf8300ce 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 a304d14b48b22cf1ed970de208184a1c15f9eff9..4cbf925071562e9b8629854d26c1efd0cecc1dd2 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 ba8651e0c2bdd10a0e63ae1b7c08a0a7d590bd79..747844028d4b7888aede6a38fae3b6dd035cc03e 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">