From 85031ba2b01b058545be5d35b15fedeb462624be Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 31 May 2022 13:21:49 +0100 Subject: [PATCH] schemas/template: Update template for `StarSystem` default & cross-checks * New schemas will need to use `StarSystem`, not `SystemName` or `System`, if applicable, so have that example here. * Any such augmentations need the cross-check mandating. --- schemas/TEMPLATES/journalevent-README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schemas/TEMPLATES/journalevent-README.md b/schemas/TEMPLATES/journalevent-README.md index f85fc86..890d782 100644 --- a/schemas/TEMPLATES/journalevent-README.md +++ b/schemas/TEMPLATES/journalevent-README.md @@ -106,10 +106,20 @@ value is what the name would have been in the source Journal data. Please read [horizons and odyssey flags](../docs/Developers.md#horizons-and-odyssey-flags) in the Developers' documentation. +#### StarSystem +You MUST add a `StarSystem` string containing the name of the system from the +last `FSDJump`, `CarrierJump`, or `Location` event. + +**You MUST apply a location cross-check, as per +[Other data augmentations](../docs/Developers.md#other-data-augmentations).** + #### StarPos You MUST add a `StarPos` array containing the system co-ordinates from the last `FSDJump`, `CarrierJump`, or `Location` event. +**You MUST apply a location cross-check, as per +[Other data augmentations](../docs/Developers.md#other-data-augmentations).** + ## Listeners The advice above for [Senders](#senders), combined with the actual Schema file *should* provide all the information you need to process these events.