diff --git a/schemas/commodity-v3.0.json b/schemas/commodity-v3.0.json index 9b8971d..f8ea96a 100644 --- a/schemas/commodity-v3.0.json +++ b/schemas/commodity-v3.0.json @@ -32,7 +32,7 @@ "message": { "type" : "object", "additionalProperties" : false, - "required" : [ "systemName", "stationName", "timestamp", "commodities" ], + "required" : [ "systemName", "stationName", "marketId", "timestamp", "commodities" ], "properties" : { "systemName": { "type" : "string", @@ -43,7 +43,11 @@ "minLength" : 1 }, "marketId": { - "type" : "number" + "type" : "number" + }, + "horizons": { + "type" : "boolean", + "description" : "Whether the sending Cmdr has a Horizons pass." }, "timestamp": { "type" : "string", diff --git a/schemas/outfitting-v2.0.json b/schemas/outfitting-v2.0.json index 8ca5951..414d190 100644 --- a/schemas/outfitting-v2.0.json +++ b/schemas/outfitting-v2.0.json @@ -32,7 +32,7 @@ "message": { "type" : "object", "additionalProperties" : false, - "required" : [ "systemName", "stationName", "timestamp", "modules" ], + "required" : [ "systemName", "stationName", "marketId", "timestamp", "modules" ], "properties" : { "systemName": { "type" : "string", @@ -43,7 +43,11 @@ "minLength" : 1 }, "marketId": { - "type" : "number" + "type" : "number" + }, + "horizons": { + "type" : "boolean", + "description" : "Whether the sending Cmdr has a Horizons pass." }, "timestamp": { "type" : "string", diff --git a/schemas/shipyard-v2.0.json b/schemas/shipyard-v2.0.json index db88555..8f2e05a 100644 --- a/schemas/shipyard-v2.0.json +++ b/schemas/shipyard-v2.0.json @@ -32,7 +32,7 @@ "message": { "type" : "object", "additionalProperties" : false, - "required" : [ "systemName", "stationName", "timestamp", "ships" ], + "required" : [ "systemName", "stationName", "marketId", "timestamp", "ships" ], "properties" : { "systemName": { "type" : "string", @@ -45,6 +45,10 @@ "marketId": { "type" : "number" }, + "horizons": { + "type" : "boolean", + "description" : "Whether the sending Cmdr has a Horizons pass." + }, "timestamp": { "type" : "string", "format" : "date-time"