From 7f35b0ba286457041c0fec89d802d71a6ff2fbe3 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Tue, 8 Jan 2019 19:56:09 +0000 Subject: [PATCH] Also disallow "..._Localised" properties in "Factions" list --- schemas/journal-v1.0.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/schemas/journal-v1.0.json b/schemas/journal-v1.0.json index 4ba8770..54ce4cc 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", "StarPos", "SystemAddress" ], + "required" : [ "timestamp", "event", "StarSystem", "StarPos", "SystemAddress" ], "properties" : { "timestamp": { "type" : "string", @@ -69,6 +69,9 @@ "HomeSystem" : { "$ref" : "#/definitions/disallowed" }, "MyReputation" : { "$ref" : "#/definitions/disallowed" }, "SquadronFaction" : { "$ref" : "#/definitions/disallowed" } + }, + "patternProperties" : { + "_Localised$" : { "$ref" : "#/definitions/disallowed" } } } },