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

30 lines
846 B

type: object
properties:
id:
type: string
description: A unique identifier.
example: JtRm05yjMAuFCI2uwnFp
readOnly: true
description:
type: string
description: An optional description of the participant.
example: John Doe
has-participed:
type: boolean
description: True if the participant already participed to the poll, False otherwise.
example: true
poll-id:
type: string
description: The identifier of the poll that the participant participates on.
example: 1jDe1e5eF_IkaYPuoIYX
user-id:
type: string
description: The identifier of the user.
example: 1jDe1e5eF_IkaYPuoIYX
mail:
type: string
description: The mail that will eventually created at the creation of the participant (not kept in memory).
example: john-doe@example.com
required:
- poll-id