From edb25a12853399712f6f84c2a81436c44b24a62a Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Thu, 13 Oct 2016 23:50:25 +0100 Subject: [PATCH] Add mandatory "StarPos" property. --- schemas/journal-v1.0.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/schemas/journal-v1.0.json b/schemas/journal-v1.0.json index 2df857a..469dfbe 100644 --- a/schemas/journal-v1.0.json +++ b/schemas/journal-v1.0.json @@ -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" },