From d5bb3d0029d90aae8e4961173a19b045ef1a4adb Mon Sep 17 00:00:00 2001
From: reinaortega <miguelangel.reinaortega@etsi.org>
Date: Thu, 8 Jul 2021 08:39:24 +0200
Subject: [PATCH] Some fixes

Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org>
---
 OneM2M_Types.ttcn | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/OneM2M_Types.ttcn b/OneM2M_Types.ttcn
index 6871c87..5ada7f4 100644
--- a/OneM2M_Types.ttcn
+++ b/OneM2M_Types.ttcn
@@ -2024,13 +2024,13 @@ type record AccessControlRule
 			record length(1 .. infinity) of Ipv6 ipv6Addresses optional
 		} accessControlIpAddresses optional,
 		LocationRegion accessControlLocationRegion optional
-	} accessControlContexts_list,
+	} accessControlContexts_list optional,//TODO It should be optional
 	XSD.Boolean accessControlAuthenticationFlag optional,
 	record of record {
 		ResourceType resourceType optional,
 		XSD.AnyURI specializationID optional,
 		record length(1 .. infinity) of ResourceType childResourceType
-	} accessControlObjectDetails_list
+	} accessControlObjectDetails_list //TODO It should be optional
 }
 with {
   variant "name as uncapitalized";
@@ -5648,7 +5648,7 @@ with {
 
 type record ListOfChildResourceRef
 {
-	record length(1 .. infinity) of ChildResourceRef resourceRef_list
+	record length(0 .. infinity) of ChildResourceRef resourceRef_list//TODO It should allow empty list
 }
 with {
   variant "name as uncapitalized";
-- 
GitLab