wisp-schema 0.17.0 → 0.18.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wisp-schema.rb +1 -1
  3. data/nouns.json +14 -0
  4. data/wisp.json +14 -0
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46d2a4eea92a8d9e4cb18d35e2556c38c4e7c1e62e7827392a8d0160dadc5205
4
- data.tar.gz: afc56ee92b4e12294c864c343f9915521a275bb8dce010f2303fed8a523a1571
3
+ metadata.gz: 02d2eae8b8c7aa8471d3ed86c0ead60570429e800a5a9ddd68e2b20481ad9f96
4
+ data.tar.gz: fa62b5cf42863e517450624668f215c78b06ff4e981edf0902a8be62f567ee54
5
5
  SHA512:
6
- metadata.gz: ba6f39c49b58956983a5bc302a2cb63569729b268451ea751806f0d2935f4b9e0ab1b89ce7fa32605b7d75153cb4d5fcd6cec200571b921d1f48fb8c2d318c72
7
- data.tar.gz: 98d96a3bd20c1a4a7e62dd102503ac719b2c7eef1db9e47996fab22b93e5379a13e9b3cc52f2e362124bb6c49edfc3ef0436f4808ee44aefbf31fae0af393b87
6
+ metadata.gz: aa77b6aca7500622d746b461f9d6d7036fff7446c21ffc77c3a83fa02da5b2109ad53514f1b6110116100b74f84640b49c74f9e382ab7277b15c562de71329d0
7
+ data.tar.gz: 5c48ac49c077578671e249462eccb9a3b613eff93b4e276c66f40dc879c252cb7436ca68b43f1c504b742b19e366c84943a048067d31088a35a5c107dfdd0f54
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = '0.17.0'
4
+ VERSION = '0.18.0'
5
5
 
6
6
  SCHEMA_PATH = File.expand_path('../wisp.json', __dir__)
7
7
  NOUNS_PATH = File.expand_path('../nouns.json', __dir__)
data/nouns.json CHANGED
@@ -19,6 +19,20 @@
19
19
  "title": "Expression to use for text matching",
20
20
  "type": "string",
21
21
  "maxLength": 999
22
+ },
23
+ "ocr_status": {
24
+ "title": "OCR result description",
25
+ "enum": ["SUCCESS", "TOO_MUCH_TEXT", "NO_TEXT"],
26
+ },
27
+ "ocr_box": {
28
+ "title": "Text content bounding box",
29
+ "type": "object",
30
+ "properties": {
31
+ "x": {"type": "integer"},
32
+ "y": {"type": "integer"},
33
+ "w": {"type": "integer"},
34
+ "h": {"type": "integer"}
35
+ }
22
36
  }
23
37
  },
24
38
  "additionalProperties": false,
data/wisp.json CHANGED
@@ -26,6 +26,20 @@
26
26
  "title": "Expression to use for text matching",
27
27
  "type": "string",
28
28
  "maxLength": 999
29
+ },
30
+ "ocr_status": {
31
+ "title": "OCR result description",
32
+ "enum": ["SUCCESS", "TOO_MUCH_TEXT", "NO_TEXT"],
33
+ },
34
+ "ocr_box": {
35
+ "title": "Text content bounding box",
36
+ "type": "object",
37
+ "properties": {
38
+ "x": {"type": "integer"},
39
+ "y": {"type": "integer"},
40
+ "w": {"type": "integer"},
41
+ "h": {"type": "integer"}
42
+ }
29
43
  }
30
44
  },
31
45
  "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.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski