wisp-schema 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/wisp-schema.rb +1 -1
- data/nouns.json +14 -0
- data/wisp.json +40 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 58ae1b8fd9293c1adab177a07699609ce64b451b5899002d51741040729318a8
|
|
4
|
+
data.tar.gz: 9ea3598f21439fa8759ff5a9c771cc218f86fcb9af53483aac3dedb504c9d507
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5afb1f4b4199417626f69f0f5cf35b4fa809fee28cb7a5b4090214d47620ea42cfe90e38888dd0f8e092f611f8c3acdf9400ed67ccf93534fd674b008d887a0
|
|
7
|
+
data.tar.gz: 945d73d038f628f4081401c838379c56deb68b65fb45657370290042f61f1131e7f1b4b0e27ad032fead33c5ab9d91642cddb5f60f2558169f2870fc2ae48b7c
|
data/lib/wisp-schema.rb
CHANGED
data/nouns.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"label": {"title": "Label", "type": "string"}
|
|
13
13
|
},
|
|
14
|
+
"additionalProperties": false,
|
|
14
15
|
"required": ["type", "label"]
|
|
15
16
|
},
|
|
16
17
|
"text_field": {
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
},
|
|
24
25
|
"label": {"title": "Label", "type": "string"}
|
|
25
26
|
},
|
|
27
|
+
"additionalProperties": false,
|
|
26
28
|
"required": ["type", "label"]
|
|
27
29
|
},
|
|
28
30
|
"dropdown": {
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
},
|
|
36
38
|
"label": {"title": "Label", "type": "string"}
|
|
37
39
|
},
|
|
40
|
+
"additionalProperties": false,
|
|
38
41
|
"required": ["type", "label"]
|
|
39
42
|
},
|
|
40
43
|
"dropdown_option": {
|
|
@@ -47,6 +50,7 @@
|
|
|
47
50
|
},
|
|
48
51
|
"label": {"title": "Label", "type": "string"}
|
|
49
52
|
},
|
|
53
|
+
"additionalProperties": false,
|
|
50
54
|
"required": ["type", "label"]
|
|
51
55
|
},
|
|
52
56
|
"link": {
|
|
@@ -59,6 +63,7 @@
|
|
|
59
63
|
},
|
|
60
64
|
"text": {"title": "Text", "type": "string"}
|
|
61
65
|
},
|
|
66
|
+
"additionalProperties": false,
|
|
62
67
|
"required": ["type", "text"]
|
|
63
68
|
},
|
|
64
69
|
"icon": {
|
|
@@ -71,6 +76,7 @@
|
|
|
71
76
|
},
|
|
72
77
|
"description": {"title": "Description", "type": "string"}
|
|
73
78
|
},
|
|
79
|
+
"additionalProperties": false,
|
|
74
80
|
"required": ["type", "description"]
|
|
75
81
|
},
|
|
76
82
|
"checkbox": {
|
|
@@ -83,6 +89,7 @@
|
|
|
83
89
|
},
|
|
84
90
|
"label": {"title": "Label", "type": "string"}
|
|
85
91
|
},
|
|
92
|
+
"additionalProperties": false,
|
|
86
93
|
"required": ["type", "label"]
|
|
87
94
|
},
|
|
88
95
|
"header": {
|
|
@@ -95,6 +102,7 @@
|
|
|
95
102
|
},
|
|
96
103
|
"text": {"title": "Text", "type": "string"}
|
|
97
104
|
},
|
|
105
|
+
"additionalProperties": false,
|
|
98
106
|
"required": ["type", "text"]
|
|
99
107
|
},
|
|
100
108
|
"window": {
|
|
@@ -107,6 +115,7 @@
|
|
|
107
115
|
},
|
|
108
116
|
"description": {"title": "Description", "type": "string"}
|
|
109
117
|
},
|
|
118
|
+
"additionalProperties": false,
|
|
110
119
|
"required": ["type", "description"]
|
|
111
120
|
},
|
|
112
121
|
"modal": {
|
|
@@ -119,6 +128,7 @@
|
|
|
119
128
|
},
|
|
120
129
|
"description": {"title": "Description", "type": "string"}
|
|
121
130
|
},
|
|
131
|
+
"additionalProperties": false,
|
|
122
132
|
"required": ["type", "description"]
|
|
123
133
|
},
|
|
124
134
|
"text": {
|
|
@@ -131,6 +141,7 @@
|
|
|
131
141
|
},
|
|
132
142
|
"text": {"title": "Text", "type": "string"}
|
|
133
143
|
},
|
|
144
|
+
"additionalProperties": false,
|
|
134
145
|
"required": ["type", "text"]
|
|
135
146
|
},
|
|
136
147
|
"ui_element": {
|
|
@@ -143,6 +154,7 @@
|
|
|
143
154
|
},
|
|
144
155
|
"element": {"title": "Element", "type": "string"}
|
|
145
156
|
},
|
|
157
|
+
"additionalProperties": false,
|
|
146
158
|
"required": ["type", "element"]
|
|
147
159
|
},
|
|
148
160
|
"ui_element_reference": {
|
|
@@ -155,6 +167,7 @@
|
|
|
155
167
|
},
|
|
156
168
|
"id": {"title": "UI Element ID", "type": "integer"}
|
|
157
169
|
},
|
|
170
|
+
"additionalProperties": false,
|
|
158
171
|
"required": ["type", "id"]
|
|
159
172
|
}
|
|
160
173
|
},
|
|
@@ -183,5 +196,6 @@
|
|
|
183
196
|
]
|
|
184
197
|
}
|
|
185
198
|
},
|
|
199
|
+
"additionalProperties": false,
|
|
186
200
|
"required": ["version", "noun"]
|
|
187
201
|
}
|
data/wisp.json
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"label": {"title": "Label", "type": "string"}
|
|
31
31
|
},
|
|
32
|
+
"additionalProperties": false,
|
|
32
33
|
"required": ["type", "label"]
|
|
33
34
|
},
|
|
34
35
|
"text_field": {
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
},
|
|
42
43
|
"label": {"title": "Label", "type": "string"}
|
|
43
44
|
},
|
|
45
|
+
"additionalProperties": false,
|
|
44
46
|
"required": ["type", "label"]
|
|
45
47
|
},
|
|
46
48
|
"dropdown": {
|
|
@@ -53,6 +55,7 @@
|
|
|
53
55
|
},
|
|
54
56
|
"label": {"title": "Label", "type": "string"}
|
|
55
57
|
},
|
|
58
|
+
"additionalProperties": false,
|
|
56
59
|
"required": ["type", "label"]
|
|
57
60
|
},
|
|
58
61
|
"dropdown_option": {
|
|
@@ -65,6 +68,7 @@
|
|
|
65
68
|
},
|
|
66
69
|
"label": {"title": "Label", "type": "string"}
|
|
67
70
|
},
|
|
71
|
+
"additionalProperties": false,
|
|
68
72
|
"required": ["type", "label"]
|
|
69
73
|
},
|
|
70
74
|
"link": {
|
|
@@ -77,6 +81,7 @@
|
|
|
77
81
|
},
|
|
78
82
|
"text": {"title": "Text", "type": "string"}
|
|
79
83
|
},
|
|
84
|
+
"additionalProperties": false,
|
|
80
85
|
"required": ["type", "text"]
|
|
81
86
|
},
|
|
82
87
|
"icon": {
|
|
@@ -89,6 +94,7 @@
|
|
|
89
94
|
},
|
|
90
95
|
"description": {"title": "Description", "type": "string"}
|
|
91
96
|
},
|
|
97
|
+
"additionalProperties": false,
|
|
92
98
|
"required": ["type", "description"]
|
|
93
99
|
},
|
|
94
100
|
"checkbox": {
|
|
@@ -101,6 +107,7 @@
|
|
|
101
107
|
},
|
|
102
108
|
"label": {"title": "Label", "type": "string"}
|
|
103
109
|
},
|
|
110
|
+
"additionalProperties": false,
|
|
104
111
|
"required": ["type", "label"]
|
|
105
112
|
},
|
|
106
113
|
"header": {
|
|
@@ -113,6 +120,7 @@
|
|
|
113
120
|
},
|
|
114
121
|
"text": {"title": "Text", "type": "string"}
|
|
115
122
|
},
|
|
123
|
+
"additionalProperties": false,
|
|
116
124
|
"required": ["type", "text"]
|
|
117
125
|
},
|
|
118
126
|
"window": {
|
|
@@ -125,6 +133,7 @@
|
|
|
125
133
|
},
|
|
126
134
|
"description": {"title": "Description", "type": "string"}
|
|
127
135
|
},
|
|
136
|
+
"additionalProperties": false,
|
|
128
137
|
"required": ["type", "description"]
|
|
129
138
|
},
|
|
130
139
|
"modal": {
|
|
@@ -137,6 +146,7 @@
|
|
|
137
146
|
},
|
|
138
147
|
"description": {"title": "Description", "type": "string"}
|
|
139
148
|
},
|
|
149
|
+
"additionalProperties": false,
|
|
140
150
|
"required": ["type", "description"]
|
|
141
151
|
},
|
|
142
152
|
"text": {
|
|
@@ -149,6 +159,7 @@
|
|
|
149
159
|
},
|
|
150
160
|
"text": {"title": "Text", "type": "string"}
|
|
151
161
|
},
|
|
162
|
+
"additionalProperties": false,
|
|
152
163
|
"required": ["type", "text"]
|
|
153
164
|
},
|
|
154
165
|
"ui_element": {
|
|
@@ -161,6 +172,7 @@
|
|
|
161
172
|
},
|
|
162
173
|
"element": {"title": "Element", "type": "string"}
|
|
163
174
|
},
|
|
175
|
+
"additionalProperties": false,
|
|
164
176
|
"required": ["type", "element"]
|
|
165
177
|
},
|
|
166
178
|
"ui_element_reference": {
|
|
@@ -173,6 +185,7 @@
|
|
|
173
185
|
},
|
|
174
186
|
"id": {"title": "UI Element ID", "type": "integer"}
|
|
175
187
|
},
|
|
188
|
+
"additionalProperties": false,
|
|
176
189
|
"required": ["type", "id"]
|
|
177
190
|
},
|
|
178
191
|
"verb": {
|
|
@@ -205,7 +218,8 @@
|
|
|
205
218
|
],
|
|
206
219
|
"properties": {
|
|
207
220
|
"custom_action_id": {"title": "Custom Action ID", "type": "integer"}
|
|
208
|
-
}
|
|
221
|
+
},
|
|
222
|
+
"additionalProperties": false
|
|
209
223
|
},
|
|
210
224
|
"click": {
|
|
211
225
|
"type": "object",
|
|
@@ -221,6 +235,7 @@
|
|
|
221
235
|
},
|
|
222
236
|
"button": {"title": "button", "type": "string", "enum": ["left", "middle", "right"]}
|
|
223
237
|
},
|
|
238
|
+
"additionalProperties": false,
|
|
224
239
|
"required": ["action", "target"]
|
|
225
240
|
},
|
|
226
241
|
"double_click": {
|
|
@@ -236,6 +251,7 @@
|
|
|
236
251
|
"$ref": "#/definitions/noun"
|
|
237
252
|
}
|
|
238
253
|
},
|
|
254
|
+
"additionalProperties": false,
|
|
239
255
|
"required": ["action", "target"]
|
|
240
256
|
},
|
|
241
257
|
"fill": {
|
|
@@ -252,6 +268,7 @@
|
|
|
252
268
|
},
|
|
253
269
|
"text": {"title": "Text", "type": "string"}
|
|
254
270
|
},
|
|
271
|
+
"additionalProperties": false,
|
|
255
272
|
"required": ["action", "target", "text"]
|
|
256
273
|
},
|
|
257
274
|
"type": {
|
|
@@ -264,6 +281,7 @@
|
|
|
264
281
|
},
|
|
265
282
|
"text": {"title": "Text", "type": "string"}
|
|
266
283
|
},
|
|
284
|
+
"additionalProperties": false,
|
|
267
285
|
"required": ["action", "text"]
|
|
268
286
|
},
|
|
269
287
|
"send_key": {
|
|
@@ -277,6 +295,7 @@
|
|
|
277
295
|
"key": {"title": "Key", "type": "string"},
|
|
278
296
|
"modifier": {"title": "Modifier", "type": "string"}
|
|
279
297
|
},
|
|
298
|
+
"additionalProperties": false,
|
|
280
299
|
"required": ["action", "key"]
|
|
281
300
|
},
|
|
282
301
|
"hover": {
|
|
@@ -292,6 +311,7 @@
|
|
|
292
311
|
"$ref": "#/definitions/noun"
|
|
293
312
|
}
|
|
294
313
|
},
|
|
314
|
+
"additionalProperties": false,
|
|
295
315
|
"required": ["action", "target"]
|
|
296
316
|
},
|
|
297
317
|
"dropdown_select": {
|
|
@@ -311,6 +331,7 @@
|
|
|
311
331
|
"$ref": "#/definitions/noun"
|
|
312
332
|
}
|
|
313
333
|
},
|
|
334
|
+
"additionalProperties": false,
|
|
314
335
|
"required": ["action", "target", "option"]
|
|
315
336
|
},
|
|
316
337
|
"checkbox_check": {
|
|
@@ -326,6 +347,7 @@
|
|
|
326
347
|
"$ref": "#/definitions/noun"
|
|
327
348
|
}
|
|
328
349
|
},
|
|
350
|
+
"additionalProperties": false,
|
|
329
351
|
"required": ["action", "target"]
|
|
330
352
|
},
|
|
331
353
|
"checkbox_uncheck": {
|
|
@@ -341,6 +363,7 @@
|
|
|
341
363
|
"$ref": "#/definitions/noun"
|
|
342
364
|
}
|
|
343
365
|
},
|
|
366
|
+
"additionalProperties": false,
|
|
344
367
|
"required": ["action", "target"]
|
|
345
368
|
},
|
|
346
369
|
"refresh": {
|
|
@@ -352,6 +375,7 @@
|
|
|
352
375
|
"enum": ["refresh"]
|
|
353
376
|
}
|
|
354
377
|
},
|
|
378
|
+
"additionalProperties": false,
|
|
355
379
|
"required": ["action"]
|
|
356
380
|
},
|
|
357
381
|
"navigate": {
|
|
@@ -364,6 +388,7 @@
|
|
|
364
388
|
},
|
|
365
389
|
"url": {"title": "URL", "type": "string"}
|
|
366
390
|
},
|
|
391
|
+
"additionalProperties": false,
|
|
367
392
|
"required": ["action", "url"]
|
|
368
393
|
},
|
|
369
394
|
"navigate_new_tab": {
|
|
@@ -376,6 +401,7 @@
|
|
|
376
401
|
},
|
|
377
402
|
"url": {"title": "URL", "type": "string"}
|
|
378
403
|
},
|
|
404
|
+
"additionalProperties": false,
|
|
379
405
|
"required": ["action", "url"]
|
|
380
406
|
},
|
|
381
407
|
"navigate_incognito_tab": {
|
|
@@ -388,6 +414,7 @@
|
|
|
388
414
|
},
|
|
389
415
|
"url": {"title": "URL", "type": "string"}
|
|
390
416
|
},
|
|
417
|
+
"additionalProperties": false,
|
|
391
418
|
"required": ["action", "url"]
|
|
392
419
|
},
|
|
393
420
|
"close_tab": {
|
|
@@ -399,6 +426,7 @@
|
|
|
399
426
|
"enum": ["close_tab"]
|
|
400
427
|
}
|
|
401
428
|
},
|
|
429
|
+
"additionalProperties": false,
|
|
402
430
|
"required": ["action"]
|
|
403
431
|
},
|
|
404
432
|
"scroll": {
|
|
@@ -415,6 +443,7 @@
|
|
|
415
443
|
"$ref": "#/definitions/noun"
|
|
416
444
|
}
|
|
417
445
|
},
|
|
446
|
+
"additionalProperties": false,
|
|
418
447
|
"required": ["action", "direction", "target"]
|
|
419
448
|
},
|
|
420
449
|
"sleep": {
|
|
@@ -427,6 +456,7 @@
|
|
|
427
456
|
},
|
|
428
457
|
"seconds": {"title": "seconds", "type": "integer"}
|
|
429
458
|
},
|
|
459
|
+
"additionalProperties": false,
|
|
430
460
|
"required": ["action", "seconds"]
|
|
431
461
|
},
|
|
432
462
|
"drag_and_drop": {
|
|
@@ -446,6 +476,7 @@
|
|
|
446
476
|
"$ref": "#/definitions/noun"
|
|
447
477
|
}
|
|
448
478
|
},
|
|
479
|
+
"additionalProperties": false,
|
|
449
480
|
"required": ["action", "target", "object"]
|
|
450
481
|
},
|
|
451
482
|
"click_and_hold": {
|
|
@@ -462,6 +493,7 @@
|
|
|
462
493
|
},
|
|
463
494
|
"seconds": {"title": "Seconds", "type": "integer"}
|
|
464
495
|
},
|
|
496
|
+
"additionalProperties": false,
|
|
465
497
|
"required": ["action", "target", "seconds"]
|
|
466
498
|
},
|
|
467
499
|
"custom_action": {
|
|
@@ -477,6 +509,7 @@
|
|
|
477
509
|
"type": "integer"
|
|
478
510
|
}
|
|
479
511
|
},
|
|
512
|
+
"additionalProperties": false,
|
|
480
513
|
"required": ["action", "test_id"]
|
|
481
514
|
},
|
|
482
515
|
"plain_language": {
|
|
@@ -489,6 +522,7 @@
|
|
|
489
522
|
},
|
|
490
523
|
"instruction": {"title": "Instruction", "type": "string"}
|
|
491
524
|
},
|
|
525
|
+
"additionalProperties": false,
|
|
492
526
|
"required": ["action", "instruction"]
|
|
493
527
|
},
|
|
494
528
|
"see": {
|
|
@@ -504,6 +538,7 @@
|
|
|
504
538
|
"$ref": "#/definitions/noun"
|
|
505
539
|
}
|
|
506
540
|
},
|
|
541
|
+
"additionalProperties": false,
|
|
507
542
|
"required": ["assertion", "object"]
|
|
508
543
|
},
|
|
509
544
|
"disappear": {
|
|
@@ -519,6 +554,7 @@
|
|
|
519
554
|
"$ref": "#/definitions/noun"
|
|
520
555
|
}
|
|
521
556
|
},
|
|
557
|
+
"additionalProperties": false,
|
|
522
558
|
"required": ["assertion", "object"]
|
|
523
559
|
},
|
|
524
560
|
"loaded": {
|
|
@@ -531,6 +567,7 @@
|
|
|
531
567
|
},
|
|
532
568
|
"page": {"title": "Page", "type": "string"}
|
|
533
569
|
},
|
|
570
|
+
"additionalProperties": false,
|
|
534
571
|
"required": ["assertion", "page"]
|
|
535
572
|
},
|
|
536
573
|
"plain_language_assertion": {
|
|
@@ -543,6 +580,7 @@
|
|
|
543
580
|
},
|
|
544
581
|
"instruction": {"title": "Instruction", "type": "string"}
|
|
545
582
|
},
|
|
583
|
+
"additionalProperties": false,
|
|
546
584
|
"required": ["assertion", "instruction"]
|
|
547
585
|
}
|
|
548
586
|
},
|
|
@@ -561,5 +599,6 @@
|
|
|
561
599
|
}
|
|
562
600
|
}
|
|
563
601
|
},
|
|
602
|
+
"additionalProperties": false,
|
|
564
603
|
"required": ["version", "verbs"]
|
|
565
604
|
}
|