CDT-requestPrimitive-v2_16_0.xsd 6.7 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
    <xs:include schemaLocation="CDT-commonTypes-v2_16_0.xsd" /> 
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 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

    <xs:element name="requestPrimitive" >
      <xs:complexType>
        <xs:sequence>
          <!-- parameter "Operation"  -->
          <xs:element name="operation" type="m2m:operation" minOccurs="1"/>
          <!-- parameter "To" -->
          <xs:element name="to" type="xs:anyURI" minOccurs="1"/>
          <!-- parameter "From" -->
          <xs:element name="from" type="m2m:ID" minOccurs="0"/>
          <!-- parameter "Request Identifier" -->
          <xs:element name="requestIdentifier" type="m2m:requestID" minOccurs="1"/> 
          <!-- parameter "ResourceType" -->
          <xs:element name="resourceType" type="m2m:resourceType" minOccurs="0"/>
          <!-- parameter "Content" -->
          <xs:element name="primitiveContent" type="m2m:primitiveContent" minOccurs="0"/> 
          <!-- parameter "Role IDs" -->
          <xs:element name="roleIDs" minOccurs="0">      
              <xs:simpleType>
                <xs:restriction> 
                  <xs:simpleType> 
                    <xs:list itemType="m2m:roleID" /> 
                  </xs:simpleType> 				
                  <xs:minLength value="1" /> 
                </xs:restriction> 
              </xs:simpleType>
          </xs:element>
          
          <!-- parameter "Originating Timestamp" -->
          <xs:element name="originatingTimestamp" type="m2m:timestamp" minOccurs="0"/>
          <!-- parameter "Request Expiration Timestamp" -->
          <xs:element name="requestExpirationTimestamp" type="m2m:absRelTimestamp" minOccurs="0"/>
          <!-- parameter "Result Expiration Timestamp" -->
          <xs:element name="resultExpirationTimestamp" type="m2m:absRelTimestamp" minOccurs="0"/>
          <!-- parameter "Operation Execution Time" -->
          <xs:element name="operationExecutionTime" type="m2m:absRelTimestamp" minOccurs="0"/>
          <!-- parameter "Response Type" -->
          <xs:element name="responseType" type="m2m:responseTypeInfo" minOccurs="0"/>
          <!-- parameter "Result Persistence" -->
          <xs:element name="resultPersistence" type="m2m:absRelTimestamp" minOccurs="0"/>
          <!-- parameter "Result Content" -->
          <xs:element name="resultContent" type="m2m:resultContent" minOccurs="0"/>
          <!-- parameter "Event Category" -->
          <xs:element name="eventCategory" type="m2m:eventCat" minOccurs="0"/>
          <!-- parameter "Delivery Aggregation" -->
          <xs:element name="deliveryAggregation" type="xs:boolean" minOccurs="0"/>
          <!-- parameter "Group Request Identifier" -->
          <xs:element name="groupRequestIdentifier" type="xs:string" minOccurs="0"/>        
          <!-- parameter "Filter Criteria" -->
          <xs:element name="filterCriteria" type="m2m:filterCriteria" minOccurs="0"/>
          <!-- parameter "Discovery Result Type" -->
          <xs:element name="discoveryResultType" type="m2m:discResType" minOccurs="0"/>
          <!-- parameter "Tokens" -->
          <xs:element name="tokens" minOccurs="0">
            <xs:simpleType>
              <xs:restriction> 
                <xs:simpleType> 
                  <xs:list itemType="m2m:dynAuthJWT" /> 
                </xs:simpleType> 				
                <xs:minLength value="1" /> 
              </xs:restriction> 
            </xs:simpleType>
          </xs:element> 
          <!-- parameter "Token IDs" -->
          <xs:element name="tokenIDs" minOccurs="0">
            <xs:simpleType>
              <xs:restriction> 
                <xs:simpleType> 
                  <xs:list itemType="m2m:tokenID" /> 
                </xs:simpleType> 				
                <xs:minLength value="1" /> 
              </xs:restriction> 
            </xs:simpleType>
          </xs:element>                   
          <!-- parameter "Local Token IDs" -->
          <xs:element name="localTokenIDs" minOccurs="0">
            <xs:simpleType>
              <xs:restriction> 
                <xs:simpleType> 
                  <xs:list itemType="xs:NCName" /> 
                </xs:simpleType> 				
                <xs:minLength value="1" /> 
              </xs:restriction> 
            </xs:simpleType>
          </xs:element>
          <!-- parameter "Token Request Indicator" -->
          <xs:element name="tokenRequestIndicator" type="xs:boolean" minOccurs="0"/>
Wolfgang Granzow's avatar
Wolfgang Granzow committed
119
          <!-- parameter "Release Version Indicator" -->
120
          <xs:element name="releaseVersionIndicator" type="m2m:releaseVersion" minOccurs="1"/>
Wolfgang Granzow's avatar
Wolfgang Granzow committed
121
          <!-- parameter "Vendor Information" -->
122
          <xs:element name="vendorInformation" type="xs:string" minOccurs="0"/>      
123 124 125 126 127 128 129 130
        </xs:sequence> 	       
      </xs:complexType>
    </xs:element>
  
    <xs:element name="attributeList" type="m2m:attributeList"  />
  
</xs:schema>