Commit 7727e4ca15d5ba38f0966a551c781dee9b57ce63

Authored by Wolfgang Granzow
1 parent d63ba4e2

Changes agreed at PRO#34/TP#34 for Rel-3

See PRO-2018-0119 for a detailed list of changes
... ... @@ -35,9 +35,10 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
35 35 <xs:include schemaLocation="CDT-schedule-v3_7_0.xsd" />
36 36 <xs:include schemaLocation="CDT-semanticDescriptor-v3_7_0.xsd" />
37 37 <xs:include schemaLocation="CDT-timeSeries-v3_7_0.xsd" />
38   - <xs:include schemaLocation="CDT-trafficPattern-v3_7_0.xsd" />
39 38 <xs:include schemaLocation="CDT-semanticMashupInstance-v3_7_0.xsd" />
40 39 <xs:include schemaLocation="CDT-multimediaSession-v3_7_0.xsd" />
  40 + <xs:include schemaLocation="CDT-crossResourceSubscription-v3_7_0.xsd" />
  41 + <xs:include schemaLocation="CDT-triggerRequest-v3_7_0.xsd" />
41 42  
42 43 <xs:element name="AE" substitutionGroup="m2m:sg_announceableResource">
43 44 <xs:complexType>
... ... @@ -60,6 +61,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
60 61 <xs:element name="registrationStatus" type="m2m:AERegistrationStatus" minOccurs="0" />
61 62 <xs:element name="trackRegistrationPoints" type="xs:boolean" minOccurs="0" />
62 63 <xs:element name="sessionCapabilities" type="m2m:sessionCapabilities" minOccurs="0" />
  64 + <xs:element name="triggerEnable" type="xs:boolean" minOccurs="0" />
  65 + <xs:element name="activityPatternElements" type="m2m:activityPatternElements" minOccurs="0" />
63 66  
64 67 <!-- Child Resources -->
65 68 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -73,10 +76,11 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
73 76 <xs:element ref="m2m:schedule" />
74 77 <xs:element ref="m2m:semanticDescriptor" />
75 78 <xs:element ref="m2m:timeSeries" />
76   - <xs:element ref="m2m:trafficPattern" />
77 79 <xs:element ref="m2m:sg_flexContainerResource" />
78 80 <xs:element ref="m2m:semanticMashupInstance" />
79 81 <xs:element ref="m2m:multimediaSession" />
  82 + <xs:element ref="m2m:crossResourceSubscription" />
  83 + <xs:element ref="m2m:triggerRequest" />
80 84 </xs:choice>
81 85 </xs:choice>
82 86 </xs:sequence>
... ... @@ -105,6 +109,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
105 109 <xs:element name="registrationStatus" type="m2m:AERegistrationStatus" minOccurs="0" />
106 110 <xs:element name="trackRegistrationPoints" type="xs:boolean" minOccurs="0" />
107 111 <xs:element name="sessionCapabilities" type="m2m:sessionCapabilities" minOccurs="0" />
  112 + <xs:element name="triggerEnable" type="xs:boolean" minOccurs="0" />
  113 + <xs:element name="activityPatternElements" type="m2m:activityPatternElements" minOccurs="0" />
108 114  
109 115 <!-- Child Resources -->
110 116 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -121,13 +127,14 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
121 127 <xs:element ref="m2m:semanticDescriptor" />
122 128 <xs:element ref="m2m:timeSeries" />
123 129 <xs:element ref="m2m:timeSeriesAnnc" />
124   - <xs:element ref="m2m:trafficPatternAnnc" />
125 130 <xs:element ref="m2m:sg_flexContainerResource" />
126 131 <xs:element ref="m2m:sg_announcedFlexContainerResource" />
127 132 <xs:element ref="m2m:semanticMashupInstance" />
128 133 <xs:element ref="m2m:semanticMashupInstanceAnnc" />
129 134 <xs:element ref="m2m:multimediaSession" />
130 135 <xs:element ref="m2m:multimediaSessionAnnc" />
  136 + <xs:element ref="m2m:crossResourceSubscription" />
  137 + <xs:element ref="m2m:triggerRequest" />
131 138 </xs:choice>
132 139 </xs:choice>
133 140 </xs:sequence>
... ...
... ... @@ -54,6 +54,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
54 54 <xs:include schemaLocation="CDT-semanticMashupInstance-v3_7_0.xsd" />
55 55 <xs:include schemaLocation="CDT-AEContactList-v3_7_0.xsd" />
56 56 <xs:include schemaLocation="CDT-localMulticastGroup-v3_7_0.xsd" />
  57 + <xs:include schemaLocation="CDT-crossResourceSubscription-v3_7_0.xsd" />
57 58  
58 59 <xs:element name="CSEBase" substitutionGroup="m2m:sg_resource">
59 60 <xs:complexType>
... ... @@ -109,6 +110,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
109 110 <xs:element ref="m2m:semanticMashupInstance" />
110 111 <xs:element ref="m2m:AEContactList" />
111 112 <xs:element ref="m2m:localMulticastGroup" />
  113 + <xs:element ref="m2m:crossResourceSubscription" />
112 114 </xs:choice>
113 115 </xs:choice>
114 116 </xs:sequence>
... ...
... ... @@ -509,6 +509,11 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
509 509 <xs:minLength value="1" />
510 510 </xs:restriction>
511 511 </xs:simpleType>
  512 +
  513 + <xs:simpleType name="resourceList" >
  514 + <xs:list itemType="xs:anyURI" />
  515 + </xs:simpleType>
  516 +
