rsmp 0.48.2 → 0.48.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/Rakefile +25 -2
  4. data/lib/rsmp/convert/export/json_schema/index.rb +38 -17
  5. data/lib/rsmp/convert/export/json_schema.rb +29 -0
  6. data/lib/rsmp/version.rb +1 -1
  7. data/schemas/tlc/1.0.10/commands/M0001.json +4 -4
  8. data/schemas/tlc/1.0.10/{sxl.yaml → source/sxl.yaml} +60 -63
  9. data/schemas/tlc/1.0.10/sxl_index.json +3 -3
  10. data/schemas/tlc/1.0.13/commands/M0001.json +4 -4
  11. data/schemas/tlc/1.0.13/{sxl.yaml → source/sxl.yaml} +67 -70
  12. data/schemas/tlc/1.0.13/sxl_index.json +3 -3
  13. data/schemas/tlc/1.0.14/commands/M0001.json +4 -4
  14. data/schemas/tlc/1.0.14/{sxl.yaml → source/sxl.yaml} +67 -70
  15. data/schemas/tlc/1.0.14/sxl_index.json +3 -3
  16. data/schemas/tlc/1.0.15/commands/M0001.json +4 -4
  17. data/schemas/tlc/1.0.15/{sxl.yaml → source/sxl.yaml} +70 -73
  18. data/schemas/tlc/1.0.15/sxl_index.json +3 -3
  19. data/schemas/tlc/1.0.7/commands/M0001.json +4 -4
  20. data/schemas/tlc/1.0.7/{sxl.yaml → source/sxl.yaml} +62 -65
  21. data/schemas/tlc/1.0.7/sxl_index.json +3 -3
  22. data/schemas/tlc/1.0.8/commands/M0001.json +4 -4
  23. data/schemas/tlc/1.0.8/{sxl.yaml → source/sxl.yaml} +60 -63
  24. data/schemas/tlc/1.0.8/sxl_index.json +3 -3
  25. data/schemas/tlc/1.0.9/commands/M0001.json +4 -4
  26. data/schemas/tlc/1.0.9/{sxl.yaml → source/sxl.yaml} +60 -63
  27. data/schemas/tlc/1.0.9/sxl_index.json +3 -3
  28. data/schemas/tlc/1.1.0/commands/M0022.json +8 -8
  29. data/schemas/tlc/1.1.0/{sxl.yaml → source/sxl.yaml} +74 -74
  30. data/schemas/tlc/1.1.0/statuses/S0033.json +2 -2
  31. data/schemas/tlc/1.1.0/sxl_index.json +10 -10
  32. data/schemas/tlc/1.2.0/commands/M0022.json +8 -8
  33. data/schemas/tlc/1.2.0/{sxl.yaml → source/sxl.yaml} +76 -76
  34. data/schemas/tlc/1.2.0/statuses/S0033.json +2 -2
  35. data/schemas/tlc/1.2.0/sxl_index.json +10 -10
  36. data/schemas/tlc/1.2.1/commands/M0022.json +8 -8
  37. data/schemas/tlc/1.2.1/{sxl.yaml → source/sxl.yaml} +76 -76
  38. data/schemas/tlc/1.2.1/statuses/S0033.json +2 -2
  39. data/schemas/tlc/1.2.1/sxl_index.json +10 -10
  40. data/schemas/tlc/1.3.0/commands/command_requests.json +0 -16
  41. data/schemas/tlc/1.3.0/{sxl.yaml → source/sxl.yaml} +1 -0
  42. data/schemas/tlc/1.3.0/sxl_index.json +1 -1
  43. metadata +12 -17
  44. data/schemas/tlc/1.0.8/statuses/S0025.json +0 -181
  45. data/schemas/tlc/1.0.9/statuses/S0025.json +0 -181
  46. data/schemas/tlc/1.2.0/statuses/S0018.json +0 -61
  47. data/schemas/tlc/1.2.1/statuses/S0018.json +0 -61
  48. data/schemas/tlc/1.3.0/statuses/S0018.json +0 -61
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.2
4
+ version: 0.48.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin
@@ -496,6 +496,7 @@ files:
496
496
  - schemas/tlc/1.0.10/defs/definitions.json
497
497
  - schemas/tlc/1.0.10/defs/guards.json
