happypdf_json_schema 0.0.2 → 0.0.3

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.
@@ -1,5 +1,5 @@
1
1
  module HappyPdf
2
2
  class Schema
3
- VERSION='0.0.2'
3
+ VERSION='0.0.3'
4
4
  end
5
5
  end
@@ -0,0 +1,11 @@
1
+ {
2
+ "title": "Image Block",
3
+ "extends": "block",
4
+ "description":"A single line text block. Multiline text-blocks inherit from this one, see textflow for ref.",
5
+ "name": "image_block",
6
+ "type":"object",
7
+ "properties":{
8
+
9
+
10
+ }
11
+ }
@@ -9,6 +9,16 @@
9
9
  "description": "Content if no text is supplied by the client.",
10
10
  "type": "string"
11
11
  },
12
+ "margin":{
13
+ "description": "One or two float values describing horizontal and vertical extensions of a textbox.",
14
+ "type": "array",
15
+ "properties":{
16
+ "type": "number"
17
+ },
18
+ "minItems": 1,
19
+ "maxItems": 2,
20
+ "default": [0]
21
+ },
12
22
  "fillcolor":{
13
23
  "description": "Text fill color. Defaults to black",
14
24
  "type": "color",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: happypdf_json_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -97,6 +97,7 @@ files:
97
97
  - lib/happypdf/version.rb
98
98
  - lib/happypdf_json_schema.rb
99
99
  - schema/v1.0/block.json
100
+ - schema/v1.0/image_block.json
100
101
  - schema/v1.0/page.json
101
102
  - schema/v1.0/pdt.json
102
103
  - schema/v1.0/table.json
@@ -119,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
120
  version: '0'
120
121
  segments:
121
122
  - 0
122
- hash: -1675451129783921194
123
+ hash: 4509264459645895034
123
124
  required_rubygems_version: !ruby/object:Gem::Requirement
124
125
  none: false
125
126
  requirements: