From dfe00a4e26b3190f7e4c55e5fc2d39acb824de94 Mon Sep 17 00:00:00 2001
From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
Date: Tue, 17 May 2022 10:15:30 +0200
Subject: [PATCH] SDS-2020-0099R02 - TS-0004-semantic_maintenance_R4

Signed-off-by: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
---
 CDT-CSEBase.xsd            | 2 ++
 CDT-enumerationTypes.xsd   | 2 +-
 CDT-ontologyRepository.xsd | 4 ++++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CDT-CSEBase.xsd b/CDT-CSEBase.xsd
index 861e124..e3e7a5b 100644
--- a/CDT-CSEBase.xsd
+++ b/CDT-CSEBase.xsd
@@ -58,6 +58,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
     <xs:include schemaLocation="CDT-backgroundDataTransfer.xsd" />
     <xs:include schemaLocation="CDT-transactionMgmt.xsd" />
     <xs:include schemaLocation="CDT-transaction.xsd" />
+    <xs:include schemaLocation="CDT-semanticRuleRepository.xsd" />
     
 	<xs:element name="CSEBase" substitutionGroup="m2m:sg_resource">
 		<xs:complexType>
@@ -118,6 +119,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
                                 <xs:element ref="m2m:backgroundDataTransfer" />
                                 <xs:element ref="m2m:transactionMgmt" />
                                 <xs:element ref="m2m:transaction" />
+                                <xs:element ref="m2m:semanticRuleRepository" />
                             </xs:choice>
                         </xs:choice>
 					</xs:sequence>
diff --git a/CDT-enumerationTypes.xsd b/CDT-enumerationTypes.xsd
index 774d648..ba77192 100644
--- a/CDT-enumerationTypes.xsd
+++ b/CDT-enumerationTypes.xsd
@@ -417,7 +417,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
 			<xs:enumeration value="4127" />    
 			<!-- ONTOLOGY_MAPPING_ALGORITHM_NOT_AVAILABLE -->
 			<xs:enumeration value="4130" />    
-			<!-- ONTOLOGY_MAPPING_POLICY_NOT_MATCH -->
+			<!-- ONTOLOGY_MAPPING_POLICY_NOT_MATCHED -->
 			<xs:enumeration value="4131" />    
 			<!-- ONTOLOGY_MAPPING_NOT_AVAILABLE -->
 			<xs:enumeration value="4132" />    
diff --git a/CDT-ontologyRepository.xsd b/CDT-ontologyRepository.xsd
index 141ec69..5114836 100644
--- a/CDT-ontologyRepository.xsd
+++ b/CDT-ontologyRepository.xsd
@@ -50,6 +50,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
 								<xs:element ref="m2m:subscription" />
 								<xs:element ref="m2m:ontology" />		
 								<xs:element ref="m2m:transaction" />
+								<xs:element ref="m2m:ontologyMapping" />		
+								<xs:element ref="m2m:ontologyMappingAlgorithmRepository" />
 							</xs:choice>
 						</xs:choice>
 					</xs:sequence>
@@ -75,6 +77,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
 								<xs:element ref="m2m:ontology" />
 								<xs:element ref="m2m:ontologyAnnc" />
 								<xs:element ref="m2m:transaction" />
+								<xs:element ref="m2m:ontologyMappingAnnc" />		
+								<xs:element ref="m2m:ontologyMappingAlgorithmRepositoryAnnc" />
 							</xs:choice>
 						</xs:choice>
 					</xs:sequence>
-- 
GitLab