From 370cef676f1c854c35ea4f9404b5f09924a539c8 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 29 May 2022 12:36:53 +0000 Subject: [PATCH] schemas/fssbodysignals: Use `StarSystem` not `SystemName` This matches what's done in other schemas, and allows for use of common code in EDMC. --- schemas/fssbodysignals-README.md | 4 ++-- schemas/fssbodysignals-v1.0.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/fssbodysignals-README.md b/schemas/fssbodysignals-README.md index 051a825..d66c028 100644 --- a/schemas/fssbodysignals-README.md +++ b/schemas/fssbodysignals-README.md @@ -24,8 +24,8 @@ The primary data source for this schema is the ED Journal event Please read [horizons and odyssey flags](../docs/Developers.md#horizons-and-odyssey-flags) in the Developers' documentation. -#### SystemName -You MUST add a `SystemName` string containing the name of the system from the +#### StarSystem +You MUST add a `StarSystem` string containing the name of the system from the last `FSDJump`, `CarrierJump`, or `Location` event. #### StarPos diff --git a/schemas/fssbodysignals-v1.0.json b/schemas/fssbodysignals-v1.0.json index a0317e3..68ee08e 100644 --- a/schemas/fssbodysignals-v1.0.json +++ b/schemas/fssbodysignals-v1.0.json @@ -33,7 +33,7 @@ "type" : "object", "description" : "Contains all properties from the listed events in the client's journal, minus the Localised strings and the properties marked below as 'disallowed'", "additionalProperties" : false, - "required" : [ "timestamp", "event", "SystemName", "StarPos", "SystemAddress", "BodyID", "Signals" ], + "required" : [ "timestamp", "event", "StarSystem", "StarPos", "SystemAddress", "BodyID", "Signals" ], "properties" : { "timestamp": { "type" : "string", @@ -50,7 +50,7 @@ "type" : "boolean", "description" : "Whether the sending Cmdr has an Odyssey expansion." }, - "SystemName": { + "StarSystem": { "type" : "string", "minLength" : 1 },