wisp-schema 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2783ac6a1243de7fc7bba69107ba4bafe330945ae02ec2016004cbf3bf0c2ab6
4
- data.tar.gz: 36fc7a68746bb95fc9f79b0ce102caf6e70bdafa4d7615dd05f7145442cd3005
3
+ metadata.gz: b699f1b28f61a37d2b3b3b8cdccb709d70e590cde1a28580cb12a8c679d373dc
4
+ data.tar.gz: 7a1fb4a569669809792f121033678c0dafd544e32de4886f0658fed4439487c7
5
5
  SHA512:
6
- metadata.gz: 5e84351c622e1e995216cd2451da0c4c3f39864b64234ded62344f3bde70c1c44f5d538e0e528fdb37055a598187e72b981bb37a552acc82ba1963bac6f92dae
7
- data.tar.gz: 3dc04e2b708d0997b0bcc8ab73e1d4ea199d80920ebcb757f14e0bed7d4d42aae55bb3523ae5c1987adc7966a7e245f36467dd1a0ede743766f2999977ca2fb5
6
+ metadata.gz: b408af98b40cdd521973b107fe62b03b3e2febce9ffe8b5e4a274cc9226924fc55a808cceaa6499904252c44e71337a13cef25fbb99036d0ea12a27e0d1792f0
7
+ data.tar.gz: 3c99af0a07175cfa6a963eeccd718e8b92115ddeb6a69195fcb6719269a66f5c92a8c08d3d2894a451d4242b833b7b3db9989bb7aa51b0a72a2fd92dc9d3f6a2
data/canary-nouns.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "masks": {
38
38
  "type": "array",
39
39
  "title": "Mask collection",
40
- "description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
40
+ "description": "A collection of mask objects that tell the matching algorithms which parts of an image to ignore when attempting a match",
41
41
  "items": {
42
42
  "type": "object",
43
43
  "title": "Mask",
@@ -54,6 +54,13 @@
54
54
  "ocr_mask_status": {
55
55
  "title": "OCR inside mask result description",
56
56
  "enum": ["SUCCESS", "TOO_MUCH_TEXT", "NO_TEXT"]
57
+ },
58
+ "text_matching_expression": {
59
+ "type": "object",
60
+ "title": "A user-supplied string representing text to be matched within the mask",
61
+ "properties": {
62
+ "text": {"type": "string"}
63
+ }
57
64
  }
58
65
  }
59
66
  }
@@ -70,7 +77,19 @@
70
77
  "type": {
71
78
  "enum": ["ui_element_reference"]
72
79
  },
73
- "id": {"title": "UI Element ID", "type": "integer"}
80
+ "id": {"title": "UI Element ID", "type": "integer"},
81
+ "text_matchers": {
82
+ "type": "array",
83
+ "title": "Mask text-matching collection",
84
+ "description": "A collection of user-supplied strings representing text to be matched within the mask. It has an index corresponding with its mask in the ui_element.masks array",
85
+ "items": {
86
+ "type": "object",
87
+ "title": "Text to match",
88
+ "properties": {
89
+ "text": {"type": "string"}
90
+ }
91
+ }
92
+ }
74
93
  },
75
94
  "additionalProperties": false,
76
95
  "required": ["type", "id"]
data/canary-wisp.json CHANGED
@@ -44,7 +44,7 @@
44
44
  "masks": {
45
45
  "type": "array",
46
46
  "title": "Mask collection",
47
- "description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
47
+ "description": "A collection of mask objects that tell the matching algorithms which parts of an image to ignore when attempting a match",
48
48
  "items": {
49
49
  "type": "object",
50
50
  "title": "Mask",
@@ -61,6 +61,13 @@
61
61
  "ocr_mask_status": {
62
62
  "title": "OCR inside mask result description",
63
63
  "enum": ["SUCCESS", "TOO_MUCH_TEXT", "NO_TEXT"]
64
+ },
65
+ "text_matching_expression": {
66
+ "type": "object",
67
+ "title": "A user-supplied string representing text to be matched within the mask",
68
+ "properties": {
69
+ "text": {"type": "string"}
70
+ }
64
71
  }
65
72
  }
66
73
  }
@@ -77,7 +84,19 @@
77
84
  "type": {
78
85
  "enum": ["ui_element_reference"]
79
86
  },
80
- "id": {"title": "UI Element ID", "type": "integer"}
87
+ "id": {"title": "UI Element ID", "type": "integer"},
88
+ "text_matchers": {
89
+ "type": "array",
90
+ "title": "Mask text-matching collection",
91
+ "description": "A collection of user-supplied strings representing text to be matched within the mask. It has an index corresponding with its mask in the ui_element.masks array",
92
+ "items": {
93
+ "type": "object",
94
+ "title": "Text to match",
95
+ "properties": {
96
+ "text": {"type": "string"}
97
+ }
98
+ }
99
+ }
81
100
  },
