Move activation_score into SIGRef. Closes #91

This commit is contained in:
Ian Renton
2026-01-02 09:51:03 +00:00
parent 5482da0e69
commit e1cdc5b857
7 changed files with 19 additions and 18 deletions

View File

@@ -14,7 +14,9 @@ info:
### 1.1
Added Server-Sent Event API endpoint. Removed band colour and icon information from spots.
* Added Server-Sent Event API endpoints for spots and alerts.
* Removed band colour and icon information from spots.
* Moved activation_score from top-level in Spot and Alert to be part of the SIGRef
contact:
email: ian@ianrenton.com
license:
@@ -940,6 +942,10 @@ components:
type: number
description: Longitude of the reference, in degrees, if known.
example: -1.2345
activation_score:
type: integer
description: Activation score. SOTA only
example: 0
Spot:
type: object
@@ -1086,10 +1092,6 @@ components:
items:
$ref: '#/components/schemas/SIGRef'
description: SIG references. We allow multiple here for e.g. n-fer activations, unlike ADIF SIG_INFO
activation_score:
type: integer
description: Activation score. SOTA only
example: 0
qrt:
type: boolean
description: QRT state. Some APIs return spots marked as QRT. Otherwise we can check the comments.
@@ -1194,10 +1196,6 @@ components:
items:
$ref: '#/components/schemas/SIGRef'
description: SIG references. We allow multiple here for e.g. n-fer activations, unlike ADIF SIG_INFO
activation_score:
type: integer
description: Activation score. SOTA only
example: 0
source:
type: string
description: Where we got the alert from.