-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphraseProduced.schema.json
53 lines (53 loc) · 1.43 KB
/
phraseProduced.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://connectproject.github.io/schemas/phraseProduced.schema.json",
"title": "Phrase Produced",
"description": "A phrase produced as a combination of images",
"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"
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp for the production of the phrase"
},
"phrase": {
"type": "array",
"minItems": 1,
"description": "Array of images used in the phrase, in the order they were used",
"items": {
"type": "object",
"properties": {
"imageURL": {
"type": "string",
"format": "url"
},
"wordPronounced": {
"type": "string"
}
},
"required": [
"imageURL"
],
"additionalProperties": false
}
}
},
"required": [
"sessionId",
"timestamp",
"phrase"
],
"additionalProperties": false
}