82
101
  "additionalProperties": false,
83
102
  "required": ["type", "id"]
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = "1.10.0"
5
- STABLE_VERSION = "1.10.0"
4
+ VERSION = "1.11.0"
5
+ STABLE_VERSION = "1.11.0"
6
6
  CANARY_VERSION = "2.0.0"
7
7
  end
data/nouns.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "masks": {
38
38
  "type": "array",
39
39
  "title": "Mask collection",
40
- "description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
40
+ "description": "A collection of mask objects that tell the matching algorithms which parts of an image to ignore when attempting a match",
41
41
  "items": {
42
42
  "type": "object",
43
43
  "title": "Mask",
@@ -54,6 +54,13 @@
54
54
  "ocr_mask_status": {
55
55
  "title": "OCR inside mask result description",
56
56
  "enum": ["SUCCESS", "TOO_MUCH_TEXT", "NO_TEXT"]
57
+ },
58
+ "text_matching_expression": {
59
+ "type": "object",
60
+ "title": "A user-supplied string representing text to be matched within the mask",
61
+ "properties": {
62
+ "text": {"type": "string"}
63
+ }
57
64
  }
58
65
  }
59
66
  }
@@ -70,7 +77,19 @@
70
77
  "type": {
71
78
  "enum": ["ui_element_reference"]
72
79
  },
73
- "id": {"title": "UI Element ID", "type": "integer"}
80
+ "id": {"title": "UI Element ID", "type": "integer"},
81
+ "text_matchers": {
82
+ "type": "array",
83
+ "title": "Mask text-matching collection",
84
+ "description": "A collection of user-supplied strings representing text to be matched within the mask. It has an index corresponding with its mask in the ui_element.masks array",
85
+ "items": {
86
+ "type": "object",
87
+ "title": "Text to match",
88
+ "properties": {
89
+ "text": {"type": "string"}
90
+ }
91
+ }
92
+ }
74
93
  },
75
94
  "additionalProperties": false,
76
95
  "required": ["type", "id"]
@@ -7,7 +7,19 @@
7
7
  "type": {
8
8
  "enum": ["ui_element_reference"]
9
9
  },
10
- "id": {"title": "UI Element ID", "type": "integer"}
10
+ "id": {"title": "UI Element ID", "type": "integer"},
11
+ "text_matchers": {
12
+ "type": "array",
13
+ "title": "Mask text-matching collection",
14
+ "description": "A collection of user-supplied strings representing text to be matched within the mask. It has an index corresponding with its mask in the ui_element.masks array",
15
+ "items": {
16
+ "type": "object",
17
+ "title": "Text to match",
18
+ "properties": {
19
+ "text": {"type": "string"}
20
+ }
21
+ }
22
+ }
11
23
  },
12
24
  "additionalProperties": false,
13
25
  "required": ["type", "id"]
data/wisp.json CHANGED
@@ -44,7 +44,7 @@
44
44
  "masks": {
45
45
  "type": "array",
46
46
  "title": "Mask collection",
47
- "description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
47
+ "description": "A collection of mask objects that tell the matching algorithms which parts of an image to ignore when attempting a match",
48
48
  "items": {
49
49
  "type": "object",
50
50
  "title": "Mask",
@@ -61,6 +61,13 @@
61
61
  "ocr_mask_status": {
62
62
  "title": "OCR inside mask result description",
63
63
  "enum": ["SUCCESS", "TOO_MUCH_TEXT", "NO_TEXT"]
64
+ },
65
+ "text_matching_expression": {
66
+ "type": "object",
67
+ "title": "A user-supplied string representing text to be matched within the mask",
68
+ "properties": {
69
+ "text": {"type": "string"}
70
+ }
64
71
  }
65
72
  }
66
73
  }
@@ -77,7 +84,19 @@
77
84
  "type": {
78
85
  "enum": ["ui_element_reference"]
79
86
  },
80
- "id": {"title": "UI Element ID", "type": "integer"}
87
+ "id": {"title": "UI Element ID", "type": "integer"},
88
+ "text_matchers": {
89
+ "type": "array",
90
+ "title": "Mask text-matching collection",
91
+ "description": "A collection of user-supplied strings representing text to be matched within the mask. It has an index corresponding with its mask in the ui_element.masks array",
92
+ "items": {
93
+ "type": "object",
94
+ "title": "Text to match",
95
+ "properties": {
96
+ "text": {"type": "string"}
97
+ }
98
+ }
99
+ }
81
100
  },
82
101
  "additionalProperties": false,
83
102
  "required": ["type", "id"]
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: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski