[apidoc] qoc indicatorset: Add the notion of an indicator group (2 indicators that need to be shown together)

EH/population-statistics-authorisation
Reinier Zwitserloot 3 years ago
parent ccfd7a2b2c
commit 106406d0e6
No known key found for this signature in database
GPG Key ID: DADEDCAA42950296

@ -12,7 +12,8 @@ properties:
format: date format: date
example: 2023-04-01 example: 2023-04-01
chapters: chapters:
description: Each chapter has a title and contains 1 or more indicators. description: |-
Each chapter has a title and contains 1 or more indicators.
type: array type: array
items: items:
type: object type: object
@ -22,7 +23,12 @@ properties:
type: string type: string
example: Populatie example: Populatie
indicators: indicators:
description: The indicators in this chapter description: |-
A chapter contains 1 or more indicator groups. An indicator group is an array of indicators which should
always be shown together; they are each other's context. These arrays are not empty, but often contain
just one indicator. It is extremely rare for such a set to contain more than 2.
type: array
items:
type: array type: array
items: items:
$ref: '#/components/schemas/Indicator' $ref: '#/components/schemas/Indicator'

Loading…
Cancel
Save