From c39dafd77003141b0c7799e4b8bf6c78d1ba9619 Mon Sep 17 00:00:00 2001 From: AnthorNet Date: Mon, 15 Jun 2015 21:37:35 +0200 Subject: [PATCH 1/2] Removed fdId from shipyard proposal --- schemas/shipyard-v1.0-draft.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/schemas/shipyard-v1.0-draft.json b/schemas/shipyard-v1.0-draft.json index 4e241ed..0fcfde9 100644 --- a/schemas/shipyard-v1.0-draft.json +++ b/schemas/shipyard-v1.0-draft.json @@ -59,12 +59,6 @@ "type" : "string", "minLength" : 1, "description" : "Must be one of: Sidewinder (128049249), Eagle (128049255), Hauler (128049261), Adder (128049267), Viper (128049273), Cobra Mk III (128049279), Type-6 Transporter (128049285), Type-7 Transporter (128049297), Asp (128049303), Vulture (128049309), Imperial Clipper (128049315), Federal Dropship (128049321), Orca (128049327), Type-9 Heavy (128049333), Python (128049339), Fer-de-Lance (128049351), Anaconda (128049363), DiamondBack Scout (128671217), Imperial Courier (128671223), Diamondback Explorer (128671831)" - }, - "fdId":{ - "type" : "number", - "multipleOf" : 1.0, - "minimum" : 1, - "description" : "For OCR free tools, this correspond to the frontier ID. See name description." } } } From 6ae2f17745bd1ad688a0d056dd6f5b0c163e1479 Mon Sep 17 00:00:00 2001 From: AnthorNet Date: Mon, 15 Jun 2015 21:41:14 +0200 Subject: [PATCH 2/2] Add uniqueItems to proposal #16 --- schemas/shipyard-v1.0-draft.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/schemas/shipyard-v1.0-draft.json b/schemas/shipyard-v1.0-draft.json index 0fcfde9..4aa632e 100644 --- a/schemas/shipyard-v1.0-draft.json +++ b/schemas/shipyard-v1.0-draft.json @@ -47,8 +47,9 @@ "format" : "date-time" }, "ships": { - "type" : "array", - "items" : { + "type" : "array", + "uniqueItems" : true, + "items" : { "oneOf" : [ { "type" : "object",