Skip to content

Commit

Permalink
Merge pull request #297 from alejoe91/fix-validator
Browse files Browse the repository at this point in the history
Update schema with correct JSON schema syntax
  • Loading branch information
alejoe91 authored Sep 6, 2024
2 parents b0a5e89 + 0b56664 commit 286e59f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/probe.json.schema
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@
"anyOf": [
{
"type": "object",
"properties": { "radius": { "type": "float", "minimum": 0 } },
"properties": { "radius": { "type": "number", "minimum": 0 } },
"required": ["radius"]
},
{
"type": "object",
"properties": {
"width": { "type": "float", "minimum": 0 },
"height": { "type": "float", "minimum": 0 }
"width": { "type": "number", "minimum": 0 },
"height": { "type": "number", "minimum": 0 }
},
"required": ["width"]
}
Expand All @@ -89,7 +89,7 @@
"type": "array",
"items": {
"type": "array",
"items": { "type": ["float", "number"] },
"items": { "type": ["integer", "number"] },
"minItems": 2,
"maxItems": 3
}
Expand Down

0 comments on commit 286e59f

Please sign in to comment.