Commit 47fae602 authored by Isaac Pereira's avatar Isaac Pereira

[API] Refatoração de relações do schema do módulo de Phase

parent 57fff5cf
......@@ -25,14 +25,16 @@ Competition:
token:
type: string
exams:
type: arrays
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
type: integer
Phase:
required:
- label
- type
properties:
id:
type: integer
label:
type: string
previous:
......@@ -41,20 +43,22 @@ Phase:
type: integer
status:
type: integer
id:
type: integer
events:
type: array
items:
$ref: '#/PhaseEvent'
type: integer
classificationStrategy:
$ref: '#/ClassificationStrategy'
formula:
type: string
assessments:
type: arrays
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/Assessment'
type: integer
participations:
type: array
items:
$ref: '#/PhaseParticipation'
type: integer
PhaseEvent:
required:
- type
......@@ -159,8 +163,7 @@ Rank:
evaluations:
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/AssessmentSubmissionEvaluation'
type: integer
Ranking:
required:
- timestamp
......
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