512 517  
513 518  
514 519 <!--********************** -->
... ... @@ -616,7 +621,36 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
616 621 </xs:choice>
617 622 </xs:complexType>
618 623  
619   - <!-- m2m:batchNotify and m2m:eventNotificationCriteria are defined in the subscription resource file -->
  624 + <xs:complexType name="eventNotificationCriteria">
  625 + <xs:sequence>
  626 + <xs:element name="createdBefore" type="m2m:timestamp" minOccurs="0" />
  627 + <xs:element name="createdAfter" type="m2m:timestamp" minOccurs="0" />
  628 + <xs:element name="modifiedSince" type="m2m:timestamp" minOccurs="0" />
  629 + <xs:element name="unmodifiedSince" type="m2m:timestamp" minOccurs="0" />
  630 + <xs:element name="stateTagSmaller" type="xs:positiveInteger" minOccurs="0" />
  631 + <xs:element name="stateTagBigger" type="xs:nonNegativeInteger" minOccurs="0" />
  632 + <xs:element name="expireBefore" type="m2m:timestamp" minOccurs="0" />
  633 + <xs:element name="expireAfter" type="m2m:timestamp" minOccurs="0" />
  634 + <xs:element name="sizeAbove" type="xs:nonNegativeInteger" minOccurs="0" />
  635 + <xs:element name="sizeBelow" type="xs:positiveInteger" minOccurs="0" />
  636 + <xs:element name="operationMonitor" type="m2m:operationMonitor" minOccurs="0" maxOccurs="5" />
  637 + <xs:element name="attribute" type="m2m:attributeList" minOccurs="0" maxOccurs="1" />
  638 + <xs:element name="notificationEventType" type="m2m:notificationEventType" minOccurs="0" maxOccurs="5" />
  639 + <xs:element name="childResourceType" minOccurs="0" maxOccurs="1" >
  640 + <xs:simpleType>
  641 + <xs:restriction>
  642 + <xs:simpleType>
  643 + <xs:list itemType="m2m:resourceType" />
  644 + </xs:simpleType>
  645 + <xs:minLength value="1" />
  646 + </xs:restriction>
  647 + </xs:simpleType>
  648 + </xs:element>
  649 + <xs:element name="missingData" type="m2m:missingData" minOccurs="0" />
  650 + </xs:sequence>
  651 + </xs:complexType>
  652 +
  653 + <!-- m2m:batchNotify is defined in the subscription resource file -->
620 654  
621 655 <xs:complexType name="filterCriteria">
622 656 <xs:sequence>
... ... @@ -1228,7 +1262,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1228 1262 </xs:sequence>
1229 1263 </xs:complexType>
1230 1264  
1231   - <!-- data type m2m:operationMonitor is defined in the CDT-subscription XSD file -->
  1265 + <xs:complexType name="operationMonitor">
  1266 + <xs:sequence>
  1267 + <xs:element name="operations" type="m2m:accessControlOperations" minOccurs="0" />
  1268 + <xs:element name="originator" type="m2m:ID" minOccurs="0" />
  1269 + </xs:sequence>
  1270 + </xs:complexType>
1232 1271  
1233 1272 <xs:complexType name="dynAuthRelMapRequest">
1234 1273 <xs:sequence>
... ... @@ -1304,6 +1343,27 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1304 1343 </xs:sequence>
1305 1344 </xs:complexType>
1306 1345  
  1346 + <xs:complexType name="activityPatternElements">
  1347 + <xs:sequence>
  1348 + <xs:element name="activityPatternElements" type="m2m:activityPattern" minOccurs="1" maxOccurs="unbounded"/>
  1349 + </xs:sequence>
  1350 + </xs:complexType>
  1351 +
  1352 + <xs:complexType name="activityPattern">
  1353 + <xs:sequence>
  1354 + <xs:element name="scheduleElement" type="m2m:scheduleEntries" minOccurs="1" maxOccurs="unbounded"/>
  1355 + <xs:element name="stationaryIndication" type="m2m:stationaryIndication" minOccurs="0" />
  1356 + <xs:element name="dataSizeIndicator" type="xs:positiveInteger" minOccurs="0" />
  1357 + </xs:sequence>
  1358 + </xs:complexType>
  1359 +
  1360 + <xs:complexType name="eventNotificationCriteriaSet">
  1361 + <xs:sequence>
  1362 + <xs:element name="eventNotificationCriteriaEntry" type="m2m:eventNotificationCriteria" minOccurs="1" maxOccurs="unbounded"/>
  1363 + </xs:sequence>
  1364 + </xs:complexType>
  1365 +
  1366 +
1307 1367  
1308 1368 <!-- Resource type definitions. These types include the "common attributes" that are used by oneM2M Resources. Each oneM2M
1309 1369 Resource has a resource type that is defined in a separate schema, but each resource type extends one of the types that is
... ... @@ -1417,6 +1477,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1417 1477 <xs:element name="objectIDs" type="m2m:listOfURIs" minOccurs="0" />
1418 1478 <xs:element name="objectPaths" type="m2m:listOfURIs" minOccurs="0" />
1419 1479 <xs:element name="description" type="xs:string" minOccurs="0" />
  1480 + <xs:element name="mgmtSchema" type="xs:anyURI" minOccurs="0" />
1420 1481 </xs:sequence>
1421 1482 </xs:extension>
1422 1483 </xs:complexContent>
... ... @@ -1430,6 +1491,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1430 1491 <xs:element name="objectIDs" type="m2m:listOfURIs" minOccurs="0" />
1431 1492 <xs:element name="objectPaths" type="m2m:listOfURIs" minOccurs="0" />
1432 1493 <xs:element name="description" type="xs:string" minOccurs="0" />
  1494 + <xs:element name="mgmtSchema" type="xs:anyURI" minOccurs="0" />
