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

SDS-2019-0483R02 - ontology_mapping_stage_3

parent 9ba584f8
No related branches found
No related tags found
No related merge requests found
...@@ -588,6 +588,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -588,6 +588,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element name="authorSigns" type="m2m:signatureList" minOccurs="0"/> <xs:element name="authorSigns" type="m2m:signatureList" minOccurs="0"/>
<xs:element name="authorRelIndicator" type="xs:boolean" minOccurs="0"/> <xs:element name="authorRelIndicator" type="xs:boolean" minOccurs="0"/>
<xs:element name="semanticQueryIndicator" type="xs:boolean" minOccurs="0"/> <xs:element name="semanticQueryIndicator" type="xs:boolean" minOccurs="0"/>
<xs:element name="ontologyMappingResources" type="m2m:listOfM2MID" minOccurs="0"/>
<xs:element name="releaseVersionIndicator" type="m2m:releaseVersion" minOccurs="1"/> <xs:element name="releaseVersionIndicator" type="m2m:releaseVersion" minOccurs="1"/>
<xs:element name="vendorInformation" type="xs:string" minOccurs="0"/> <xs:element name="vendorInformation" type="xs:string" minOccurs="0"/>
</xs:sequence> </xs:sequence>
......
...@@ -133,6 +133,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -133,6 +133,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:enumeration value="50" /> <xs:enumeration value="50" />
<!-- transaction --> <!-- transaction -->
<xs:enumeration value="51" /> <xs:enumeration value="51" />
<!-- ontologyMapping -->
<xs:enumeration value="52" />
<!-- ontologyMappingAlgorithm -->
<xs:enumeration value="53" />
<!-- ontologyMappingAlgorithmRepository -->
<xs:enumeration value="54" />
<!-- accessControlPolicyAnnc --> <!-- accessControlPolicyAnnc -->
<xs:enumeration value="10001" /> <xs:enumeration value="10001" />
<!-- AEAnnc --> <!-- AEAnnc -->
...@@ -174,6 +180,13 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -174,6 +180,13 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:enumeration value="10041" /> <xs:enumeration value="10041" />
<!-- semanticMashupResultAnnc --> <!-- semanticMashupResultAnnc -->
<xs:enumeration value="10042" /> <xs:enumeration value="10042" />
<!-- ontologyMappingAnnc -->
<xs:enumeration value="10052" />
<!-- ontologyMappingAlgorithmAnnc -->
<xs:enumeration value="10053" />
<!-- ontologyMappingAlgorithmRepositoryAnnc -->
<xs:enumeration value="10054" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
...@@ -388,6 +401,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -388,6 +401,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:enumeration value="4126" /> <xs:enumeration value="4126" />
<!-- OPERATION_DENIED_BY_REMOTE_ENTITY --> <!-- OPERATION_DENIED_BY_REMOTE_ENTITY -->
<xs:enumeration value="4127" /> <xs:enumeration value="4127" />
<!-- ONTOLOGY_MAPPING_ALGORITHM_NOT_AVAILABLE -->
<xs:enumeration value="4130" />
<!-- ONTOLOGY_MAPPING_POLICY_NOT_MATCH -->
<xs:enumeration value="4131" />
<!-- ONTOLOGY_MAPPING_NOT_AVAILABLE -->
<xs:enumeration value="4132" />
<!-- INTERNAL_SERVER_ERROR --> <!-- INTERNAL_SERVER_ERROR -->
<xs:enumeration value="5000" /> <xs:enumeration value="5000" />
...@@ -439,6 +458,10 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -439,6 +458,10 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:enumeration value="5221" /> <xs:enumeration value="5221" />
<!-- TRANSACTION_PROCESSING_IS_INCOMPLETE --> <!-- TRANSACTION_PROCESSING_IS_INCOMPLETE -->
<xs:enumeration value="5222" /> <xs:enumeration value="5222" />
<!-- ONTOLOGY_MAPPING_ALGORITHM_FAILED -->
<xs:enumeration value="5230" />
<!-- ONTOLOGY_CONVERSION_FAILED -->
<xs:enumeration value="5231" />
<!-- EXTERNAL_OBJECT_NOT_REACHABLE --> <!-- EXTERNAL_OBJECT_NOT_REACHABLE -->
<xs:enumeration value="6003" /> <xs:enumeration value="6003" />
...@@ -599,6 +622,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -599,6 +622,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:enumeration value="50" /> <xs:enumeration value="50" />
<!-- transaction --> <!-- transaction -->
<xs:enumeration value="51" /> <xs:enumeration value="51" />
<!-- ontologyMapping -->
<xs:enumeration value="52" />
<!-- ontologyMappingAlgorithm -->
<xs:enumeration value="53" />
<!-- ontologyMappingAlgorithmRepository -->
<xs:enumeration value="54" />
<!-- accessControlPolicyAnnc --> <!-- accessControlPolicyAnnc -->
<xs:enumeration value="10001" /> <xs:enumeration value="10001" />
<!-- AEAnnc --> <!-- AEAnnc -->
...@@ -642,6 +671,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -642,6 +671,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:enumeration value="10042" /> <xs:enumeration value="10042" />
<!-- multimediaSessionAnnc --> <!-- multimediaSessionAnnc -->
<xs:enumeration value="10046" /> <xs:enumeration value="10046" />
<!-- ontologyMappingAnnc -->
<xs:enumeration value="10052" />
<!-- ontologyMappingAlgorithmAnnc -->
<xs:enumeration value="10053" />
<!-- ontologyMappingAlgorithmRepositoryAnnc -->
<xs:enumeration value="10054" />
<!-- oldest --> <!-- oldest -->
<xs:enumeration value="20001" /> <xs:enumeration value="20001" />
<!-- latest --> <!-- latest -->
...@@ -1709,5 +1744,37 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -1709,5 +1744,37 @@ 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="ontologyMappingPolicy">
<xs:annotation>
<xs:documentation>Used for the mappingPolicy attribute of the ontologyMapping resource to indicate the applied ontology mapping policy</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<!-- SINGLE -->
<xs:enumeration value="1" />
<!-- MULTIPLE -->
<xs:enumeration value="2" />
<!-- TRAVERSAL -->
<xs:enumeration value="3" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ontologyMappingAlgorithmType">
<xs:annotation>
<xs:documentation>Used for the algorithmType attribute of the ontologyMappingAlgorithm resource to indicate the type of the ontology mapping algorithm</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<!-- LINGUISTIC -->
<xs:enumeration value="1" />
<!-- STRUCTURAL -->
<xs:enumeration value="2" />
<!-- EXTERNAL_RESOURCE -->
<xs:enumeration value="3" />
<!-- LOGICAL_REASONING -->
<xs:enumeration value="4" />
<!-- OTHERS -->
<xs:enumeration value="5" />
</xs:restriction>
</xs:simpleType>
</xs:schema> </xs:schema>
<?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.
© 2022, 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 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:include schemaLocation="CDT-subscription.xsd" />
<xs:include schemaLocation="CDT-ontology.xsd" />
<xs:include schemaLocation="CDT-transaction.xsd"/>
<xs:element name="ontologyMapping" substitutionGroup="m2m:sg_announceableResource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="m2m:announceableResource">
<xs:sequence>
<!-- Common Attribute, specific to <container>, <contentInstance>, <request>, <delivery>,
<ontologyRepository> and other resources -->
<xs:element name="creator" type="m2m:ID" minOccurs="0" />
<!-- Resource Specific Attributes: none -->
<xs:element name="sourceOntology" type="xs:anyURI" />
<xs:element name="targetOntology" type="xs:anyURI" />
<xs:element name="mappingPolicy" type="m2m:ontologyMappingPolicy" />
<xs:element name="mappingAlgorithmLinks" type="m2m:listOfURIs" />
<xs:element name="mappingResultFormat" type="m2m:semanticFormat" />
<xs:element name="mappingResult" type="xs:base64Binary" />
<!-- 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:subscription" />
<xs:element ref="m2m:transaction" />
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ontologyMappingAnnc" substitutionGroup="m2m:sg_announcedResource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="m2m:announcedResource">
<xs:sequence>
<!-- Common Attribute, specific to <container>, <contentInstance>, <request> and <delivery> resources -->
<!-- Resource Specific Attributes: none -->
<!-- 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:subscription" />
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
<?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.
© 2022, 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 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:include schemaLocation="CDT-subscription.xsd" />
<xs:include schemaLocation="CDT-ontology.xsd" />
<xs:include schemaLocation="CDT-transaction.xsd"/>
<xs:element name="ontologyMappingAlgorithm" substitutionGroup="m2m:sg_announceableResource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="m2m:announceableResource">
<xs:sequence>
<!-- Common Attribute, specific to <container>, <contentInstance>, <request>, <delivery>,
<ontologyRepository> and other resources -->
<xs:element name="creator" type="m2m:ID" minOccurs="0" />
<!-- Resource Specific Attributes: none -->
<xs:element name="executable" type="xs:base64Binary" minOccurs="0" />
<xs:element name="algorithmType" type="m2m:ontologyMappingAlgorithmType" minOccurs="0" />
<xs:element name="description" type="xs:string" minOccurs="0" />
<xs:element name="mappingThreshold" type="xs:float" minOccurs="0" />
<!-- 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:subscription" />
<xs:element ref="m2m:transaction" />
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ontologyMappingAlgorithmAnnc" substitutionGroup="m2m:sg_announcedResource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="m2m:announcedResource">
<xs:sequence>
<!-- Common Attribute, specific to <container>, <contentInstance>, <request> and <delivery> resources -->
<!-- Resource Specific Attributes: none -->
<!-- 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:subscription" />
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
<?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.
© 2022, 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 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:include schemaLocation="CDT-subscription.xsd" />
<xs:include schemaLocation="CDT-ontology.xsd" />
<xs:include schemaLocation="CDT-transaction.xsd"/>
<xs:element name="ontologyMappingAlgorithmRepository" substitutionGroup="m2m:sg_announceableResource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="m2m:announceableResource">
<xs:sequence>
<!-- Common Attribute, specific to <container>, <contentInstance>, <request>, <delivery>,
<ontologyRepository> and other resources -->
<xs:element name="creator" type="m2m:ID" minOccurs="0" />
<!-- Resource Specific Attributes: none -->
<!-- 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:subscription" />
<xs:element ref="m2m:transaction" />
<xs:element ref="m2m:ontologyMappingAlgorithm" />
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ontologyMappingAlgorithmRepositoryAnnc" substitutionGroup="m2m:sg_announcedResource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="m2m:announcedResource">
<xs:sequence>
<!-- Common Attribute, specific to <container>, <contentInstance>, <request> and <delivery> resources -->
<!-- Resource Specific Attributes: none -->
<!-- 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:subscription" />
<xs:element ref="m2m:ontologyMappingAlgorithmAnnc" />
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
...@@ -126,6 +126,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -126,6 +126,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element name="authorRelIndicator" type="xs:boolean" minOccurs="0"/> <xs:element name="authorRelIndicator" type="xs:boolean" minOccurs="0"/>
<!-- parameter " Semantic Query Indicator" --> <!-- parameter " Semantic Query Indicator" -->
<xs:element name="semanticQueryIndicator" type="xs:boolean" minOccurs="0"/> <xs:element name="semanticQueryIndicator" type="xs:boolean" minOccurs="0"/>
<!-- parameter "Ontology Mapping Resources" -->
<xs:element name="ontologyMappingResources" type="m2m:listOfM2MID" minOccurs="0"/>
<!-- parameter "Release Version Indicator" --> <!-- parameter "Release Version Indicator" -->
<xs:element name="releaseVersionIndicator" type="m2m:releaseVersion" minOccurs="1"/> <xs:element name="releaseVersionIndicator" type="m2m:releaseVersion" minOccurs="1"/>
<!-- parameter "Vendor Information" --> <!-- parameter "Vendor Information" -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment