Merge pull request #53 from Marginal/journal

Add mandatory "StarPos" property.
This commit is contained in:
AnthorNet 2016-10-18 07:46:49 +02:00 committed by GitHub
commit 0a0581cd08

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