-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsisUserSchema.json
54 lines (54 loc) · 1.47 KB
/
sisUserSchema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://sd41admintools.its.sfu.ca/sisUserSchema.json",
"title": "SIS User Import",
"type": "array",
"items": {
"$ref": "#/definitions/user"
},
"definitions": {
"user": {
"type": "object",
"required": [
"user_id",
"login_id",
"first_name",
"last_name",
"email",
"status"
],
"additionalProperties": false,
"properties": {
"user_id": {
"type": "string",
"description": "The student's SIS ID",
"pattern": "^\\d+$"
},
"login_id": {
"type": "string",
"description": "The student's login ID. It must be their SD41 email address",
"pattern": "^[0-9]+@edu\\.burnabyschools\\.ca$"
},
"first_name": {
"type": "string",
"description": "The student's first name"
},
"last_name": {
"type": "string",
"description": "The student's last name"
},
"email": {
"type": "string",
"description": "The student's email address. It must be their SD41 email address",
"pattern": "^[0-9]+@edu\\.burnabyschools\\.ca$"
},
"status": {
"type": "string",
"description": "The student's enrollment status. One of ['active', 'deleted].",
"enum": ["active", "deleted"],
"default": "active"
}
}
}
}
}