Icon lookup for SIGs in preparation for #47. Improved ZLOTA spotter lookup.

This commit is contained in:
Ian Renton
2025-10-20 10:33:18 +01:00
parent ae72649df8
commit a21782cb62
18 changed files with 89 additions and 60 deletions

View File

@@ -413,8 +413,7 @@ paths:
type: array
description: An array of all the supported Special Interest Groups.
items:
type: string
example: "POTA"
$ref: '#/components/schemas/SIG'
sources:
type: array
description: An array of all the supported data sources.
@@ -975,4 +974,20 @@ components:
contrast_color:
type: string
description: Black or white, whichever provides the best contrast against the band colour.
example: white
example: white
SIG:
type: object
properties:
name:
type: string
description: The abbreviated name of the SIG
example: POTA
description:
type: string
description: The full name of the SIG
example: Parks on the Air
icon:
type: string
description: 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