1433 1495 </xs:sequence>
1434 1496 </xs:extension>
1435 1497 </xs:complexContent>
... ... @@ -1462,6 +1524,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1462 1524 <xs:element name="creator" type="m2m:ID" minOccurs="0" />
1463 1525 <xs:element name="containerDefinition" type="xs:anyURI" />
1464 1526 <xs:element name="ontologyRef" type="xs:anyURI" minOccurs="0" />
  1527 + <xs:element name="contentSize" type="xs:nonNegativeInteger" />
  1528 + <xs:element name="nodeLink" type="xs:anyURI" minOccurs="0" />
1465 1529 </xs:sequence>
1466 1530 <xs:attribute name="resourceName" type="m2m:resourceName" use="required" />
1467 1531 </xs:complexType>
... ... @@ -1481,6 +1545,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1481 1545 <xs:element name="stateTag" type="xs:nonNegativeInteger" minOccurs="0" />
1482 1546 <xs:element name="containerDefinition" type="xs:anyURI" />
1483 1547 <xs:element name="ontologyRef" type="xs:anyURI" minOccurs="0" />
  1548 + <xs:element name="contentSize" type="xs:nonNegativeInteger" minOccurs="0"/>
  1549 + <xs:element name="nodeLink" type="xs:anyURI" minOccurs="0" />
1484 1550 </xs:sequence>
1485 1551 <xs:attribute name="resourceName" type="m2m:resourceName" use="required" />
1486 1552 </xs:complexType>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 +Copyright Notification
  4 +
  5 +The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices
  6 +contained in the original materials on any copies of the materials and that you comply strictly with these terms.
  7 +This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of
  8 +any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document.
  9 +© 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC). All rights reserved.
  10 +
  11 +
  12 +Notice of Disclaimer & Limitation of Liability
  13 +
  14 +The information provided in this document is directed solely to professionals who have the appropriate degree of experience to understand
  15 +and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations.
  16 +No recommendation as to products or vendors is made or should be implied.
  17 +
  18 +NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE,
  19 +GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY
  20 +PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
  21 +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
  22 +ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.
  23 +oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.
  24 +
  25 +-->
  26 +
  27 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/protocols"
  28 + xmlns:m2m="http://www.onem2m.org/xml/protocols" elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="CDT-commonTypes-v3_7_0.xsd" />
  31 + <xs:include schemaLocation="CDT-schedule-v3_7_0.xsd" />
  32 + <xs:include schemaLocation="CDT-notificationTargetMgmtPolicyRef-v3_7_0.xsd" />
  33 +
  34 + <xs:element name="crossResourceSubscription" substitutionGroup="m2m:sg_regularResource">
  35 + <xs:complexType>
  36 + <xs:complexContent>
  37 + <!-- Inherit common attributes from RegularResource Type -->
  38 + <xs:extension base="m2m:regularResource">
  39 + <xs:sequence>
  40 + <!-- Common Attribute, specific to <container>, <contentInstance>, <request> and <delivery> and other resources -->
  41 + <xs:element name="creator" type="m2m:ID" />
  42 + <!-- Resource Specific Attributes -->
  43 + <xs:element name="regularResourcesAsTarget" type="m2m:resourceList" minOccurs="0" />
  44 + <xs:element name="subscriptionResourcesAsTarget" type="m2m:resourceList" minOccurs="0" />
  45 + <xs:element name="timeWindowType" type="m2m:timeWindowType" />
  46 + <xs:element name="timeWindowSize" type="m2m:absRelTimestamp" />
  47 + <xs:element name="eventNotificationCriteriaSet" type="m2m:eventNotificationCriteriaSet" minOccurs="0" />
  48 + <xs:element name="notificationEventCat" type="m2m:eventCat" minOccurs="0" />
  49 + <xs:element name="expirationCounter" type="xs:positiveInteger" minOccurs="0" />
  50 + <xs:element name="notificationURI" >
  51 + <xs:simpleType>
  52 + <xs:list itemType="xs:anyURI" />
  53 + </xs:simpleType>
  54 + </xs:element>
  55 + <xs:element name="subscriberURI" type="m2m:ID" minOccurs="0" />
  56 +
  57 + <!-- Child Resources -->
  58 + <xs:choice minOccurs="0" maxOccurs="1">
  59 + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
  60 + <xs:choice minOccurs="1" maxOccurs="unbounded">
  61 + <xs:element ref="m2m:schedule" />
  62 + <xs:element ref="m2m:notificationTargetMgmtPolicyRef" />
  63 + </xs:choice>
  64 + </xs:choice>
  65 + </xs:sequence>
  66 + </xs:extension>
  67 + </xs:complexContent>
  68 + </xs:complexType>
  69 + </xs:element>
  70 +
  71 +</xs:schema>
... ...
... ... @@ -96,8 +96,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
96 96 <xs:enumeration value="31" />
97 97 <!-- token -->
98 98 <xs:enumeration value="32" />
99   - <!-- trafficPattern -->
100   - <xs:enumeration value="33" />
  99 + <!-- void: trafficPattern -->
101 100 <!-- dynamicAuthorizationConsultation -->
102 101 <xs:enumeration value="34" />
103 102 <!-- authorizationDecision -->
... ... @@ -124,6 +123,10 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
124 123 <xs:enumeration value="45" />
125 124 <!-- multimediaSession -->
126 125 <xs:enumeration value="46" />
  126 + <!-- triggerRequest -->
  127 + <xs:enumeration value="47" />
  128 + <!-- crossResourceSubscription -->
  129 + <xs:enumeration value="48" />
