rsmp_schemer 0.3.2 → 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 +23 -22
- data/lib/rsmp_schemer/version.rb +3 -3
- data/rsmp_schemer.gemspec +3 -3
- data/schemas/core_3.1.2/schema/core/alarm.json +8 -4
- data/schemas/core_3.1.2/spec/core/alarm_spec.rb +15 -0
- 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/core_3.1.4/.gitignore +1 -0
- data/schemas/core_3.1.4/schema/core/alarm.json +8 -4
- data/schemas/core_3.1.4/spec/core/alarm_spec.rb +15 -0
- data/schemas/core_3.1.4/spec/core/version_spec.rb +3 -2
- data/schemas/core_3.1.5/.gitignore +1 -0
- data/schemas/core_3.1.5/schema/core/alarm.json +40 -41
- data/schemas/core_3.1.5/schema/core/alarm_issue.json +44 -0
- data/schemas/core_3.1.5/schema/core/alarm_suspend_resume.json +3 -0
- data/schemas/core_3.1.5/schema/core/alarm_suspended_resumed.json +47 -0
- data/schemas/core_3.1.5/schema/core/command_response.json +1 -1
- data/schemas/core_3.1.5/schema/core/status_response.json +1 -1
- data/schemas/core_3.1.5/schema/core/status_update.json +1 -1
- data/schemas/core_3.1.5/spec/core/alarm_issue_spec.rb +299 -0
- data/schemas/core_3.1.5/spec/core/alarm_resume_spec.rb +93 -0
- data/schemas/core_3.1.5/spec/core/alarm_resumed_spec.rb +277 -0
- data/schemas/core_3.1.5/spec/core/alarm_suspend_spec.rb +93 -0
- data/schemas/core_3.1.5/spec/core/alarm_suspended_spec.rb +277 -0
- data/schemas/core_3.1.5/spec/core/version_spec.rb +3 -2
- 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 +20 -105
- data/schemas/core_3.1.2/examples/validate.rb +0 -35
- 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
- data/schemas/core_3.1.4/examples/validate.rb +0 -35
- data/schemas/core_3.1.4/spec/core/alarm_request_spec.rb +0 -72
- data/schemas/core_3.1.5/examples/validate.rb +0 -35
- data/schemas/core_3.1.5/spec/core/alarm_request_spec.rb +0 -72
- data/schemas/core_3.1.5/spec/core/alarm_spec.rb +0 -298
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Sets functional position<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "timeout", "intersection"] },
|
7
|
-
"cO" : { "const" : "setValue" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "NormalControl: Normal Control<br>YellowFlash: Enables yellow flash<br>Dark: Enables dark mode",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : ["NormalControl", "YellowFlash", "Dark"]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2 ",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "timeout" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "Time in minutes until controller automatically reverts to previous functional position.<br>0=no automatic return",
|
34
|
-
"$ref": "../../core/definitions.json#/integer"
|
35
|
-
}
|
36
|
-
}}
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
|
40
|
-
"then" : { "properties" : {
|
41
|
-
"v" : {
|
42
|
-
"$description": "Intersection number",
|
43
|
-
"$ref": "../../core/definitions.json#/integer"
|
44
|
-
}
|
45
|
-
}}
|
46
|
-
}
|
47
|
-
]
|
48
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Sets current time plan<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "timeplan"] },
|
7
|
-
"cO" : { "const" : "setPlan" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Controller uses time plan according to programming<br>True: Contoller uses time plan according to command",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "timeplan" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "designation på time plan",
|
34
|
-
"$ref": "../../core/definitions.json#/integer"
|
35
|
-
}
|
36
|
-
}}
|
37
|
-
}
|
38
|
-
]
|
39
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Sets traffic situation the controller uses.<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "traficsituation"] },
|
7
|
-
"cO" : { "const" : "setTrafficSituation" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Controller uses traffic situation according to own programming<br>True: Contoller uses traffic situation according to command",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "traficsituation" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "designation of traficsituation",
|
34
|
-
"$ref": "../../core/definitions.json#/integer"
|
35
|
-
}
|
36
|
-
}}
|
37
|
-
}
|
38
|
-
]
|
39
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Restarts Traffic Controller<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setRestart" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "True: Restart controller",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Activate emergency route<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "emergencyroute"] },
|
7
|
-
"cO" : { "const" : "setEmergency" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Activate emergency route<br>True: Deactivate emergency route",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "emergencyroute" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "Number of emergency route",
|
34
|
-
"$ref": "../../core/definitions.json#/integer"
|
35
|
-
}
|
36
|
-
}}
|
37
|
-
}
|
38
|
-
]
|
39
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Activate input<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "input"] },
|
7
|
-
"cO" : { "const" : "setInput" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Deactivate input<br>True: Activate input",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "input" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "Number of Input",
|
34
|
-
"$ref": "../../core/definitions.json#/integer"
|
35
|
-
}
|
36
|
-
}}
|
37
|
-
}
|
38
|
-
]
|
39
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Activate fixed time control<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setFixedTime" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Deactivate fixed time control<br>True: Activate fixed time control",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Sets manual activation of detector logic.<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "mode"] },
|
7
|
-
"cO" : { "const" : "setForceDetectorLogic" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Deactivate manual control of detector logic<br>True: Activate manual control of detector logic",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "mode" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "False: Deactivate detector logic<br>True: Activate detector logic",
|
34
|
-
"type" : "string",
|
35
|
-
"enum" : [ "True", "False" ]
|
36
|
-
}
|
37
|
-
}}
|
38
|
-
}
|
39
|
-
]
|
40
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Start of signal group. Orders a signal group to green. Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setStart" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: No command (default)<br>True: Order a signal group to green",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Stop of signal group. Orders a signal group to red. Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setStop" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: No command (default)<br>True: Order a signal group to red",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Request start or stop of a series of signal groups. Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setStart" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.<br><br>1=Order signal group to green<br>0=Order signal group to red<br><br>Format: [Offset],[Bits to set],[Bits to unset]:…<br> <br>Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768. <br> <br>Example 1:<br>'5, 4134, 65' sets input 6,7,10,17 = on and 5,11 = off<br>(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)<br> <br>Example 2:<br>'22, 1, 4' sets input 22 = on and 24 = off<br>(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)<br> <br>And both thease examples could be sent in the same message as:<br>'5,4143,65:22,1,4'<br><br>Such a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
15
|
-
"type" : "string"
|
16
|
-
}
|
17
|
-
}}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
21
|
-
"then" : { "properties" : {
|
22
|
-
"v" : {
|
23
|
-
"$description": "Security code 2",
|
24
|
-
"type" : "string"
|
25
|
-
}
|
26
|
-
}}
|
27
|
-
}
|
28
|
-
]
|
29
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Set command table",
|
6
|
-
"n" : { "enum" : ["plan", "status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setCommands" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "plan" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "Plan to be changed",
|
15
|
-
"$ref": "../../core/definitions.json#/integer"
|
16
|
-
}
|
17
|
-
}}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
21
|
-
"then" : { "properties" : {
|
22
|
-
"v" : {
|
23
|
-
"$description": "Command table. Defines command, <br>Each command are written as dd-ee where:<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>dd-ee,dd-ee",
|
24
|
-
"type" : "string"
|
25
|
-
}
|
26
|
-
}}
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
30
|
-
"then" : { "properties" : {
|
31
|
-
"v" : {
|
32
|
-
"$description": "Security code 2",
|
33
|
-
"type" : "string"
|
34
|
-
}
|
35
|
-
}}
|
36
|
-
}
|
37
|
-
]
|
38
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Set Offset time",
|
6
|
-
"n" : { "enum" : ["status", "plan", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setOffset" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "Set offset time in seconds",
|
15
|
-
"$ref": "../../core/definitions.json#/integer"
|
16
|
-
}
|
17
|
-
}}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "plan" }}},
|
21
|
-
"then" : { "properties" : {
|
22
|
-
"v" : {
|
23
|
-
"$description": "Time plan nr",
|
24
|
-
"$ref": "../../core/definitions.json#/integer"
|
25
|
-
}
|
26
|
-
}}
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
30
|
-
"then" : { "properties" : {
|
31
|
-
"v" : {
|
32
|
-
"$description": "Security code 2",
|
33
|
-
"type" : "string"
|
34
|
-
}
|
35
|
-
}}
|
36
|
-
}
|
37
|
-
]
|
38
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Set week time table",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setWeekTable" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "Week time table. Defines time table to use for each week day<br>Each segment is written as d-t where:<br>d=day of week<br>t=time table nr<br><br>Day of week legend:<br>0=Monday<br>1=Tuesday<br>2=Wednesday<br>3=Thursday<br>4=Friday<br>5=Saturday<br>6=Sunday<br><br>Each segment is separated with a comma<br><br>E.g.<br>d-t,d-t",
|
15
|
-
"type" : "string"
|
16
|
-
}
|
17
|
-
}}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
21
|
-
"then" : { "properties" : {
|
22
|
-
"v" : {
|
23
|
-
"$description": "Security code 2",
|
24
|
-
"type" : "string"
|
25
|
-
}
|
26
|
-
}}
|
27
|
-
}
|
28
|
-
]
|
29
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Set time tables",
|
6
|
-
"n" : { "enum" : ["status", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setTimeTable" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "Time Table. Defines time tables.<br>Each time definition is written as t-o-h-m where:<br>t=time table nr (1-12)<br>o=function<br>h=hour - switching time<br>m=minute - switching minute<br><br>Function legend:<br>0=no plan is selected by time table<br>1=set plan 1<br>…<br>16= set plan 16<br><br>hour and minute is using local time (not UTC)<br><br>Each time definition is separated with a comma.<br><br>E.g.<br>t-o-h-m,t-o-h-m<br>",
|
15
|
-
"type" : "string"
|
16
|
-
}
|
17
|
-
}}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
21
|
-
"then" : { "properties" : {
|
22
|
-
"v" : {
|
23
|
-
"$description": "Security code 2",
|
24
|
-
"type" : "string"
|
25
|
-
}
|
26
|
-
}}
|
27
|
-
}
|
28
|
-
]
|
29
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Set Cycle time",
|
6
|
-
"n" : { "enum" : ["status", "plan", "securityCode"] },
|
7
|
-
"cO" : { "const" : "setCycleTime" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "Set cycle time in seconds",
|
15
|
-
"$ref": "../../core/definitions.json#/integer"
|
16
|
-
}
|
17
|
-
}}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "plan" }}},
|
21
|
-
"then" : { "properties" : {
|
22
|
-
"v" : {
|
23
|
-
"$description": "Time plan nr",
|
24
|
-
"$ref": "../../core/definitions.json#/integer"
|
25
|
-
}
|
26
|
-
}}
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
30
|
-
"then" : { "properties" : {
|
31
|
-
"v" : {
|
32
|
-
"$description": "Security code 2",
|
33
|
-
"type" : "string"
|
34
|
-
}
|
35
|
-
}}
|
36
|
-
}
|
37
|
-
]
|
38
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"allOf" : [
|
3
|
-
{
|
4
|
-
"properties" : {
|
5
|
-
"description": "Force input<br>Requires security code 2",
|
6
|
-
"n" : { "enum" : ["status", "securityCode", "input", "inputValue"] },
|
7
|
-
"cO" : { "const" : "setInput" }
|
8
|
-
}
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
|
12
|
-
"then" : { "properties" : {
|
13
|
-
"v" : {
|
14
|
-
"$description": "False: Force input<br>True: Release input",
|
15
|
-
"type" : "string",
|
16
|
-
"enum" : [ "True", "False" ]
|
17
|
-
}
|
18
|
-
}}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
|
22
|
-
"then" : { "properties" : {
|
23
|
-
"v" : {
|
24
|
-
"$description": "Security code 2",
|
25
|
-
"type" : "string"
|
26
|
-
}
|
27
|
-
}}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "input" }}},
|
31
|
-
"then" : { "properties" : {
|
32
|
-
"v" : {
|
33
|
-
"$description": "Number of Input",
|
34
|
-
"$ref": "../../core/definitions.json#/integer"
|
35
|
-
}
|
36
|
-
}}
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"if" : { "required" : ["n"], "properties" : { "n" : { "const" : "inputValue" }}},
|
40
|
-
"then" : { "properties" : {
|
41
|
-
"v" : {
|
42
|
-
"$description": "False: input forced to False<br>True: input forced to True",
|
43
|
-
"type" : "string",
|
44
|
-
"enum" : [ "True", "False" ]
|
45
|
-
}
|
46
|
-
}}
|
47
|
-
}
|
48
|
-
]
|
49
|
-
}
|