schemas/codexentry: Clarify that what unset status_body_name means

This commit is contained in:
Athanasius 2021-12-21 09:37:08 +00:00
parent b78fcf349f
commit fa118d0183
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -64,7 +64,7 @@ release, Update 7, plus one patch).
away.
5. If Status.json does **not** have `BodyName` then clear `status_body_name`.
6. For a `CodexEntry` event:
1. Check that `status_body_name` is set. If it is not, exit.
1. Only if `status_body_name` is set:
1. Set the EDDN `codexentry` schema message `BodyName` to this value.
2. Check if it matches the `journal_body_name` value, and
ONLY if they match, set `BodyID` in the EDDN `codexentry`
@ -121,4 +121,4 @@ So you might receive any of:
3. Both `BodyName` and `BodyID` keys present, with values. This SHOULD
indicate a codex entry object which is on a body surface.
Adjust your local processing accordingly.
Adjust your local processing accordingly.