127 130 <!-- accessControlPolicyAnnc -->
128 131 <xs:enumeration value="10001" />
129 132 <!-- AEAnnc -->
... ... @@ -152,8 +155,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
152 155 <xs:enumeration value="10029" />
153 156 <!-- timeSeriesInstanceAnnc -->
154 157 <xs:enumeration value="10030" />
155   - <!-- trafficPatternAnnc -->
156   - <xs:enumeration value="10033" />
  158 + <!-- void: trafficPatternAnnc -->
157 159 <!-- dynamicAuthorizationConsultationAnnc -->
158 160 <xs:enumeration value="10034" />
159 161 <!-- ontologyRepositoryAnnc -->
... ... @@ -358,7 +360,11 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
358 360 <!-- LINKED_SEMANTICS_NOT_AVAILABLE -->
359 361 <xs:enumeration value="4119" />
360 362 <!-- INVALID_SEMANTICS -->
361   - <xs:enumeration value="4120" />
  363 + <xs:enumeration value="4120" />
  364 + <!-- MASHUP_MEMBER_NOT_FOUND -->
  365 + <xs:enumeration value="4121" />
  366 + <!-- INVALID_TRIGGER_PURPOSE -->
  367 + <xs:enumeration value="4122" />
362 368 <!-- INTERNAL_SERVER_ERROR -->
363 369 <xs:enumeration value="5000" />
364 370 <!-- NOT_IMPLEMENTED -->
... ... @@ -389,8 +395,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
389 395 <xs:enumeration value="5211" />
390 396 <!-- SPARQL_UPDATE_ERROR -->
391 397 <xs:enumeration value="5212" />
392   - <!-- MASH_UP_OPERATION_FAILED -->
393   - <xs:enumeration value="5213" />
  398 + <!-- void: MASH_UP_OPERATION_FAILED -->
394 399 <!-- TARGET_HAS_NO_SESSION_CAPABILITY -->
395 400 <xs:enumeration value="5214" />
396 401 <!-- SESSION_IS_ONLINE -->
... ... @@ -399,6 +404,14 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
399 404 <xs:enumeration value="5216" />
400 405 <!-- LEAVE_MULTICAST_GROUP_FAILED -->
401 406 <xs:enumeration value="5217" />
  407 + <!-- TRIGGERING_DISABLED_FOR_RECIPIENT -->
  408 + <xs:enumeration value="5218" />
  409 + <!-- UNABLE_TO_REPLACE_TRIGGER_REQUEST -->
  410 + <xs:enumeration value="5219" />
  411 + <!-- UNABLE_TO_RECALL_TRIGGER_REQUEST -->
  412 + <xs:enumeration value="5220" />
  413 + <!-- CROSS_RESOURCE_OPERATION_FAILURE -->
  414 + <xs:enumeration value="5221" />
402 415 <!-- SPARQL_UPDATE_ERROR -->
403 416 <xs:enumeration value="6003" />
404 417 <!-- EXTERNAL_OBJECT_NOT_FOUND -->
... ... @@ -517,8 +530,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
517 530 <xs:enumeration value="31" />
518 531 <!-- token -->
519 532 <xs:enumeration value="32" />
520   - <!-- trafficPattern -->
521   - <xs:enumeration value="33" />
  533 + <!-- void: trafficPattern -->
522 534 <!-- dynamicAuthorizationConsultation -->
523 535 <xs:enumeration value="34" />
524 536 <!-- authorizationDecision -->
... ... @@ -543,6 +555,10 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
543 555 <xs:enumeration value="44" />
544 556 <!-- multimediaSession -->
545 557 <xs:enumeration value="46" />
  558 + <!-- triggerRequest -->
  559 + <xs:enumeration value="47" />
  560 + <!-- crossResourceSubscription -->
  561 + <xs:enumeration value="48" />
546 562 <!-- accessControlPolicyAnnc -->
547 563 <xs:enumeration value="10001" />
548 564 <!-- AEAnnc -->
... ... @@ -571,8 +587,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
571 587 <xs:enumeration value="10029" />
572 588 <!-- timeSeriesInstanceAnnc -->
573 589 <xs:enumeration value="10030" />
574   - <!-- trafficPatternAnnc -->
575   - <xs:enumeration value="10033" />
  590 + <!-- void: trafficPatternAnnc -->
576 591 <!-- dynamicAuthorizationConsultationAnnc -->
577 592 <xs:enumeration value="10034" />
578 593 <!-- ontologyRepositoryAnnc -->
... ... @@ -827,7 +842,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
827 842 <xs:documentation>This is used for mgmtObj resource.</xs:documentation>
828 843 </xs:annotation>
829 844 <xs:restriction base="xs:integer">
830   - <!-- unspecified -->
  845 + <!-- self-defined -->
831 846 <xs:enumeration value="0" />
832 847 <!-- firmware -->
833 848 <xs:enumeration value="1001" />
... ... @@ -1253,21 +1268,9 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1253 1268 </xs:restriction>
1254 1269 </xs:simpleType>
1255 1270  
1256   - <xs:simpleType name="periodicIndicator">
1257   - <xs:annotation>
1258   - <xs:documentation>Used for periodicIndicator attribute of trafficPattern resource</xs:documentation>
1259   - </xs:annotation>
1260   - <xs:restriction base="xs:integer">
1261   - <!-- Periodic -->
1262   - <xs:enumeration value="1" />
1263   - <!-- On demand -->
1264   - <xs:enumeration value="2" />
1265   - </xs:restriction>
1266   - </xs:simpleType>
1267   -
1268 1271 <xs:simpleType name="stationaryIndication">
1269 1272 <xs:annotation>
1270   - <xs:documentation>Used for periodicIndicator attribute of trafficPattern resource</xs:documentation>
  1273 + <xs:documentation>Used for stationaryIndication element attribute of m2m:activityPattern</xs:documentation>
