File tree Expand file tree Collapse file tree 4 files changed +56
-8
lines changed
openapi/components/schemas Expand file tree Collapse file tree 4 files changed +56
-8
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ properties:
3333 description : Class Codes associated with the folder.
3434 oneOf :
3535 - type : string
36+ nullable : true
3637 - type : array
3738 items :
3839 type : string
3940 yearLevel :
4041 description : |
41- A year level which the folder is associated with.
42+ Year levels which the folder is associated with.
4243 type : array
4344 nullable : true
4445 items :
@@ -49,6 +50,11 @@ properties:
4950 name :
5051 type : string
5152 description : The name of the year level.
53+ subjectCode :
54+ type : string
55+ nullable : true
56+ description : |
57+ The Course Subject Code
5258 commonAssessment :
5359 type : boolean
5460 nullable : true
@@ -80,14 +86,16 @@ properties:
8086 Not applicable to assessmentTypes 'lessonPlan' and 'task' (so value will be null in those cases).
8187 dueDate :
8288 type : string
89+ nullable : true
8390 format : date-time
8491 description : |
85- The due date of the assessment as a RFC3339 string.
92+ The due date of the assessment as a RFC3339 string. This can be null for assessments in a course.
8693 example : 2022-01-30T21:00:00.000Z
8794 rubric :
8895 $ref : ./assessment-rubric.yaml
8996 project :
9097 type : object
98+ nullable : true
9199 properties :
92100 id :
93101 type : integer
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ type: object
55properties :
66 learner :
77 allOf :
8- - $ref : ./userAuthor .yaml
8+ - $ref : ./assessment-user .yaml
99 - description : |
1010 The user who is participating in the assessment: usually a student.
1111 response :
@@ -28,7 +28,7 @@ properties:
2828 $ref : ./file.yaml
2929 submitter :
3030 allOf :
31- - $ref : ./userAuthor .yaml
31+ - $ref : ./assessment-user .yaml
3232 - description : |
3333 The user who submitted the due response.
3434
@@ -58,14 +58,15 @@ properties:
5858 example : A
5959 description : A human readable mark.
6060 normalisedMark :
61- type : integer
61+ type : number
62+ format : float
6263 example : 36
6364 description : The mark in numeric form.
6465 rubric :
6566 $ref : ./assessment-rubric-feedback.yaml
6667 instructor :
6768 allOf :
68- - $ref : ./userAuthor .yaml
69+ - $ref : ./assessment-user .yaml
6970 - description : |
7071 The user who gave the feedback to the learner: usually a teacher.
7172 comment :
@@ -101,7 +102,7 @@ properties:
101102 An Assessment Rubric item. (Deprecated: moved to the `feedback` object.)
102103 instructor :
103104 allOf :
104- - $ref : ./userAuthor .yaml
105+ - $ref : ./assessment-user .yaml
105106 - deprecated : true
106107 description : |
107108 The user who gave the feedback to the learner: usually a teacher.
Original file line number Diff line number Diff line change 1+ title : User
2+ type : object
3+ properties :
4+
5+ id :
6+ $ref : ./id.yaml
7+
8+ title :
9+ type : string
10+ nullable : true
11+ description : The user's title (Mr., Ms., etc.).
12+ example : Ms
13+
14+ firstName :
15+ type : string
16+ nullable : false
17+ description : |
18+ The user's first name.
19+
20+ Schoolbox doesn't distinguish between a person's actual first name
21+ and any other names, and in any case is not the definitive source of
22+ naming information; therefore in practice this will usually be the
23+ user's given name.
24+ example : Rebecca
25+
26+ preferredName :
27+ type : string
28+ nullable : true
29+ description : The user's preferred name.
30+
31+ lastName :
32+ type : string
33+ nullable : true
34+ description : The user's surname.
35+ example : White
36+
37+ externalId :
38+ $ref : ./externalId.yaml
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ properties:
1010 description : The mark in its original form. For example this could be a letter grade or a percentage or a rubric.
1111 example : ' A'
1212 normalisedMark :
13- type : integer
13+ type : number
14+ format : float
1415 example : 85
1516 description : The mark in numeric form
1617 comment :
You can’t perform that action at this time.
0 commit comments