498
498
  - schemas/tlc/1.0.10/rsmp.json
499
+ - schemas/tlc/1.0.10/source/sxl.yaml
499
500
  - schemas/tlc/1.0.10/statuses/S0001.json
500
501
  - schemas/tlc/1.0.10/statuses/S0002.json
501
502
  - schemas/tlc/1.0.10/statuses/S0003.json
@@ -526,7 +527,6 @@ files:
526
527
  - schemas/tlc/1.0.10/statuses/S0203.json
527
528
  - schemas/tlc/1.0.10/statuses/S0204.json
528
529
  - schemas/tlc/1.0.10/statuses/statuses.json
529
- - schemas/tlc/1.0.10/sxl.yaml
530
530
  - schemas/tlc/1.0.10/sxl_index.json
531
531
  - schemas/tlc/1.0.13/alarms/A0001.json
532
532
  - schemas/tlc/1.0.13/alarms/A0002.json
@@ -569,6 +569,7 @@ files:
569
569
  - schemas/tlc/1.0.13/defs/definitions.json
570
570
  - schemas/tlc/1.0.13/defs/guards.json
571
571
  - schemas/tlc/1.0.13/rsmp.json
572
+ - schemas/tlc/1.0.13/source/sxl.yaml
572
573
  - schemas/tlc/1.0.13/statuses/S0001.json
573
574
  - schemas/tlc/1.0.13/statuses/S0002.json
574
575
  - schemas/tlc/1.0.13/statuses/S0003.json
@@ -607,7 +608,6 @@ files:
607
608
  - schemas/tlc/1.0.13/statuses/S0203.json
608
609
  - schemas/tlc/1.0.13/statuses/S0204.json
609
610
  - schemas/tlc/1.0.13/statuses/statuses.json
610
- - schemas/tlc/1.0.13/sxl.yaml
611
611
  - schemas/tlc/1.0.13/sxl_index.json
612
612
  - schemas/tlc/1.0.14/alarms/A0001.json
613
613
  - schemas/tlc/1.0.14/alarms/A0002.json
@@ -650,6 +650,7 @@ files:
650
650
  - schemas/tlc/1.0.14/defs/definitions.json
651
651
  - schemas/tlc/1.0.14/defs/guards.json
652
652
  - schemas/tlc/1.0.14/rsmp.json
653
+ - schemas/tlc/1.0.14/source/sxl.yaml
653
654
  - schemas/tlc/1.0.14/statuses/S0001.json
654
655
  - schemas/tlc/1.0.14/statuses/S0002.json
655
656
  - schemas/tlc/1.0.14/statuses/S0003.json
@@ -692,7 +693,6 @@ files:
692
693
  - schemas/tlc/1.0.14/statuses/S0207.json
693
694
  - schemas/tlc/1.0.14/statuses/S0208.json
694
695
  - schemas/tlc/1.0.14/statuses/statuses.json
695
- - schemas/tlc/1.0.14/sxl.yaml
696
696
  - schemas/tlc/1.0.14/sxl_index.json
697
697
  - schemas/tlc/1.0.15/alarms/A0001.json
698
698
  - schemas/tlc/1.0.15/alarms/A0002.json
@@ -738,6 +738,7 @@ files:
738
738
  - schemas/tlc/1.0.15/defs/definitions.json
739
739
  - schemas/tlc/1.0.15/defs/guards.json
740
740
  - schemas/tlc/1.0.15/rsmp.json
741
+ - schemas/tlc/1.0.15/source/sxl.yaml
741
742
  - schemas/tlc/1.0.15/statuses/S0001.json
742
743
  - schemas/tlc/1.0.15/statuses/S0002.json
743
744
  - schemas/tlc/1.0.15/statuses/S0003.json
@@ -784,7 +785,6 @@ files:
784
785
  - schemas/tlc/1.0.15/statuses/S0207.json
785
786
  - schemas/tlc/1.0.15/statuses/S0208.json
786
787
  - schemas/tlc/1.0.15/statuses/statuses.json
787
- - schemas/tlc/1.0.15/sxl.yaml
788
788
  - schemas/tlc/1.0.15/sxl_index.json
789
789
  - schemas/tlc/1.0.7/alarms/A0001.json
790
790
  - schemas/tlc/1.0.7/alarms/A0002.json
