You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mv-api-spec/openapi/components/schemas/result.yaml

18 lines
471 B

type: object
properties:
poll:
type: object
description: The poll belonging to this result.
$ref: ./poll.yaml
ranking:
type: array
description: An array representing grades level for each candidate,
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