Commit 760cfa4b86946768f7fa0e9f39efdfebda891201

Authored by Wolfgang Granzow
1 parent 31b517ae

initial version of XSD files v2_0_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, TSDSI, 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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="SEC-commonTypes-v2_0_0.xsd" />
  31 + <xs:include schemaLocation="SEC-mafClientReg-v2_0_0.xsd" />
  32 + <xs:include schemaLocation="SEC-symmKeyReg-v2_0_0.xsd" />
  33 +
  34 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  35 +
  36 +
  37 + <xs:element name="MAFBase" substitutionGroup="m2m:sg_resource">
  38 + <xs:complexType>
  39 + <xs:complexContent>
  40 + <!-- Inherit just the universal resource attributes -->
  41 + <xs:extension base="m2m:resource">
  42 + <xs:sequence>
  43 + <!-- Resource Specific Attributes -->
  44 +
  45 + <!-- Child Resources -->
  46 + <xs:choice minOccurs="0" maxOccurs="1">
  47 + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
  48 + <xs:choice minOccurs="1" maxOccurs="unbounded">
  49 + <xs:element ref="sec:mafClientReg" />
  50 + <xs:element ref="sec:symmKeyReg" />
  51 + </xs:choice>
  52 + </xs:choice>
  53 + </xs:sequence>
  54 + </xs:extension>
  55 + </xs:complexContent>
  56 + </xs:complexType>
  57 + </xs:element>
  58 +</xs:schema>
... ...
  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 +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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="SEC-commonTypes-v2_0_0.xsd" />
  31 + <xs:include schemaLocation="SEC-mefClientReg-v2_0_0.xsd" />
  32 + <xs:include schemaLocation="SEC-symmKeyReg-v2_0_0.xsd" />
  33 +
  34 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  35 +
  36 +
  37 + <xs:element name="MEFBase" substitutionGroup="m2m:sg_resource">
  38 + <xs:complexType>
  39 + <xs:complexContent>
  40 + <!-- Inherit just the universal resource attributes -->
  41 + <xs:extension base="m2m:resource">
  42 + <xs:sequence>
  43 + <!-- Resource Specific Attributes -->
  44 +
  45 + <!-- Child Resources -->
  46 + <xs:choice minOccurs="0" maxOccurs="1">
  47 + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
  48 + <xs:choice minOccurs="1" maxOccurs="unbounded">
  49 + <xs:element ref="sec:mefClientReg" />
  50 + <xs:element ref="sec:symmKeyReg" />
  51 + </xs:choice>
  52 + </xs:choice>
  53 + </xs:sequence>
  54 + </xs:extension>
  55 + </xs:complexContent>
  56 + </xs:complexType>
  57 + </xs:element>
  58 +</xs:schema>