@@ -820,6 +820,7 @@ files:
820
820
  - schemas/tlc/1.0.7/defs/definitions.json
821
821
  - schemas/tlc/1.0.7/defs/guards.json
822
822
  - schemas/tlc/1.0.7/rsmp.json
823
+ - schemas/tlc/1.0.7/source/sxl.yaml
823
824
  - schemas/tlc/1.0.7/statuses/S0001.json
824
825
  - schemas/tlc/1.0.7/statuses/S0002.json
825
826
  - schemas/tlc/1.0.7/statuses/S0003.json
@@ -851,7 +852,6 @@ files:
851
852
  - schemas/tlc/1.0.7/statuses/S0203.json
852
853
  - schemas/tlc/1.0.7/statuses/S0204.json
853
854
  - schemas/tlc/1.0.7/statuses/statuses.json
854
- - schemas/tlc/1.0.7/sxl.yaml
855
855
  - schemas/tlc/1.0.7/sxl_index.json
856
856
  - schemas/tlc/1.0.8/alarms/A0001.json
857
857
  - schemas/tlc/1.0.8/alarms/A0002.json
@@ -889,6 +889,7 @@ files:
889
889
  - schemas/tlc/1.0.8/defs/definitions.json
890
890
  - schemas/tlc/1.0.8/defs/guards.json
891
891
  - schemas/tlc/1.0.8/rsmp.json
892
+ - schemas/tlc/1.0.8/source/sxl.yaml
892
893
  - schemas/tlc/1.0.8/statuses/S0001.json
893
894
  - schemas/tlc/1.0.8/statuses/S0002.json
894
895
  - schemas/tlc/1.0.8/statuses/S0003.json
@@ -910,7 +911,6 @@ files:
910
911
  - schemas/tlc/1.0.8/statuses/S0019.json
911
912
  - schemas/tlc/1.0.8/statuses/S0020.json
912
913
  - schemas/tlc/1.0.8/statuses/S0021.json
913
- - schemas/tlc/1.0.8/statuses/S0025.json
914
914
  - schemas/tlc/1.0.8/statuses/S0091.json
915
915
  - schemas/tlc/1.0.8/statuses/S0092.json
916
916
  - schemas/tlc/1.0.8/statuses/S0095.json
@@ -920,7 +920,6 @@ files:
920
920
  - schemas/tlc/1.0.8/statuses/S0203.json
921
921
  - schemas/tlc/1.0.8/statuses/S0204.json
922
922
  - schemas/tlc/1.0.8/statuses/statuses.json
923
- - schemas/tlc/1.0.8/sxl.yaml
924
923
  - schemas/tlc/1.0.8/sxl_index.json
925
924
  - schemas/tlc/1.0.9/alarms/A0001.json
926
925
  - schemas/tlc/1.0.9/alarms/A0002.json
@@ -958,6 +957,7 @@ files:
958
957
  - schemas/tlc/1.0.9/defs/definitions.json
959
958
  - schemas/tlc/1.0.9/defs/guards.json
960
959
  - schemas/tlc/1.0.9/rsmp.json
960
+ - schemas/tlc/1.0.9/source/sxl.yaml
961
961
  - schemas/tlc/1.0.9/statuses/S0001.json
962
962
  - schemas/tlc/1.0.9/statuses/S0002.json
963
963
  - schemas/tlc/1.0.9/statuses/S0003.json
@@ -979,7 +979,6 @@ files:
979
979
  - schemas/tlc/1.0.9/statuses/S0019.json
980
980
  - schemas/tlc/1.0.9/statuses/S0020.json
981
981
  - schemas/tlc/1.0.9/statuses/S0021.json
982
- - schemas/tlc/1.0.9/statuses/S0025.json
983
982
  - schemas/tlc/1.0.9/statuses/S0091.json
984
983
  - schemas/tlc/1.0.9/statuses/S0092.json
985
984
  - schemas/tlc/1.0.9/statuses/S0095.json
@@ -989,7 +988,6 @@ files:
989
988
  - schemas/tlc/1.0.9/statuses/S0203.json
990
989
  - schemas/tlc/1.0.9/statuses/S0204.json
991
990
  - schemas/tlc/1.0.9/statuses/statuses.json
992
- - schemas/tlc/1.0.9/sxl.yaml
993
991
  - schemas/tlc/1.0.9/sxl_index.json
