File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,34 @@ interface Node {
38
38
39
39
```
40
40
41
+ ### JSON Representations of Typed Value Nodes
42
+
43
+ - ** Typed Value Node:**
44
+ Represents a value with an associated type.
45
+ ``` javascript
46
+ { " @value" : value, " @type" : URI }
47
+ ```
48
+
49
+ - ** Ordered List Value Node:**
50
+ Represents a list of items with a specified order.
51
+ ``` javascript
52
+ { " @value" : [ items ], " @type" : " @list" }
53
+ ```
54
+
55
+ - ** Unordered Set Value Node:**
56
+ Represents a set of items where order does not matter.
57
+ ``` javascript
58
+ { " @value" : [ items ], " @type" : " @set" }
59
+ ```
60
+
61
+ - ** Map or Sparse Array Value Node:**
62
+ Represents a mapping of key-value pairs or a sparse array.
63
+ ``` javascript
64
+ { " @value" : { " key|[index]" : value }, " @type" : " @map" }
65
+ ```
66
+
67
+ ### Template
68
+
41
69
``` json
42
70
{
43
71
"id|@keyword" : [
You can’t perform that action at this time.
0 commit comments