Merge pull request #88 from Marginal/horizons

Add "horizons" boolean property and make "marketId" mandatory
This commit is contained in:
AnthorNet 2019-01-08 08:43:57 +01:00 committed by GitHub
commit 601eca69b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 5 deletions

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",

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",

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"