Skip to content

Commit 859f962

Browse files
authored
Merge pull request #9 from player-ui/schema-validation
Pull in Schema Validation Changes
2 parents b10093d + d2828d5 commit 859f962

102 files changed

Lines changed: 9146 additions & 779 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

common/static-xlrs/src/core/xlr/Asset.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2+
"source": "src/index.ts",
23
"name": "Asset",
34
"type": "object",
4-
"source": "src/index.ts",
55
"properties": {
66
"id": {
77
"required": true,

common/static-xlrs/src/core/xlr/AssetBinding.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2+
"source": "src/index.ts",
23
"name": "AssetBinding",
34
"type": "object",
4-
"source": "src/index.ts",
55
"properties": {
66
"binding": {
77
"required": true,

common/static-xlrs/src/core/xlr/AssetSwitch.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "AssetSwitch",
32
"source": "src/index.ts",
3+
"name": "AssetSwitch",
44
"type": "or",
55
"or": [
66
{
7-
"name": "StaticSwitch",
8-
"type": "object",
97
"source": "src/index.ts",
8+
"name": "StaticSwitch<T>",
9+
"type": "object",
1010
"properties": {
1111
"staticSwitch": {
1212
"required": true,
1313
"node": {
14-
"name": "Switch",
1514
"source": "src/index.ts",
15+
"name": "Switch<T>",
1616
"type": "array",
1717
"elementType": {
18-
"name": "SwitchCase",
19-
"type": "object",
2018
"source": "src/index.ts",
19+
"name": "SwitchCase<T>",
20+
"type": "object",
2121
"properties": {
2222
"asset": {
2323
"required": true,
@@ -40,8 +40,7 @@
4040
},
4141
{
4242
"type": "boolean",
43-
"const": true,
44-
"title": "SwitchCase.case"
43+
"const": true
4544
}
4645
],
4746
"title": "SwitchCase.case",
@@ -101,20 +100,20 @@
101100
]
102101
},
103102
{
104-
"name": "DynamicSwitch",
105-
"type": "object",
106103
"source": "src/index.ts",
104+
"name": "DynamicSwitch<T>",
105+
"type": "object",
107106
"properties": {
108107
"dynamicSwitch": {
109108
"required": true,
110109
"node": {
111-
"name": "Switch",
112110
"source": "src/index.ts",
111+
"name": "Switch<T>",
113112
"type": "array",
114113
"elementType": {
115-
"name": "SwitchCase",
116-
"type": "object",
117114
"source": "src/index.ts",
115+
"name": "SwitchCase<T>",
116+
"type": "object",
118117
"properties": {
119118
"asset": {
120119
"required": true,
@@ -137,8 +136,7 @@
137136
},
138137
{
139138
"type": "boolean",
140-
"const": true,
141-
"title": "SwitchCase.case"
139+
"const": true
142140
}
143141
],
144142
"title": "SwitchCase.case",

common/static-xlrs/src/core/xlr/AssetWrapper.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "AssetWrapper",
32
"source": "src/index.ts",
3+
"name": "AssetWrapper",
44
"type": "object",
55
"properties": {
66
"asset": {

common/static-xlrs/src/core/xlr/AssetWrapperOrSwitch.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "AssetWrapperOrSwitch",
32
"source": "src/index.ts",
3+
"name": "AssetWrapperOrSwitch",
44
"type": "or",
55
"or": [
66
{
@@ -44,20 +44,20 @@
4444
"type": "and",
4545
"and": [
4646
{
47-
"name": "StaticSwitch",
48-
"type": "object",
4947
"source": "src/index.ts",
48+
"name": "StaticSwitch<T>",
49+
"type": "object",
5050
"properties": {
5151
"staticSwitch": {
5252
"required": true,
5353
"node": {
54-
"name": "Switch",
5554
"source": "src/index.ts",
55+
"name": "Switch<T>",
5656
"type": "array",
5757
"elementType": {
58-
"name": "SwitchCase",
59-
"type": "object",
6058
"source": "src/index.ts",
59+
"name": "SwitchCase<T>",
60+
"type": "object",
6161
"properties": {
6262
"asset": {
6363
"required": true,
@@ -80,8 +80,7 @@
8080
},
8181
{
8282
"type": "boolean",
83-
"const": true,
84-
"title": "SwitchCase.case"
83+
"const": true
8584
}
8685
],
8786
"title": "SwitchCase.case",
@@ -168,20 +167,20 @@
168167
"type": "and",
169168
"and": [
170169
{
171-
"name": "DynamicSwitch",
172-
"type": "object",
173170
"source": "src/index.ts",
171+
"name": "DynamicSwitch<T>",
172+
"type": "object",
174173
"properties": {
175174
"dynamicSwitch": {
176175
"required": true,
177176
"node": {
178-
"name": "Switch",
179177
"source": "src/index.ts",
178+
"name": "Switch<T>",
180179
"type": "array",
181180
"elementType": {
182-
"name": "SwitchCase",
183-
"type": "object",
184181
"source": "src/index.ts",
182+
"name": "SwitchCase<T>",
183+
"type": "object",
185184
"properties": {
186185
"asset": {
187186
"required": true,
@@ -204,8 +203,7 @@
204203
},
205204
{
206205
"type": "boolean",
207-
"const": true,
208-
"title": "SwitchCase.case"
206+
"const": true
209207
}
210208
],
211209
"title": "SwitchCase.case",

common/static-xlrs/src/core/xlr/Binding.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Binding",
32
"source": "src/index.ts",
3+
"name": "Binding",
44
"type": "string",
55
"title": "Binding",
66
"description": "Bindings describe locations in the data model."

common/static-xlrs/src/core/xlr/BindingRef.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "BindingRef",
32
"source": "src/index.ts",
3+
"name": "BindingRef",
44
"type": "template",
55
"format": "{{.*}}",
66
"title": "BindingRef"

common/static-xlrs/src/core/xlr/DataModel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "DataModel",
32
"source": "src/index.ts",
3+
"name": "DataModel",
44
"type": "record",
55
"keyType": {
66
"type": "any"

common/static-xlrs/src/core/xlr/DynamicSwitch.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2+
"source": "src/index.ts",
23
"name": "DynamicSwitch",
34
"type": "object",
4-
"source": "src/index.ts",
55
"properties": {
66
"dynamicSwitch": {
77
"required": true,
88
"node": {
9-
"name": "Switch",
109
"source": "src/index.ts",
10+
"name": "Switch<T>",
1111
"type": "array",
1212
"elementType": {
13-
"name": "SwitchCase",
14-
"type": "object",
1513
"source": "src/index.ts",
14+
"name": "SwitchCase<T>",
15+
"type": "object",
1616
"properties": {
1717
"asset": {
1818
"required": true,
@@ -35,8 +35,7 @@
3535
},
3636
{
3737
"type": "boolean",
38-
"const": true,
39-
"title": "SwitchCase.case"
38+
"const": true
4039
}
4140
],
4241
"title": "SwitchCase.case",

common/static-xlrs/src/core/xlr/Expression.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Expression",
32
"source": "src/index.ts",
3+
"name": "Expression",
44
"type": "or",
55
"or": [
66
{

0 commit comments

Comments
 (0)