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:
parent
2e6d6b8c02
commit
4a207429cd
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user