1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-05 09:53:33 +03:00

eddn: journal schema: Add notes about present/missing fields

This commit is contained in:
Athanasius 2022-05-29 15:20:45 +01:00
parent 2e6d6b8c02
commit 4a207429cd
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -1694,6 +1694,16 @@ def journal_entry( # noqa: C901, CCR001
entry['Body'] = this.body_name
entry['BodyType'] = 'Planet'
# The generic journal schema is for events:
# Docked, FSDJump, Scan, Location, SAASignalsFound, CarrierJump
# (Also CodexEntry, but that has its own schema and handling).
# StarSystem SystemAddress StarPos
# Docked Y Y N
# FSDJump Y Y Y
# Scan Y Y N
# Location Y Y Y
# SAASignalsFound N Y N
# CarrierJump Y Y Y
# add mandatory StarSystem, StarPos and SystemAddress properties to Scan events
if 'StarSystem' not in entry:
if not system: