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/grade.yaml

27 lines
665 B

type: object
properties:
id:
type: integer
description: >
Identifier of the grade.
example: 0
readOnly: true
name:
type: string
description: >
Short yet unique name of the grade, like "Excellent" or "To reject".
example: Good
description:
type: string
description: An optional description of the grade.
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:
- name
- level