mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
Icon lookup for SIGs in preparation for #47. Improved ZLOTA spotter lookup.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user