Add "de_" variants of grid/lat/lon #42

This commit is contained in:
Ian Renton
2025-10-16 20:58:40 +01:00
parent d02f0e1afc
commit 9594040ea4
12 changed files with 223 additions and 154 deletions

View File

@@ -461,10 +461,6 @@ components:
type: string
description: Callsign of the operator that has been spotted
example: M0TRT
de_call:
type: string
description: Callsign of the operator that has spotted them
example: M0TEST
dx_name:
type: string
description: Name of the operator that has been spotted
@@ -473,18 +469,10 @@ components:
type: string
description: Country of the DX operator
example: United Kingdom
de_country:
type: string
description: Country of the spotter
example: United Kingdom
dx_flag:
type: string
description: Country flag of the DX operator
example: ""
de_flag:
type: string
description: Country flag of the spotter
example: ""
dx_continent:
type: string
description: Continent of the DX operator
@@ -497,26 +485,10 @@ components:
- OC
- AN
example: EU
de_continent:
type: string
enum:
- EU
- NA
- SA
- AS
- AF
- OC
- AN
description: Continent of the spotter
example: EU
dx_dxcc_id:
type: integer
description: DXCC ID of the DX operator
example: 235
de_dxcc_id:
type: integer
description: DXCC ID of the spotter
example: 235
dx_cq_zone:
type: integer
description: CQ zone of the DX operator
@@ -529,6 +501,71 @@ components:
type: string
description: If this is an APRS spot, what SSID was the DX operator using?
example: ""
dx_grid:
type: string
description: Maidenhead grid locator for the DX spot. This could be from a geographical reference e.g. POTA, or just from the country
example: IO91aa
dx_latitude:
type: number
description: Latitude of the DX spot, in degrees. This could be from a geographical reference e.g. POTA, or from a QRZ lookup
example: 51.2345
dx_longitude:
type: number
description: Longitude of the DX spot, in degrees. This could be from a geographical reference e.g. POTA, or from a QRZ lookup
example: -1.2345
dx_location_source:
type: string
description: Where we got the DX location (grid/latitude/longitude) from. If this was from the spot itself, it's likely quite accurate, but if we had to fall back to QRZ lookup, or even a location based on the DXCC itself, it will be a lot less accurate.
enum:
- SPOT
- QRZ
- DXCC
- NONE
example: SPOT
dx_location_good:
type: boolean
description: Does the software think the location is good enough to put a marker on a map? This is true if the source is "SPOT", or alternatively if the source is "QRZ" and the callsign doesn't have a slash in it (i.e. operator likely at home).
example: true
de_call:
type: string
description: Callsign of the operator that has spotted them
example: M0TEST
de_country:
type: string
description: Country of the spotter
example: United Kingdom
de_flag:
type: string
description: Country flag of the spotter
example: ""
de_continent:
type: string
enum:
- EU
- NA
- SA
- AS
- AF
- OC
- AN
description: Continent of the spotter
example: EU
de_dxcc_id:
type: integer
description: DXCC ID of the spotter
example: 235
de_grid:
type: string
description: Maidenhead grid locator for the spotter. This is not going to be from a xOTA reference so it will likely just be a QRZ or DXCC lookup. If the spotter is also portable, this is probably wrong, but it's good enough for some simple mapping.
example: IO91aa
de_latitude:
type: number
description: Latitude of the spotter, in degrees. This is not going to be from a xOTA reference so it will likely just be a QRZ or DXCC lookup. If the spotter is also portable, this is probably wrong, but it's good enough for some simple mapping.
example: 51.2345
de_longitude:
type: number
description: Longitude of the DX spotspotter, in degrees. This is not going to be from a xOTA reference so it will likely just be a QRZ or DXCC lookup. If the spotter is also portable, this is probably wrong, but it's good enough for some simple mapping.
example: -1.2345
mode:
type: string
description: Reported mode.
@@ -651,31 +688,6 @@ components:
type: string
descripton: Icon, from the Font Awesome set. This is fairly opinionated but is here to help the Spothole web UI and Field Spotter. Does not include the "fa-" prefix.
example: tree
grid:
type: string
description: Maidenhead grid locator for the spot. This could be from a geographical reference e.g. POTA, or just from the country
example: IO91aa
latitude:
type: number
description: Latitude, in degrees. This could be from a geographical reference e.g. POTA, or from a QRZ lookup
example: 51.2345
longitude:
type: number
description: Latitude, in degrees. This could be from a geographical reference e.g. POTA, or from a QRZ lookup
example: -1.2345
location_source:
type: string
description: Where we got the location (grid/latitude/longitude) from. If this was from the spot itself, it's likely quite accurate, but if we had to fall back to QRZ lookup, or even a location based on the DXCC itself, it will be a lot less accurate.
enum:
- SPOT
- QRZ
- DXCC
- NONE
example: SPOT
location_good:
type: boolean
description: Does the software think the location is good enough to put a marker on a map? This is true if the source is "SPOT", or alternatively if the source is "QRZ" and the callsign doesn't have a slash in it (i.e. operator likely at home).
example: true
qrt:
type: boolean
description: QRT state. Some APIs return spots marked as QRT. Otherwise we can check the comments.