feat: add levels to grades

pull/17/head
Dominique Merle 4 years ago
parent b470b5c6ce
commit 0eab731bc5

@ -3,9 +3,7 @@ properties:
id: id:
type: integer type: integer
description: > description: >
Unique identifier of the grade in its grading. Identifier of the grade.
Zero (0) is the worst grade, and it goes upwards.
TBD - WIP
example: 0 example: 0
readOnly: true readOnly: true
name: name:
@ -17,5 +15,12 @@ properties:
type: string type: string
description: An optional description of the grade. description: An optional description of the grade.
example: In this poll, the grade "To reject" disqualifies the proposal. example: In this poll, the grade "To reject" disqualifies the proposal.
level:
type: integer
description: |
Unique level of the grade in its grading.
Zero (0) is the worst grade, and it goes upwards.
Each grade of a poll must have a unique level.
required: required:
- name - name
- level

Loading…
Cancel
Save