994
992
  - schemas/tlc/1.1.0/alarms/A0001.json
995
993
  - schemas/tlc/1.1.0/alarms/A0002.json
@@ -1039,6 +1037,7 @@ files:
1039
1037
  - schemas/tlc/1.1.0/defs/definitions.json
1040
1038
  - schemas/tlc/1.1.0/defs/guards.json
1041
1039
  - schemas/tlc/1.1.0/rsmp.json
1040
+ - schemas/tlc/1.1.0/source/sxl.yaml
1042
1041
  - schemas/tlc/1.1.0/statuses/S0001.json
1043
1042
  - schemas/tlc/1.1.0/statuses/S0002.json
1044
1043
  - schemas/tlc/1.1.0/statuses/S0003.json
@@ -1088,7 +1087,6 @@ files:
1088
1087
  - schemas/tlc/1.1.0/statuses/S0207.json
1089
1088
  - schemas/tlc/1.1.0/statuses/S0208.json
1090
1089
  - schemas/tlc/1.1.0/statuses/statuses.json
1091
- - schemas/tlc/1.1.0/sxl.yaml
1092
1090
  - schemas/tlc/1.1.0/sxl_index.json
1093
1091
  - schemas/tlc/1.2.0/alarms/A0001.json
1094
1092
  - schemas/tlc/1.2.0/alarms/A0002.json
@@ -1138,6 +1136,7 @@ files:
1138
1136
  - schemas/tlc/1.2.0/defs/definitions.json
1139
1137
  - schemas/tlc/1.2.0/defs/guards.json
1140
1138
  - schemas/tlc/1.2.0/rsmp.json
1139
+ - schemas/tlc/1.2.0/source/sxl.yaml
1141
1140
  - schemas/tlc/1.2.0/statuses/S0001.json
1142
1141
  - schemas/tlc/1.2.0/statuses/S0002.json
1143
1142
  - schemas/tlc/1.2.0/statuses/S0003.json
@@ -1155,7 +1154,6 @@ files:
1155
1154
  - schemas/tlc/1.2.0/statuses/S0015.json
1156
1155
  - schemas/tlc/1.2.0/statuses/S0016.json
1157
1156
  - schemas/tlc/1.2.0/statuses/S0017.json
1158
- - schemas/tlc/1.2.0/statuses/S0018.json
1159
1157
  - schemas/tlc/1.2.0/statuses/S0019.json
1160
1158
  - schemas/tlc/1.2.0/statuses/S0020.json
1161
1159
  - schemas/tlc/1.2.0/statuses/S0021.json
@@ -1188,7 +1186,6 @@ files:
1188
1186
  - schemas/tlc/1.2.0/statuses/S0207.json
1189
1187
  - schemas/tlc/1.2.0/statuses/S0208.json
1190
1188
  - schemas/tlc/1.2.0/statuses/statuses.json
1191
- - schemas/tlc/1.2.0/sxl.yaml
1192
1189
  - schemas/tlc/1.2.0/sxl_index.json
1193
1190
  - schemas/tlc/1.2.1/alarms/A0001.json
1194
1191
  - schemas/tlc/1.2.1/alarms/A0002.json
@@ -1238,6 +1235,7 @@ files:
1238
1235
  - schemas/tlc/1.2.1/defs/definitions.json
1239
1236
  - schemas/tlc/1.2.1/defs/guards.json
1240
1237
  - schemas/tlc/1.2.1/rsmp.json
1238
+ - schemas/tlc/1.2.1/source/sxl.yaml
1241
1239
  - schemas/tlc/1.2.1/statuses/S0001.json
1242
1240
  - schemas/tlc/1.2.1/statuses/S0002.json
1243
1241
  - schemas/tlc/1.2.1/statuses/S0003.json
@@ -1255,7 +1253,6 @@ files:
1255
1253
  - schemas/tlc/1.2.1/statuses/S0015.json
1256
1254
  - schemas/tlc/1.2.1/statuses/S0016.json
1257
1255
  - schemas/tlc/1.2.1/statuses/S0017.json
1258
- - schemas/tlc/1.2.1/statuses/S0018.json
1259
1256
  - schemas/tlc/1.2.1/statuses/S0019.json