... ...
  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 +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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  31 +
  32 + <!--********************** -->
  33 + <!-- Simple Types -->
  34 + <!--********************** -->
  35 +
  36 + <xs:simpleType name="relKeyID">
  37 + <xs:restriction base="xs:anyURI" />
  38 + </xs:simpleType>
  39 +
  40 + <xs:simpleType name="credentialID">
  41 + <xs:restriction base="xs:anyURI" />
  42 + </xs:simpleType>
  43 +
  44 + <!-- no XSD validation of syntax correctness, see clause 12.2 of TS-0003 -->
  45 + <xs:simpleType name="deviceConfigURI">
  46 + <xs:restriction base="xs:anyURI" />
  47 + </xs:simpleType>
  48 +
  49 +
  50 + <!--********************** -->
  51 + <!-- Enumerated Types -->
  52 + <!--********************** -->
  53 +
  54 + <xs:simpleType name="credIDTypeID">
  55 + <xs:annotation>
  56 + <xs:documentation>Used for m2m:e2eSecInfo and other security features in TS-0003</xs:documentation>
  57 + </xs:annotation>
  58 + <xs:restriction base="xs:integer">
  59 + <!-- pre-provisioned symmetric key intended to be shared with a MEF -->
  60 + <xs:enumeration value="10" />
  61 + <!-- pre-provisioned symmetric key intended to be shared with a MAF -->
  62 + <xs:enumeration value="11" />
  63 + <!-- pre-provisioned symmetric key intended for use in a Security Associated Establishment Framework (SAEF) -->
  64 + <xs:enumeration value="12" />
  65 + <!-- pre-provisioned symmetric key intended for use in End-to-End Security of Primitives (ESPrim) -->
  66 + <xs:enumeration value="13" />
  67 + <!-- pre-provisioned symmetric key intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt End-to-End Security of Data (ESData) Data classes -->
  68 + <xs:enumeration value="14" />
  69 + <!-- pre-provisioned symmetric key intended for use in Signature-only ESData Security Class -->
  70 + <xs:enumeration value="15" />
  71 + <!-- symmetric key, provisioned via a Remote Security Provisioning Framework (RSPF), and intended to be shared with a MAF -->
  72 + <xs:enumeration value="21" />
  73 + <!-- symmetric key, provisioned via a RSPF, and intended for use in a SAEF -->
  74 + <xs:enumeration value="22" />
  75 + <!-- symmetric key, provisioned via a RSPF, and intended for use in ESPrim -->
  76 + <xs:enumeration value="23" />
  77 + <!-- symmetric key, provisioned via a RSPF, and intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt ESData) Data classes -->
  78 + <xs:enumeration value="24" />
  79 + <!-- symmetric key, provisioned via a RSPF, and intended for use in Signature-only ESData Security Class -->
  80 + <xs:enumeration value="25" />
  81 + <!-- MAF-distributed symmetric key intended for use in a SAEF -->
  82 + <xs:enumeration value="32" />
  83 + <!-- MAF-distributed symmetric key intended for use in ESPrim -->
  84 + <xs:enumeration value="33" />
  85 + <!-- MAF-distributed symmetric key intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt ESData Data classes -->
  86 + <xs:enumeration value="34" />
  87 + <!-- MAF-distributed symmetric key intended for use in Signature-only ESData Security Class -->
  88 + <xs:enumeration value="35" />
  89 + <!-- certificate intended to be shared with a MEF -->
  90 + <xs:enumeration value="40" />
  91 + <!-- certificate intended to be shared with a MAF -->
  92 + <xs:enumeration value="41" />
  93 + <!-- certificate intended for use in a Security Associated Establishment Framework (SAEF) -->
  94 + <xs:enumeration value="42" />
  95 + <!-- certificate intended for use in End-to-End Security of Primitives (ESPrim) -->
  96 + <xs:enumeration value="43" />
  97 + <!-- certificate intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt End-to-End Security of Data (ESData) Data classes -->
  98 + <xs:enumeration value="44" />
  99 + <!-- certificate intended for use in Signature-only ESData Security Class -->
  100 + <xs:enumeration value="45" />
  101 + </xs:restriction>
  102 + </xs:simpleType>
  103 +
  104 +
  105 + <xs:simpleType name="devMgmtID">
  106 + <xs:annotation>
  107 + <xs:documentation>Used for cmdDecription element of the cmdID attribute of mefClientCmd resource type</xs:documentation>
  108 + </xs:annotation>
  109 + <xs:restriction base="xs:integer">
  110 + <!-- OMA DMv1.3 -->
  111 + <xs:enumeration value="1" />
  112 + <!-- OMA DMv2.0 -->
  113 + <xs:enumeration value="2" />
  114 + <!-- OMA LwM2M -->
  115 + <xs:enumeration value="3" />
  116 + <!-- BBF TR-069 -->
  117 + <xs:enumeration value="4" />
  118 + </xs:restriction>
  119 + </xs:simpleType>
  120 +
  121 +
  122 + <xs:simpleType name="cmdClassID">
  123 + <xs:annotation>
  124 + <xs:documentation>Used for cmdDecription element of the cmdID attribute of mefClientCmd resource type</xs:documentation>
  125 + </xs:annotation>
  126 + <xs:restriction base="xs:integer">
  127 + <!-- NO_MORE_COMMANDS -->
  128 + <xs:enumeration value="0" />
  129 + <!-- CERT_PROV -->
  130 + <xs:enumeration value="1" />
  131 + <!-- DEV_CFG -->
  132 + <xs:enumeration value="2" />
  133 + <!-- MO_NODE -->
  134 + <xs:enumeration value="3" />
  135 + </xs:restriction>
  136 + </xs:simpleType>
  137 +
  138 +
  139 + <xs:simpleType name="cmdStatusCode">
  140 + <xs:annotation>
  141 + <xs:documentation>Used for cmdStatusCode attribute of mefClientCmd resource type</xs:documentation>
  142 + </xs:annotation>
  143 + <xs:restriction base="xs:integer">
  144 + <!-- MEF_CLIENT_CMD_ISSUED -->
  145 + <xs:enumeration value="10" />
  146 + <!-- MEF_CLIENT_CMD_REISSUED -->
  147 + <xs:enumeration value="11" />
  148 + <!-- MEF_CLIENT_CMD_OK -->
  149 + <xs:enumeration value="20" />
  150 + <!-- MEF_CLIENT_CMD_CLASS_NOT_SUPPORTED -->
  151 + <xs:enumeration value="40" />
  152 + <!-- MEF_CLIENT_CMD_BAD_ARGUMENTS -->
  153 + <xs:enumeration value="41" />
  154 + <!-- MEF_CLIENT_CMD_UNACCEPTABLE_ARGUMENTS -->
  155 + <xs:enumeration value="42" />
  156 + <!-- MEF_CLIENT_CMD_CERT_PROV_SERVER_ERROR -->
  157 + <xs:enumeration value="100" />
  158 + <!-- MEF_CLIENT_CMD_CERT_PROV_CLIENT_ERROR -->
  159 + <xs:enumeration value="101" />
  160 + <!-- MEF_CLIENT_CMD_DEV_CFG_SERVER_ERROR -->
  161 + <xs:enumeration value="201" />
  162 + <!-- MEF_CLIENT_CMD_DEV_CFG_CLIENT_ERROR -->
  163 + <xs:enumeration value="202" />
  164 + <!-- MEF_CLIENT_CMD_MO_NODE_NOT_FOUND -->
  165 + <xs:enumeration value="300" />
  166 + <!-- MEF_CLIENT_CMD_MO_NODE_TYPE_CONFLICT -->
  167 + <xs:enumeration value="301" />
  168 + <!-- MMEF_CLIENT_CMD_MO_NODE_BAD_ARGS -->
  169 + <xs:enumeration value="302" />
  170 + <!-- MEF_CLIENT_CMD_MO_NODE_UNACCEPTABLE_ARGS -->
  171 + <xs:enumeration value="303" />
  172 + <!-- MEF_CLIENT_CMD_MO_NODE_INCONSISTENT_CONFIG -->
  173 + <xs:enumeration value="304" />
  174 + <!-- MEF_CLIENT_CMD_MO_NODE_EXECUTION_ERROR -->
  175 + <xs:enumeration value="305" />
  176 + </xs:restriction>
  177 + </xs:simpleType>
  178 +
  179 +
  180 + <xs:simpleType name="certProvProtocolID">
  181 + <xs:annotation>
  182 + <xs:documentation>Used for certProvProtocolID element of sec:cmdArgs data type</xs:documentation>
  183 + </xs:annotation>
  184 + <xs:restriction base="xs:integer">
  185 + <!-- EST -->
  186 + <xs:enumeration value="1" />
  187 + <!-- SCEP -->
  188 + <xs:enumeration value="2" />
  189 + </xs:restriction>
  190 + </xs:simpleType>
  191 +
  192 + <xs:simpleType name="certSubjectType">
  193 + <xs:annotation>
  194 + <xs:documentation>Used for certSubjectType element of the sec:certProvCmdArgs data type</xs:documentation>
  195 + </xs:annotation>
  196 + <xs:restriction base="xs:integer">
  197 + <!-- Node-ID -->
  198 + <xs:enumeration value="1" />
  199 + <!-- CSE-ID -->
  200 + <xs:enumeration value="2" />
  201 + <!-- AE-ID -->
  202 + <xs:enumeration value="3" />
  203 + </xs:restriction>
  204 + </xs:simpleType>
  205 +
  206 +
  207 + <xs:simpleType name="objectTypeID">
  208 + <xs:annotation>
  209 + <xs:documentation>Used for objectTypeID element of the sec:MONodeCmdArgs data type</xs:documentation>
  210 + </xs:annotation>
  211 + <xs:restriction base="xs:integer">
  212 + <!-- [authenticationProfile] -->
  213 + <xs:enumeration value="1" />
  214 + <!-- [trustAnchorCred] -->
  215 + <xs:enumeration value="2" />
  216 + <!-- [MAFClientRefCfg] -->
  217 + <xs:enumeration value="3" />
  218 + </xs:restriction>
  219 + </xs:simpleType>
  220 +
  221 +
  222 +
  223 + <!--********************** -->
  224 + <!-- Complex Types -->
  225 + <!--********************** -->
  226 +
  227 + <xs:complexType name="clientRegCfg">
  228 + <xs:sequence>
  229 + <xs:element name="expirationTime" type="m2m:timestamp" minOccurs="0" maxOccurs="1" />
  230 + <xs:element name="labels" type="m2m:labels" minOccurs="0" maxOccurs="1" />
  231 + <xs:element name="fqdn" type="xs:anyURI" minOccurs="1" maxOccurs="1" />
  232 + <xs:element name="adminFQDN" type="xs:anyURI" minOccurs="1" maxOccurs="1" />
  233 + <xs:element name="httpPort" type="xs:unsignedByte" minOccurs="0" maxOccurs="1" />
  234 + <xs:element name="coapPort" type="xs:unsignedByte" minOccurs="0" maxOccurs="1" />
  235 + <xs:element name="websocketPort" type="xs:unsignedByte" minOccurs="0" maxOccurs="1" />
  236 + </xs:sequence>
  237 + </xs:complexType>
  238 +
  239 + <xs:complexType name="keyRegCfg">
  240 + <xs:sequence>
  241 + <xs:element name="expirationTime" type="m2m:timestamp" minOccurs="0" maxOccurs="1" />
  242 + <xs:element name="labels" type="m2m:labels" minOccurs="0" maxOccurs="1" />
  243 + <xs:element name="adminFQDN" type="xs:anyURI" minOccurs="1" maxOccurs="1" />
  244 + <xs:element name="SUID" type="xs:unsignedByte" minOccurs="1" maxOccurs="1" />
  245 + <xs:element name="targetIDs" type="m2m:listOfM2MID" minOccurs="0" maxOccurs="1" />
  246 + </xs:sequence>
  247 + </xs:complexType>
  248 +
  249 + <xs:complexType name="cmdArgs">
  250 + <xs:choice>
  251 + <xs:element name="noMoreCmdArgs" type="sec:noMoreCmdArgs" minOccurs="0" maxOccurs="1" />
  252 + <xs:element name="certProvCmdArgs" type="sec:certProvCmdArgs" minOccurs="0" maxOccurs="1" />
  253 + <xs:element name="devCfgCmdArgs" type="sec:devCfgCmdArgs" minOccurs="0" maxOccurs="1" />
  254 + <xs:element name="MONodeCmdArgs" type="sec:MONodeCmdArgs" minOccurs="0" maxOccurs="1" />
  255 + </xs:choice>
  256 + </xs:complexType>
  257 +
  258 +
  259 + <xs:complexType name="noMoreCmdArgs">
  260 + <xs:sequence>
  261 + <xs:element name="retryDuration" type="xs:duration" />
  262 + </xs:sequence>
  263 + </xs:complexType>
  264 +
  265 + <xs:complexType name="MONodeCmdArgs">
  266 + <xs:sequence>
  267 + <xs:element name="objectPath" type="xs:anyURI" minOccurs="1" maxOccurs="1" />
  268 + <xs:element name="objectTypeID" type="sec:objectTypeID" minOccurs="1" maxOccurs="1" />
  269 + <xs:element name="objectTypeSpecificArgs" type="sec:authProfileMONodeArgs" minOccurs="0" maxOccurs="1" />
  270 + </xs:sequence>
  271 + </xs:complexType>
  272 +
  273 +
  274 + <xs:complexType name="authProfileMONodeArgs">
  275 + <xs:sequence>
  276 + <xs:element name="SUID" type="m2m:suid" minOccurs="1" />
  277 + </xs:sequence>
  278 + </xs:complexType>
  279 +
  280 +
  281 + <xs:complexType name="devCfgCmdArgs">
  282 + <xs:sequence>
  283 + <xs:element name="deviceConfigURI" type="sec:deviceConfigURI" minOccurs="0" maxOccurs="1" />
  284 + </xs:sequence>
  285 + </xs:complexType>
  286 +
  287 + <xs:complexType name="certProvCmdArgs">
  288 + <xs:sequence>
  289 + <xs:element name="certProvProtocolID" type="sec:certProvProtocolID" />
  290 + <xs:element name="URI" type="xs:anyURI" />
  291 + <xs:element name="certSubjectType" type="sec:certSubjectType" />
  292 + <xs:element name="certSubjectID" >
  293 + <xs:simpleType>
  294 + <xs:union>
  295 + <xs:simpleType>
  296 + <xs:restriction base='m2m:nodeID' />
  297 + </xs:simpleType>
  298 + <xs:simpleType>
  299 + <xs:restriction base='m2m:ID' />
  300 + </xs:simpleType>
  301 + </xs:union>
  302 + </xs:simpleType>
  303 + </xs:element>
  304 + </xs:sequence>
  305 + </xs:complexType>
  306 +
  307 +
  308 + <xs:complexType name="cmdDescription">
  309 + <xs:sequence>
  310 + <xs:sequence>
  311 + <xs:element name="cmdClassID" type="sec:cmdClassID" />
  312 + <xs:element name="cmdArgs" type="sec:cmdArgs" />
  313 + <xs:element name="targetID" type="m2m:ID" />
  314 + </xs:sequence>
  315 + </xs:sequence>
  316 + </xs:complexType>
  317 +
  318 +
  319 +</xs:schema>
