mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-19 08:13:55 +03:00
Add "horizons" boolean property
And make "marketId" mandatory
This commit is contained in:
parent
7b4abf66a0
commit
3f3e199cd4
@ -32,7 +32,7 @@
|
|||||||
"message": {
|
"message": {
|
||||||
"type" : "object",
|
"type" : "object",
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
"required" : [ "systemName", "stationName", "timestamp", "commodities" ],
|
"required" : [ "systemName", "stationName", "marketId", "timestamp", "commodities" ],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"systemName": {
|
"systemName": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
@ -43,7 +43,11 @@
|
|||||||
"minLength" : 1
|
"minLength" : 1
|
||||||
},
|
},
|
||||||
"marketId": {
|
"marketId": {
|
||||||
"type" : "number"
|
"type" : "number"
|
||||||
|
},
|
||||||
|
"horizons": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Whether the sending Cmdr has a Horizons pass."
|
||||||
},
|
},
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"message": {
|
"message": {
|
||||||
"type" : "object",
|
"type" : "object",
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
"required" : [ "systemName", "stationName", "timestamp", "modules" ],
|
"required" : [ "systemName", "stationName", "marketId", "timestamp", "modules" ],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"systemName": {
|
"systemName": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
@ -43,7 +43,11 @@
|
|||||||
"minLength" : 1
|
"minLength" : 1
|
||||||
},
|
},
|
||||||
"marketId": {
|
"marketId": {
|
||||||
"type" : "number"
|
"type" : "number"
|
||||||
|
},
|
||||||
|
"horizons": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Whether the sending Cmdr has a Horizons pass."
|
||||||
},
|
},
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"message": {
|
"message": {
|
||||||
"type" : "object",
|
"type" : "object",
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
"required" : [ "systemName", "stationName", "timestamp", "ships" ],
|
"required" : [ "systemName", "stationName", "marketId", "timestamp", "ships" ],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"systemName": {
|
"systemName": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
@ -45,6 +45,10 @@
|
|||||||
"marketId": {
|
"marketId": {
|
||||||
"type" : "number"
|
"type" : "number"
|
||||||
},
|
},
|
||||||
|
"horizons": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Whether the sending Cmdr has a Horizons pass."
|
||||||
|
},
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"format" : "date-time"
|
"format" : "date-time"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user