1260
1257
  - schemas/tlc/1.2.1/statuses/S0020.json
1261
1258
  - schemas/tlc/1.2.1/statuses/S0021.json
@@ -1288,7 +1285,6 @@ files:
1288
1285
  - schemas/tlc/1.2.1/statuses/S0207.json
1289
1286
  - schemas/tlc/1.2.1/statuses/S0208.json
1290
1287
  - schemas/tlc/1.2.1/statuses/statuses.json
1291
- - schemas/tlc/1.2.1/sxl.yaml
1292
1288
  - schemas/tlc/1.2.1/sxl_index.json
1293
1289
  - schemas/tlc/1.3.0/alarms/A0001.json
1294
1290
  - schemas/tlc/1.3.0/alarms/A0002.json
@@ -1339,6 +1335,7 @@ files:
1339
1335
  - schemas/tlc/1.3.0/defs/definitions.json
1340
1336
  - schemas/tlc/1.3.0/defs/guards.json
1341
1337
  - schemas/tlc/1.3.0/rsmp.json
1338
+ - schemas/tlc/1.3.0/source/sxl.yaml
1342
1339
  - schemas/tlc/1.3.0/statuses/S0001.json
1343
1340
  - schemas/tlc/1.3.0/statuses/S0002.json
1344
1341
  - schemas/tlc/1.3.0/statuses/S0003.json
@@ -1356,7 +1353,6 @@ files:
1356
1353
  - schemas/tlc/1.3.0/statuses/S0015.json
1357
1354
  - schemas/tlc/1.3.0/statuses/S0016.json
1358
1355
  - schemas/tlc/1.3.0/statuses/S0017.json
1359
- - schemas/tlc/1.3.0/statuses/S0018.json
1360
1356
  - schemas/tlc/1.3.0/statuses/S0019.json
1361
1357
  - schemas/tlc/1.3.0/statuses/S0020.json
1362
1358
  - schemas/tlc/1.3.0/statuses/S0021.json
@@ -1389,7 +1385,6 @@ files:
1389
1385
  - schemas/tlc/1.3.0/statuses/S0207.json
1390
1386
  - schemas/tlc/1.3.0/statuses/S0208.json
1391
1387
  - schemas/tlc/1.3.0/statuses/statuses.json
1392
- - schemas/tlc/1.3.0/sxl.yaml
1393
1388
  - schemas/tlc/1.3.0/sxl_index.json
1394
1389
  - schemas/tlc/defs/guards.json
1395
1390
  homepage: https://github.com/rsmp-nordic/rsmp
