Merge pull request #88 from Marginal/horizons

Add "horizons" boolean property and make "marketId" mandatory
This commit is contained in:
AnthorNet authored and GitHub committed 2019-01-08 08:43:57 +01:00
commit 601eca69b0
3 files changed
+17 -5

No files matched your search

+6 -2
View File
@@ -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",
+6 -2
View File
@@ -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",
+5 -1
View File
@@ -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"