-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsimulation.schema.json
34 lines (34 loc) · 956 Bytes
/
simulation.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/Simulation",
"definitions": {
"SimulationEvent": {
"title": "SimulationEvent",
"type": "object",
"properties": {
"timestamp": {
"type": "number",
"title": "timestamp"
},
"event": {
"title": "event"
}
},
"required": ["event", "timestamp"]
},
"Simulation": {
"title": "Simulation",
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"$ref": "#/definitions/SimulationEvent"
},
"title": "events"
}
},
"required": ["events"]
}
}
}