@@ -72,7 +72,7 @@ Note: Not every MSON _Base Type_ is presented in Refract primitive types and vic
7272
7373# MSON DOM Elements
7474
75- ## MSON Element (Element)
75+ ## MSON Element (Element[ * T * ] )
7676
7777Base element for every MSON element.
7878
@@ -85,22 +85,28 @@ Note: In MSON DOM _Nested Member Types_ _Type Section_ is the `content` of the e
8585- ` attributes `
8686 - ` typeAttributes ` (array) - _ Type Definition_ attributes list, see _ Type Attribute_
8787 - (enum[ string] )
88- - required
89- - optional
90- - fixed
91- - sample
92- - default
93- - ` variable ` (boolean) - Element content is _ Variable Value_
94- - ` sample ` - Alternative sample value for _ Member Types_
88+ - required - This element is required in parent's content
89+ - optional - This element is optional in parent's content
90+ - fixed - The ` content ` value is immutable.
91+ - sample - The ` content ` value is a sample value.
92+ - default - The ` content ` value is a default value.
9593
96- The type of of `sample` attribute MUST match the type of element's `content`.
94+ - ` variable ` (boolean) - The ` content ` value is a _ Variable Value _
9795
98- - `default` - Default value for _Member Types_
96+ The ` content ` value is either a _ Variable Type Name _ , _ Variable Value _ or _ Variable Property Name _ .
9997
100- The type of of `default` attribute MUST match the type of element's `content`.
98+ - ` sample ` (array[ T] ) - Alternative sample value for _ Member Types_
99+
100+ The type of items in `sample` array attribute MUST match the type of element's `content`.
101+
102+ - `default` (T) - Default value for _Member Types_
103+
104+ The type of of `default` attribute MUST match the type of element's `content`.
101105
102106 - `validation` - Not used, reserved for a future use
103107
108+ - ` content ` (T)
109+
104110## Boolean Type (Boolean Element)
105111
106112- Include [ MSON Element] [ ]
0 commit comments