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

35 lines
933 B

type: object
description:
$ref: 'participant.md'
properties:
id:
readOnly: true
type: string
description: A unique identifier.
example: JtRm05yjMAuFCI2uwnFp
name:
type: string
maxLength: 32
description: An optional name or pseudonym for the participant.
example: Jane Doe
email:
type: string
description: >
The electronic mail address that will eventually be created at the creation of the participant (not kept in memory).
example: jane.doe@example.com
has-participated:
type: boolean
description: True if the participant already participated 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
required:
- poll-id