rsmp_schema 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/tlc/1.0.10/sxl.yaml +0 -25
- data/schemas/tlc/1.0.13/sxl.yaml +0 -40
- data/schemas/tlc/1.0.14/sxl.yaml +0 -40
- data/schemas/tlc/1.0.15/sxl.yaml +0 -47
- data/schemas/tlc/1.0.7/sxl.yaml +0 -21
- data/schemas/tlc/1.0.8/sxl.yaml +0 -25
- data/schemas/tlc/1.0.9/sxl.yaml +0 -25
- data/schemas/tlc/1.1/alarms/A0303.json +111 -0
- data/schemas/tlc/1.1/alarms/A0304.json +137 -0
- data/schemas/tlc/1.1/alarms/alarms.json +33 -1
- data/schemas/tlc/1.1/commands/M0001.json +1 -1
- data/schemas/tlc/1.1/commands/M0005.json +1 -1
- data/schemas/tlc/1.1/commands/M0013.json +1 -1
- data/schemas/tlc/1.1/commands/M0019.json +1 -1
- data/schemas/tlc/1.1/commands/M0022.json +335 -0
- data/schemas/tlc/1.1/commands/M0023.json +64 -0
- data/schemas/tlc/1.1/commands/commands.json +32 -0
- data/schemas/tlc/1.1/statuses/S0001.json +3 -3
- data/schemas/tlc/1.1/statuses/S0002.json +1 -1
- data/schemas/tlc/1.1/statuses/S0003.json +1 -1
- data/schemas/tlc/1.1/statuses/S0004.json +1 -1
- data/schemas/tlc/1.1/statuses/S0007.json +1 -1
- data/schemas/tlc/1.1/statuses/S0008.json +1 -1
- data/schemas/tlc/1.1/statuses/S0009.json +1 -1
- data/schemas/tlc/1.1/statuses/S0010.json +1 -1
- data/schemas/tlc/1.1/statuses/S0011.json +1 -1
- data/schemas/tlc/1.1/statuses/S0012.json +1 -1
- data/schemas/tlc/1.1/statuses/S0013.json +2 -2
- data/schemas/tlc/1.1/statuses/S0020.json +1 -1
- data/schemas/tlc/1.1/statuses/S0032.json +96 -0
- data/schemas/tlc/1.1/statuses/S0034.json +40 -0
- data/schemas/tlc/1.1/statuses/statuses.json +32 -0
- data/schemas/tlc/1.1/sxl.yaml +417 -127
- metadata +8 -2
@@ -27,7 +27,7 @@
|
|
27
27
|
"then" : {
|
28
28
|
"properties" : {
|
29
29
|
"s" : {
|
30
|
-
"description" : "Signal group status as text field",
|
30
|
+
"description" : "Signal group status as text field.\nEach character represent the state of the signal group in consecutive order.\nSignal group status is described in detail in the corresponding section.\n- = Signal group is undefined/does not exist",
|
31
31
|
"type" : "string",
|
32
32
|
"pattern" : "^[a-hA-G0-9N-P]*$"
|
33
33
|
}
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"s" : {
|
51
51
|
"allOf" : [
|
52
52
|
{
|
53
|
-
"description" : "Cycle counter"
|
53
|
+
"description" : "Cycle counter.\nUsed for handling of coordination between TLC’s.\nIs counted from 0 until it reaches the cycle time (See S0028).\n\nc = (b + o) mod t\n \nwhere c = cycle counter,\nb = base cycle counter,\no = offset,\nt = cycle time,\nmod = modulo\n\nSee the coordination section for more information."
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer"
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"s" : {
|
77
77
|
"allOf" : [
|
78
78
|
{
|
79
|
-
"description" : "Base cycle counter"
|
79
|
+
"description" : "Base cycle counter.\nUsed for handling of coordination between TLC’s.\nSynchronized between all TLC’s in an active coordination.\nSee the coordination section for more information."
|
80
80
|
},
|
81
81
|
{
|
82
82
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer"
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"then" : {
|
25
25
|
"properties" : {
|
26
26
|
"s" : {
|
27
|
-
"description" : "Detector logic status as text field",
|
27
|
+
"description" : "Detector logic status as text field\nEach character represent the state of the detector logic in consecutive order.\n0 : Detector logic is not active\n1 : Detector logic is active\n- : Detector logic is undefined/does not exist",
|
28
28
|
"type" : "string"
|
29
29
|
}
|
30
30
|
}
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"then" : {
|
46
46
|
"properties" : {
|
47
47
|
"s" : {
|
48
|
-
"description" : "Extended input status as text field",
|
48
|
+
"description" : "Extended input status as text field\nEach character represent the state of the detector logic in consecutive order.\n0 : Detector logic is not active\n1 : Detector logic is active\n- : Detector logic is undefined/does not exist",
|
49
49
|
"type" : "string"
|
50
50
|
}
|
51
51
|
}
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"then" : {
|
46
46
|
"properties" : {
|
47
47
|
"s" : {
|
48
|
-
"description" : "Extended output status as text field",
|
48
|
+
"description" : "Extended output status as text field\nEach character represent the state of the detector logic in consecutive order.\n0 : Detector logic is not active\n1 : Detector logic is active\n- : Detector logic is undefined/does not exist",
|
49
49
|
"type" : "string"
|
50
50
|
}
|
51
51
|
}
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"s" : {
|
29
29
|
"allOf" : [
|
30
30
|
{
|
31
|
-
"description" : "
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"s" : {
|
29
29
|
"allOf" : [
|
30
30
|
{
|
31
|
-
"description" : "
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"s" : {
|
29
29
|
"allOf" : [
|
30
30
|
{
|
31
|
-
"description" : "
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"s" : {
|
29
29
|
"allOf" : [
|
30
30
|
{
|
31
|
-
"description" : "
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"s" : {
|
29
29
|
"allOf" : [
|
30
30
|
{
|
31
|
-
"description" : "
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"s" : {
|
29
29
|
"allOf" : [
|
30
30
|
{
|
31
|
-
"description" : "
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"s" : {
|
28
28
|
"allOf" : [
|
29
29
|
{
|
30
|
-
"description" : "
|
30
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
31
31
|
},
|
32
32
|
{
|
33
33
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"s" : {
|
54
54
|
"allOf" : [
|
55
55
|
{
|
56
|
-
"pattern" : "(?-mix:^(0|1|2)(?:,(0|1|2))*$)"
|
56
|
+
"pattern" : "(?-mix:^(0|1|2|3)(?:,(0|1|2|3))*$)"
|
57
57
|
},
|
58
58
|
{
|
59
59
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"s" : {
|
28
28
|
"allOf" : [
|
29
29
|
{
|
30
|
-
"description" : "
|
30
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
31
31
|
},
|
32
32
|
{
|
33
33
|
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
@@ -0,0 +1,96 @@
|
|
1
|
+
{
|
2
|
+
"allOf" : [
|
3
|
+
{
|
4
|
+
"description" : "Coordinated control\nThis status is used when coordination between traffic light controllers is active. Coordination is described in detail in the corresponding section\nPlease note that all values in this status uses comma-separated lists - one value for each intersection, e.g. “1,2” and “centralized,off”",
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"intersection",
|
9
|
+
"source",
|
10
|
+
"status"
|
11
|
+
]
|
12
|
+
}
|
13
|
+
}
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"if" : {
|
17
|
+
"required" : [
|
18
|
+
"n"
|
19
|
+
],
|
20
|
+
"properties" : {
|
21
|
+
"n" : {
|
22
|
+
"const" : "intersection"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"then" : {
|
27
|
+
"properties" : {
|
28
|
+
"s" : {
|
29
|
+
"allOf" : [
|
30
|
+
{
|
31
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. “1,2”.\nUse “0” for all intersections of the TLC."
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"if" : {
|
43
|
+
"required" : [
|
44
|
+
"n"
|
45
|
+
],
|
46
|
+
"properties" : {
|
47
|
+
"n" : {
|
48
|
+
"const" : "status"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"then" : {
|
53
|
+
"properties" : {
|
54
|
+
"s" : {
|
55
|
+
"allOf" : [
|
56
|
+
{
|
57
|
+
"description" : "local: Local coordination\ncentralized: Coordination with synchronized clock\noff: Coordination not active",
|
58
|
+
"pattern" : "(?-mix:^(local|centralized|false)(?:,(local|centralized|false))*$)"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"$ref" : "../../../core/3.1.1/definitions.json#/string_list"
|
62
|
+
}
|
63
|
+
]
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"if" : {
|
70
|
+
"required" : [
|
71
|
+
"n"
|
72
|
+
],
|
73
|
+
"properties" : {
|
74
|
+
"n" : {
|
75
|
+
"const" : "source"
|
76
|
+
}
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"then" : {
|
80
|
+
"properties" : {
|
81
|
+
"s" : {
|
82
|
+
"allOf" : [
|
83
|
+
{
|
84
|
+
"description" : "Source of the status change",
|
85
|
+
"pattern" : "(?-mix:^(operator_panel|calendar_clock|control_block|forced|startup|other)(?:,(operator_panel|calendar_clock|control_block|forced|startup|other))*$)"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"$ref" : "../../../core/3.1.1/definitions.json#/string_list"
|
89
|
+
}
|
90
|
+
]
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"allOf" : [
|
3
|
+
{
|
4
|
+
"description" : "Timeout for dynamic bands.\nTime until a designated time plan is entered due to lost connection with the supervisor.\nDisabled if set to '0'.\nUsed in conjunction with dynamic bands, M0014",
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"status"
|
9
|
+
]
|
10
|
+
}
|
11
|
+
}
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"if" : {
|
15
|
+
"required" : [
|
16
|
+
"n"
|
17
|
+
],
|
18
|
+
"properties" : {
|
19
|
+
"n" : {
|
20
|
+
"const" : "status"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"then" : {
|
25
|
+
"properties" : {
|
26
|
+
"s" : {
|
27
|
+
"allOf" : [
|
28
|
+
{
|
29
|
+
"description" : "Timeout, in minutes"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"$ref" : "../../../core/3.1.1/definitions.json#/integer"
|
33
|
+
}
|
34
|
+
]
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
]
|
40
|
+
}
|
@@ -38,6 +38,8 @@
|
|
38
38
|
"S0029",
|
39
39
|
"S0030",
|
40
40
|
"S0031",
|
41
|
+
"S0032",
|
42
|
+
"S0034",
|
41
43
|
"S0091",
|
42
44
|
"S0092",
|
43
45
|
"S0095",
|
@@ -521,6 +523,36 @@
|
|
521
523
|
"$ref" : "S0031.json"
|
522
524
|
}
|
523
525
|
},
|
526
|
+
{
|
527
|
+
"if" : {
|
528
|
+
"required" : [
|
529
|
+
"sCI"
|
530
|
+
],
|
531
|
+
"properties" : {
|
532
|
+
"sCI" : {
|
533
|
+
"const" : "S0032"
|
534
|
+
}
|
535
|
+
}
|
536
|
+
},
|
537
|
+
"then" : {
|
538
|
+
"$ref" : "S0032.json"
|
539
|
+
}
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"if" : {
|
543
|
+
"required" : [
|
544
|
+
"sCI"
|
545
|
+
],
|
546
|
+
"properties" : {
|
547
|
+
"sCI" : {
|
548
|
+
"const" : "S0034"
|
549
|
+
}
|
550
|
+
}
|
551
|
+
},
|
552
|
+
"then" : {
|
553
|
+
"$ref" : "S0034.json"
|
554
|
+
}
|
555
|
+
},
|
524
556
|
{
|
525
557
|
"if" : {
|
526
558
|
"required" : [
|