-
Notifications
You must be signed in to change notification settings - Fork 1
/
Traffic_Status_Response_Def.json
executable file
·78 lines (78 loc) · 2.5 KB
/
Traffic_Status_Response_Def.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
75
76
77
78
{
"$schema":"http://json-schema.org/draft-04/schema#",
"type":"object",
"description":"A response containing traffic flows between objects",
"properties":{
"header":{
"type":"object",
"description":"Object describing document data",
"properties":{
"time_range":{
"type":"object",
"description":"Time range of the document records",
"properties":{
"start":{
"type":"string",
"description":"ISO8601 timestamp of earliest record in document"
},
"end":{
"type":"string",
"description":"ISO8601 timestamp of latest record in document"
}
}
},
"recordCount":{
"type":"integer",
"description":"Total record count (number of array items in data)"
},
"objTypes": {
"type": "array",
"description": "A collection of object types",
"items": {
"type": "string",
"description": "An object type"
}
}
}
},
"data":{
"type":"array",
"description":"Array of historic records",
"items":{
"type":"object",
"description":"The schema of an array entry",
"properties":{
"srcObj": {
"type": "string",
"description": "The name/ID of source object"
},
"srcType": {
"type": "string",
"description": "The type of source object"
},
"destObj": {
"type": "string",
"description": "The name/ID of destination object"
},
"destType": {
"type": "string",
"description": "The type of destination object"
},
"bytes": {
"type": "integer",
"minimum": 0,
"description": "The volume of data that flows from source to destination"
},
"packets": {
"type": "integer",
"minimum": 0,
"description": "The number of packets sent from source to destination"
}
}
}
}
},
"required":[
"data"
]
}