From ae75b5cf6d419be856c0739e091f358f4c8b7ec2 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Wed, 22 Jul 2015 18:46:36 +0100 Subject: [PATCH] Deploy outfitting schema. --- ...utfitting-v1.0-draft.json => outfitting-v1.0.json} | 1 + src/eddn/conf/Settings.py | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) rename schemas/{outfitting-v1.0-draft.json => outfitting-v1.0.json} (95%) diff --git a/schemas/outfitting-v1.0-draft.json b/schemas/outfitting-v1.0.json similarity index 95% rename from schemas/outfitting-v1.0-draft.json rename to schemas/outfitting-v1.0.json index 1997e72..76999ab 100644 --- a/schemas/outfitting-v1.0-draft.json +++ b/schemas/outfitting-v1.0.json @@ -42,6 +42,7 @@ }, "modules": { "type" : "array", + "description" : "List of available modules in English as displayed in-game. Modules that depend on the Cmdr's purchases (e.g. paintjobs) or rank (e.g. decals and PowerPlay faction-specific modules) should be omitted.", "uniqueItems" : true, "items" : { "oneOf": [ diff --git a/src/eddn/conf/Settings.py b/src/eddn/conf/Settings.py index f898ef5..b998fd0 100644 --- a/src/eddn/conf/Settings.py +++ b/src/eddn/conf/Settings.py @@ -39,11 +39,14 @@ class _Settings(object): GATEWAY_IP_KEY_SALT = None GATEWAY_JSON_SCHEMAS = { - "http://schemas.elite-markets.net/eddn/commodity/2": "schemas/commodity-v2.0.json", - "http://schemas.elite-markets.net/eddn/commodity/2/test": "schemas/commodity-v2.0.json", + "http://schemas.elite-markets.net/eddn/commodity/2" : "schemas/commodity-v2.0.json", + "http://schemas.elite-markets.net/eddn/commodity/2/test" : "schemas/commodity-v2.0.json", - "http://schemas.elite-markets.net/eddn/shipyard/1": "schemas/shipyard-v1.0.json", - "http://schemas.elite-markets.net/eddn/shipyard/1/test": "schemas/shipyard-v1.0.json" + "http://schemas.elite-markets.net/eddn/shipyard/1" : "schemas/shipyard-v1.0.json", + "http://schemas.elite-markets.net/eddn/shipyard/1/test" : "schemas/shipyard-v1.0.json", + + "http://schemas.elite-markets.net/eddn/outfitting/1" : "schemas/outfitting-v1.0.json", + "http://schemas.elite-markets.net/eddn/outfitting/1/test" : "schemas/outfitting-v1.0.json", } GATEWAY_OUTDATED_SCHEMAS = [