6 Commits

Author SHA1 Message Date
Athanasius
916fe73f35 schemas: codexentry: NearestDestination *can* be an empty string.
We had one user with EDMC trying to send:

```python
OrderedDict([('$schemaRef',
'https://eddn.edcd.io/schemas/codexentry/1'), ('message',
OrderedDict([('timestamp', '2021-10-26T11:37:57Z'), ('event',
'CodexEntry'), ('EntryID', 2420702), ('Name',
'$Codex_Ent_Stratum_07_K_Name;'), ('SubCategory',
'$Codex_SubCategory_Organic_Structures;'), ('Category',
'$Codex_Category_Biology;'), ('Region', '$Codex_RegionName_18;'),
('System', 'Xi Ophiuchi'), ('SystemAddress', 2072061675891),
('NearestDestination', ''), ('Latitude', 79.352364), ('Longitude',
121.434044), ('horizons', True), ('odyssey', True), ('StarPos', [-3.875,
8.15625, 55.875]), ('BodyName', 'Xi Ophiuchi B 5'), ('BodyID', 14)]))])
```
as the message.  The EDDN Gateway then complains:

`FAIL: [<ValidationError: "'' is too short">]`
2021-10-27 11:08:16 +00:00
Athanasius
17e4fedeee schemas: codexentry: Remove another extraneous comma 2021-10-14 13:54:05 +00:00
Athanasius
22897c8724 schemas: codexentry: Remove trailing comma 2021-10-12 15:06:07 +00:00
Athanasius
46a71994a6 schemas/codexentry: Add BodyID/Name, and -README file
* Add BodyID and BodyName as optional keys.
* Add `description` at top-level pointing to README documentation.
* Add schema-specific README to document what should be (in|ex)cluded
  from data, and how to obtain such from Journals etc.
2021-10-02 11:49:47 +00:00
Gareth Harper
fb54eba7ae allowed traits and voucheramount 2021-09-23 13:47:27 +00:00
Gareth Harper
955203c35b added codexentry event 2021-09-23 11:30:52 +00:00