Add mandatory "StarPos" property.

This commit is contained in:
Jonathan Harris 2016-10-13 23:50:25 +01:00
parent 335ec09331
commit edb25a1285

View File

@ -33,7 +33,7 @@
"type" : "object",
"description" : "Contains all properties from the listed events in the client's journal minus Localised strings and the properties marked below as 'disallowed'",
"additionalProperties" : true,
"required" : [ "timestamp", "event", "StarSystem" ],
"required" : [ "timestamp", "event", "StarSystem", "StarPos" ],
"properties" : {
"timestamp": {
"type" : "string",
@ -47,6 +47,13 @@
"minLength" : 1,
"description" : "Must be added by the sender if not present in the journal event"
},
"StarPos": {
"type" : "array",
"items" : { "type": "number" },
"minItems" : 3,
"maxItems" : 3,
"description" : "Must be added by the sender if not present in the journal event"
},
"CockpitBreach" : { "$ref" : "#/definitions/disallowed" },
"BoostUsed" : { "$ref" : "#/definitions/disallowed" },