wisp-schema 0.14.1 → 0.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wisp-schema.rb +1 -1
  3. data/wisp.json +26 -6
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fb88d8ca40dd27f0d743b55ab0f9316e1f652828fd80b293830c66580a4cb47
4
- data.tar.gz: 0e7446b49c97b97aaaa19c8c4e056631c18e4f1c009b53ea51374bb5ece0a11b
3
+ metadata.gz: 7cb035509bd6497f7c3d5756b6c0010f1835e977bbe070a4d744eb716f653e58
4
+ data.tar.gz: b36a7de8b8f404596508179d2da23e26d81721b194a1e83fb117f3727e10a1c3
5
5
  SHA512:
6
- metadata.gz: 9c97f69f4ee2a69ae3d1f2aa9a9ad3679019756d7ae82feb4e392db804bffdb4fb590b8f096e8b224d77590c6ae50a6aed9f5bb6ce95518cf2a8d5e8807c2cd4
7
- data.tar.gz: 83a50919a0545fad44009ed8c6e0c6ad46e15d195d80a396b31b653216a1a641e0d21fce11650a5cf2739ac513ee73ee23e406e3c51b8f71bce1084d193524cc
6
+ metadata.gz: e0914a57c7430f589cb5ad76ec5fc0c771a32c1044a388d4a94facc0c77594861c1ef799dc056d3b1c1a8c4d27670b2f344ac49f3d5e9aa9e8e79458d8a364d7
7
+ data.tar.gz: b071bb7e7a9acf7121fe3357eb4042d8b71e6cf615ab050b5057fd0c985869723594a0a7f826f0fb65642ee9948965d390bc2df2267b19e482832549778609de
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = '0.14.1'
4
+ VERSION = '0.14.2'
5
5
 
6
6
  SCHEMA_PATH = File.expand_path('../wisp.json', __dir__)
7
7
  NOUNS_PATH = File.expand_path('../nouns.json', __dir__)
data/wisp.json CHANGED
@@ -215,10 +215,7 @@
215
215
  {"$ref": "#/definitions/disappear"},
216
216
  {"$ref": "#/definitions/loaded"},
217
217
  {"$ref": "#/definitions/plain_language_assertion"}
218
- ],
219
- "properties": {
220
- "custom_action_id": {"title": "Custom Action ID", "type": "integer"}
221
- }
218
+ ]
222
219
  },