@@ -1,181 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "description" : "Time-of-Green / Time-of-Red.\nProvides predicted signal timings of green and red for each signal group. Max, min and likely time to green and red.",
5
- "properties" : {
6
- "n" : {
7
- "enum" : [
8
- "ToGConfidence",
9
- "ToRConfidence",
10
- "likelyToGEstimate",
11
- "likelyToREstimate",
12
- "maxToGEstimate",
13
- "maxToREstimate",
14
- "minToGEstimate",
15
- "minToREstimate"
16
- ]
17
- }
18
- }
19
- },
20
- {
21
- "if" : {
22
- "required" : [
23
- "n"
24
- ],
25
- "properties" : {
26
- "n" : {
27
- "const" : "minToGEstimate"
28
- }
29
- }
30
- },
31
- "then" : {
32
- "properties" : {
33
- "s" : {
34
- "description" : "Time stamp for the minimum time for the signal group to go to green. If the signal group is green, it is the minimum time for the next green.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
35
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
36
- }
37
- }
38
- }
39
- },
40
- {
41
- "if" : {
42
- "required" : [
43
- "n"
44
- ],
45
- "properties" : {
46
- "n" : {
47
- "const" : "maxToGEstimate"
48
- }
49
- }
50
- },
51
- "then" : {
52
- "properties" : {
53
- "s" : {
54
- "description" : "Time stamp for the maximum time for the signal group to go to green. If the signal group is green, it is the maximum time for the next green.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
55
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
56
- }
57
- }
58
- }
59
- },
60
- {
61
- "if" : {
62
- "required" : [
63
- "n"
64
- ],
65
- "properties" : {
66
- "n" : {
67
- "const" : "likelyToGEstimate"
68
- }
69
- }
70
- },
71
- "then" : {
72
- "properties" : {
73
- "s" : {
74
- "description" : "Time stamp for the most likely time for the signal group to go to green. If the signal group is green, it is the most likely time for the next green.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
75
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
76
- }
77
- }
78
- }
79
- },
80
- {
81
- "if" : {
82
- "required" : [
83
- "n"
84
- ],
85
- "properties" : {
86
- "n" : {
87
- "const" : "ToGConfidence"
88
- }
89
- }
90
- },
91
- "then" : {
92
- "properties" : {
93
- "s" : {
94
- "description" : "Confidence of the likelyToGEstimate. 0-100%",
95
- "$ref" : "../../../core/3.1.2/definitions.json#/integer"
96
- }
97
- }
98
- }
99
- },
100
- {
101
- "if" : {
102
- "required" : [
103
- "n"
104
- ],
105
- "properties" : {
106
- "n" : {
107
- "const" : "minToREstimate"
108
- }
109
- }
110
- },
111
- "then" : {
112
- "properties" : {
113
- "s" : {
114
- "description" : "Time stamp for the minimum time for the signal group to go to red. If the signal group is red, it is the minimum time for the next red.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
115
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
116
- }
117
- }
118
- }
119
- },
120
- {
121
- "if" : {
122
- "required" : [
123
- "n"
124
- ],
125
- "properties" : {
126
- "n" : {
127
- "const" : "maxToREstimate"
128
- }
129
- }
130
- },
131
- "then" : {
132
- "properties" : {
133
- "s" : {
134
- "description" : "Time stamp for the maximum time for the signal group to go to red. If the signal group is red, it is the maximum time for the next red.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
135
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
136
- }
137
- }
138
- }
139
- },
140
- {
141
- "if" : {
142
- "required" : [
143
- "n"
144
- ],
145
- "properties" : {
146
- "n" : {
147
- "const" : "likelyToREstimate"
148
- }
149
- }
150
- },
151
- "then" : {
152
- "properties" : {
153
- "s" : {
154
- "description" : "Time stamp for the most likely time for the signal group to go to red. If the signal group is red, it is the most likely time for the next red.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
155
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
156
- }
157
- }
158
- }
159
- },
160
- {
161
- "if" : {
162
- "required" : [
163
- "n"
164
- ],
165
- "properties" : {
166
- "n" : {
167
- "const" : "ToRConfidence"
168
- }
169
- }
170
- },
171
- "then" : {
172
- "properties" : {
173
- "s" : {
174
- "description" : "Confidence of the likelyToREstimate. 0-100%",
175
- "$ref" : "../../../core/3.1.2/definitions.json#/integer"
176
- }
177
- }
178
- }
179
- }
180
- ]
181
- }
@@ -1,181 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "description" : "Time-of-Green / Time-of-Red.\nProvides predicted signal timings of green and red for each signal group. Max, min and likely time to green and red.",
5
- "properties" : {
6
- "n" : {
7
- "enum" : [
8
- "ToGConfidence",
9
- "ToRConfidence",
10
- "likelyToGEstimate",
11
- "likelyToREstimate",
12
- "maxToGEstimate",
13
- "maxToREstimate",
14
- "minToGEstimate",
15
- "minToREstimate"
16
- ]
17
- }
18
- }
19
- },
20
- {
21
- "if" : {
22
- "required" : [
23
- "n"
24
- ],
25
- "properties" : {
26
- "n" : {
27
- "const" : "minToGEstimate"
28
- }
29
- }
30
- },
31
- "then" : {
32
- "properties" : {
33
- "s" : {
34
- "description" : "Time stamp for the minimum time for the signal group to go to green. If the signal group is green, it is the minimum time for the next green.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
35
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
36
- }
37
- }
38
- }
39
- },
40
- {
41
- "if" : {
42
- "required" : [
43
- "n"
44
- ],
45
- "properties" : {
46
- "n" : {
47
- "const" : "maxToGEstimate"
48
- }
49
- }
50
- },
51
- "then" : {
52
- "properties" : {
53
- "s" : {
54
- "description" : "Time stamp for the maximum time for the signal group to go to green. If the signal group is green, it is the maximum time for the next green.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
55
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
56
- }
57
- }
58
- }
59
- },
60
- {
61
- "if" : {
62
- "required" : [
63
- "n"
64
- ],
65
- "properties" : {
66
- "n" : {
67
- "const" : "likelyToGEstimate"
68
- }
69
- }
70
- },
71
- "then" : {
72
- "properties" : {
73
- "s" : {
74
- "description" : "Time stamp for the most likely time for the signal group to go to green. If the signal group is green, it is the most likely time for the next green.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
75
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
76
- }
77
- }
78
- }
79
- },
80
- {
81
- "if" : {
82
- "required" : [
83
- "n"
84
- ],
85
- "properties" : {
86
- "n" : {
87
- "const" : "ToGConfidence"
88
- }
89
- }
90
- },
91
- "then" : {
92
- "properties" : {
93
- "s" : {
94
- "description" : "Confidence of the likelyToGEstimate. 0-100%",
95
- "$ref" : "../../../core/3.1.2/definitions.json#/integer"
96
- }
97
- }
98
- }
99
- },
100
- {
101
- "if" : {
102
- "required" : [
103
- "n"
104
- ],
105
- "properties" : {
106
- "n" : {
107
- "const" : "minToREstimate"
108
- }
109
- }
110
- },
111
- "then" : {
112
- "properties" : {
113
- "s" : {
114
- "description" : "Time stamp for the minimum time for the signal group to go to red. If the signal group is red, it is the minimum time for the next red.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
115
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
116
- }
117
- }
118
- }
119
- },
120
- {
121
- "if" : {
122
- "required" : [
123
- "n"
124
- ],
125
- "properties" : {
126
- "n" : {
127
- "const" : "maxToREstimate"
128
- }
129
- }
130
- },
131
- "then" : {
132
- "properties" : {
133
- "s" : {
134
- "description" : "Time stamp for the maximum time for the signal group to go to red. If the signal group is red, it is the maximum time for the next red.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
135
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
136
- }
137
- }
138
- }
139
- },
140
- {
141
- "if" : {
142
- "required" : [
143
- "n"
144
- ],
145
- "properties" : {
146
- "n" : {
147
- "const" : "likelyToREstimate"
148
- }
149
- }
150
- },
151
- "then" : {
152
- "properties" : {
153
- "s" : {
154
- "description" : "Time stamp for the most likely time for the signal group to go to red. If the signal group is red, it is the most likely time for the next red.\nFormat according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z",
155
- "$ref" : "../../../core/3.1.2/definitions.json#/timestamp"
156
- }
157
- }
158
- }
159
- },
160
- {
161
- "if" : {
162
- "required" : [
163
- "n"
164
- ],
165
- "properties" : {
166
- "n" : {
167
- "const" : "ToRConfidence"
168
- }
169
- }
170
- },
171
- "then" : {
172
- "properties" : {
173
- "s" : {
174
- "description" : "Confidence of the likelyToREstimate. 0-100%",
175
- "$ref" : "../../../core/3.1.2/definitions.json#/integer"
176
- }
177
- }
178
- }
179
- }
180
- ]
181
- }
@@ -1,61 +0,0 @@
1
- {
2
- "description" : "Number of time plans\nCan be used for the management system to check the number of time plans configured in the controller.",
3
- "allOf" : [
4
- {
5
- "properties" : {
6
- "n" : {
7
- "enum" : [
8
- "number"
9
- ]
10
- }
11
- }
12
- },
13
- {
14
- "if" : {
15
- "required" : [
16
- "q"
17
- ],
18
- "properties" : {
19
- "q" : {
20
- "const" : "undefined"
21
- }
22
- }
23
- },
24
- "then" : {
25
- "s" : {
26
- "type" : "null"
27
- }
28
- },
29
- "else" : {
30
- "allOf" : [
31
- {
32
- "if" : {
33
- "required" : [
34
- "n"
35
- ],
36
- "properties" : {
37
- "n" : {
38
- "const" : "number"
39
- }
40
- }
41
- },
42
- "then" : {
43
- "properties" : {
44
- "s" : {
45
- "allOf" : [
46
- {
47
- "description" : "Number of time plans (depreciated)"
48
- },
49
- {
50
- "$ref" : "../../../core/3.1.2/definitions.json#/integer"
51
- }
52
- ]
53
- }
54
- }
55
- }
56
- }
57
- ]
58
- }
59
- }
60
- ]
61
- }