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