1271 1274 </xs:annotation>
1272 1275 <xs:restriction base="xs:integer">
1273 1276 <!-- Stationary -->
... ... @@ -1279,7 +1282,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1279 1282  
1280 1283 <xs:simpleType name="contentStatus">
1281 1284 <xs:annotation>
1282   - <xs:documentation>Used for periodicIndicator attribute of trafficPattern resource</xs:documentation>
  1285 + <xs:documentation>Used for Content Status response parameter</xs:documentation>
1283 1286 </xs:annotation>
1284 1287 <xs:restriction base="xs:integer">
1285 1288 <!-- PARTIAL_CONTENT -->
... ... @@ -1309,15 +1312,17 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1309 1312  
1310 1313 <xs:simpleType name="triggerPurpose">
1311 1314 <xs:annotation>
1312   - <xs:documentation>Used for the triggerPurpose field of trigger requests on Mcn</xs:documentation>
  1315 + <xs:documentation>Used for the triggerPurpose field of trigger requests on Mcn and for triggerPurpose attribute of the triggerRequest resource</xs:documentation>
1313 1316 </xs:annotation>
1314 1317 <xs:restriction base="xs:integer">
1315 1318 <!-- establishConnection -->
1316   - <xs:enumeration value="0" />
1317   - <!-- registrationRequest -->
1318 1319 <xs:enumeration value="1" />
1319   - <!-- executeCRUD -->
  1320 + <!-- registrationRequest -->
1320 1321 <xs:enumeration value="2" />
  1322 + <!-- executeCRUD -->
  1323 + <xs:enumeration value="3" />
  1324 + <!-- enrolmentRequest -->
  1325 + <xs:enumeration value="4" />
1321 1326 </xs:restriction>
1322 1327 </xs:simpleType>
1323 1328  
... ... @@ -1467,7 +1472,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1467 1472 </xs:restriction>
1468 1473 </xs:simpleType>
1469 1474  
1470   -
1471 1475 <xs:simpleType name="sessionState">
1472 1476 <xs:annotation>
1473 1477 <xs:documentation>Used for sessionState attribute of multimediaSession resource</xs:documentation>
... ... @@ -1479,6 +1483,38 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
1479 1483 <xs:enumeration value="2" />
1480 1484 </xs:restriction>
1481 1485 </xs:simpleType>
  1486 +
  1487 + <xs:simpleType name="triggerStatus">
  1488 + <xs:annotation>
  1489 + <xs:documentation>Used in definining trigger status in the triggerRequest resource</xs:documentation>
  1490 + </xs:annotation>
  1491 + <xs:restriction base="xs:integer">
  1492 + <!-- PROCESSING -->
  1493 + <xs:enumeration value="1" />
  1494 + <!-- ERROR_NSE_NOT_FOUND -->
  1495 + <xs:enumeration value="2" />
  1496 + <!-- TRIGGER_SUBMITTED -->
  1497 + <xs:enumeration value="3" />
  1498 + <!-- TRIGGER_DELIVERED -->
  1499 + <xs:enumeration value="4" />
  1500 + <!-- TRIGGER_EXPIRED -->
  1501 + <xs:enumeration value="5" />
  1502 + <!-- TRIGGER_FAILED -->
  1503 + <xs:enumeration value="6" />
  1504 + </xs:restriction>
  1505 + </xs:simpleType>
  1506 +
  1507 + <xs:simpleType name="timeWindowType">
  1508 + <xs:annotation>
  1509 + <xs:documentation>Used for timeWindowType attribute in crossResourceSubscription resource</xs:documentation>
  1510 + </xs:annotation>
  1511 + <xs:restriction base="xs:integer">
  1512 + <!-- PERIODICWINDOW -->
  1513 + <xs:enumeration value="1" />
  1514 + <!-- SLIDINGWINDOW -->
  1515 + <xs:enumeration value="2" />
  1516 + </xs:restriction>
  1517 + </xs:simpleType>
1482 1518  
1483 1519 </xs:schema>
1484 1520  
... ...
... ... @@ -42,7 +42,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
42 42 <xs:include schemaLocation="CDT-activeCmdhPolicy-v3_7_0.xsd" />
43 43 <xs:include schemaLocation="CDT-subscription-v3_7_0.xsd" />
44 44 <xs:include schemaLocation="CDT-semanticDescriptor-v3_7_0.xsd" />
45   - <xs:include schemaLocation="CDT-trafficPattern-v3_7_0.xsd" />
46 45  
47 46 <xs:element name="node" substitutionGroup="m2m:sg_announceableResource">
48 47 <xs:complexType>
... ... @@ -55,7 +54,9 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
55 54 <xs:element name="hostedCSELink" type="m2m:ID" minOccurs="0" />
56 55 <xs:element name="hostedAELinks" type="m2m:listOfM2MID" minOccurs="0" />
57 56 <xs:element name="hostedServiceLinks" type="m2m:listOfM2MID" minOccurs="0" />
58   - <xs:element name="mgmtClientAddress" type="xs:string" minOccurs="0" />
  57 + <xs:element name="mgmtClientAddress" type="xs:string" minOccurs="0" />
  58 + <xs:element name="roamingStatus" type="xs:boolean" minOccurs="0" />
  59 + <xs:element name="networkID" type="xs:string" minOccurs="0" />
