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/candidate.yaml

17 lines
350 B

type: object
properties:
id:
type: integer
description: A unique identifier.
readOnly: true
example: 4
name:
type: string
description: Unique but short name of the candidate.
example: A new school
ballots:
type: array
description: The ballots received by this candidate.
items:
$ref: ./ballot.yaml