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