From 0b5666406846ed3105d4ec951f6ee03fd10febdc Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Fri, 6 Sep 2024 08:34:59 +0200 Subject: [PATCH] Update schema 2 --- resources/probe.json.schema | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/probe.json.schema b/resources/probe.json.schema index 65dc3fa..eecdda1 100644 --- a/resources/probe.json.schema +++ b/resources/probe.json.schema @@ -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"] } @@ -89,7 +89,7 @@ "type": "array", "items": { "type": "array", - "items": { "type": ["float", "number"] }, + "items": { "type": ["integer", "number"] }, "minItems": 2, "maxItems": 3 }