rsmp_schema 0.8.3 → 0.8.5
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/core/3.1.2/aggregated_status.json +1 -1
- data/schemas/core/3.1.3/aggregated_status.json +25 -0
- data/schemas/core/3.1.3/rsmp.json +1 -1
- data/schemas/core/3.1.4/alarm.json +65 -0
- data/schemas/core/3.1.4/rsmp.json +122 -1
- data/schemas/core/3.1.5/alarm.json +3 -5
- data/schemas/core/3.1.5/rsmp.json +1 -1
- data/schemas/core/3.2.0/rsmp.json +1 -1
- data/schemas/core/3.2.1/rsmp.json +1 -1
- data/schemas/core/3.2.2/rsmp.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.10/sxl.yaml +2 -2
- data/schemas/tlc/1.0.13/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.13/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.13/sxl.yaml +4 -4
- data/schemas/tlc/1.0.14/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.14/sxl.yaml +16 -16
- data/schemas/tlc/1.0.15/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.15/sxl.yaml +16 -16
- data/schemas/tlc/1.0.8/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.8/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.8/sxl.yaml +2 -2
- data/schemas/tlc/1.0.9/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.9/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.9/sxl.yaml +2 -2
- data/schemas/tlc/1.1.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.1.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.1.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.1.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.1.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.1/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.1/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.1/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.1/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.1/sxl.yaml +70 -70
- metadata +5 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Activate a series of inputs\n\nSet given inputs (1-255) of the controllers general purpose I/O to either true or false. This command was introduced due to coordination requirements needing to set many inputs to true/false at the same time and M0006 being to slow to send a message for each input individually. With this command many inputs can be set to true/false at the same time using a single command message. It can be used for all types of input where the traffic light controller must react to external control. Typical usages are bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.\n\nThe parameter
|
2
|
+
"description" : "Activate a series of inputs\n\nSet given inputs (1-255) of the controllers general purpose I/O to either true or false. This command was introduced due to coordination requirements needing to set many inputs to true/false at the same time and M0006 being to slow to send a message for each input individually. With this command many inputs can be set to true/false at the same time using a single command message. It can be used for all types of input where the traffic light controller must react to external control. Typical usages are bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.\n\nThe parameter 'status' sets/unsets a block of 16 inputs at a time. It can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Format: [Offset];[Bits to set];[Bits to unset];...\n\n- 'Offset' defines where the 16 inputs starts from\n- 'Bits to set' defines which bit(s) to set. '0' if unused\n- 'Bits to unset' defines which bit(s) to unset. '0' if unused\n\nExample 1:\n\"3,4134,65\" sets input 4,5,8,15 and unsets 3,9\n- Input starts from no. 5\n- \"4134\" is 1 0000 0010 0110 in binary, but since input starts from 3, it is shifted 3 bits, e.g. 1000 0001 0011 0000 which are bits 4,5,8,15\n- \"65\" is 100 0001 in binary, but since input starts from 3, it is shifted 3 bits, e.g. 10 0000 1000 which are bits 3,9\n\nExample 2:\n\"12,1,4\" sets input 12 and unsets 14\n- Input starts from no. 12\n- \"1\" is 1 in binary, but since input starts at 12 it is shifted 12 bits, e.g. 1 0000 0000 0000, which is bit 12\n- \"4\" is 100 in binary, but since input starts at 12 it is shifted 12 bits, e.g. 100 0000 0000 0000, which is bit 14\n\nAnd both these examples could be sent in the same message as: \"3,4143,65;12,1,4\"\n\nSuch a message would set input 4,5,8,12,15 and unset input 3,9,14\n\nExample 3:\n\"0,1,2\" sets input 0 and unsets 1\n- Input starts from 0\n- \"1\" is 1 in binary, which is bit 0\n- \"2\" is 10 in binary, which is bit 1",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon.\nFormat: [Offset];[Bits to set];[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon.\nFormat: [Offset];[Bits to set];[Bits to unset];...",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
49
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma.\n\nE.g.\nt-o-h-m,t-o-h-m",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Request Signal Priority\n\nUseful for bus priority or other type of priorities like emergency vehicles or groups of cyclists.\n\nThe benefit of using this message over activating inputs or detector logics is that you can specify a priority level, vehicle type and estimated time of arrival. You can also update or cancel the request, and use the corresponding status message to track the status of the request, including how much priority was actually given.\n\nTo understand how this command relates to ETSI/J2735, please see the [wiki](https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights/wiki/Signal-priority-and-ETSI-J2735).\n\nActivating signal priority is expected to provide more green time for a particular movement through the intersection, but the exact mechanism must typically be configured in the controller.\n\nThe movement to prioritize can be referenced in a number of ways, depending on what is configured in the controller, and in the system that sends priority requests. Either:\n\n- Reference a signal group by setting
|
2
|
+
"description" : "Request Signal Priority\n\nUseful for bus priority or other type of priorities like emergency vehicles or groups of cyclists.\n\nThe benefit of using this message over activating inputs or detector logics is that you can specify a priority level, vehicle type and estimated time of arrival. You can also update or cancel the request, and use the corresponding status message to track the status of the request, including how much priority was actually given.\n\nTo understand how this command relates to ETSI/J2735, please see the [wiki](https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights/wiki/Signal-priority-and-ETSI-J2735).\n\nActivating signal priority is expected to provide more green time for a particular movement through the intersection, but the exact mechanism must typically be configured in the controller.\n\nThe movement to prioritize can be referenced in a number of ways, depending on what is configured in the controller, and in the system that sends priority requests. Either:\n\n- Reference a signal group by setting 'signalGroupId'. This method is simple, but will not allow you to have different priority mechanism for the same signal group, unless they can be distinguished by the vehicle type. For example, if you need to trigger different priorities depending on whether a bus goes straight or makes a turn for the same signal group, you need to use of the other referencing methods.\n- Reference an input by setting 'inputId'. This can be useful if you previously used inputs to activate priority. The input will not be activated, only the priority.\n- Reference a connection by setting 'connectionId'. A connection is a movement from a specific ingoing lane to a specific outgoing lane.\n- Reference an intersection approach by setting 'approachId'.\n- Reference an ingoing lane by setting 'laneInId', and optionally also reference an outgoing lane by setting 'laneOutId'.\n\nReferencing attributes that are not used must be left out, rather than set to null or empty strings. This includes:\n\n- signalGroupId\n- inputId\n- connectionId\n- approachId\n- laneInId\n- laneOutId\n\nReferencing attributes are only used when initiating a request. When updating or cancelling the request, the request is identified by its requestId, and no referencing attributes are allowed.\n\nYou initiate a priority request with type set to 'new'. You must provide a request id that uniquely identifies the request on the controller. It can be a randomly generated UUID (universally unique identifier), or it can be constructed by combining e.g. a vehicle id and some other identifier. When updating or cancelling a request, you must pass the same request id again.\n\nProviding ETA (estimated time of arrival) when initiating a request is optional, but can help the controller plan ahead in cases where you're able to send the request before the vehicle arrives at the intersection. You're allowed to initiate the request without an ETA and provide it in a later request update. But providing the ETA when initiating the request is recommended, since it will give the controller more time to plan ahead.\n\nLike ETA, providing a vehicle type is optional, but can help the controller decide how to best handle the request.\n\nThe priority level provides a way to indicate the relative importance of the request compared to other requests. For example, emergency vehicles or delayed buses could be given a higher priority level.\n\nIf the ETA changes before the priority is cancelled, or you want to change the priority level, you can send another request message with type set to 'update'. The vehicle type cannot be changed.\n\nWhen you send a priority request, it will be processed to decide if it's possible to activate the requested priority.\n\nIf the request is accepted, the priority can either be activated immediately, or if another priority is currently active, it can be queued for later activation.\n\nIf the priority cannot be accepted the request is rejected. Cooldown is a specific type of rejection, which means that s similar request has just completed, and some time needs to pass before a similar request can be activated.\n\nWhen a request is queued, it is expected to become activated later, but in case too long passes without activation, the controller is expected to time out the request.\n\nOnce a priority is activated, you're excepted to cancel it as soon as there's no need for it anymore, typically when the vehicle has passed the intersection. You cancel a request by sending a request passing the existing request id setting the type to 'cancel'.\n\nIf a request is never cancelled, the controller is expected to remove the priority at some point, but until then the priority might block requests in other direction which is why you should always cancel a priority when it's not needed anymore.",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"s" : {
|
69
69
|
"allOf" : [
|
70
70
|
{
|
71
|
-
"description" : "Cycle counter.\nUsed for handling of coordination between TLC
|
71
|
+
"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."
|
72
72
|
},
|
73
73
|
{
|
74
74
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"s" : {
|
95
95
|
"allOf" : [
|
96
96
|
{
|
97
|
-
"description" : "Base cycle counter.\nUsed for handling of coordination between TLC
|
97
|
+
"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."
|
98
98
|
},
|
99
99
|
{
|
100
100
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"s" : {
|
46
46
|
"allOf" : [
|
47
47
|
{
|
48
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
48
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
49
49
|
},
|
50
50
|
{
|
51
51
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"s" : {
|
46
46
|
"allOf" : [
|
47
47
|
{
|
48
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
48
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
49
49
|
},
|
50
50
|
{
|
51
51
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"then" : {
|
43
43
|
"properties" : {
|
44
44
|
"s" : {
|
45
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
45
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma\n\nE.g.\nt-o-h-m,t-o-h-m",
|
46
46
|
"type" : "string"
|
47
47
|
}
|
48
48
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"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.
|
2
|
+
"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\"",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Signal Priority Status\nThis status can be used to get updates about priority requests. For example, you can use it to know when priority requests are activated or cancelled.\nA list of priorities is returned, referred to by their request ids. The same request id can appear only once.\nAll priorities are included in the list (not only the ones that have changed state since the last update). This is done regardless of whether the status is send in respond to a status request, or due to a status subscription, and also regardless of whether a status subscription uses an update interval, or send-on-change, or both.\nIf you subscribe using an update interval, you
|
2
|
+
"description" : "Signal Priority Status\nThis status can be used to get updates about priority requests. For example, you can use it to know when priority requests are activated or cancelled.\nA list of priorities is returned, referred to by their request ids. The same request id can appear only once.\nAll priorities are included in the list (not only the ones that have changed state since the last update). This is done regardless of whether the status is send in respond to a status request, or due to a status subscription, and also regardless of whether a status subscription uses an update interval, or send-on-change, or both.\nIf you subscribe using an update interval, you're not guaranteed to get all intermediate states. To guarantee that, send-on-change must be used when subscribing.\nTo understand how this status relates to ETSI/J2735, please see the [wiki](https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights/wiki/Signal-priority-and-ETSI-J2735).\nAll priorities are send on every status update, regardless of whether an interval, or sendOnChange (or both) is used.\nWhen a priority reaches an end states (completed, timeout, rejected, cooldown or stale), it must be sent once on the next status update, then removed from the list.\nA request always starts in the 'received' state. The following table shows the possible state transitions:\n\nState | Possible next states\n---------- | -------------------------------------\nreceived | queued, activated, rejected, cooldown\nqueued | activated, timeout\nactivated | completed, stale\ncompleted |\ntimeout |\nrejected |\ncooldown |\nstale |",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -84,7 +84,7 @@
|
|
84
84
|
"e" : {
|
85
85
|
"allOf" : [
|
86
86
|
{
|
87
|
-
"description" : "Estimated green extension provided by the priority, in seconds\nOnly used when state is
|
87
|
+
"description" : "Estimated green extension provided by the priority, in seconds\nOnly used when state is 'completed'."
|
88
88
|
},
|
89
89
|
{
|
90
90
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"d" : {
|
95
95
|
"allOf" : [
|
96
96
|
{
|
97
|
-
"description" : "Estimated red reduction provided by the priority, in seconds\nOnly used when state is
|
97
|
+
"description" : "Estimated red reduction provided by the priority, in seconds\nOnly used when state is 'completed'."
|
98
98
|
},
|
99
99
|
{
|
100
100
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"s" : {
|
72
72
|
"allOf" : [
|
73
73
|
{
|
74
|
-
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
74
|
+
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"s" : {
|
72
72
|
"allOf" : [
|
73
73
|
{
|
74
|
-
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
74
|
+
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"s" : {
|
72
72
|
"allOf" : [
|
73
73
|
{
|
74
|
-
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
74
|
+
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -79,7 +79,7 @@
|
|
79
79
|
"s" : {
|
80
80
|
"allOf" : [
|
81
81
|
{
|
82
|
-
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
82
|
+
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
83
83
|
},
|
84
84
|
{
|
85
85
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -105,7 +105,7 @@
|
|
105
105
|
"s" : {
|
106
106
|
"allOf" : [
|
107
107
|
{
|
108
|
-
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
108
|
+
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -131,7 +131,7 @@
|
|
131
131
|
"s" : {
|
132
132
|
"allOf" : [
|
133
133
|
{
|
134
|
-
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
134
|
+
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
135
135
|
},
|
136
136
|
{
|
137
137
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -157,7 +157,7 @@
|
|
157
157
|
"s" : {
|
158
158
|
"allOf" : [
|
159
159
|
{
|
160
|
-
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
160
|
+
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
161
161
|
},
|
162
162
|
{
|
163
163
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -183,7 +183,7 @@
|
|
183
183
|
"s" : {
|
184
184
|
"allOf" : [
|
185
185
|
{
|
186
|
-
"description" : "Number of buses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
186
|
+
"description" : "Number of buses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
187
187
|
},
|
188
188
|
{
|
189
189
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -209,7 +209,7 @@
|
|
209
209
|
"s" : {
|
210
210
|
"allOf" : [
|
211
211
|
{
|
212
|
-
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
212
|
+
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
213
213
|
},
|
214
214
|
{
|
215
215
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -235,7 +235,7 @@
|
|
235
235
|
"s" : {
|
236
236
|
"allOf" : [
|
237
237
|
{
|
238
|
-
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
238
|
+
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
239
239
|
},
|
240
240
|
{
|
241
241
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -261,7 +261,7 @@
|
|
261
261
|
"s" : {
|
262
262
|
"allOf" : [
|
263
263
|
{
|
264
|
-
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
264
|
+
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
265
265
|
},
|
266
266
|
{
|
267
267
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -287,7 +287,7 @@
|
|
287
287
|
"s" : {
|
288
288
|
"allOf" : [
|
289
289
|
{
|
290
|
-
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
290
|
+
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
291
291
|
},
|
292
292
|
{
|
293
293
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|