-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathuserAnnotations.schema.json
74 lines (74 loc) · 2.69 KB
/
userAnnotations.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
65
66
67
68
69
70
71
72
73
74
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://connectproject.github.io/schemas/userAnnotations.schema.json",
"title": "User Annotations",
"description": "Array of annotations of subjective-states/feelings of the user from the local storage",
"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"
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"timeStamp": {
"type": "number",
"description": "Time of the annotation/event"
},
"userAnnotation": {
"type": "string",
"enum": [
"lively",
"happy",
"sad",
"tired",
"content",
"gloomy",
"jittery",
"drowsy",
"grouchy",
"peppy",
"nervous",
"calm",
"loving",
"fed up",
"active",
"stressed",
"angry"
],
"description": "Feeling or emotion or subjective-state that is annotated by the user"
},
"confidence": {
"type": "number",
"description": "Confidence about annotation from 1(min) to 5 (max)"
},
"activity": {
"type":"string",
"description": "Activity of the user during the time of annotation"
}
},
"required": [
"timeStamp",
"userAnnotation"
],
"additionalProperties": false
}
}
},
"required": [
"sessionId",
"events"
],
"additionalProperties": false
}