CDT-remoteCSE-v3_5_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
<?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="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.onem2m.org/xml/protocols"
	xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">

29 30 31 32 33 34 35 36 37 38 39 40 41 42
	<xs:include schemaLocation="CDT-commonTypes-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-AE-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-container-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-group-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-accessControlPolicy-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-subscription-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-pollingChannel-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-schedule-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-node-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-locationPolicy-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-timeSeries-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-ontologyRepository-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-semanticMashupJobProfile-v3_5_0.xsd" />
	<xs:include schemaLocation="CDT-semanticMashupInstance-v3_5_0.xsd" />
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64


						
	<xs:element name="remoteCSE" substitutionGroup="m2m:sg_announceableResource">
		<xs:complexType>
			<xs:complexContent>
				<!-- Inherit common attributes for announceable Resources -->
				<xs:extension base="m2m:announceableResource">
					<xs:sequence>
						<!-- Resource Specific Attributes -->
						<xs:element name="cseType" type="m2m:cseTypeID" minOccurs="0" />
						<xs:element name="pointOfAccess" type="m2m:poaList" minOccurs="0" />
						<xs:element name="CSEBase" type="xs:anyURI" />
						<xs:element name="CSE-ID" type="m2m:ID" />
						<xs:element name="M2M-Ext-ID" type="m2m:externalID" minOccurs="0" />
						<xs:element name="Trigger-Recipient-ID" type="m2m:triggerRecipientID" minOccurs="0" />
						<xs:element name="requestReachability" type="xs:boolean" />
						<xs:element name="nodeLink" type="xs:anyURI" minOccurs="0" />
						<xs:element name="triggerReferenceNumber" type="xs:unsignedInt" minOccurs="0" />
						<xs:element name="contentSerialization" type="m2m:serializations" minOccurs="0" />
						<xs:element name="e2eSecInfo" type="m2m:e2eSecInfo" minOccurs="0" />
						<xs:element name="descendantCSEs" type="m2m:listOfM2MID" minOccurs="0" />
65
						<xs:element name="supportedReleaseVersions" type="m2m:supportedReleaseVersions" />
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
						
	                    <!-- Child Resources -->
                        <xs:choice minOccurs="0" maxOccurs="1">
                            <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
                            <xs:choice minOccurs="1" maxOccurs="unbounded">
                            	<xs:element ref="m2m:nodeAnnc" />
                                <xs:element ref="m2m:container" />
                            	<xs:element ref="m2m:containerAnnc" />
                                <xs:element ref="m2m:group" />
                            	<xs:element ref="m2m:groupAnnc" />
                                <xs:element ref="m2m:accessControlPolicy" />
                            	<xs:element ref="m2m:accessControlPolicyAnnc" />
                                <xs:element ref="m2m:subscription" />
                                <xs:element ref="m2m:pollingChannel" />
                                <xs:element ref="m2m:schedule" />
                            	<xs:element ref="m2m:timeSeries" />
                            	<xs:element ref="m2m:timeSeriesAnnc" />
                            	<xs:element ref="m2m:locationPolicyAnnc" />
                            	<xs:element ref="m2m:AEAnnc" />
                            	<xs:element ref="m2m:sg_flexContainerResource" />
                            	<xs:element ref="m2m:sg_announcedFlexContainerResource" />
                            	<xs:element ref="m2m:ontologyRepositoryAnnc" />
                            	<xs:element ref="m2m:semanticMashupJobProfile" />
                            	<xs:element ref="m2m:semanticMashupJobProfileAnnc" />
                            	<xs:element ref="m2m:semanticMashupInstance" />    
                            	<xs:element ref="m2m:semanticMashupInstanceAnnc" />
                            </xs:choice>
                        </xs:choice>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>

	<xs:element name="remoteCSEAnnc" substitutionGroup="m2m:sg_announcedResource">
		<xs:complexType>
			<xs:complexContent>
				<!-- Inherit common attributes for announced Resources -->
				<xs:extension base="m2m:announcedResource">
					<xs:sequence>
						<!-- Resource Specific Attributes -->
						<xs:element name="cseType" type="m2m:cseTypeID" minOccurs="0" />
						<xs:element name="pointOfAccess" type="m2m:poaList" minOccurs="0" />
						<xs:element name="CSEBase" type="xs:anyURI" minOccurs="0" />
						<xs:element name="CSE-ID" type="m2m:ID" minOccurs="0" />
						<xs:element name="requestReachability" type="xs:boolean" minOccurs="0" />
						<xs:element name="nodeLink" type="xs:anyURI" minOccurs="0" />
						<xs:element name="contentSerialization" type="m2m:serializations" minOccurs="0" />
						<xs:element name="e2eSecInfo" type="m2m:e2eSecInfo" minOccurs="0" />
						<xs:element name="descendantCSEs" type="m2m:listOfM2MID" minOccurs="0" />
116
						<xs:element name="supportedReleaseVersions" type="m2m:supportedReleaseVersions" />
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
                       
                        <!-- Child Resources -->
                        <xs:choice minOccurs="0" maxOccurs="1">
                            <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" />
                            <xs:choice minOccurs="1" maxOccurs="unbounded">
                                <xs:element ref="m2m:nodeAnnc" />
                                <xs:element ref="m2m:container" />
                                <xs:element ref="m2m:containerAnnc" />
                                <xs:element ref="m2m:group" />
                                <xs:element ref="m2m:groupAnnc" />
                                <xs:element ref="m2m:accessControlPolicy" />
                                <xs:element ref="m2m:accessControlPolicyAnnc" />
                                <xs:element ref="m2m:subscription" />
                                <xs:element ref="m2m:pollingChannel" />
                                <xs:element ref="m2m:scheduleAnnc" />
                                <xs:element ref="m2m:locationPolicyAnnc" />
                            	<xs:element ref="m2m:timeSeries" />
                            	<xs:element ref="m2m:timeSeriesAnnc" />
                            	<xs:element ref="m2m:AEAnnc" />
                            	<xs:element ref="m2m:sg_flexContainerResource" />
                            	<xs:element ref="m2m:sg_announcedFlexContainerResource" />
                            	<xs:element ref="m2m:ontologyRepositoryAnnc" />
                            	<xs:element ref="m2m:semanticMashupJobProfile" />
                            	<xs:element ref="m2m:semanticMashupJobProfileAnnc" />
                            	<xs:element ref="m2m:semanticMashupInstance" />    
                            	<xs:element ref="m2m:semanticMashupInstanceAnnc" />
                            </xs:choice>
                        </xs:choice>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
</xs:schema>