diff --git a/SDT/schema4.0/docs/SDT_UML.uxf b/SDT/schema4.0/docs/SDT_UML.uxf
index 64d5e8def0669929dde3fe02a6f6d84c172dd0b4..3c804e9082279e68db70573c816b8141ce0af28c 100644
--- a/SDT/schema4.0/docs/SDT_UML.uxf
+++ b/SDT/schema4.0/docs/SDT_UML.uxf
@@ -6,8 +6,8 @@
UMLNote
1390
- 650
- 310
+ 1690
+ 290
260
bg=#FAF8C8
@@ -37,7 +37,7 @@ group=1
Relation
1520
- 750
+ 1790
110
40
@@ -52,7 +52,7 @@ group=1
Relation
1520
- 790
+ 1830
110
30
@@ -64,8 +64,8 @@ group=1
UMLClass
- 1580
- 1090
+ 1530
+ 1230
150
220
@@ -88,45 +88,45 @@ void
Relation
- 960
- 1170
+ 910
+ 1310
140
80
lt=<<.
m1= 0..1
-
+fontsize=12
120.0;50.0;60.0;50.0;60.0;10.0;10.0;10.0
Relation
- 960
- 1090
+ 910
+ 1230
140
80
lt=<<.
m1=0..1
-
+fontsize=12
120.0;10.0;40.0;10.0;40.0;60.0;10.0;60.0
UMLClass
- 480
- 1090
+ 430
+ 1230
190
150
DataType
--
-/@ name : text/
+/@ name : Name/
/@ unitOfMeasure : text/
/@ semanticURI : uri/
/- Doc : Doc/
- TypeChoice
-/- extends : Extends/
+/- Extend : Extend/
/* Constraints : Constraint/
fg=blue
@@ -134,34 +134,34 @@ fg=blue
Relation
- 630
- 1030
- 710
- 130
+ 610
+ 1180
+ 680
+ 120
lt=<<.
m2=1..n
-
- 10.0;60.0;10.0;20.0;690.0;20.0;690.0;100.0;640.0;100.0
+fontsize=12
+ 10.0;60.0;40.0;60.0;40.0;10.0;660.0;10.0;660.0;90.0;610.0;90.0
Relation
- 630
- 1030
- 710
- 190
+ 610
+ 1180
+ 680
+ 180
lt=<<.
m2=1
-
- 10.0;60.0;10.0;20.0;690.0;20.0;690.0;160.0;640.0;160.0
+fontsize=12
+ 10.0;60.0;40.0;60.0;40.0;10.0;660.0;10.0;660.0;150.0;610.0;150.0
UMLClass
- 1080
- 1210
+ 1030
+ 1350
190
50
@@ -174,27 +174,27 @@ fg=blue
Relation
- 1260
- 1230
+ 1210
+ 1380
340
- 50
+ 40
lt=<<-
m1= 1
-
- 320.0;20.0;10.0;20.0
+fontsize=12
+ 320.0;10.0;10.0;10.0
UMLClass
- 1080
- 1330
+ 1030
+ 1470
190
110
Constraint
--
-*@ name : text*
+*@ name : Name*
/@ type : BasicType/
/@ value : text/
/@ semanticURI : uri/
@@ -205,34 +205,34 @@ fg=blue
Relation
- 660
- 1190
+ 610
+ 1330
440
180
lt=<.
m1=0..n
-
+fontsize=12
420.0;150.0;80.0;150.0;80.0;10.0;10.0;10.0
Relation
- 1260
- 1300
+ 1210
+ 1440
420
140
lt=<<-
m1=1
-
+fontsize=12
390.0;10.0;390.0;120.0;10.0;120.0
UMLClass
- 1080
- 1090
+ 1030
+ 1230
190
50
@@ -245,8 +245,8 @@ fg=blue
UMLClass
- 1080
- 1150
+ 1030
+ 1290
190
50
@@ -259,22 +259,22 @@ fg=blue
Relation
- 960
- 1140
+ 910
+ 1280
140
50
lt=<<.
m1= 0..1
-
+fontsize=12
120.0;20.0;10.0;20.0
UMLClass
- 480
- 950
+ 430
+ 1090
1250
40
@@ -288,9 +288,9 @@ lw=0.1
UMLClass
- 100
+ 70
0
- 1590
+ 1610
40
SDT 4.0 - Basic Elements
@@ -303,18 +303,18 @@ lw=0.1
UMLClass
- 830
+ 780
130
- 220
+ 240
180
ModuleClass
--
-*@ name : text*
+*@ name : Name*
/@ optional : boolean = false/
/@ semanticURI : uri/
/- Doc : Doc/
-/- extends : Extends/
+/- Extend : Extend/
/* Properties : Property/
/* Actions : Action/
/* Data : DataPoint/
@@ -326,14 +326,14 @@ fg=blue
UMLClass
- 1170
+ 1130
130
220
130
Action
--
-*@ name : text*
+*@ name : Name*
/@ optional : boolean = false/
/@ semanticURI : uri/
/- Doc : Doc/
@@ -345,14 +345,16 @@ fg=blue
UMLClass
- 1520
+ 1470
220
- 170
- 100
+ 210
+ 130
Arg
--
-*@ name ; text*
+*@ name : Name*
+/@ optional : boolean = false/
+/@ default : text/
/@ semanticURI : uri/
/- Doc : Doc/
- DataType : DataType
@@ -362,51 +364,54 @@ fg=blue
Relation
- 1380
+ 1340
220
- 160
+ 150
40
lt=<.
-m1= 0..n
- 140.0;10.0;10.0;10.0
+m1= 0..n
+fontsize=12
+ 130.0;10.0;10.0;10.0
UMLClass
- 490
+ 110
130
220
- 150
+ 160
Domain
--
-*@ id : ID*
+*@ id : Name*
/@ semanticURI : uri/
/- Doc : Doc/
-/* imports/
+/* Imports/
/* DataTypes : DataType/
/* ModuleClasses : ModuleClass/
-/* Devices : Device/
+/* DeviceClasses : DeviceClass/
+/* Products : Product/
fg=blue
Relation
- 700
+ 640
130
- 150
- 100
+ 160
+ 80
lt=<.
-m1= 0..n
- 130.0;10.0;50.0;10.0;50.0;80.0;10.0;80.0
+m1= 0..n
+fontsize=12
+ 140.0;10.0;60.0;10.0;60.0;60.0;10.0;60.0
UMLClass
- 490
+ 430
440
220
110
@@ -424,34 +429,35 @@ fg=blue
Relation
- 700
- 220
+ 640
+ 250
70
- 120
+ 90
lt=<.
m1=0..n
-
- 10.0;90.0;50.0;90.0;50.0;10.0;10.0;10.0
+fontsize=12
+ 10.0;60.0;40.0;60.0;40.0;10.0;10.0;10.0
Relation
- 700
- 440
- 150
- 70
+ 640
+ 320
+ 160
+ 190
lt=<.
-m1= 0..n
- 130.0;10.0;60.0;10.0;60.0;50.0;10.0;50.0
+m1= 0..n
+fontsize=12
+ 140.0;10.0;80.0;10.0;80.0;170.0;10.0;170.0
UMLClass
- 1520
+ 1470
500
- 170
+ 210
50
Doc
@@ -462,56 +468,58 @@ fg=blue
Relation
- 1040
+ 1010
130
- 150
+ 140
70
lt=<.
m1= 0..n
-
- 130.0;10.0;50.0;10.0;50.0;50.0;10.0;50.0
+fontsize=12
+ 120.0;10.0;40.0;10.0;40.0;50.0;10.0;50.0
Relation
- 1440
+ 1410
500
- 100
+ 80
40
lt=<.
-m1=0..1
- 80.0;10.0;10.0;10.0
+m1=0..1
+fontsize=12
+ 60.0;10.0;10.0;10.0
Relation
- 1040
+ 1010
190
- 150
+ 140
120
lt=<.
m1= 0..n
-
- 130.0;90.0;50.0;90.0;50.0;10.0;10.0;10.0
+fontsize=12
+ 120.0;90.0;40.0;90.0;40.0;10.0;10.0;10.0
UMLClass
- 1170
+ 1130
270
220
- 160
+ 180
DataPoint
--
-*@ name : text*
+*@ name : Name*
/@ optional : boolean = false/
/@ writable : boolean = true/
/@ readable : boolean = true/
/@ eventable : boolean = false/
+/@ default : text/
/@ semanticURI : uri/
/- Doc : Doc/
- DataType : DataType
@@ -523,52 +531,51 @@ fg=blue
UMLClass
- 1170
- 440
+ 1130
+ 460
220
110
Event
--
-*@ name : text*
+*@ name : Name*
/@ optional : boolean = false/
/@ semanticURI : uri/
/- Doc : Doc/
/* Data : DataPoint/
-
fg=blue
Relation
- 1040
+ 1010
290
- 150
- 190
+ 140
+ 210
lt=<.
m1= 0..n
-
- 130.0;160.0;80.0;160.0;80.0;10.0;10.0;10.0
+fontsize=12
+ 120.0;180.0;80.0;180.0;80.0;10.0;10.0;10.0
Relation
- 700
- 290
- 150
- 240
+ 640
+ 130
+ 160
+ 420
lt=<.
- 130.0;10.0;80.0;10.0;80.0;220.0;10.0;220.0
+ 140.0;10.0;110.0;10.0;110.0;400.0;10.0;400.0
UMLClass
- 490
+ 430
300
220
130
@@ -587,49 +594,50 @@ fg=blue
Relation
- 700
- 390
- 70
- 100
+ 640
+ 400
+ 80
+ 80
lt=<.
-m1=0..n
- 10.0;70.0;40.0;70.0;40.0;10.0;10.0;10.0
+m1=0..n
+fontsize=12
+ 10.0;50.0;60.0;50.0;60.0;10.0;10.0;10.0
Relation
- 700
- 290
- 150
- 90
+ 640
+ 130
+ 160
+ 280
lt=<.
-m1= 0..n
- 130.0;10.0;80.0;10.0;80.0;70.0;10.0;70.0
+fontsize=12
+ 140.0;10.0;110.0;10.0;110.0;260.0;10.0;260.0
Relation
- 700
- 370
- 150
- 100
+ 640
+ 320
+ 160
+ 70
lt=<.
- 130.0;80.0;60.0;80.0;60.0;10.0;10.0;10.0
+ 140.0;10.0;80.0;10.0;80.0;50.0;10.0;50.0
UMLClass
- 830
- 420
- 220
+ 780
+ 320
+ 240
130
Property
--
-*@ name : text*
+*@ name : Name*
/@ optional : boolean = false/
/@ value : text/
/@ semanticURI : uri/
@@ -642,33 +650,34 @@ transparency=80
Relation
- 1380
- 250
- 80
- 260
+ 1340
+ 130
+ 70
+ 400
lt=<.
m1=0..n
-
- 10.0;10.0;60.0;10.0;60.0;240.0;10.0;240.0
+fontsize=12
+ 10.0;10.0;40.0;10.0;40.0;380.0;10.0;380.0
Relation
- 1040
+ 1010
290
70
- 190
+ 70
lt=<.
-m1=0..n
- 10.0;160.0;40.0;160.0;40.0;10.0;10.0;10.0
+m1=0..n
+fontsize=12
+ 10.0;40.0;40.0;40.0;40.0;10.0;10.0;10.0
UMLClass
- 780
- 1100
+ 730
+ 1240
190
110
@@ -686,95 +695,58 @@ Enum : EnumType
Relation
- 660
- 1110
+ 610
+ 1250
140
80
lt=<<-
m1= 1
-
+fontsize=12
120.0;10.0;80.0;10.0;80.0;60.0;10.0;60.0
-
- UMLClass
-
- 100
- 320
- 330
- 230
-
- Product
---
-*@ id : Name*
-/@ semanticURI : uri/
-/- Doc : Doc/
-/* Properties : Property/
-/* ModuleClasses : ModuleClass/
-/* SubDevices : SubDevice/
-/- DeviceClass/
-/ @domain : IDRF/
-/ @class : id /
-/ -ImplementedProperties : Property /
-/ -ImplementedModuleClasses : ModuleClass /
-/- extends : Extends/
-fg=blue
-
-
Relation
- 420
- 310
- 90
- 50
+ 640
+ 210
+ 160
+ 140
lt=<.
-m1=0..1
-
- 70.0;20.0;10.0;20.0
+fontsize=12
+ 140.0;120.0;80.0;120.0;80.0;10.0;10.0;10.0
Relation
- 280
- 100
- 570
- 240
+ 320
+ 90
+ 480
+ 110
lt=<.
- 550.0;40.0;470.0;40.0;470.0;10.0;10.0;10.0;10.0;220.0
-
-
- Relation
-
- 280
- 520
- 570
- 90
-
- lt=<.
-m1= 0..n
- 550.0;10.0;460.0;10.0;460.0;70.0;10.0;70.0;10.0;30.0
+ 460.0;50.0;380.0;50.0;380.0;20.0;40.0;20.0;40.0;90.0;10.0;90.0
Relation
- 420
- 440
- 90
- 40
+ 640
+ 230
+ 80
+ 240
lt=<.
-m1=0..n
- 70.0;10.0;10.0;10.0
+
+fontsize=12
+ 10.0;220.0;60.0;220.0;60.0;10.0;10.0;10.0
UMLClass
- 1080
- 1270
+ 1030
+ 1410
190
50
@@ -787,27 +759,27 @@ fg=blue
Relation
- 960
- 1180
+ 910
+ 1320
140
130
lt=<<.
m1=0..1
-
- 120.0;100.0;50.0;100.0;50.0;10.0;10.0;10.0
+fontsize=12
+ 120.0;100.0;40.0;100.0;40.0;10.0;10.0;10.0
UMLClass
- 1330
- 1290
+ 1280
+ 1430
210
110
EnumValue
--
-*@ name : text*
+*@ name : Name*
*@ value : value*
/@ type : BasicType = integer/
/@ semanticURI : uri/
@@ -818,83 +790,256 @@ fg=blue
Relation
- 1260
- 1280
+ 1210
+ 1430
90
- 50
+ 40
lt=<<.
m1=1..n
-
- 70.0;20.0;10.0;20.0
+fontsize=12
+ 70.0;10.0;10.0;10.0
Relation
- 1530
- 1300
- 120
+ 1480
+ 1440
+ 110
80
lt=<<-
-m1=0..1
+m1=0..1
+fontsize=12
70.0;10.0;70.0;60.0;10.0;60.0
UMLClass
- 490
- 630
+ 450
+ 780
220
80
- Extends
+ Extend
--
*@domain : IDRF*
-*@class : id*
-/- exclude : Exclude/
-
-fg=blue
+*@entity : ID*
+/- ExtendChoice/
+fg=blue
+
UMLClass
- 830
- 630
- 220
+ 1110
+ 780
+ 240
70
Exclude
--
*@name : text*
-/@type : text = datapoint/
+/@type : ExtendType = datapoint/
fg=blue
Relation
- 700
- 630
- 150
- 80
+ 970
+ 780
+ 160
+ 70
lt=<.
-m1= 0..n
- 130.0;10.0;40.0;10.0;40.0;60.0;10.0;60.0
+m1= 1..n
+fontsize=12
+
+ 140.0;10.0;40.0;10.0;40.0;50.0;10.0;50.0
Relation
- 410
- 620
- 100
- 50
+ 400
+ 780
+ 70
+ 40
+
+ lt=<.
+m1=0..1
+fontsize=12
+ 50.0;10.0;20.0;10.0
+
+
+ UMLClass
+
+ 1460
+ 780
+ 220
+ 160
+
+ <<enumeration>>
+ExtendType
+--
+action
+datapoint
+event
+moduleclass
+property
+device
+subdevice
+
+
+
+
+ Relation
+
+ 1340
+ 780
+ 140
+ 70
+
+ lt=<<-
+m1=0..1
+fontsize=12
+ 120.0;10.0;40.0;10.0;40.0;50.0;10.0;50.0
+
+
+ UMLClass
+
+ 1110
+ 860
+ 240
+ 70
+
+ Include
+--
+*@name : text*
+/@type : ExtendType = datapoint/
+fg=blue
+
+
+
+ Relation
+
+ 970
+ 840
+ 160
+ 60
lt=<.
+m1= 1..n
+fontsize=12
+
+ 140.0;30.0;40.0;30.0;40.0;10.0;10.0;10.0
+
+
+ Relation
+
+ 1340
+ 780
+ 140
+ 150
+
+ lt=-
+
+fontsize=12
+ 120.0;10.0;40.0;10.0;40.0;130.0;10.0;130.0
+
+
+ UMLClass
+
+ 760
+ 780
+ 220
+ 80
+
+ <<enumeration>>
+ExtendChoice
+--
+Excludes : Exclude
+Includes : Include
+
+
+
+
+
+
+ Relation
+
+ 660
+ 790
+ 120
+ 70
+
+ lt=<<-
m1=0..1
+fontsize=12
- 80.0;20.0;10.0;20.0
+ 100.0;10.0;40.0;10.0;40.0;50.0;10.0;50.0
+
+
+ UMLClass
+
+ 430
+ 130
+ 220
+ 160
+
+ Product
+--
+*@ id : Name*
+/@ semanticURI : uri/
+/- Doc : Doc/
+/* Properties : Property/
+/* ModuleClasses : ModuleClass/
+/* SubDevices : SubDevice/
+/- DeviceClass : Extend/
+/- Extends : Extend/
+fg=blue
+
+
+
+ Relation
+
+ 320
+ 270
+ 130
+ 70
+
+ lt=<.
+m1=0..n
+fontsize=12
+ 110.0;40.0;60.0;40.0;60.0;10.0;10.0;10.0
+
+
+ Relation
+
+ 320
+ 130
+ 130
+ 130
+
+ lt=<.
+m1=0..n
+fontsize=12
+ 110.0;10.0;60.0;10.0;60.0;110.0;10.0;110.0
+
+
+ UMLClass
+
+ 400
+ 670
+ 1280
+ 40
+
+ halign=center
+SDT 4.0 - Extend
+fontsize=24
+bg=gray
+lw=0.1
+