rsmp_schema 0.8.4 → 0.8.6
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/core/3.1.2/status_response.json +2 -6
- data/schemas/core/3.1.2/status_update.json +2 -6
- data/schemas/core/3.1.3/status_response.json +22 -26
- data/schemas/core/3.1.3/status_update.json +18 -7
- data/schemas/core/3.2.0/status_response.json +22 -26
- data/schemas/core/3.2.0/status_update.json +16 -5
- 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
- data/sxl_yaml_format.md +237 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ef1bab7d72db34cc48ea2d84a02347969813176b3863f2c4fe389a75f1ad675
|
4
|
+
data.tar.gz: a05f416ef16d617cdd10e880a637fd8055ad94c84fcc542b993b78b8ceb3d3a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306e7c93c4cf1ef11ab4054d8fa977a3136d307db389dbf202f03d6581afe8ae5e1d6f9866811a5cb057e4dc786b2b96bef99fea8087c3a6ccab1b6ef1177916
|
7
|
+
data.tar.gz: 75b6ba3cdadd114544e89515acc1453db3511f95e103bdee96a65268ef6af656412e1bb6debe0f17724987a10dead2e4bacbaa9052f03fb7d9eb310bec322931
|
data/Gemfile.lock
CHANGED
data/lib/rsmp_schema/version.rb
CHANGED
@@ -13,13 +13,9 @@
|
|
13
13
|
"type" : "object",
|
14
14
|
"properties": {
|
15
15
|
"sCI" : { "$ref": "definitions.json#/status_code" },
|
16
|
-
"n" : { "description" : "Value
|
16
|
+
"n" : { "description" : "Value identifier", "type" : "string" },
|
17
17
|
"s" : { "description" : "Value", "type" : "string" },
|
18
|
-
"q" : {
|
19
|
-
"description" : "Quality",
|
20
|
-
"type" : "string",
|
21
|
-
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
22
|
-
}
|
18
|
+
"q" : { "description" : "Quality", "type" : "string", "enum" : [ "recent", "old", "unknown" ] }
|
23
19
|
},
|
24
20
|
"required" : [ "sCI", "n", "s", "q" ],
|
25
21
|
"additionalProperties": false
|
@@ -13,13 +13,9 @@
|
|
13
13
|
"type" : "object",
|
14
14
|
"properties": {
|
15
15
|
"sCI" : { "$ref": "definitions.json#/status_code" },
|
16
|
-
"n" : { "description" : "
|
16
|
+
"n" : { "description" : "Value identifier", "type" : "string" },
|
17
17
|
"s" : { "description" : "Value", "type" : "string" },
|
18
|
-
"q" : {
|
19
|
-
"description" : "Value",
|
20
|
-
"type" : "string",
|
21
|
-
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
22
|
-
}
|
18
|
+
"q" : { "description" : "Quality", "type" : "string", "enum" : [ "recent", "old", "unknown" ] }
|
23
19
|
},
|
24
20
|
"required" : [ "sCI", "n", "s", "q" ],
|
25
21
|
"additionalProperties": false
|
@@ -11,33 +11,29 @@
|
|
11
11
|
"minItems": 1,
|
12
12
|
"items" : {
|
13
13
|
"type" : "object",
|
14
|
-
"
|
15
|
-
{
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"if" : {
|
27
|
-
"required" : [ "q" ],
|
28
|
-
"properties": { "q" : { "const": "undefined" }}
|
29
|
-
},
|
30
|
-
"then" : {
|
31
|
-
"properties": { "s" : { "type": "null" }}
|
32
|
-
},
|
33
|
-
"else" : {
|
34
|
-
"properties": {
|
35
|
-
"s" : { "type" : ["string"] },
|
36
|
-
"q" : { "enum" : [ "recent", "old", "unknown" ] }
|
37
|
-
}
|
38
|
-
}
|
14
|
+
"properties": {
|
15
|
+
"sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
|
16
|
+
"n" : { "description" : "Value identifier", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value"},
|
18
|
+
"q" : { "description" : "Quality", "type" : "string", "enum" : [ "recent", "old", "unknown", "undefined"] }
|
19
|
+
},
|
20
|
+
"if": {
|
21
|
+
"properties": {
|
22
|
+
"q" : { "enum" : ["unknown","undefined"] }
|
39
23
|
}
|
40
|
-
|
24
|
+
},
|
25
|
+
"then": {
|
26
|
+
"properties": {
|
27
|
+
"s" : { "type" : "null" }
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"else": {
|
31
|
+
"properties": {
|
32
|
+
"s" : { "type" : "string" }
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"required" : [ "sCI", "n", "s", "q" ],
|
36
|
+
"additionalProperties": false
|
41
37
|
}
|
42
38
|
}
|
43
39
|
},
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
{
|
2
2
|
"title" : "StatusUpdate",
|
3
3
|
"description" : "Status update",
|
4
4
|
"properties" : {
|
@@ -13,12 +13,23 @@
|
|
13
13
|
"type" : "object",
|
14
14
|
"properties": {
|
15
15
|
"sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
|
16
|
-
"n" : { "description" : "
|
17
|
-
"s" : { "description" : "Value"
|
18
|
-
"q" : {
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
"n" : { "description" : "Value identifier", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value"},
|
18
|
+
"q" : { "description" : "Quality", "type" : "string", "enum" : [ "recent", "old", "unknown", "undefined"] }
|
19
|
+
},
|
20
|
+
"if": {
|
21
|
+
"properties": {
|
22
|
+
"q" : { "enum" : ["unknown","undefined"] }
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"then": {
|
26
|
+
"properties": {
|
27
|
+
"s" : { "type" : "null" }
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"else": {
|
31
|
+
"properties": {
|
32
|
+
"s" : { "type" : "string" }
|
22
33
|
}
|
23
34
|
},
|
24
35
|
"required" : [ "sCI", "n", "s", "q" ],
|
@@ -11,33 +11,29 @@
|
|
11
11
|
"minItems": 1,
|
12
12
|
"items" : {
|
13
13
|
"type" : "object",
|
14
|
-
"
|
15
|
-
{
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"if" : {
|
27
|
-
"required" : [ "q" ],
|
28
|
-
"properties": { "q" : { "const": "undefined" }}
|
29
|
-
},
|
30
|
-
"then" : {
|
31
|
-
"properties": { "s" : { "type": "null" }}
|
32
|
-
},
|
33
|
-
"else" : {
|
34
|
-
"properties": {
|
35
|
-
"s" : { "type" : [ "string", "array" ] },
|
36
|
-
"q" : { "enum" : [ "recent", "old", "unknown" ] }
|
37
|
-
}
|
38
|
-
}
|
14
|
+
"properties": {
|
15
|
+
"sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
|
16
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value"},
|
18
|
+
"q" : { "description" : "Quality", "type" : "string", "enum" : [ "recent", "old", "undefined", "unknown"] }
|
19
|
+
},
|
20
|
+
"if": {
|
21
|
+
"properties": {
|
22
|
+
"q" : { "enum" : ["unknown","undefined"] }
|
39
23
|
}
|
40
|
-
|
24
|
+
},
|
25
|
+
"then": {
|
26
|
+
"properties": {
|
27
|
+
"s" : { "type" : "null" }
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"else": {
|
31
|
+
"properties": {
|
32
|
+
"s" : { "type" : ["string","array"] }
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"required" : [ "sCI", "n", "s", "q" ],
|
36
|
+
"additionalProperties": false
|
41
37
|
}
|
42
38
|
}
|
43
39
|
},
|
@@ -14,11 +14,22 @@
|
|
14
14
|
"properties": {
|
15
15
|
"sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
|
16
16
|
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
17
|
-
"s" : { "description" : "Value"
|
18
|
-
"q" : {
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
"s" : { "description" : "Value"},
|
18
|
+
"q" : { "description" : "Quality", "type" : "string", "enum" : [ "recent", "old", "undefined", "unknown"] }
|
19
|
+
},
|
20
|
+
"if": {
|
21
|
+
"properties": {
|
22
|
+
"q" : { "enum" : ["unknown","undefined"] }
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"then": {
|
26
|
+
"properties": {
|
27
|
+
"s" : { "type" : "null" }
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"else": {
|
31
|
+
"properties": {
|
32
|
+
"s" : { "type" : ["string","array"] }
|
22
33
|
}
|
23
34
|
},
|
24
35
|
"required" : [ "sCI", "n", "s", "q" ],
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"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.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"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.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset 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.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -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. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\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. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset 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.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
data/schemas/tlc/1.0.10/sxl.yaml
CHANGED
@@ -606,7 +606,7 @@ objects:
|
|
606
606
|
1=Order signal group to green
|
607
607
|
0=Order signal group to red
|
608
608
|
|
609
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
609
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
610
610
|
|
611
611
|
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.
|
612
612
|
|
@@ -639,7 +639,7 @@ objects:
|
|
639
639
|
description: |-
|
640
640
|
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. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
641
641
|
|
642
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
642
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
643
643
|
|
644
644
|
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.
|
645
645
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"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.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"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.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset 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.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -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. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\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. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset 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.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
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
|
}
|
@@ -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
|
}
|
data/schemas/tlc/1.0.13/sxl.yaml
CHANGED
@@ -469,7 +469,7 @@ objects:
|
|
469
469
|
Function legend:
|
470
470
|
0=no plan is selected by time table
|
471
471
|
1=set plan 1
|
472
|
-
|
472
|
+
...
|
473
473
|
16= set plan 16
|
474
474
|
|
475
475
|
hour and minute is using local time (not UTC)
|
@@ -735,7 +735,7 @@ objects:
|
|
735
735
|
1=Order signal group to green
|
736
736
|
0=Order signal group to red
|
737
737
|
|
738
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
738
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
739
739
|
|
740
740
|
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.
|
741
741
|
|
@@ -768,7 +768,7 @@ objects:
|
|
768
768
|
description: |-
|
769
769
|
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. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
770
770
|
|
771
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
771
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
772
772
|
|
773
773
|
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.
|
774
774
|
|
@@ -886,7 +886,7 @@ objects:
|
|
886
886
|
Function legend:
|
887
887
|
0=no plan is selected by time table
|
888
888
|
1=set plan 1
|
889
|
-
|
889
|
+
...
|
890
890
|
16= set plan 16
|
891
891
|
|
892
892
|
hour and minute is using local time (not UTC)
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"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.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"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.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset 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.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -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. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\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. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset 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.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
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
|
}
|
@@ -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
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"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
|
72
|
+
"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)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"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
|
72
|
+
"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)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"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
|
72
|
+
"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)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"then" : {
|
78
78
|
"properties" : {
|
79
79
|
"s" : {
|
80
|
-
"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
|
80
|
+
"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)",
|
81
81
|
"type" : "string"
|
82
82
|
}
|
83
83
|
}
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"then" : {
|
98
98
|
"properties" : {
|
99
99
|
"s" : {
|
100
|
-
"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
|
100
|
+
"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)",
|
101
101
|
"type" : "string"
|
102
102
|
}
|
103
103
|
}
|
@@ -117,7 +117,7 @@
|
|
117
117
|
"then" : {
|
118
118
|
"properties" : {
|
119
119
|
"s" : {
|
120
|
-
"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
|
120
|
+
"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)",
|
121
121
|
"type" : "string"
|
122
122
|
}
|
123
123
|
}
|
@@ -137,7 +137,7 @@
|
|
137
137
|
"then" : {
|
138
138
|
"properties" : {
|
139
139
|
"s" : {
|
140
|
-
"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
|
140
|
+
"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)",
|
141
141
|
"type" : "string"
|
142
142
|
}
|
143
143
|
}
|
@@ -157,7 +157,7 @@
|
|
157
157
|
"then" : {
|
158
158
|
"properties" : {
|
159
159
|
"s" : {
|
160
|
-
"description" : "Number of busses.\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 busses.\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
|
"type" : "string"
|
162
162
|
}
|
163
163
|
}
|
@@ -177,7 +177,7 @@
|
|
177
177
|
"then" : {
|
178
178
|
"properties" : {
|
179
179
|
"s" : {
|
180
|
-
"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
|
180
|
+
"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)",
|
181
181
|
"type" : "string"
|
182
182
|
}
|
183
183
|
}
|
@@ -197,7 +197,7 @@
|
|
197
197
|
"then" : {
|
198
198
|
"properties" : {
|
199
199
|
"s" : {
|
200
|
-
"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
|
200
|
+
"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)",
|
201
201
|
"type" : "string"
|
202
202
|
}
|
203
203
|
}
|
@@ -217,7 +217,7 @@
|
|
217
217
|
"then" : {
|
218
218
|
"properties" : {
|
219
219
|
"s" : {
|
220
|
-
"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
|
220
|
+
"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)",
|
221
221
|
"type" : "string"
|
222
222
|
}
|
223
223
|
}
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"then" : {
|
238
238
|
"properties" : {
|
239
239
|
"s" : {
|
240
|
-
"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
|
240
|
+
"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)",
|
241
241
|
"type" : "string"
|
242
242
|
}
|
243
243
|
}
|