Answer
Schema
-
An answer:
-
must be an object
-
must have an id property
-
must have a questionId property
-
may have a tries property
-
may have a score property
-
may have a feedback property
-
may have a data property
-
may have a usedHints property
-
The id property:
- must be a string
-
The questionId property:
- must be a string
-
The tries property:
- must be a number
-
The score property:
- must be a number
-
The feedback property:
- must be a string
-
The usedHints property:
-
must be an array
-
Each item:
-
must be unique
-
must satisfy the hint schemas
-
-
-
The data property:
- must satisfy the answer-data schema
-