223
220
  "click": {
224
221
  "type": "object",
@@ -228,6 +225,7 @@
228
225
  "action": {
229
226
  "enum": ["click"]
230
227
  },
228
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
231
229
  "target": {
232
230
  "title": "Target",
233
231
  "$ref": "#/definitions/noun"
@@ -245,6 +243,7 @@
245
243
  "action": {
246
244
  "enum": ["double_click"]
247
245
  },
246
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
248
247
  "target": {
249
248
  "title": "Target",
250
249
  "$ref": "#/definitions/noun"
@@ -261,6 +260,7 @@
261
260
  "action": {
262
261
  "enum": ["fill"]
263
262
  },
263
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
264
264
  "target": {
265
265
  "title": "Target",
266
266
  "$ref": "#/definitions/noun"
@@ -278,6 +278,7 @@
278
278
  "action": {
279
279
  "enum": ["type"]
280
280
  },
281
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
281
282
  "text": {"title": "Text", "type": "string"}
282
283
  },
283
284
  "additionalProperties": false,
@@ -291,6 +292,7 @@
291
292
  "action": {
292
293
  "enum": ["send_key"]
293
294
  },
295
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
294
296
  "key": {"title": "Key", "type": "string"},
295
297
  "modifier": {"title": "Modifier", "type": "string"}
296
298
  },
@@ -305,6 +307,7 @@
305
307
  "action": {
306
308
  "enum": ["hover"]
307
309
  },
310
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
308
311
  "target": {
309
312
  "title": "Target",
310
313
  "$ref": "#/definitions/noun"
@@ -321,6 +324,7 @@
321
324
  "action": {
322
325
  "enum": ["dropdown_select"]
323
326
  },
327
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
324
328
  "target": {
325
329
  "title": "Target",
326
330
  "$ref": "#/definitions/noun"
@@ -341,6 +345,7 @@
341
345
  "action": {
342
346
  "enum": ["checkbox_check"]
343
347
  },
348
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
344
349
  "target": {
345
350
  "title": "Target",
346
351
  "$ref": "#/definitions/noun"
@@ -357,6 +362,7 @@
357
362
  "action": {
358
363
  "enum": ["checkbox_uncheck"]
359
364
  },
365
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
360
366
  "target": {
361
367
  "title": "Target",
362
368
  "$ref": "#/definitions/noun"
@@ -372,7 +378,8 @@
372
378
  "properties": {
373
379
  "action": {
374
380
  "enum": ["refresh"]
375
- }
381
+ },
382
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"}
376
383
  },
377
384
  "additionalProperties": false,
378
385
  "required": ["action"]
@@ -385,6 +392,7 @@
385
392
  "action": {
386
393
  "enum": ["navigate"]
387
394
  },
395
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
388
396
  "url": {"title": "URL", "type": "string"}
389
397
  },
390
398
  "additionalProperties": false,
@@ -398,6 +406,7 @@
398
406
  "action": {
399
407
  "enum": ["navigate_new_tab"]
400
408
  },
409
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
401
410
  "url": {"title": "URL", "type": "string"}
402
411
  },
403
412
  "additionalProperties": false,
@@ -411,6 +420,7 @@
411
420
  "action": {
412
421
  "enum": ["navigate_incognito_tab"]
413
422
  },
423
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
414
424
  "url": {"title": "URL", "type": "string"}
415
425
  },
416
426
  "additionalProperties": false,
@@ -423,7 +433,8 @@
423
433
  "properties": {
424
434
  "action": {
425
435
  "enum": ["close_tab"]
426
- }
436
+ },
437
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"}
427
438
  },
428
439
  "additionalProperties": false,
429
440
  "required": ["action"]
@@ -436,6 +447,7 @@
436
447
  "action": {
437
448
  "enum": ["scroll"]
438
449
  },
450
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
439
451
  "direction": {"title": "Direction", "type": "string", "enum": ["up", "down", "left", "right"]},
440
452
  "target": {
441
453
  "title": "Target",
@@ -453,6 +465,7 @@
453
465
  "action": {
454
466
  "enum": ["sleep"]
455
467
  },
468
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
456
469
  "seconds": {"title": "seconds", "type": "integer"}
457
470
  },
458
471
  "additionalProperties": false,
@@ -466,6 +479,7 @@
466
479
  "action": {
467
480
  "enum": ["drag_and_drop"]
468
481
  },
482
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
469
483
  "object": {
470
484
  "title": "Object",
471
485
  "$ref": "#/definitions/noun"
@@ -486,6 +500,7 @@
486
500
  "action": {
487
501
  "enum": ["click_and_hold"]
488
502
  },
503
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
489
504
  "target": {
490
505
  "title": "Target",
491
506
  "$ref": "#/definitions/noun"
@@ -519,6 +534,7 @@
519
534
  "action": {
520
535
  "enum": ["plain_language"]
521
536
  },
537
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
522
538
  "instruction": {"title": "Instruction", "type": "string"}
523
539
  },
524
540
  "additionalProperties": false,
@@ -532,6 +548,7 @@
532
548
  "assertion": {
533
549
  "enum": ["see"]
534
550
  },
551
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
535
552
  "object": {
536
553
  "title": "Object",
537
554
  "$ref": "#/definitions/noun"
@@ -548,6 +565,7 @@
548
565
  "assertion": {
549
566
  "enum": ["disappear"]
550
567
  },
568
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
551
569
  "object": {
552
570
  "title": "Object",
553
571
  "$ref": "#/definitions/noun"
@@ -564,6 +582,7 @@
564
582
  "assertion": {
565
583
  "enum": ["loaded"]
566
584
  },
585
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
567
586
  "page": {"title": "Page", "type": "string"}
568
587
  },
569
588
  "additionalProperties": false,
@@ -577,6 +596,7 @@
577
596
  "assertion": {
578
597
  "enum": ["plain_language_assertion"]
579
598
  },
599
+ "custom_action_id": {"title": "Custom Action ID", "type": "integer"},
580
600
  "instruction": {"title": "Instruction", "type": "string"}
581
601
  },
582
602
  "additionalProperties": false,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wisp-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski