mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Split out event type SIGs, and do other enum conversions. Closes #138
This commit is contained in:
@@ -19,8 +19,9 @@ info:
|
||||
|
||||
* Added DTMBA, FEA, BIWOTA, COTA & PGA SIGs
|
||||
* Removed the distinction between LSB & USB (both will now show as SSB) and between the various digital voice modes, which will now show as DV.
|
||||
* Added `icon`, `region_flag` and `refs_globally_unique` to SIG information
|
||||
* Unknown mode types now return "UNKNOWN" not null
|
||||
* Added `sig_type`, `icon`, `region_flag` and `refs_globally_unique` to SIG information
|
||||
* Unknown modes and mode types now return "UNKNOWN" not null
|
||||
* SIG reference types (e.g. "Park") are now capitalised to match other enums
|
||||
|
||||
### 2.0
|
||||
|
||||
@@ -867,6 +868,14 @@ components:
|
||||
- Toilets
|
||||
example: POTA
|
||||
|
||||
SIGType:
|
||||
type: string
|
||||
enum:
|
||||
- WORLDWIDE
|
||||
- REGIONAL
|
||||
- EVENT
|
||||
example: WORLDWIDE
|
||||
|
||||
SIGNameIncludingNoSIG:
|
||||
oneOf:
|
||||
- $ref: "#/components/schemas/SIGName"
|
||||
@@ -874,6 +883,29 @@ components:
|
||||
enum: [ NO_SIG ]
|
||||
example: POTA
|
||||
|
||||
SIGRefType:
|
||||
type: string
|
||||
enum:
|
||||
- PARK
|
||||
- SUMMIT
|
||||
- CASTLE
|
||||
- LIGHTHOUSE
|
||||
- ISLAND
|
||||
- BUNKER
|
||||
- MILL
|
||||
- SILO
|
||||
- BEACH
|
||||
- LAKE
|
||||
- TOWER
|
||||
- WATERWAY
|
||||
- TOWN
|
||||
- BUILDING
|
||||
- REGION
|
||||
- GRID
|
||||
- TOILET
|
||||
- UNKNOWN
|
||||
example: PARK
|
||||
|
||||
Continent:
|
||||
type: string
|
||||
enum:
|
||||
@@ -938,6 +970,7 @@ components:
|
||||
- FSK
|
||||
- PKT
|
||||
- MSK144
|
||||
- UNKNOWN
|
||||
example: SSB
|
||||
|
||||
ModeType:
|
||||
@@ -1006,9 +1039,8 @@ components:
|
||||
description: SIG reference name
|
||||
example: Null Country Park
|
||||
ref_type:
|
||||
type: string
|
||||
description: SIG reference type
|
||||
example: Park
|
||||
$ref: "#/components/schemas/SIGRefType"
|
||||
url:
|
||||
type: string
|
||||
description: SIG reference URL, which the user can look up for more information
|
||||
@@ -1493,6 +1525,12 @@ components:
|
||||
type: string
|
||||
description: The full name of the SIG
|
||||
example: Parks on the Air
|
||||
sig_type:
|
||||
type: boolean
|
||||
description: >
|
||||
Whether the SIG is worldwide, regional, or for a specific event. Generally for Spothole's own internal use,
|
||||
clients probably won't need this. Used to group them in the web UI.
|
||||
$ref: "#/components/schemas/SIGType"
|
||||
comment_names:
|
||||
type: array
|
||||
description: >
|
||||
|
||||
Reference in New Issue
Block a user