diff --git a/LibOneM2M/OneM2M_Types.ttcn b/LibOneM2M/OneM2M_Types.ttcn
index 0f44f3de22217ded001f3e7c3a2bf311b70596ce..a242d156abbf74a34c2d0ae3277333f23bf57dda 100644
--- a/LibOneM2M/OneM2M_Types.ttcn
+++ b/LibOneM2M/OneM2M_Types.ttcn
@@ -4966,7 +4966,10 @@ with {
 type union Representation {
 	Resource_2 resource, 
 	ResponsePrimitive responsePrimitive
-};
+}
+with {
+	variant "name as 'representation'";
+  };
 
 type record Notification_1
 {