59 60  
60 61 <!-- Child Resources -->
61 62 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -75,7 +76,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
75 76 <xs:element ref="m2m:activeCmdhPolicy" />
76 77 <xs:element ref="m2m:subscription" />
77 78 <xs:element ref="m2m:semanticDescriptor" />
78   - <xs:element ref="m2m:trafficPattern" />
79 79 </xs:choice>
80 80 </xs:choice>
81 81 </xs:sequence>
... ... @@ -96,6 +96,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
96 96 <xs:element name="hostedAELinks" type="m2m:listOfM2MID" minOccurs="0" />
97 97 <xs:element name="hostedServiceLinks" type="m2m:listOfM2MID" minOccurs="0" />
98 98 <xs:element name="mgmtClientAddress" type="xs:string" minOccurs="0" />
  99 + <xs:element name="roamingStatus" type="xs:boolean" minOccurs="0" />
  100 + <xs:element name="networkID" type="xs:string" minOccurs="0" />
99 101  
100 102 <!-- Child Resources -->
101 103 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -114,7 +116,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
114 116 <xs:element ref="m2m:subscription" />
115 117 <xs:element ref="m2m:semanticDescriptor" />
116 118 <xs:element ref="m2m:semanticDescriptorAnnc" />
117   - <xs:element ref="m2m:trafficPatternAnnc" />
118 119 </xs:choice>
119 120 </xs:choice>
120 121 </xs:sequence>
... ...
... ... @@ -40,8 +40,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
40 40 <xs:include schemaLocation="CDT-ontologyRepository-v3_7_0.xsd" />
41 41 <xs:include schemaLocation="CDT-semanticMashupJobProfile-v3_7_0.xsd" />
42 42 <xs:include schemaLocation="CDT-semanticMashupInstance-v3_7_0.xsd" />
43   -
44   -
  43 + <xs:include schemaLocation="CDT-crossResourceSubscription-v3_7_0.xsd" />
45 44  
46 45 <xs:element name="remoteCSE" substitutionGroup="m2m:sg_announceableResource">
47 46 <xs:complexType>
... ... @@ -65,6 +64,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
65 64 <xs:element name="supportedReleaseVersions" type="m2m:supportedReleaseVersions" />
66 65 <xs:element name="multicastCapability" type="m2m:multicastCapability" minOccurs="0" />
67 66 <xs:element name="externalGroupID" type="m2m:externalID" minOccurs="0" />
  67 + <xs:element name="triggerEnable" type="xs:boolean" minOccurs="0" />
  68 + <xs:element name="activityPatternElements" type="m2m:activityPatternElements" minOccurs="0" />
68 69  
69 70 <!-- Child Resources -->
70 71 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -91,6 +92,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
91 92 <xs:element ref="m2m:semanticMashupJobProfileAnnc" />
92 93 <xs:element ref="m2m:semanticMashupInstance" />
93 94 <xs:element ref="m2m:semanticMashupInstanceAnnc" />
  95 + <xs:element ref="m2m:crossResourceSubscription" />
94 96 </xs:choice>
95 97 </xs:choice>
96 98 </xs:sequence>
... ... @@ -118,6 +120,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
118 120 <xs:element name="supportedReleaseVersions" type="m2m:supportedReleaseVersions" />
119 121 <xs:element name="multicastCapability" type="m2m:multicastCapability" minOccurs="0" />
120 122 <xs:element name="externalGroupID" type="m2m:externalID" minOccurs="0" />
  123 + <xs:element name="triggerEnable" type="xs:boolean" minOccurs="0" />
  124 + <xs:element name="activityPatternElements" type="m2m:activityPatternElements" minOccurs="0" />
121 125  
122 126 <!-- Child Resources -->
123 127 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -144,6 +148,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
144 148 <xs:element ref="m2m:semanticMashupJobProfileAnnc" />
145 149 <xs:element ref="m2m:semanticMashupInstance" />
146 150 <xs:element ref="m2m:semanticMashupInstanceAnnc" />
  151 + <xs:element ref="m2m:crossResourceSubscription" />
147 152 </xs:choice>
148 153 </xs:choice>
149 154 </xs:sequence>
... ...
... ... @@ -119,7 +119,11 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
119 119  
120 120 <xs:element name="resource" type="m2m:resourceWrapper" />
121 121  
122   - <xs:element name="URIList" type="m2m:listOfURIs" />
  122 + <xs:element name="URIList" >
  123 + <xs:simpleType>
  124 + <xs:list itemType="xs:anyURI" />
  125 + </xs:simpleType>
  126 + </xs:element>
123 127  
124 128 <xs:element name="URI" type="xs:anyURI" />
125 129  
... ...
... ... @@ -40,7 +40,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
40 40 <!-- Resource Specific Attributes -->
41 41 <xs:element name="statsCollectID" type="xs:string" />
42 42 <xs:element name="collectingEntityID" type="m2m:ID" />
43   - <xs:element name="collectedEntityID" type="m2m:ID" />
  43 + <xs:element name="collectedEntityID" type="m2m:listOfM2MID" />
