Skip to content

Commit d14a3ad

Browse files
committed
:octocat: qrcode.schema.json: use "integer" instead of "number" where applicable
1 parent 4c20449 commit d14a3ad

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Output/qrcode.schema.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"properties": {
2323
"version": {
2424
"description": "The QR Code version: [1...40]",
25-
"type": "number",
25+
"type": "integer",
2626
"minimum": 1,
2727
"maximum": 40
2828
},
@@ -53,29 +53,29 @@
5353
"properties": {
5454
"size": {
5555
"description": "The side length of the QR symbol, excluding the quiet zone (version * 4 + 17). [21...177]",
56-
"type": "number",
56+
"type": "integer",
5757
"minimum": 21,
5858
"maximum": 177
5959
},
6060
"quietzoneSize": {
6161
"description": "The size of the quiet zone (margin around the QR symbol).",
62-
"type": "number",
62+
"type": "integer",
6363
"minimum": 0
6464
},
6565
"maskPattern": {
6666
"description": "The detected mask pattern that was used to mask this matrix. [0...7].",
67-
"type": "number",
67+
"type": "integer",
6868
"minimum": 0,
6969
"maximum": 7
7070
},
7171
"width": {
7272
"description": "The total width of the matrix, including the quiet zone.",
73-
"type": "number",
73+
"type": "integer",
7474
"minimum": 21
7575
},
7676
"height": {
7777
"description": "The total height of the matrix, including the quiet zone.",
78-
"type": "number",
78+
"type": "integer",
7979
"minimum": 21
8080
},
8181
"rows": {
@@ -97,7 +97,7 @@
9797
"properties": {
9898
"y": {
9999
"description": "The 'y' (vertical) coordinate of this row.",
100-
"type": "number",
100+
"type": "integer",
101101
"minimum": 0
102102
},
103103
"modules": {

0 commit comments

Comments
 (0)