Skip to content

Commit 8608e43

Browse files
committed
MSON fixes
1 parent dfe9a6b commit 8608e43

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

refract-spec.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,30 @@ The Refract Element contains three properties, `element`, `attributes`, and `con
3434

3535
The `element` property defines the type of element. It MAY be a string that references an element type, or it MAY be an `element` itself that provides additional data about the element type.
3636

37-
- Properties
38-
- string
39-
- Element
37+
- Members
38+
- (string)
39+
- (Element)
4040

4141
- `attributes` (enum)
4242

4343
The `attributes` property defines attributes about the given instance of the element, as specified by the `element` property. It MAY be an array of elements, or it MAY be an object. The keys of the object SHOULD be defined element types with valid values for the corresponding element types.
4444

45-
- Properties
46-
- object
45+
- Members
46+
- (object)
4747
- array[Element]
4848

4949
- `content` (enum)
5050

5151
The `content` property defines the content of the instance of the specified element type. The value MAY be any of the JSON primitive types, an element, or an array of elements.
5252

53-
- Properties
54-
- null
55-
- string
56-
- number
57-
- boolean
58-
- object
59-
- Element
53+
- Members
54+
- (null)
55+
- (string)
56+
- (number)
57+
- (boolean)
58+
- (array)
59+
- (object)
60+
- (Element)
6061
- array[Element]
6162

6263
#### Example
@@ -99,19 +100,19 @@ In addition to expressing Refract Elements as objects with `element`, `attribute
99100

100101
#### Compact Element (array)
101102
- (enum, required) - Name of the element
102-
- string
103+
- (string)
103104
- Compact Element
104105
- (enum, optional) - Attributes of the element
105-
- object
106+
- (object)
106107
- array[Compact Element]
107108
- (enum) - Element content with any of the following types
108-
- null
109-
- string
110-
- number
111-
- boolean
112-
- array
113-
- object
114-
- Compact Element
109+
- (null)
110+
- (string)
111+
- (number)
112+
- (boolean)
113+
- (array)
114+
- (object)
115+
- (Compact Element)
115116
- array[Compact Element]
116117

117118
#### Example

0 commit comments

Comments
 (0)