mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-22 19:40:30 +03:00
Merge pull request #88 from Marginal/horizons
Add "horizons" boolean property and make "marketId" mandatory
This commit is contained in:
commit
601eca69b0
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user