... ...
  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 +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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="SEC-commonTypes-v2_0_0.xsd" />
  31 +
  32 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  33 +
  34 +
  35 + <xs:element name="mafClientReg" substitutionGroup="m2m:sg_resource">
  36 + <xs:complexType>
  37 + <xs:complexContent>
  38 + <!-- Inherit just the universal resource attributes -->
  39 + <xs:extension base="m2m:resource">
  40 + <xs:sequence>
  41 + <!-- Universial/common Attributes -->
  42 + <xs:element name="expirationTime" type="m2m:timestamp" minOccurs="0" />
  43 + <xs:element name="creator" type="m2m:ID" minOccurs="0" />
  44 + <!-- Resource Specific Attributes -->
  45 + <xs:element name="adminFQDN" type="xs:anyURI" minOccurs="1" />
  46 + <xs:element name="assignedSymmKeyID" type="sec:credentialID" minOccurs="0" />
  47 +
  48 + <!-- Child Resources -->
  49 +
  50 + </xs:sequence>
  51 + </xs:extension>
  52 + </xs:complexContent>
  53 + </xs:complexType>
  54 + </xs:element>
  55 +</xs:schema>
... ...
  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 +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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="SEC-commonTypes-v2_0_0.xsd" />
  31 +
  32 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  33 +
  34 +
  35 +
  36 + <xs:element name="mefClientCmd" substitutionGroup="m2m:sg_resource">
  37 + <xs:complexType>
  38 + <xs:complexContent>
  39 + <!-- Inherit just the universal resource attributes -->
  40 + <xs:extension base="m2m:resource">
  41 + <xs:sequence>
  42 + <!-- Universial/common Attributes -->
  43 + <xs:element name="expirationTime" type="m2m:timestamp" minOccurs="0" />
  44 +
  45 + <!-- Resource Specific Attributes -->
  46 + <xs:element name="cmdID" type="m2m:requestID" minOccurs="1" />
  47 + <xs:element name="cmdDescription" type="sec:cmdDescription" minOccurs="1" />
  48 + <xs:element name="cmdStatusCode" type="sec:cmdStatusCode" minOccurs="1" />
  49 +
  50 + <!-- Child Resources -->
  51 +
  52 + </xs:sequence>
  53 + </xs:extension>
  54 + </xs:complexContent>
  55 + </xs:complexType>
  56 + </xs:element>
  57 +</xs:schema>
