Skip to content

Commit 286e59f

Browse files
authored
Merge pull request #297 from alejoe91/fix-validator
Update schema with correct JSON schema syntax
2 parents b0a5e89 + 0b56664 commit 286e59f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

resources/probe.json.schema

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@
7171
"anyOf": [
7272
{
7373
"type": "object",
74-
"properties": { "radius": { "type": "float", "minimum": 0 } },
74+
"properties": { "radius": { "type": "number", "minimum": 0 } },
7575
"required": ["radius"]
7676
},
7777
{
7878
"type": "object",
7979
"properties": {
80-
"width": { "type": "float", "minimum": 0 },
81-
"height": { "type": "float", "minimum": 0 }
80+
"width": { "type": "number", "minimum": 0 },
81+
"height": { "type": "number", "minimum": 0 }
8282
},
8383
"required": ["width"]
8484
}
@@ -89,7 +89,7 @@
8989
"type": "array",
9090
"items": {
9191
"type": "array",
92-
"items": { "type": ["float", "number"] },
92+
"items": { "type": ["integer", "number"] },
9393
"minItems": 2,
9494
"maxItems": 3
9595
}

0 commit comments

Comments
 (0)