Add arrays bounds

pull/13/head
Nathanaël Jourdane 4 years ago committed by guhur
parent 6aea7fa03a
commit 3e5ee16dcd

@ -19,6 +19,8 @@ properties:
grades:
type: array
description: The grades on which one judges a candidate.
minItems: 2
maxItems: 10
items:
$ref: ./grade.yaml
judges:

@ -10,6 +10,8 @@ properties:
according to the grades list, following the order of the candidates array
defined when the related poll has been created.
examples: [0, 6, 3, 2, 2]
minItems: 2
maxItems: 20
items:
type: integer
format: int16

Loading…
Cancel
Save