-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscripted_db.json
65 lines (65 loc) · 2.15 KB
/
scripted_db.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Scripted database",
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of this scripted database"
},
"formatVersion": {
"type": "string",
"description": "Version of the format",
"default": "0.0.1"
},
"scripts_location": {
"type": "string",
"description": "Location of the scripts to load"
},
"simple_mapping": {
"type": "object",
"description": "Simple mapping of vehicle signals that do not require a script. Simply maps a Scripted signal name to a namespace + signal name",
"patternProperties": {
".{1,}": {
"type": "object",
"description": "All property names must be at least one character long are valid keys.",
"properties": {
"namespace": {
"type": "string",
"description": "Namespace of the signal"
},
"name": {
"type": "string",
"description": "Name of the signal"
}
},
"required": [
"namespace",
"name"
]
}
},
"examples": [
{
"Vehicle.Speed": {
"namespace": "VehicleBus",
"name": "ID257DIspeed.DI_vehicleSpeed"
}
}
]
}
},
"examples": [
{
"description": "VSS mapping information",
"formatVersion": "0.1.0",
"scripts_location": "path/scripts",
"simple_mapping": {
"Vehicle.Speed": {
"namespace": "VehicleBus",
"name": "ID257DIspeed.DI_vehicleSpeed"
}
}
}
]
}