... ...
  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 +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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="SEC-commonTypes-v2_0_0.xsd" />
  31 + <xs:include schemaLocation="SEC-mefClientCmd-v2_0_0.xsd" />
  32 +
  33 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  34 +
  35 +
  36 + <xs:element name="mefClientReg" substitutionGroup="m2m:sg_resource">
  37 + <xs:complexType>
  38 + <xs:complexContent>
  39 + <!-- Inherit just the universal resource attributes -->
  40 + <xs:extension base="m2m:resource">
  41 + <xs:sequence>
  42 + <!-- Universial/common Attributes -->
  43 + <xs:element name="expirationTime" type="m2m:timestamp" minOccurs="0" />
  44 + <xs:element name="creator" type="m2m:ID" minOccurs="0" />
  45 + <!-- Resource Specific Attributes -->
  46 + <xs:element name="adminFQDN" type="xs:anyURI" minOccurs="1" />
  47 + <xs:element name="assignedSymmKeyID" type="sec:credentialID" minOccurs="0" />
  48 + <xs:element name="sourceIDs" type="m2m:listOfM2MID" minOccurs="0" />
  49 +
  50 + <!-- Child Resources -->
  51 + <xs:choice minOccurs="0" maxOccurs="1">
  52 + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
  53 + <xs:choice minOccurs="1" maxOccurs="unbounded">
  54 + <xs:element ref="sec:mefClientCmd" />
  55 + </xs:choice>
  56 + </xs:choice>
  57 + </xs:sequence>
  58 + </xs:extension>
  59 + </xs:complexContent>
  60 + </xs:complexType>
  61 + </xs:element>
  62 +</xs:schema>
