Skip to content
Snippets Groups Projects
Commit c4cd0d40 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

XSD v3_9_0 baseline

parent 06567aae
No related branches found
Tags XSD-v3_9_0-baseline
No related merge requests found
...@@ -794,31 +794,36 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -794,31 +794,36 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:documentation></xs:documentation> <xs:documentation></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:restriction base="xs:integer"> <xs:restriction base="xs:integer">
<!-- all attributes --> <!-- All attributes -->
<xs:enumeration value="1" /> <xs:enumeration value="1" />
<!-- modified attributes --> <!-- Modified attributes -->
<xs:enumeration value="2" /> <xs:enumeration value="2" />
<!-- ResourceID --> <!-- ResourceID -->
<xs:enumeration value="3" /> <xs:enumeration value="3" />
<!-- Trigger Payload -->
<xs:enumeration value="4" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="notificationEventType"> <xs:simpleType name="notificationEventType">
<xs:annotation> <xs:annotation>
<xs:documentation>Used in the notificationEventType element of eventNotificationCriteria attribute of subscription resource <xs:documentation>Used in the notificationEventType element of eventNotificationCriteria attribute of subscription resource
and in the Notification data object</xs:documentation> and in the Notification data object</xs:documentation>
</xs:annotation> </xs:annotation>
<xs:restriction base="xs:integer"> <xs:restriction base="xs:integer">
<!-- Update of Resource --> <!-- Update_of_Resource -->
<xs:enumeration value="1" /> <xs:enumeration value="1" />
<!-- Delete of Resource --> <!-- Delete_of_Resource -->
<xs:enumeration value="2" /> <xs:enumeration value="2" />
<!-- Create of Direct Child Resource --> <!-- Create_of_Direct_Child_Resource -->
<xs:enumeration value="3" /> <xs:enumeration value="3" />
<!-- Delete of Direct Child Resource --> <!-- Delete_of_Direct_Child_Resource -->
<xs:enumeration value="4" /> <xs:enumeration value="4" />
<!-- Retrieve of Container Resource With No Child Resource --> <!-- Retrieve_of_Container_Resource_With_No_Child_Resource -->
<xs:enumeration value="5" /> <xs:enumeration value="5" />
<!-- Trigger_Received_For_AE_Resource -->
<xs:enumeration value="6" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
...@@ -1625,5 +1630,33 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -1625,5 +1630,33 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="locationInformationType">
<xs:annotation>
<xs:documentation>Used in the locationInformationType attribute of the locationPolicy resource</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<!-- Position fix -->
<xs:enumeration value="1" />
<!-- Geofence event -->
<xs:enumeration value="2" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="geofenceEventCriteria">
<xs:annotation>
<xs:documentation>Used in the geofenceEventCriteria attribute of the locationPolicy resource</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<!-- Entering -->
<xs:enumeration value="1" />
<!-- Leaving -->
<xs:enumeration value="2" />
<!-- Inside -->
<xs:enumeration value="3" />
<!-- Outside -->
<xs:enumeration value="4" />
</xs:restriction>
</xs:simpleType>
</xs:schema> </xs:schema>
...@@ -39,15 +39,19 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -39,15 +39,19 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:sequence> <xs:sequence>
<!-- Resource Specific Attributes --> <!-- Resource Specific Attributes -->
<xs:element name="locationSource" type="m2m:locationSource" /> <xs:element name="locationSource" type="m2m:locationSource" />
<xs:element name="locationInformationType" type="m2m:locationInformationType" />
<xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" /> <xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" />
<xs:element name="locationTargetID" type="m2m:locationTargetID" minOccurs="0" /> <xs:element name="locationTargetID" type="m2m:locationTargetID" minOccurs="0" />
<xs:element name="locationServer" type="xs:anyURI" minOccurs="0" /> <xs:element name="locationServer" type="xs:anyURI" minOccurs="0" />
<xs:element name="locationContainerID" type="xs:anyURI" /> <xs:element name="locationContainerID" type="xs:anyURI" />
<xs:element name="locationContainerName" type="xs:string" minOccurs="0" /> <xs:element name="locationContainerName" type="xs:string" minOccurs="0" />
<xs:element name="locationStatus" type="xs:string" /> <xs:element name="locationStatus" type="xs:string" />
<xs:element name="geographicalTargetArea" type="xs:anyType" minOccurs="0" />
<xs:element name="geofenceEventCriteria" type="m2m:geofenceEventCriteria" minOccurs="0" />
<xs:element name="authID" type="m2m:externalID" minOccurs="0" /> <xs:element name="authID" type="m2m:externalID" minOccurs="0" />
<xs:element name="retrieveLastKnownLocation" type="xs:boolean" minOccurs="0" /> <xs:element name="retrieveLastKnownLocation" type="xs:boolean" minOccurs="0" />
<xs:element name="locationUpdateEventCriteria" type="m2m:locationUpdateEventCriteria" minOccurs="0" /> <xs:element name="locationUpdateEventCriteria" type="m2m:locationUpdateEventCriteria" minOccurs="0" />
<!-- Child Resources --> <!-- Child Resources -->
<xs:choice minOccurs="0" maxOccurs="1"> <xs:choice minOccurs="0" maxOccurs="1">
...@@ -71,12 +75,15 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -71,12 +75,15 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:sequence> <xs:sequence>
<!-- Resource Specific Attributes --> <!-- Resource Specific Attributes -->
<xs:element name="locationSource" type="m2m:locationSource" minOccurs="0" /> <xs:element name="locationSource" type="m2m:locationSource" minOccurs="0" />
<xs:element name="locationInformationType" type="m2m:locationInformationType" minOccurs="0" />
<xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" /> <xs:element name="locationUpdatePeriod" type="m2m:listOfDuration" minOccurs="0" />
<xs:element name="locationTargetID" type="m2m:locationTargetID" minOccurs="0" /> <xs:element name="locationTargetID" type="m2m:locationTargetID" minOccurs="0" />
<xs:element name="locationServer" type="xs:anyURI" minOccurs="0" /> <xs:element name="locationServer" type="xs:anyURI" minOccurs="0" />
<xs:element name="locationContainerID" type="xs:anyURI" minOccurs="0" /> <xs:element name="locationContainerID" type="xs:anyURI" minOccurs="0" />
<xs:element name="locationContainerName" type="xs:string" minOccurs="0" /> <xs:element name="locationContainerName" type="xs:string" minOccurs="0" />
<xs:element name="locationStatus" type="xs:string" minOccurs="0" /> <xs:element name="locationStatus" type="xs:string" minOccurs="0" />
<xs:element name="geographicalTargetArea" type="xs:anyType" minOccurs="0" />
<xs:element name="geofenceEventCriteria" type="m2m:geofenceEventCriteria" minOccurs="0" />
<xs:element name="authID" type="m2m:externalID" minOccurs="0" /> <xs:element name="authID" type="m2m:externalID" minOccurs="0" />
<xs:element name="retrieveLastKnownLocation" type="xs:boolean" minOccurs="0" /> <xs:element name="retrieveLastKnownLocation" type="xs:boolean" minOccurs="0" />
<xs:element name="locationUpdateEventCriteria" type="m2m:locationUpdateEventCriteria" minOccurs="0" /> <xs:element name="locationUpdateEventCriteria" type="m2m:locationUpdateEventCriteria" minOccurs="0" />
......
...@@ -43,6 +43,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -43,6 +43,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:include schemaLocation="CDT-subscription.xsd" /> <xs:include schemaLocation="CDT-subscription.xsd" />
<xs:include schemaLocation="CDT-semanticDescriptor.xsd" /> <xs:include schemaLocation="CDT-semanticDescriptor.xsd" />
<xs:include schemaLocation="CDT-transaction.xsd"/> <xs:include schemaLocation="CDT-transaction.xsd"/>
<xs:include schemaLocation="CDT-schedule.xsd"/>
<xs:element name="node" substitutionGroup="m2m:sg_announceableResource"> <xs:element name="node" substitutionGroup="m2m:sg_announceableResource">
<xs:complexType> <xs:complexType>
...@@ -78,6 +79,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -78,6 +79,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element ref="m2m:subscription" /> <xs:element ref="m2m:subscription" />
<xs:element ref="m2m:semanticDescriptor" /> <xs:element ref="m2m:semanticDescriptor" />
<xs:element ref="m2m:transaction" /> <xs:element ref="m2m:transaction" />
<xs:element ref="m2m:schedule" />
</xs:choice> </xs:choice>
</xs:choice> </xs:choice>
</xs:sequence> </xs:sequence>
...@@ -119,6 +121,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -119,6 +121,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element ref="m2m:semanticDescriptor" /> <xs:element ref="m2m:semanticDescriptor" />
<xs:element ref="m2m:semanticDescriptorAnnc" /> <xs:element ref="m2m:semanticDescriptorAnnc" />
<xs:element ref="m2m:transaction" /> <xs:element ref="m2m:transaction" />
<xs:element ref="m2m:schedule" />
</xs:choice> </xs:choice>
</xs:choice> </xs:choice>
</xs:sequence> </xs:sequence>
......
...@@ -55,7 +55,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -55,7 +55,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element name="notificationContentType" type="m2m:notificationContentType" /> <xs:element name="notificationContentType" type="m2m:notificationContentType" />
<xs:element name="notificationEventCat" type="m2m:eventCat" minOccurs="0" /> <xs:element name="notificationEventCat" type="m2m:eventCat" minOccurs="0" />
<xs:element name="subscriberURI" type="xs:anyURI" minOccurs="0" /> <xs:element name="subscriberURI" type="xs:anyURI" minOccurs="0" />
<xs:element name="associatedCrossResourceSub" type="m2m:resourceList" minOccurs="0" /> <xs:element name="associatedCrossResourceSub" type="m2m:listOfURIs" minOccurs="0" />
<!-- Child Resources --> <!-- Child Resources -->
<xs:choice minOccurs="0" maxOccurs="1"> <xs:choice minOccurs="0" maxOccurs="1">
......
<?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" elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="CDT-commonTypes.xsd" />
<xs:element name="triggerPayload">
<xs:complexType>
<xs:sequence>
<!-- Parameter Trigger Purpose -->
<xs:element name="triggerPurpose" type="m2m:triggerPurpose"/>
<xs:element name="triggerInfoAddress" type="xs:anyURI" minOccurs="0"/>
<xs:element name="triggerInfoPoA" type="m2m:poaList" minOccurs="0"/>
<xs:element name="triggerInfoOperation" type="m2m:operation" minOccurs="0"/>
<xs:element name="targetedResourceType" type="m2m:resourceType" minOccurs="0"/>
<xs:element name="triggerInfoAE-ID" type="m2m:ID" minOccurs="0"/>
<xs:element name="triggerInfoSerializationTypes" minOccurs="0">
<xs:simpleType>
<xs:restriction>
<xs:simpleType>
<xs:list itemType="m2m:serializationType"/>
</xs:simpleType>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
...@@ -41,9 +41,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -41,9 +41,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element name="M2M-Ext-ID" type="m2m:externalID" /> <xs:element name="M2M-Ext-ID" type="m2m:externalID" />
<xs:element name="Trigger-Recipient-ID" type="m2m:triggerRecipientID" /> <xs:element name="Trigger-Recipient-ID" type="m2m:triggerRecipientID" />
<xs:element name="triggerPurpose" type="m2m:triggerPurpose" /> <xs:element name="triggerPurpose" type="m2m:triggerPurpose" />
<xs:element name="triggerPayloadSerialization" type="m2m:serializationType" />
<xs:element name="triggerStatus" type="m2m:triggerStatus" /> <xs:element name="triggerStatus" type="m2m:triggerStatus" />
<xs:element name="triggerValidityTime" type="m2m:timestamp" minOccurs="0" /> <xs:element name="triggerValidityTime" type="xs:duration" minOccurs="0" />
<xs:element name="triggerInfoAE-ID" type="m2m:ID" minOccurs="0" /> <xs:element name="triggerInfoAE-ID" type="m2m:ID" minOccurs="0" />
<xs:element name="triggerInfoAddress" type="xs:anyURI" minOccurs="0" /> <xs:element name="triggerInfoAddress" type="xs:anyURI" minOccurs="0" />
<xs:element name="triggerInfoOperation" type="m2m:operation" minOccurs="0" /> <xs:element name="triggerInfoOperation" type="m2m:operation" minOccurs="0" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment