mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-09 11:52:16 +03:00
Add lat/long and other corrections
This commit is contained in:
parent
651add8a4c
commit
a3724363c8
@ -82,3 +82,9 @@ release, Update 7, plus one patch).
|
|||||||
It will disappear again when they fly back above that altitude, or jump
|
It will disappear again when they fly back above that altitude, or jump
|
||||||
away.
|
away.
|
||||||
5. If Status.json does **not** have `BodyName` then clear `status_body_name`.
|
5. If Status.json does **not** have `BodyName` then clear `status_body_name`.
|
||||||
|
|
||||||
|
#### Latitude / Longitude
|
||||||
|
While latitude and longitude are not reported with the event data, this event
|
||||||
|
necessitates being on a planet surface. Pulling the current coordinates from
|
||||||
|
the `Status.json` should be sufficient to populate the data. The `Status.json`
|
||||||
|
granularity is quite accurate when on-foot.
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"type" : "object",
|
"type" : "object",
|
||||||
"description" : "Contains all properties from the listed events in the client's journal minus the Localised strings and the properties marked below as 'disallowed'",
|
"description" : "Contains all properties from the listed events in the client's journal minus the Localised strings and the properties marked below as 'disallowed'",
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
"required" : [ "timestamp", "event", "ScanType", "Genus", "Species", "SystemAddress", "BodyID", "BodyName"],
|
"required" : [ "timestamp", "event", "ScanType", "Genus", "Species", "Latitude", "Longitude", "SystemAddress", "BodyID", "BodyName"],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
@ -88,7 +88,16 @@
|
|||||||
"type" : "integer"
|
"type" : "integer"
|
||||||
},
|
},
|
||||||
"BodyName": {
|
"BodyName": {
|
||||||
"type" : "string"
|
"type" : "string",
|
||||||
|
"description" : "Must be added by the sender to corroborate BodyID"
|
||||||
|
},
|
||||||
|
"Latitude": {
|
||||||
|
"type" : "number",
|
||||||
|
"description" : "Must be added by the sender, generally from Status.json"
|
||||||
|
},
|
||||||
|
"Longitude": {
|
||||||
|
"type" : "number",
|
||||||
|
"description" : "Must be added by the sender, generally from Status.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patternProperties": {
|
"patternProperties": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user