-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathabcRecord.schema.json
64 lines (64 loc) · 2.63 KB
/
abcRecord.schema.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
55
56
57
58
59
60
61
62
63
64
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://connectproject.github.io/schemas/abcRecord.schema.json",
"title": "ABC Records",
"description": "Antecedent (A), Behavior (B) and Consequence (C) records for behavior management",
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"description": "Unique Connect identifier of the app originating the event. Read-only (added by Connect)"
},
"userId": {
"type": "string",
"description": "Unique Connect identifier of the user originating the event. Read-only (added by Connect)"
},
"sessionId": {
"type": "string",
"description": "Identifier of the session originating the event"
},
"abcRecords": {
"type": "array",
"items":{
"type": "object",
"properties": {
"startTimestamp": {
"type": "string",
"format": "date-time",
"description": "Start time of behavior"
},
"endTimestamp": {
"type": "string",
"format": "date-time",
"description": "End time of behavior"
},
"antecedent": {
"type": ["string", "null"],
"enum": ["Loud Noise", "High Demand Task", "Change in Routine", "Social Demand", "others", null],
"description": "Triggering events and context of the behavior"
},
"behavior": {
"type": ["string", "null"],
"enum": ["Yelling/Crying", "Physical Aggression", "Non-compliance", "Self-harm", "Collapses", "others", null],
"description": "The specific behavior observed and recorded"
},
"consequence": {
"type": ["string", "null"],
"enum": ["Peer Reaction", "Loss of Privileges", "Teacher Intervention", "Hyposensory Room", "others", null],
"description": "Immediate consequence of the behavior"
}
},
"required": [
"startTimestamp",
"endTimestamp"
],
"additionalProperties": false
}
}
},
"required": [
"sessionId",
"abcRecords"
],
"additionalProperties": false
}