wisp-schema 1.18.4 → 1.18.5
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/version.rb +2 -2
- data/nouns.json +5 -2
- data/wisp.json +5 -2
- 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: af14a1afc78e0dc1c8cb858b9a0b7e8016286c2f609e4396421220c8202aa28a
|
|
4
|
+
data.tar.gz: '0047988260c930c83660927baa8da92493d5059a7c4bd0d532dd37cae339b51e'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7180d282e035a9fa5fa4c66b85721468e8afd1e8e4b65f3082ef9acedf477d21419758a203d344019d439dfefc30b5b58fc16653466f5303f85d7ef2c0788116
|
|
7
|
+
data.tar.gz: fa9627a055375b9d32f178a150f7100b40f5c551a1d778028a9fbee6597b1dd96a9a813ce3795756307caf0d11de5e81a6d37647616bed6430c55c4f69fcd76e
|
data/lib/version.rb
CHANGED
data/nouns.json
CHANGED
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
15
15
|
"match_mode": {
|
|
16
16
|
"oneOf": [
|
|
17
|
+
{ "$ref": "#/definitions/legacy_match_mode" },
|
|
18
|
+
{ "type": "array", "items": { "$ref": "#/definitions/legacy_match_mode" }, "maxItems": 1 },
|
|
17
19
|
{ "$ref": "#/definitions/match_mode" },
|
|
18
|
-
{ "type": "array", "items": { "$ref": "#/definitions/match_mode" } }
|
|
20
|
+
{ "type": "array", "items": { "$ref": "#/definitions/match_mode" }, "uniqueItems": true }
|
|
19
21
|
]
|
|
20
22
|
},
|
|
21
23
|
"image_match_mode": {
|
|
@@ -104,7 +106,8 @@
|
|
|
104
106
|
"additionalProperties": false,
|
|
105
107
|
"required": ["type", "id"]
|
|
106
108
|
},
|
|
107
|
-
"match_mode": { "enum": ["
|
|
109
|
+
"match_mode": { "enum": ["semantic", "strict", "ai_search", "dom_selector"] },
|
|
110
|
+
"legacy_match_mode": { "enum": ["pixel", "pixel_and_ocr"] }
|
|
108
111
|
},
|
|
109
112
|
"type": "object",
|
|
110
113
|
"title": "Single Wisp Noun",
|
data/wisp.json
CHANGED
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
22
22
|
"match_mode": {
|
|
23
23
|
"oneOf": [
|
|
24
|
+
{ "$ref": "#/definitions/legacy_match_mode" },
|
|
25
|
+
{ "type": "array", "items": { "$ref": "#/definitions/legacy_match_mode" }, "maxItems": 1 },
|
|
24
26
|
{ "$ref": "#/definitions/match_mode" },
|
|
25
|
-
{ "type": "array", "items": { "$ref": "#/definitions/match_mode" } }
|
|
27
|
+
{ "type": "array", "items": { "$ref": "#/definitions/match_mode" }, "uniqueItems": true }
|
|
26
28
|
]
|
|
27
29
|
},
|
|
28
30
|
"image_match_mode": {
|
|
@@ -84,7 +86,8 @@
|
|
|
84
86
|
"additionalProperties": false,
|
|
85
87
|
"required": ["type", "element"]
|
|
86
88
|
},
|
|
87
|
-
"match_mode": { "enum": ["
|
|
89
|
+
"match_mode": { "enum": ["semantic", "strict", "ai_search", "dom_selector"] },
|
|
90
|
+
"legacy_match_mode": { "enum": ["pixel", "pixel_and_ocr"] },
|
|
88
91
|
"ui_element_reference": {
|
|
89
92
|
"type": "object",
|
|
90
93
|
"title": "UI Element Reference",
|