Commit 40edb006 authored by Rosana Aurélio's avatar Rosana Aurélio

Inclusão da tabela 'Invitation' que irá guardar o 'token' e o 'subject' de uma submissão.

Inclusão da tabela  'Invitation' no schema subscription, alteração no schema para incluir o atributo qualifier na tabela FormFieldAnswer.
parent b68806a0
...@@ -146,6 +146,14 @@ FormAnswer: ...@@ -146,6 +146,14 @@ FormAnswer:
type: string type: string
error: error:
type: string type: string
qualifier:
type: string
enum:
- FIRST_NAME
- LAST_NAME
- TEAM_NAME
- EMAIL
- OTHER
id: id:
type: integer type: integer
SubscriptionSection: SubscriptionSection:
...@@ -178,4 +186,19 @@ ParticipantSubscriptionSection: ...@@ -178,4 +186,19 @@ ParticipantSubscriptionSection:
type: object type: object
allOf: allOf:
- $ref: '#/SubscriptionSection' - $ref: '#/SubscriptionSection'
Invitation:
title: Submission invitation token.
required:
- token
- subject
- submission
type: object
properties:
token:
type: string
subject:
type: string
submission:
type:
$ref: '#/SubscriptionSubmission'
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment