CDT-responsePrimitive-v3_9_0.xsd 9.13 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Copyright Notification


The oneM2M Partners authorize you to copy this document, 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. 
© 2016, 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:xs="http://www.w3.org/2001/XMLSchema" 	
      targetNamespace="http://www.onem2m.org/xml/protocols" 
      xmlns:m2m="http://www.onem2m.org/xml/protocols"
      elementFormDefault="unqualified" attributeFormDefault="unqualified" >   

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
  <xs:include schemaLocation="CDT-commonTypes-v3_9_0.xsd" /> 
  <xs:include schemaLocation="CDT-accessControlPolicy-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-activeCmdhPolicy-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-AE-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-areaNwkDeviceInfo-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-areaNwkInfo-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-battery-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhBuffer-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhDefaults-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhDefEcValue-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhEcDefParamValues-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhLimits-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhNetworkAccessRules-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhNwAccessRule-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-cmdhPolicy-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-container-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-contentInstance-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-CSEBase-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-delivery-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-deviceCapability-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-deviceInfo-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-eventConfig-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-eventLog-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-execInstance-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-firmware-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-group-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-locationPolicy-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-m2mServiceSubscriptionProfile-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-memory-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-mgmtCmd-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-node-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-notification-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-pollingChannel-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-reboot-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-remoteCSE-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-request-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-requestPrimitive-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-responsePrimitive-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-schedule-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-serviceSubscribedAppRule-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-serviceSubscribedNode-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-software-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-statsCollect-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-statsConfig-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-subscription-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-timeSeries-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-timeSeriesInstance-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-role-v3_9_0.xsd" />
  <xs:include schemaLocation="CDT-token-v3_9_0.xsd" />
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173

  <xs:element name="responsePrimitive" >
      <xs:complexType>
        <xs:sequence>
          <!-- Response Code and Status Code primitive parameters defined in TS-0001 have been merged into
               Response Status Code  in TS-0004 -->
          <!-- parameter "Response Status Code" -->
          <xs:element name="responseStatusCode" type="m2m:responseStatusCode" minOccurs="1"/>
          <!-- parameter "Request Identifier" -->
          <xs:element name="requestIdentifier" type="m2m:requestID" minOccurs="1"/> 
          <!-- parameter "Content" -->
          <xs:element name="primitiveContent" type="m2m:primitiveContent" minOccurs="0"/>
          <!-- parameter "To" -->
          <xs:element name="to" type="m2m:ID" minOccurs="0"/>
          <!-- parameter "From" -->
          <xs:element name="from" type="m2m:ID" minOccurs="0"/>
          <!-- parameter "Originating Timestamp" -->
          <xs:element name="originatingTimestamp" type="m2m:timestamp" minOccurs="0"/>
          <!-- parameter "Result Expiration Timestamp" -->
          <xs:element name="resultExpirationTimestamp" type="m2m:absRelTimestamp" minOccurs="0"/>
          <!-- parameter "Event Category" -->
          <xs:element name="eventCategory" type="m2m:eventCat" minOccurs="0" />        
          <!-- parameter "Content Status" -->
          <xs:element name="contentStatus" type="m2m:contentStatus" minOccurs="0" />
          <!-- parameter "Content Offset" -->
          <xs:element name="contentOffset" type="xs:positiveInteger" minOccurs="0" />
          <!-- parameter "Assigned Token Identifiers -->
          <xs:element name="assignedTokenIdentifiers" type="m2m:dynAuthLocalTokenIdAssignments" minOccurs="0" />
          <!-- parameter "Token Request Information -->
          <xs:element name="tokenRequestInformation" type="m2m:dynAuthTokenReqInfo" minOccurs="0" />    
          <!-- parameter "Authorization Signature Request Information -->
          <xs:element name="authorSignReqInfo" type="xs:boolean" minOccurs="0" />
          <!-- parameter "Release Version Indicator" -->
          <xs:element name="releaseVersionIndicator" type="m2m:releaseVersion" minOccurs="1"/> 
          <!-- parameter "Vendor Information" -->
          <xs:element name="vendorInformation" type="xs:string" minOccurs="0"/>
        </xs:sequence> 	       
      </xs:complexType>
    </xs:element>
  
  <xs:element name="resource" type="m2m:resourceWrapper"  />
  
  <xs:element name="URIList" >
    <xs:simpleType> 
      <xs:list itemType="xs:anyURI" /> 
    </xs:simpleType> 				
  </xs:element>
  
  <xs:element name="URI" type="xs:anyURI"  />
  
  <xs:element name="aggregatedResponse" type="m2m:aggregatedResponse" />
  
  <xs:element name="resourceRefList" type="m2m:listOfChildResourceRef" />
  
  <xs:element name="debugInfo" type="xs:string" />
  
  <xs:element name="queryResult" type="xs:string" />
  
  <xs:complexType name="resourceWrapper">	
    <xs:sequence>
      <xs:choice minOccurs="1" maxOccurs="1">
        <xs:element ref="m2m:sg_resource" />
        <xs:element ref="m2m:sg_regularResource" />
        <xs:element ref="m2m:sg_announcedResource" />   
        <xs:element ref="m2m:sg_announceableResource" />
        <xs:element ref="m2m:sg_subordinateResource" />
        <xs:element ref="m2m:sg_announcedSubordinateResource" />
        <xs:element ref="m2m:sg_announceableSubordinateResource" />
        <xs:element ref="m2m:sg_mgmtResource" />
        <xs:element ref="m2m:sg_announcedMgmtResource" />
        <xs:element ref="m2m:sg_flexContainerResource" />
        <xs:element ref="m2m:sg_announcedFlexContainerResource" />
      </xs:choice>
      <xs:element name="URI" type="xs:anyURI" />		
    </xs:sequence>	
  </xs:complexType>
  
  
  <xs:complexType name="aggregatedResponse">    
    <xs:sequence>
      <xs:element name="resourceID" type="xs:anyURI" minOccurs="0"/>      
      <xs:element ref="m2m:responsePrimitive" minOccurs="0" maxOccurs="unbounded"/>      
    </xs:sequence> 	       
  </xs:complexType> 
  
  <xs:complexType name="listOfChildResourceRef">    
    <xs:sequence>  
      <xs:element name="resourceRef" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
    </xs:sequence> 	       
  </xs:complexType> 
  

</xs:schema>