44 44 <xs:element name="statsRuleStatus" type="m2m:statsRuleStatusType" />
45 45 <xs:element name="statModel" type="m2m:statModelType" />
46 46 <xs:element name="collectPeriod" type="m2m:scheduleEntries" minOccurs="0" />
... ...
... ... @@ -54,6 +54,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
54 54 <xs:element name="notificationContentType" type="m2m:notificationContentType" />
55 55 <xs:element name="notificationEventCat" type="m2m:eventCat" minOccurs="0" />
56 56 <xs:element name="subscriberURI" type="xs:anyURI" minOccurs="0" />
  57 + <xs:element name="associatedCrossResourceSub" type="m2m:resourceList" minOccurs="0" />
57 58  
58 59 <!-- Child Resources -->
59 60 <xs:choice minOccurs="0" maxOccurs="1">
... ... @@ -69,42 +70,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
69 70 </xs:complexType>
70 71 </xs:element>
71 72  
72   - <xs:complexType name="eventNotificationCriteria">
73   - <xs:sequence>
74   - <xs:element name="createdBefore" type="m2m:timestamp" minOccurs="0" />
75   - <xs:element name="createdAfter" type="m2m:timestamp" minOccurs="0" />
76   - <xs:element name="modifiedSince" type="m2m:timestamp" minOccurs="0" />
77   - <xs:element name="unmodifiedSince" type="m2m:timestamp" minOccurs="0" />
78   - <xs:element name="stateTagSmaller" type="xs:positiveInteger" minOccurs="0" />
79   - <xs:element name="stateTagBigger" type="xs:nonNegativeInteger" minOccurs="0" />
80   - <xs:element name="expireBefore" type="m2m:timestamp" minOccurs="0" />
81   - <xs:element name="expireAfter" type="m2m:timestamp" minOccurs="0" />
82   - <xs:element name="sizeAbove" type="xs:nonNegativeInteger" minOccurs="0" />
83   - <xs:element name="sizeBelow" type="xs:positiveInteger" minOccurs="0" />
84   - <xs:element name="operationMonitor" type="m2m:operationMonitor" minOccurs="0" maxOccurs="5" />
85   - <xs:element name="attribute" type="m2m:attributeList" minOccurs="0" maxOccurs="1" />
86   - <xs:element name="notificationEventType" type="m2m:notificationEventType" minOccurs="0" maxOccurs="5" />
87   - <xs:element name="childResourceType" minOccurs="0" maxOccurs="1" >
88   - <xs:simpleType>
89   - <xs:restriction>
90   - <xs:simpleType>
91   - <xs:list itemType="m2m:resourceType" />
92   - </xs:simpleType>
93   - <xs:minLength value="1" />
94   - </xs:restriction>
95   - </xs:simpleType>
96   - </xs:element>
97   - <xs:element name="missingData" type="m2m:missingData" minOccurs="0" />
98   - </xs:sequence>
99   - </xs:complexType>
100   -
101   - <xs:complexType name="operationMonitor">
102   - <xs:sequence>
103   - <xs:element name="operations" type="m2m:accessControlOperations" minOccurs="0" />
104   - <xs:element name="originator" type="m2m:ID" minOccurs="0" />
105   - </xs:sequence>
106   - </xs:complexType>
107   -
108 73 <xs:complexType name="batchNotify">
109 74 <xs:sequence>
110 75 <xs:element name="number" type="xs:nonNegativeInteger" minOccurs="0" />
... ...
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!--
3   -Copyright Notification
4   -
5   -The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices
6   -contained in the original materials on any copies of the materials and that you comply strictly with these terms.
7   -This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of
8   -any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document.
9   -© 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TTA, TTC). All rights reserved.
10   -
11   -Notice of Disclaimer & Limitation of Liability
12   -
13   -The information provided in this document is directed solely to professionals who have the appropriate degree of experience to understand
14   -and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations.
15   -No recommendation as to products or vendors is made or should be implied.
16   -
17   -NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE,
18   -GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY
19   -PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
20   -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
21   -ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.
22   -oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.
23   -
24   --->
25   -
26   -<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/protocols"
27   - xmlns:m2m="http://www.onem2m.org/xml/protocols" elementFormDefault="unqualified"
28   - attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
29   -
30   - <xs:include schemaLocation="CDT-commonTypes-v3_7_0.xsd" />
31   - <xs:include schemaLocation="CDT-subscription-v3_7_0.xsd" />
32   - <xs:include schemaLocation="CDT-schedule-v3_7_0.xsd" />
33   -
34   - <xs:element name="trafficPattern" substitutionGroup="m2m:sg_announceableResource">
35   - <xs:complexType>
36   - <xs:complexContent>
37   - <!-- Inherit Common Attributes -->
38   - <xs:extension base="m2m:announceableResource">
39   -
40   - <!-- Resource Specific Attributes -->
41   - <xs:sequence>
42   - <xs:element name="provideToNSE" type="xs:boolean" minOccurs="0" maxOccurs="1" />
43   - <xs:element name="periodicIndicator" type="m2m:periodicIndicator" minOccurs="0" maxOccurs="1" />
44   - <xs:element name="periodicDurationTime" type="xs:unsignedInt" minOccurs="0" maxOccurs="1" />
45   - <xs:element name="periodicIntervalTime" type="xs:unsignedInt" minOccurs="0" maxOccurs="1" />
46   - <xs:element name="stationaryIndication" type="m2m:stationaryIndication" minOccurs="0" maxOccurs="1" />
47   - <xs:element name="dataSizeIndicator" type="xs:positiveInteger" minOccurs="0" maxOccurs="1" />
48   - <xs:element name="validityTime" type="m2m:timestamp" minOccurs="0" maxOccurs="1" />
49   - <xs:element name="targetNetwork" type="m2m:listOfM2MID" />
50   -
51   - <!-- Child Resources -->
52   - <xs:choice minOccurs="0" maxOccurs="1">
53   - <xs:element name="childResource" type="m2m:childResourceRef" maxOccurs="unbounded" />
54   - <xs:choice minOccurs="0" maxOccurs="unbounded">
55   - <xs:element ref="m2m:subscription" minOccurs="0" maxOccurs="unbounded" />
56   - <xs:element ref="m2m:schedule" minOccurs="0" maxOccurs="1" />
57   - </xs:choice>
58   - </xs:choice>
59   - </xs:sequence>
60   - </xs:extension>
61   - </xs:complexContent>
62   - </xs:complexType>
63   - </xs:element>
64   -
65   - <xs:element name="trafficPatternAnnc" substitutionGroup="m2m:sg_announcedResource">
66   - <xs:complexType>
67   - <xs:complexContent>
68   - <!-- Inherit Common Attributes -->
69   - <xs:extension base="m2m:announcedResource">
70   -
71   - <!-- Resource Specific Attributes -->
72   - <xs:sequence>
73   - <xs:element name="provideToNSE" type="xs:boolean" minOccurs="0" maxOccurs="1" />
74   - <xs:element name="periodicIndicator" type="m2m:periodicIndicator" minOccurs="0" maxOccurs="1" />
75   - <xs:element name="periodicDurationTime" type="xs:unsignedInt" minOccurs="0" maxOccurs="1" />
76   - <xs:element name="periodicIntervalTime" type="xs:unsignedInt" minOccurs="0" maxOccurs="1" />
77   - <xs:element name="stationaryIndication" type="m2m:stationaryIndication" minOccurs="0" maxOccurs="1" />
78   - <xs:element name="dataSizeIndicator" type="xs:positiveInteger" minOccurs="0" maxOccurs="1" />
79   - <xs:element name="validityTime" type="m2m:timestamp" minOccurs="0" maxOccurs="1" />
80   - <xs:element name="targetNetwork" type="m2m:listOfM2MID" minOccurs="0" maxOccurs="1" />
81   -
82   - <!-- Child Resources -->
83   - <xs:choice minOccurs="0" maxOccurs="1">
84   - <xs:element name="childResource" type="m2m:childResourceRef" maxOccurs="unbounded" />
85   - <xs:choice minOccurs="0" maxOccurs="unbounded">
86   - <xs:element ref="m2m:subscription" minOccurs="0" maxOccurs="unbounded" />
87   - <xs:element ref="m2m:scheduleAnnc" minOccurs="0" maxOccurs="1" />
88   - </xs:choice>
89   - </xs:choice>
90   - </xs:sequence>
91   - </xs:extension>
92   - </xs:complexContent>
93   - </xs:complexType>
94   - </xs:element>
95   -</xs:schema>
96 0 \ No newline at end of file
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 +Copyright Notification
  4 +
  5 +The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices
  6 +contained in the original materials on any copies of the materials and that you comply strictly with these terms.
  7 +This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of
  8 +any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document.
  9 +© 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC). All rights reserved.
  10 +
  11 +
  12 +Notice of Disclaimer & Limitation of Liability
  13 +
  14 +The information provided in this document is directed solely to professionals who have the appropriate degree of experience to understand
  15 +and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations.
  16 +No recommendation as to products or vendors is made or should be implied.
  17 +
  18 +NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE,
  19 +GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY
  20 +PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
  21 +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
  22 +ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.
  23 +oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.
  24 +
  25 +-->
  26 +
  27 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/protocols"
  28 + xmlns:m2m="http://www.onem2m.org/xml/protocols" elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="CDT-commonTypes-v3_7_0.xsd" />
  31 + <xs:include schemaLocation="CDT-subscription-v3_7_0.xsd" />
  32 +
  33 + <xs:element name="triggerRequest" substitutionGroup="m2m:sg_regularResource">
  34 + <xs:complexType>
  35 + <xs:complexContent>
  36 + <!-- Inherit common attributes from RegularResource Type -->
  37 + <xs:extension base="m2m:regularResource">
  38 + <xs:sequence>
  39 + <!-- Resource Specific Attributes -->
  40 + <xs:element name="M2M-Ext-ID" type="m2m:externalID" />
  41 + <xs:element name="Trigger-Recipient-ID" type="m2m:triggerRecipientID" />
  42 + <xs:element name="triggerPurpose" type="m2m:triggerPurpose" />
  43 + <xs:element name="triggerPayloadSerialization" type="m2m:serializationType" />
  44 + <xs:element name="triggerStatus" type="m2m:triggerStatus" />
  45 + <xs:element name="triggerValidityTime" type="m2m:timestamp" minOccurs="0" />
  46 + <xs:element name="triggerInfoAE-ID" type="m2m:ID" minOccurs="0" />
  47 + <xs:element name="triggerInfoAddress" type="xs:anyURI" minOccurs="0" />
  48 + <xs:element name="triggerInfoOperation" type="m2m:operation" minOccurs="0" />
  49 + <xs:element name="targetedResourceType" type="m2m:resourceType" minOccurs="0" />
  50 +
  51 + <!-- Child Resources -->
  52 + <xs:choice minOccurs="0" maxOccurs="1">
  53 + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
  54 + <xs:choice minOccurs="1" maxOccurs="unbounded">
  55 + <xs:element ref="m2m:subscription" />
  56 + </xs:choice>
  57 + </xs:choice>
  58 + </xs:sequence>
  59 + </xs:extension>
  60 + </xs:complexContent>
  61 + </xs:complexType>
  62 + </xs:element>
  63 +
  64 +</xs:schema>
... ...