From be61c120805507e430f8eefe0325ee894dbff254 Mon Sep 17 00:00:00 2001 From: AnthorNet Date: Fri, 12 Jun 2015 07:42:56 +0200 Subject: [PATCH] Fix integer and force positive ID multiple of 1.0 (prevent floating number) --- schemas/shipyard-v1.0-draft.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/schemas/shipyard-v1.0-draft.json b/schemas/shipyard-v1.0-draft.json index bbba0c1..ec4f9d1 100644 --- a/schemas/shipyard-v1.0-draft.json +++ b/schemas/shipyard-v1.0-draft.json @@ -55,9 +55,10 @@ "minLength" : 1 }, "fdId": { - "type" : "string", - "minLength" : 1 - } + "type" : "number", + "multipleOf" : 1.0, + "minimum": 1 + } } } ]