rsmp_schemer 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -15
- data/lib/rsmp_schemer/version.rb +3 -3
- data/rsmp_schemer.gemspec +2 -2
- data/schemas/core_3.1.3/Gemfile.lock +20 -20
- data/schemas/core_3.1.3/schema/core/alarm.json +8 -4
- data/schemas/core_3.1.3/schema/core/core.json +0 -1
- data/schemas/core_3.1.3/schema/core/rsmp.json +0 -9
- data/schemas/core_3.1.3/spec/core/alarm_spec.rb +20 -7
- data/schemas/core_3.1.3/spec/core/command_request_spec.rb +3 -6
- data/schemas/core_3.1.3/spec/core/command_response_spec.rb +1 -43
- data/schemas/core_3.1.3/spec/core/status_request_spec.rb +4 -8
- data/schemas/core_3.1.3/spec/core/status_response_spec.rb +13 -8
- data/schemas/core_3.1.3/spec/core/status_subscribe_spec.rb +4 -8
- data/schemas/core_3.1.3/spec/core/status_unsubscribe_spec.rb +4 -8
- data/schemas/core_3.1.3/spec/core/status_update_spec.rb +4 -8
- data/schemas/core_3.1.3/spec/schemer_helper.rb +19 -17
- data/schemas/tlc_1.0.15/Gemfile.lock +17 -17
- data/schemas/tlc_1.0.15/README.md +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0001.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0002.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0003.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0004.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0005.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0006.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0007.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0008.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0009.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0010.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0101.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0201.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0202.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0008.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0012.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0013.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0014.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0015.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0016.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0017.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0018.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0019.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0020.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0021.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0103.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0104.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0002.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0003.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0004.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0006.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0007.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0008.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0009.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0010.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0011.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0012.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0013.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0014.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0015.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0016.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0017.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0018.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0019.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0020.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0021.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0022.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0024.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0025.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0026.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0027.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0028.json +2 -2
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0029.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0030.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0031.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0091.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0092.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0095.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0096.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0097.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0098.json +2 -2
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0201.json +1 -1
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0202.json +2 -2
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0203.json +2 -2
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0204.json +2 -2
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0205.json +3 -3
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0206.json +3 -3
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0207.json +3 -3
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0208.json +11 -11
- data/schemas/tlc_1.0.15/schema/tlc/sxl.yaml +1655 -0
- metadata +8 -97
- data/schemas/core_3.1.3/examples/validate.rb +0 -32
- data/schemas/core_3.1.3/schema/core/aggregated_status_request.json +0 -9
- data/schemas/core_3.1.3/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0008.json +0 -19
- data/schemas/core_3.1.3/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0201.json +0 -20
- data/schemas/core_3.1.3/schema/tlc/alarms/A0202.json +0 -20
- data/schemas/core_3.1.3/schema/tlc/alarms/A0301.json +0 -49
- data/schemas/core_3.1.3/schema/tlc/alarms/A0302.json +0 -59
- data/schemas/core_3.1.3/schema/tlc/alarms/alarms.json +0 -68
- data/schemas/core_3.1.3/schema/tlc/commands/M0001.json +0 -48
- data/schemas/core_3.1.3/schema/tlc/commands/M0002.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0003.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0004.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0005.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0006.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0007.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0008.json +0 -40
- data/schemas/core_3.1.3/schema/tlc/commands/M0010.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0011.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0012.json +0 -29
- data/schemas/core_3.1.3/schema/tlc/commands/M0013.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/commands/M0014.json +0 -38
- data/schemas/core_3.1.3/schema/tlc/commands/M0015.json +0 -38
- data/schemas/core_3.1.3/schema/tlc/commands/M0016.json +0 -29
- data/schemas/core_3.1.3/schema/tlc/commands/M0017.json +0 -29
- data/schemas/core_3.1.3/schema/tlc/commands/M0018.json +0 -38
- data/schemas/core_3.1.3/schema/tlc/commands/M0019.json +0 -49
- data/schemas/core_3.1.3/schema/tlc/commands/M0020.json +0 -49
- data/schemas/core_3.1.3/schema/tlc/commands/M0021.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/commands/M0103.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0104.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/commands/command_requests.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/commands/command_responses.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/commands/commands.json +0 -97
- data/schemas/core_3.1.3/schema/tlc/statuses/S0001.json +0 -45
- data/schemas/core_3.1.3/schema/tlc/statuses/S0002.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0003.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0004.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0005.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0006.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0007.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0008.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0009.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0010.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0011.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0012.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0013.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0014.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0015.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0016.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0017.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0018.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0019.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0020.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0021.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0022.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0023.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0024.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0025.json +0 -80
- data/schemas/core_3.1.3/schema/tlc/statuses/S0026.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0027.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0028.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0029.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0030.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/statuses/S0031.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/statuses/S0091.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0092.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0095.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0096.json +0 -68
- data/schemas/core_3.1.3/schema/tlc/statuses/S0097.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0201.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0202.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0203.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0204.json +0 -98
- data/schemas/core_3.1.3/schema/tlc/statuses/S0205.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0206.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0207.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0208.json +0 -98
- data/schemas/core_3.1.3/schema/tlc/statuses/statuses.json +0 -181
- data/schemas/core_3.1.3/schema/tlc/sxl.json +0 -24
- data/schemas/core_3.1.3/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/core_3.1.3/spec/tlc/S0007_spec.rb +0 -233
@@ -1,97 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"items" : {
|
3
|
-
"allOf" : [
|
4
|
-
{
|
5
|
-
"properties" : { "cCI" : { "enum": ["M0001", "M0002", "M0003", "M0004", "M0005", "M0006", "M0007", "M0008", "M0010", "M0011", "M0012", "M0013", "M0014", "M0015", "M0016", "M0017", "M0018", "M0019", "M0020", "M0021", "M0103", "M0104"] }}
|
6
|
-
},
|
7
|
-
{
|
8
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0001" }}},
|
9
|
-
"then" : { "$ref" : "M0001.json" }
|
10
|
-
},
|
11
|
-
{
|
12
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0002" }}},
|
13
|
-
"then" : { "$ref" : "M0002.json" }
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0003" }}},
|
17
|
-
"then" : { "$ref" : "M0003.json" }
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0004" }}},
|
21
|
-
"then" : { "$ref" : "M0004.json" }
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0005" }}},
|
25
|
-
"then" : { "$ref" : "M0005.json" }
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0006" }}},
|
29
|
-
"then" : { "$ref" : "M0006.json" }
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0007" }}},
|
33
|
-
"then" : { "$ref" : "M0007.json" }
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0008" }}},
|
37
|
-
"then" : { "$ref" : "M0008.json" }
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0010" }}},
|
41
|
-
"then" : { "$ref" : "M0010.json" }
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0011" }}},
|
45
|
-
"then" : { "$ref" : "M0011.json" }
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0012" }}},
|
49
|
-
"then" : { "$ref" : "M0012.json" }
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0013" }}},
|
53
|
-
"then" : { "$ref" : "M0013.json" }
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0014" }}},
|
57
|
-
"then" : { "$ref" : "M0014.json" }
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0015" }}},
|
61
|
-
"then" : { "$ref" : "M0015.json" }
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0016" }}},
|
65
|
-
"then" : { "$ref" : "M0016.json" }
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0017" }}},
|
69
|
-
"then" : { "$ref" : "M0017.json" }
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0018" }}},
|
73
|
-
"then" : { "$ref" : "M0018.json" }
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0019" }}},
|
77
|
-
"then" : { "$ref" : "M0019.json" }
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0020" }}},
|
81
|
-
"then" : { "$ref" : "M0020.json" }
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0021" }}},
|
85
|
-
"then" : { "$ref" : "M0021.json" }
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0103" }}},
|
89
|
-
"then" : { "$ref" : "M0103.json" }
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0104" }}},
|
93
|
-
"then" : { "$ref" : "M0104.json" }
|
94
|
-
}
|
95
|
-
]
|
96
|
-
}
|
97
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Signal group status",
|
5
|
-
"n" : { "enum" : ["signalgroupstatus", "cyclecounter", "basecyclecounter", "stage"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "signalgroupstatus" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Signal group status as text field",
|
12
|
-
"type" : "string",
|
13
|
-
"pattern" : "^[a-hA-G0-9N-P]+$"
|
14
|
-
}
|
15
|
-
}}
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "cyclecounter" }}},
|
19
|
-
"then" : { "properties" : {
|
20
|
-
"s" : {
|
21
|
-
"$description": "Cycle counter",
|
22
|
-
"$ref": "../../core/definitions.json#/integer"
|
23
|
-
}
|
24
|
-
}}
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "basecyclecounter" }}},
|
28
|
-
"then" : { "properties" : {
|
29
|
-
"s" : {
|
30
|
-
"$description": "Base cycle counter",
|
31
|
-
"$ref": "../../core/definitions.json#/integer"
|
32
|
-
}
|
33
|
-
}}
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "stage" }}},
|
37
|
-
"then" : { "properties" : {
|
38
|
-
"s" : {
|
39
|
-
"$description": "Current stage (isolated)",
|
40
|
-
"$ref": "../../core/definitions.json#/integer"
|
41
|
-
}
|
42
|
-
}}
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Detector logic status",
|
5
|
-
"n" : { "enum" : ["detectorlogicstatus"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "detectorlogicstatus" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Detector logic status as text field",
|
12
|
-
"type" : "string"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Input status",
|
5
|
-
"n" : { "enum" : ["inputstatus", "extendedinputstatus"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "inputstatus" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Input status as text field",
|
12
|
-
"type" : "string"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "extendedinputstatus" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Extended input status as text field",
|
21
|
-
"type" : "string"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Output status",
|
5
|
-
"n" : { "enum" : ["outputstatus", "extendedoutputstatus"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "outputstatus" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Output status as text field",
|
12
|
-
"type" : "string"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "extendedoutputstatus" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Extended output status as text field",
|
21
|
-
"type" : "string"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Traffic Controller starting",
|
5
|
-
"n" : { "enum" : ["status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "False: Controller is not in start up mode<br>True: Controller is currently in start up mode",
|
12
|
-
"type" : "string",
|
13
|
-
"enum" : [ "True", "False" ]
|
14
|
-
}
|
15
|
-
}}
|
16
|
-
}
|
17
|
-
]
|
18
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Emergency stage",
|
5
|
-
"n" : { "enum" : ["status", "emergencystage"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "False: Emergency stage inactive<br>True: Emergency stage active",
|
12
|
-
"type" : "string",
|
13
|
-
"enum" : [ "True", "False" ]
|
14
|
-
}
|
15
|
-
}}
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "emergencystage" }}},
|
19
|
-
"then" : { "properties" : {
|
20
|
-
"s" : {
|
21
|
-
"$description": "Number of emergency stage",
|
22
|
-
"$ref": "../../core/definitions.json#/integer"
|
23
|
-
}
|
24
|
-
}}
|
25
|
-
}
|
26
|
-
]
|
27
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Controller switched on",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of booleans. False: Traffic Controller in dark mode<br>True: Traffic Controller not in dark mode",
|
21
|
-
"$ref": "../../core/definitions.json#/boolean_list"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Manual control",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of booleans. False: Manual control inactive<br>True: Manual control active",
|
21
|
-
"$ref": "../../core/definitions.json#/boolean_list"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Fixed time control",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of booleans. False: Fixed time control inactive<br>True: Fixed time control active",
|
21
|
-
"$ref": "../../core/definitions.json#/boolean_list"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Isolated control",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of booleans. False: Isolated control disabled<br>True: Isolated control enabled (Vehicle actuated control or Fixed time control)",
|
21
|
-
"$ref": "../../core/definitions.json#/boolean_list"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Yellow flash",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of booleans. False: Yellow flash disabled<br>True: Yellow flash enabled",
|
21
|
-
"$ref": "../../core/definitions.json#/boolean_list"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "All red",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of booleans. False: All red disabled<br>True: All red enabled",
|
21
|
-
"$ref": "../../core/definitions.json#/boolean_list"
|
22
|
-
}
|
23
|
-
}}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Police key",
|
5
|
-
"n" : { "enum" : ["intersection", "status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Comma-separted list of integeres. 0: disabled<br>1: dark mode<br>2: yellow flash",
|
21
|
-
"type" : "string",
|
22
|
-
"pattern" : "^([0-2])(?:,([0-2]))*$"
|
23
|
-
}
|
24
|
-
}}
|
25
|
-
}
|
26
|
-
]
|
27
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Current time plan",
|
5
|
-
"n" : { "enum" : ["status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Current time plan",
|
12
|
-
"$ref": "../../core/definitions.json#/integer"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Current traffic situation",
|
5
|
-
"n" : { "enum" : ["status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Current traffic situation",
|
12
|
-
"$ref": "../../core/definitions.json#/integer"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Number of detector logics",
|
5
|
-
"n" : { "enum" : ["number"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Number of detector logics",
|
12
|
-
"$ref": "../../core/definitions.json#/integer"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Number of signal groups",
|
5
|
-
"n" : { "enum" : ["number"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Number of signal groups",
|
12
|
-
"$ref": "../../core/definitions.json#/integer"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Number of time plans",
|
5
|
-
"n" : { "enum" : ["number"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Number of time plans",
|
12
|
-
"$ref": "../../core/definitions.json#/integer"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Number of traffic situations",
|
5
|
-
"n" : { "enum" : ["number"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Number of traffic situations",
|
12
|
-
"$ref": "../../core/definitions.json#/integer"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Control mode",
|
5
|
-
"n" : { "enum" : ["intersection", "controlmode"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "controlmode" }}},
|
18
|
-
"then" : { "properties" : {
|
19
|
-
"s" : {
|
20
|
-
"$description": "Startup mode<br>Normal control<br>Standby mode<br>Failure mode<br>Test mode",
|
21
|
-
"type" : "string",
|
22
|
-
"enum" : ["startup", "control", "standby", "failure", "test"]
|
23
|
-
}
|
24
|
-
}}
|
25
|
-
}
|
26
|
-
]
|
27
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Manually set detector logic",
|
5
|
-
"n" : { "enum" : ["detectorlogics"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "detectorlogics" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Manually set detector logics (1/0) as text field",
|
12
|
-
"type" : "string",
|
13
|
-
"pattern" : "^[01]*$"
|
14
|
-
}
|
15
|
-
}}
|
16
|
-
}
|
17
|
-
]
|
18
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "List of time plans",
|
5
|
-
"n" : { "enum" : ["status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Comma separated list of configured time plans. E.g. '1,2,3,5'",
|
12
|
-
"$ref": "../../core/definitions.json#/integer_list"
|
13
|
-
}
|
14
|
-
}}
|
15
|
-
}
|
16
|
-
]
|
17
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{ "properties" : {
|
4
|
-
"description": "Command table",
|
5
|
-
"n" : { "enum" : ["status"] }
|
6
|
-
}},
|
7
|
-
{
|
8
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
9
|
-
"then" : { "properties" : {
|
10
|
-
"s" : {
|
11
|
-
"$description": "Command table. Defines command, <br>Each command are written as pp-dd-ee where:<br>pp=Time plan<br>dd=Dynamic band number (from 1-10)<br>ee=Extension in seconds in this band<br><br>Each command is separated with a comma.<br><br>E.g. <br>pp-dd-ee,pp-dd-ee",
|
12
|
-
"type" : "string",
|
13
|
-
"pattern" : "^(\\d{1,2}\\-\\d{1,2}-\\d{1,2})(?:,(\\d{1,2}\\-\\d{1,2}-\\d{1,2}))*$"
|
14
|
-
}
|
15
|
-
}}
|
16
|
-
}
|
17
|
-
]
|
18
|
-
}
|