wisp-schema 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wisp-schema.rb +1 -1
- data/wisp.json +47 -12
- 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: ec50745c5025c8799b623f71b7c1babe063006bd04f90b1772542597379560bf
|
4
|
+
data.tar.gz: 5253f43b255dbacdeb61b6d67f35b8096c3677b9cf45b07825eac28f1749fffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8fc34f0259f2540233bd9556348f8676978ca99102b89c22e0ffc8c1b549f5d3eb793b288f73150307468817736acdf925dce504007ce92e84896ecbf0cb67f
|
7
|
+
data.tar.gz: 8300419483f955b74e85523976adde473c67a9de76f7dfd8df60d761b1a39b22a8ec08735e4fa7d91fd603e85dd0b33348becd9e338070e70edba53dfa2189d7
|
data/lib/wisp-schema.rb
CHANGED
data/wisp.json
CHANGED
@@ -196,7 +196,10 @@
|
|
196
196
|
"action": {
|
197
197
|
"enum": ["CLICK"]
|
198
198
|
},
|
199
|
-
"target": {
|
199
|
+
"target": {
|
200
|
+
"title": "Target",
|
201
|
+
"$ref": "#/definitions/noun"
|
202
|
+
}
|
200
203
|
},
|
201
204
|
"required": ["action", "target"]
|
202
205
|
},
|
@@ -209,7 +212,10 @@
|
|
209
212
|
"enum": ["FILL"]
|
210
213
|
},
|
211
214
|
"text": {"title": "Text", "type": "string"},
|
212
|
-
"target": {
|
215
|
+
"target": {
|
216
|
+
"title": "Target",
|
217
|
+
"$ref": "#/definitions/noun"
|
218
|
+
}
|
213
219
|
},
|
214
220
|
"required": ["action", "target", "text"]
|
215
221
|
},
|
@@ -246,7 +252,10 @@
|
|
246
252
|
"action": {
|
247
253
|
"enum": ["HOVER"]
|
248
254
|
},
|
249
|
-
"target": {
|
255
|
+
"target": {
|
256
|
+
"title": "Target",
|
257
|
+
"$ref": "#/definitions/noun"
|
258
|
+
}
|
250
259
|
},
|
251
260
|
"required": ["action", "target"]
|
252
261
|
},
|
@@ -258,7 +267,10 @@
|
|
258
267
|
"action": {
|
259
268
|
"enum": ["DROPDOWN_SELECT"]
|
260
269
|
},
|
261
|
-
"target": {
|
270
|
+
"target": {
|
271
|
+
"title": "Target",
|
272
|
+
"$ref": "#/definitions/noun"
|
273
|
+
},
|
262
274
|
"option": {"title": "Option", "type": "string"}
|
263
275
|
},
|
264
276
|
"required": ["action", "target"]
|
@@ -271,7 +283,10 @@
|
|
271
283
|
"action": {
|
272
284
|
"enum": ["CHECKBOX_CHECK"]
|
273
285
|
},
|
274
|
-
"target": {
|
286
|
+
"target": {
|
287
|
+
"title": "Target",
|
288
|
+
"$ref": "#/definitions/noun"
|
289
|
+
}
|
275
290
|
},
|
276
291
|
"required": ["action", "target"]
|
277
292
|
},
|
@@ -283,7 +298,10 @@
|
|
283
298
|
"action": {
|
284
299
|
"enum": ["CHECKBOX_UNCHECK"]
|
285
300
|
},
|
286
|
-
"target": {
|
301
|
+
"target": {
|
302
|
+
"title": "Target",
|
303
|
+
"$ref": "#/definitions/noun"
|
304
|
+
}
|
287
305
|
},
|
288
306
|
"required": ["action", "target"]
|
289
307
|
},
|
@@ -353,7 +371,10 @@
|
|
353
371
|
"action": {
|
354
372
|
"enum": ["SCROLL"]
|
355
373
|
},
|
356
|
-
"target": {
|
374
|
+
"target": {
|
375
|
+
"title": "Target",
|
376
|
+
"$ref": "#/definitions/noun"
|
377
|
+
},
|
357
378
|
"direction": {"title": "Direction", "type": "string"}
|
358
379
|
},
|
359
380
|
"required": ["action", "direction"]
|
@@ -366,7 +387,10 @@
|
|
366
387
|
"action": {
|
367
388
|
"enum": ["DRAG_AND_DROP"]
|
368
389
|
},
|
369
|
-
"target": {
|
390
|
+
"target": {
|
391
|
+
"title": "Target",
|
392
|
+
"$ref": "#/definitions/noun"
|
393
|
+
},
|
370
394
|
"object": {"title": "Object", "type": "string"}
|
371
395
|
},
|
372
396
|
"required": ["action", "target", "object"]
|
@@ -379,7 +403,10 @@
|
|
379
403
|
"action": {
|
380
404
|
"enum": ["CLICK_AND_HOLD"]
|
381
405
|
},
|
382
|
-
"target": {
|
406
|
+
"target": {
|
407
|
+
"title": "Target",
|
408
|
+
"$ref": "#/definitions/noun"
|
409
|
+
},
|
383
410
|
"seconds": {"title": "Seconds", "type": "integer"}
|
384
411
|
},
|
385
412
|
"required": ["action", "target", "seconds"]
|
@@ -404,7 +431,10 @@
|
|
404
431
|
"assertion": {
|
405
432
|
"enum": ["SEE"]
|
406
433
|
},
|
407
|
-
"object": {
|
434
|
+
"object": {
|
435
|
+
"title": "Object",
|
436
|
+
"$ref": "#/definitions/noun"
|
437
|
+
}
|
408
438
|
},
|
409
439
|
"required": ["assertion", "object"]
|
410
440
|
},
|
@@ -416,7 +446,10 @@
|
|
416
446
|
"assertion": {
|
417
447
|
"enum": ["DISAPPEAR"]
|
418
448
|
},
|
419
|
-
"object": {
|
449
|
+
"object": {
|
450
|
+
"title": "Object",
|
451
|
+
"$ref": "#/definitions/noun"
|
452
|
+
}
|
420
453
|
},
|
421
454
|
"required": ["assertion", "object"]
|
422
455
|
},
|
@@ -449,10 +482,12 @@
|
|
449
482
|
"title": "Wisp Test",
|
450
483
|
"properties": {
|
451
484
|
"version": {
|
452
|
-
"type": "
|
485
|
+
"type": "string",
|
486
|
+
"title": "Version"
|
453
487
|
},
|
454
488
|
"verbs": {
|
455
489
|
"type": "array",
|
490
|
+
"title": "Verbs",
|
456
491
|
"items": {
|
457
492
|
"$ref": "#/definitions/verb"
|
458
493
|
}
|