From ca878f2c2af7f103715a74362f7fa912a9d2d84c Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Fri, 2 Aug 2024 22:51:31 +0200 Subject: [PATCH] Disallow negative values on some top-level properties --- schema/composition/animation.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/schema/composition/animation.json b/schema/composition/animation.json index 3afec4a..1e3c847 100644 --- a/schema/composition/animation.json +++ b/schema/composition/animation.json @@ -19,7 +19,8 @@ "fr": { "title": "Framerate", "description": "Framerate in frames per second", - "type": "number" + "type": "number", + "exclusiveMinimum": 0 }, "ip": { "title": "In Point", @@ -34,12 +35,14 @@ "w": { "title": "Width", "description": "Width of the animation", - "type": "integer" + "type": "integer", + "minimum": 0 }, "h": { "title": "Height", "description": "Height of the animation", - "type": "integer" + "type": "integer", + "minimum": 0 }, "assets": { "title": "Assets",