... ...
  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 +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 +<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/securityProtocols"
  26 + xmlns:sec="http://www.onem2m.org/xml/securityProtocols"
  27 + xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28 + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  29 +
  30 + <xs:include schemaLocation="SEC-commonTypes-v2_0_0.xsd" />
  31 +
  32 + <xs:import namespace="http://www.onem2m.org/xml/protocols" schemaLocation="CDT-commonTypes-v2_13_0.xsd" />
  33 +
  34 +
  35 +
  36 + <xs:element name="symmKeyReg" substitutionGroup="m2m:sg_resource">
  37 + <xs:complexType>
  38 + <xs:complexContent>
  39 + <!-- Inherit just the universal resource attributes -->
  40 + <xs:extension base="m2m:resource">
  41 + <xs:sequence>
  42 + <!-- Universial/common Attributes -->
  43 + <xs:element name="expirationTime" type="m2m:timestamp" minOccurs="0" />
  44 + <xs:element name="creator" type="m2m:ID" minOccurs="0" />
  45 + <!-- Resource Specific Attributes -->
  46 + <xs:element name="adminFQDN" type="xs:anyURI" minOccurs="1" />
  47 + <xs:element name="SUID" type="m2m:suid" minOccurs="1" />
  48 + <xs:element name="targetIDs" type="m2m:listOfM2MID" minOccurs="1" />
  49 + <xs:element name="keyValue" type="xs:base64Binary" minOccurs="1" />
  50 +
  51 + <!-- Child Resources -->
  52 +
  53 + </xs:sequence>
  54 + </xs:extension>
  55 + </xs:complexContent>
  56 + </xs:complexType>
  57 + </xs:element>
  58 +</xs:schema>
... ...