rsmp_schemer 0.2.0 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/Gemfile.lock +5 -5
  4. data/lib/rsmp_schemer/schemer.rb +24 -15
  5. data/lib/rsmp_schemer/version.rb +1 -1
  6. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0301.json +1 -1
  7. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0302.json +1 -1
  8. data/schemas/tlc_1.0.10/schema/tlc/commands/M0002.json +1 -1
  9. data/schemas/tlc_1.0.10/schema/tlc/commands/M0003.json +1 -1
  10. data/schemas/tlc_1.0.10/schema/tlc/commands/M0004.json +1 -1
  11. data/schemas/tlc_1.0.10/schema/tlc/commands/M0005.json +1 -1
  12. data/schemas/tlc_1.0.10/schema/tlc/commands/M0006.json +1 -1
  13. data/schemas/tlc_1.0.10/schema/tlc/commands/M0007.json +1 -1
  14. data/schemas/tlc_1.0.10/schema/tlc/commands/M0008.json +2 -2
  15. data/schemas/tlc_1.0.10/schema/tlc/commands/M0010.json +1 -1
  16. data/schemas/tlc_1.0.10/schema/tlc/commands/M0011.json +1 -1
  17. data/schemas/tlc_1.0.10/schema/tlc/commands/M0019.json +100 -0
  18. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0001.json +1 -1
  19. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0005.json +1 -1
  20. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0006.json +1 -1
  21. data/schemas/tlc_1.0.10/schema/tlc/statuses/statuses.json +1 -257
  22. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0301.json +1 -1
  23. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0302.json +1 -1
  24. data/schemas/tlc_1.0.13/schema/tlc/commands/M0002.json +1 -1
  25. data/schemas/tlc_1.0.13/schema/tlc/commands/M0003.json +1 -1
  26. data/schemas/tlc_1.0.13/schema/tlc/commands/M0004.json +1 -1
  27. data/schemas/tlc_1.0.13/schema/tlc/commands/M0005.json +1 -1
  28. data/schemas/tlc_1.0.13/schema/tlc/commands/M0006.json +1 -1
  29. data/schemas/tlc_1.0.13/schema/tlc/commands/M0007.json +1 -1
  30. data/schemas/tlc_1.0.13/schema/tlc/commands/M0008.json +2 -2
  31. data/schemas/tlc_1.0.13/schema/tlc/commands/M0010.json +1 -1
  32. data/schemas/tlc_1.0.13/schema/tlc/commands/M0011.json +1 -1
  33. data/schemas/tlc_1.0.13/schema/tlc/commands/M0019.json +2 -2
  34. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0001.json +1 -1
  35. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0005.json +1 -1
  36. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0006.json +1 -1
  37. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0023.json +1 -1
  38. data/schemas/tlc_1.0.13/schema/tlc/statuses/statuses.json +1 -99
  39. data/schemas/tlc_1.0.13/spec/tlc/S0023_spec.rb +96 -0
  40. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0301.json +1 -1
  41. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0302.json +1 -1
  42. data/schemas/tlc_1.0.14/schema/tlc/commands/M0002.json +1 -1
  43. data/schemas/tlc_1.0.14/schema/tlc/commands/M0003.json +1 -1
  44. data/schemas/tlc_1.0.14/schema/tlc/commands/M0004.json +1 -1
  45. data/schemas/tlc_1.0.14/schema/tlc/commands/M0005.json +1 -1
  46. data/schemas/tlc_1.0.14/schema/tlc/commands/M0006.json +1 -1
  47. data/schemas/tlc_1.0.14/schema/tlc/commands/M0007.json +1 -1
  48. data/schemas/tlc_1.0.14/schema/tlc/commands/M0008.json +2 -2
  49. data/schemas/tlc_1.0.14/schema/tlc/commands/M0010.json +1 -1
  50. data/schemas/tlc_1.0.14/schema/tlc/commands/M0011.json +1 -1
  51. data/schemas/tlc_1.0.14/schema/tlc/commands/M0019.json +2 -2
  52. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0001.json +1 -1
  53. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0005.json +1 -1
  54. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0006.json +1 -1
  55. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0023.json +1 -1
  56. data/schemas/tlc_1.0.14/schema/tlc/statuses/statuses.json +0 -34
  57. data/schemas/tlc_1.0.14/spec/tlc/S0023_spec.rb +96 -0
  58. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +1 -1
  59. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +1 -1
  60. data/schemas/tlc_1.0.15/spec/tlc/S0023_spec.rb +96 -0
  61. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0301.json +1 -1
  62. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0302.json +1 -1
  63. data/schemas/tlc_1.0.7/schema/tlc/commands/M0002.json +1 -1
  64. data/schemas/tlc_1.0.7/schema/tlc/commands/M0003.json +1 -1
  65. data/schemas/tlc_1.0.7/schema/tlc/commands/M0004.json +1 -1
  66. data/schemas/tlc_1.0.7/schema/tlc/commands/M0005.json +1 -1
  67. data/schemas/tlc_1.0.7/schema/tlc/commands/M0006.json +1 -1
  68. data/schemas/tlc_1.0.7/schema/tlc/commands/M0007.json +1 -1
  69. data/schemas/tlc_1.0.7/schema/tlc/commands/M0008.json +2 -2
  70. data/schemas/tlc_1.0.7/schema/tlc/commands/M0010.json +1 -1
  71. data/schemas/tlc_1.0.7/schema/tlc/commands/M0011.json +1 -1
  72. data/schemas/tlc_1.0.7/schema/tlc/commands/M0019.json +100 -0
  73. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0001.json +1 -1
  74. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0005.json +1 -1
  75. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0006.json +1 -1
  76. data/schemas/tlc_1.0.7/schema/tlc/statuses/statuses.json +1 -77
  77. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0301.json +1 -1
  78. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0302.json +1 -1
  79. data/schemas/tlc_1.0.8/schema/tlc/commands/M0002.json +1 -1
  80. data/schemas/tlc_1.0.8/schema/tlc/commands/M0003.json +1 -1
  81. data/schemas/tlc_1.0.8/schema/tlc/commands/M0004.json +1 -1
  82. data/schemas/tlc_1.0.8/schema/tlc/commands/M0005.json +1 -1
  83. data/schemas/tlc_1.0.8/schema/tlc/commands/M0006.json +1 -1
  84. data/schemas/tlc_1.0.8/schema/tlc/commands/M0007.json +1 -1
  85. data/schemas/tlc_1.0.8/schema/tlc/commands/M0008.json +2 -2
  86. data/schemas/tlc_1.0.8/schema/tlc/commands/M0010.json +1 -1
  87. data/schemas/tlc_1.0.8/schema/tlc/commands/M0011.json +1 -1
  88. data/schemas/tlc_1.0.8/schema/tlc/commands/M0019.json +100 -0
  89. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0001.json +1 -1
  90. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0005.json +1 -1
  91. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0006.json +1 -1
  92. data/schemas/tlc_1.0.8/schema/tlc/statuses/statuses.json +1 -77
  93. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0301.json +1 -1
  94. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0302.json +1 -1
  95. data/schemas/tlc_1.0.9/schema/tlc/commands/M0002.json +1 -1
  96. data/schemas/tlc_1.0.9/schema/tlc/commands/M0003.json +1 -1
  97. data/schemas/tlc_1.0.9/schema/tlc/commands/M0004.json +1 -1
  98. data/schemas/tlc_1.0.9/schema/tlc/commands/M0005.json +1 -1
  99. data/schemas/tlc_1.0.9/schema/tlc/commands/M0006.json +1 -1
  100. data/schemas/tlc_1.0.9/schema/tlc/commands/M0007.json +1 -1
  101. data/schemas/tlc_1.0.9/schema/tlc/commands/M0008.json +2 -2
  102. data/schemas/tlc_1.0.9/schema/tlc/commands/M0010.json +1 -1
  103. data/schemas/tlc_1.0.9/schema/tlc/commands/M0011.json +1 -1
  104. data/schemas/tlc_1.0.9/schema/tlc/commands/M0019.json +100 -0
  105. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0001.json +1 -1
  106. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0005.json +1 -1
  107. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0006.json +1 -1
  108. data/schemas/tlc_1.0.9/schema/tlc/statuses/statuses.json +1 -77
  109. metadata +10 -3
@@ -29,7 +29,7 @@
29
29
  "properties" : {
30
30
  "v" : {
31
31
  "description" : "False: No command (default)\nTrue: Order a signal group to green",
32
- "type" : "boolean"
32
+ "$ref" : "../../core/definitions.json#/boolean"
33
33
  }
34
34
  }
35
35
  }
@@ -29,7 +29,7 @@
29
29
  "properties" : {
30
30
  "v" : {
31
31
  "description" : "False: No command (default)\nTrue: Order a signal group to red",
32
- "type" : "boolean"
32
+ "$ref" : "../../core/definitions.json#/boolean"
33
33
  }
34
34
  }
35
35
  }
@@ -0,0 +1,100 @@
1
+ {
2
+ "allOf" : [
3
+ {
4
+ "description" : "Force input\n\nForce a given input (1-255) of the controllers general purpose I/O to either True or False. Can be used for all types of input where the traffic light controller must react to external control.\n\nCan be used for bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.",
5
+ "properties" : {
6
+ "n" : {
7
+ "enum" : [
8
+ "input",
9
+ "inputValue",
10
+ "securityCode",
11
+ "status"
12
+ ]
13
+ },
14
+ "cO" : {
15
+ "const" : "setInput"
16
+ }
17
+ }
18
+ },
19
+ {
20
+ "if" : {
21
+ "required" : [
22
+ "n"
23
+ ],
24
+ "properties" : {
25
+ "n" : {
26
+ "const" : "status"
27
+ }
28
+ }
29
+ },
30
+ "then" : {
31
+ "properties" : {
32
+ "v" : {
33
+ "description" : "False: Force input\nTrue: Release input",
34
+ "$ref" : "../../core/definitions.json#/boolean"
35
+ }
36
+ }
37
+ }
38
+ },
39
+ {
40
+ "if" : {
41
+ "required" : [
42
+ "n"
43
+ ],
44
+ "properties" : {
45
+ "n" : {
46
+ "const" : "securityCode"
47
+ }
48
+ }
49
+ },
50
+ "then" : {
51
+ "properties" : {
52
+ "v" : {
53
+ "description" : "Security code 2",
54
+ "type" : "string"
55
+ }
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "if" : {
61
+ "required" : [
62
+ "n"
63
+ ],
64
+ "properties" : {
65
+ "n" : {
66
+ "const" : "input"
67
+ }
68
+ }
69
+ },
70
+ "then" : {
71
+ "properties" : {
72
+ "v" : {
73
+ "description" : "Number of Input",
74
+ "$ref" : "../../core/definitions.json#/integer"
75
+ }
76
+ }
77
+ }
78
+ },
79
+ {
80
+ "if" : {
81
+ "required" : [
82
+ "n"
83
+ ],
84
+ "properties" : {
85
+ "n" : {
86
+ "const" : "inputValue"
87
+ }
88
+ }
89
+ },
90
+ "then" : {
91
+ "properties" : {
92
+ "v" : {
93
+ "description" : "False: input forced to False\nTrue: input forced to True",
94
+ "$ref" : "../../core/definitions.json#/boolean"
95
+ }
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ }
@@ -29,7 +29,7 @@
29
29
  "s" : {
30
30
  "description" : "Signal group status as text field",
31
31
  "type" : "string",
32
- "pattern" : "^[a-hA-G0-9N-P]+$"
32
+ "pattern" : "^[a-hA-G0-9N-P]*$"
33
33
  }
34
34
  }
35
35
  }
@@ -25,7 +25,7 @@
25
25
  "properties" : {
26
26
  "s" : {
27
27
  "description" : "False: Controller is not in start up mode\nTrue: Controller is currently in start up mode",
28
- "type" : "boolean"
28
+ "$ref" : "../../core/definitions.json#/boolean"
29
29
  }
30
30
  }
31
31
  }
@@ -26,7 +26,7 @@
26
26
  "properties" : {
27
27
  "s" : {
28
28
  "description" : "False: Emergency stage inactive\nTrue: Emergency stage active",
29
- "type" : "boolean"
29
+ "$ref" : "../../core/definitions.json#/boolean"
30
30
  }
31
31
  }
32
32
  }
@@ -28,30 +28,14 @@
28
28
  "S0019",
29
29
  "S0020",
30
30
  "S0021",
31
- "S0022",
32
- "S0023",
33
- "S0024",
34
- "S0025",
35
- "S0026",
36
- "S0027",
37
- "S0028",
38
- "S0029",
39
- "S0030",
40
- "S0031",
41
31
  "S0091",
42
32
  "S0092",
43
33
  "S0095",
44
34
  "S0096",
45
- "S0097",
46
- "S0098",
47
35
  "S0201",
48
36
  "S0202",
49
37
  "S0203",
50
- "S0204",
51
- "S0205",
52
- "S0206",
53
- "S0207",
54
- "S0208"
38
+ "S0204"
55
39
  ]
56
40
  }
57
41
  }
@@ -670,66 +654,6 @@
670
654
  "then" : {
671
655
  "$ref" : "S0204.json"
672
656
  }
673
- },
674
- {
675
- "if" : {
676
- "required" : [
677
- "sCI"
678
- ],
679
- "properties" : {
680
- "sCI" : {
681
- "const" : "S0205"
682
- }
683
- }
684
- },
685
- "then" : {
686
- "$ref" : "S0205.json"
687
- }
688
- },
689
- {
690
- "if" : {
691
- "required" : [
692
- "sCI"
693
- ],
694
- "properties" : {
695
- "sCI" : {
696
- "const" : "S0206"
697
- }
698
- }
699
- },
700
- "then" : {
701
- "$ref" : "S0206.json"
702
- }
703
- },
704
- {
705
- "if" : {
706
- "required" : [
707
- "sCI"
708
- ],
709
- "properties" : {
710
- "sCI" : {
711
- "const" : "S0207"
712
- }
713
- }
714
- },
715
- "then" : {
716
- "$ref" : "S0207.json"
717
- }
718
- },
719
- {
720
- "if" : {
721
- "required" : [
722
- "sCI"
723
- ],
724
- "properties" : {
725
- "sCI" : {
726
- "const" : "S0208"
727
- }
728
- }
729
- },
730
- "then" : {
731
- "$ref" : "S0208.json"
732
- }
733
657
  }
734
658
  ]
735
659
  }
@@ -96,7 +96,7 @@
96
96
  "properties" : {
97
97
  "v" : {
98
98
  "description" : "Manually controlled detector logic (True/False)",
99
- "type" : "boolean"
99
+ "$ref" : "../../core/definitions.json#/boolean"
100
100
  }
101
101
  }
102
102
  }
@@ -97,7 +97,7 @@
97
97
  "properties" : {
98
98
  "v" : {
99
99
  "description" : "Manually controlled detector logic (True/False)",
100
- "type" : "boolean"
100
+ "$ref" : "../../core/definitions.json#/boolean"
101
101
  }
102
102
  }
103
103
  }
@@ -30,7 +30,7 @@
30
30
  "properties" : {
31
31
  "v" : {
32
32
  "description" : "False: Controller uses time plan according to programming\nTrue: Controller uses time plan according to command",
33
- "type" : "boolean"
33
+ "$ref" : "../../core/definitions.json#/boolean"
34
34
  }
35
35
  }
36
36
  }
@@ -30,7 +30,7 @@
30
30
  "properties" : {
31
31
  "v" : {
32
32
  "description" : "False: Controller uses traffic situation according to own programming\nTrue: Controller uses traffic situation according to command",
33
- "type" : "boolean"
33
+ "$ref" : "../../core/definitions.json#/boolean"
34
34
  }
35
35
  }
36
36
  }
@@ -29,7 +29,7 @@
29
29
  "properties" : {
30
30
  "v" : {
31
31
  "description" : "True: Restart controller",
32
- "type" : "boolean"
32
+ "$ref" : "../../core/definitions.json#/boolean"
33
33
  }
34
34
  }
35
35
  }
@@ -30,7 +30,7 @@
30
30
  "properties" : {
31
31
  "v" : {
32
32
  "description" : "False: Activate emergency route\nTrue: Deactivate emergency route",
33
- "type" : "boolean"
33
+ "$ref" : "../../core/definitions.json#/boolean"
34
34
  }
35
35
  }
36
36
  }
@@ -30,7 +30,7 @@
30
30
  "properties" : {
31
31
  "v" : {
32
32
  "description" : "False: Deactivate input\nTrue: Activate input",
33
- "type" : "boolean"
33
+ "$ref" : "../../core/definitions.json#/boolean"
34
34
  }
35
35
  }
36
36
  }
@@ -29,7 +29,7 @@
29
29
  "properties" : {
30
30
  "v" : {
31
31
  "description" : "False: Deactivate fixed time control\nTrue: Activate fixed time control",
32
- "type" : "boolean"
32
+ "$ref" : "../../core/definitions.json#/boolean"
33
33
  }
34
34
  }
35
35
  }
@@ -30,7 +30,7 @@
30
30
  "properties" : {
31
31
  "v" : {
32
32
  "description" : "False: Deactivate manual control of detector logic\nTrue: Activate manual control of detector logic",
33
- "type" : "boolean"
33
+ "$ref" : "../../core/definitions.json#/boolean"
34
34
  }
35
35
  }
36
36
  }
@@ -70,7 +70,7 @@
70
70
  "properties" : {
71
71
  "v" : {
72
72
  "description" : "False: Deactivate detector logic\nTrue: Activate detector logic",
73
- "type" : "boolean"
73
+ "$ref" : "../../core/definitions.json#/boolean"
74
74
  }
75
75
  }
76
76
  }
@@ -29,7 +29,7 @@
29
29
  "properties" : {
30
30
  "v" : {
31
31
  "description" : "False: No command (default)\nTrue: Order a signal group to green",
32
- "type" : "boolean"
32
+ "$ref" : "../../core/definitions.json#/boolean"
33
33
  }
34
34
  }
35
35
  }
@@ -29,7 +29,7 @@
29
29
  "properties" : {
30
30
  "v" : {
31
31
  "description" : "False: No command (default)\nTrue: Order a signal group to red",
32
- "type" : "boolean"
32
+ "$ref" : "../../core/definitions.json#/boolean"
33
33
  }
34
34
  }
35
35
  }
@@ -0,0 +1,100 @@
1
+ {
2
+ "allOf" : [
3
+ {
4
+ "description" : "Force input\n\nForce a given input (1-255) of the controllers general purpose I/O to either True or False. Can be used for all types of input where the traffic light controller must react to external control.\n\nCan be used for bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.",
5
+ "properties" : {
6
+ "n" : {
7
+ "enum" : [
8
+ "input",
9
+ "inputValue",
10
+ "securityCode",
11
+ "status"
12
+ ]
13
+ },
14
+ "cO" : {
15
+ "const" : "setInput"
16
+ }
17
+ }
18
+ },
19
+ {
20
+ "if" : {
21
+ "required" : [
22
+ "n"
23
+ ],
24
+ "properties" : {
25
+ "n" : {
26
+ "const" : "status"
27
+ }
28
+ }
29
+ },
30
+ "then" : {
31
+ "properties" : {
32
+ "v" : {
33
+ "description" : "False: Force input\nTrue: Release input",
34
+ "$ref" : "../../core/definitions.json#/boolean"
35
+ }
36
+ }
37
+ }
38
+ },
39
+ {
40
+ "if" : {
41
+ "required" : [
42
+ "n"
43
+ ],
44
+ "properties" : {
45
+ "n" : {
46
+ "const" : "securityCode"
47
+ }
48
+ }
49
+ },
50
+ "then" : {
51
+ "properties" : {
52
+ "v" : {
53
+ "description" : "Security code 2",
54
+ "type" : "string"
55
+ }
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "if" : {
61
+ "required" : [
62
+ "n"
63
+ ],
64
+ "properties" : {
65
+ "n" : {
66
+ "const" : "input"
67
+ }
68
+ }
69
+ },
70
+ "then" : {
71
+ "properties" : {
72
+ "v" : {
73
+ "description" : "Number of Input",
74
+ "$ref" : "../../core/definitions.json#/integer"
75
+ }
76
+ }
77
+ }
78
+ },
79
+ {
80
+ "if" : {
81
+ "required" : [
82
+ "n"
83
+ ],
84
+ "properties" : {
85
+ "n" : {
86
+ "const" : "inputValue"
87
+ }
88
+ }
89
+ },
90
+ "then" : {
91
+ "properties" : {
92
+ "v" : {
93
+ "description" : "False: input forced to False\nTrue: input forced to True",
94
+ "$ref" : "../../core/definitions.json#/boolean"
95
+ }
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ }
@@ -29,7 +29,7 @@
29
29
  "s" : {
30
30
  "description" : "Signal group status as text field",
31
31
  "type" : "string",
32
- "pattern" : "^[a-hA-G0-9N-P]+$"
32
+ "pattern" : "^[a-hA-G0-9N-P]*$"
33
33
  }
34
34
  }
35
35
  }
@@ -25,7 +25,7 @@
25
25
  "properties" : {
26
26
  "s" : {
27
27
  "description" : "False: Controller is not in start up mode\nTrue: Controller is currently in start up mode",
28
- "type" : "boolean"
28
+ "$ref" : "../../core/definitions.json#/boolean"
29
29
  }
30
30
  }
31
31
  }
@@ -26,7 +26,7 @@
26
26
  "properties" : {
27
27
  "s" : {
28
28
  "description" : "False: Emergency stage inactive\nTrue: Emergency stage active",
29
- "type" : "boolean"
29
+ "$ref" : "../../core/definitions.json#/boolean"
30
30
  }
31
31
  }
32
32
  }
@@ -28,30 +28,14 @@
28
28
  "S0019",
29
29
  "S0020",
30
30
  "S0021",
31
- "S0022",
32
- "S0023",
33
- "S0024",
34
- "S0025",
35
- "S0026",
36
- "S0027",
37
- "S0028",
38
- "S0029",
39
- "S0030",
40
- "S0031",
41
31
  "S0091",
42
32
  "S0092",
43
33
  "S0095",
44
34
  "S0096",
45
- "S0097",
46
- "S0098",
47
35
  "S0201",
48
36
  "S0202",
49
37
  "S0203",
50
- "S0204",
51
- "S0205",
52
- "S0206",
53
- "S0207",
54
- "S0208"
38
+ "S0204"
55
39
  ]
56
40
  }
57
41
  }
@@ -670,66 +654,6 @@
670
654
  "then" : {
671
655
  "$ref" : "S0204.json"
672
656
  }
673
- },
674
- {
675
- "if" : {
676
- "required" : [
677
- "sCI"
678
- ],
679
- "properties" : {
680
- "sCI" : {
681
- "const" : "S0205"
682
- }
683
- }
684
- },
685
- "then" : {
686
- "$ref" : "S0205.json"
687
- }
688
- },
689
- {
690
- "if" : {
691
- "required" : [
692
- "sCI"
693
- ],
694
- "properties" : {
695
- "sCI" : {
696
- "const" : "S0206"
697
- }
698
- }
699
- },
700
- "then" : {
701
- "$ref" : "S0206.json"
702
- }
703
- },
704
- {
705
- "if" : {
706
- "required" : [
707
- "sCI"
708
- ],
709
- "properties" : {
710
- "sCI" : {
711
- "const" : "S0207"
712
- }
713
- }
714
- },
715
- "then" : {
716
- "$ref" : "S0207.json"
717
- }
718
- },
719
- {
720
- "if" : {
721
- "required" : [
722
- "sCI"
723
- ],
724
- "properties" : {
725
- "sCI" : {
726
- "const" : "S0208"
727
- }
728
- }
729
- },
730
- "then" : {
731
- "$ref" : "S0208.json"
732
- }
733
657
  }
734
658
  ]
735
659
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsmp_schemer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-19 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_schemer
@@ -372,6 +372,7 @@ files:
372
372
  - schemas/tlc_1.0.10/schema/tlc/commands/M0011.json
373
373
  - schemas/tlc_1.0.10/schema/tlc/commands/M0012.json
374
374
  - schemas/tlc_1.0.10/schema/tlc/commands/M0013.json
375
+ - schemas/tlc_1.0.10/schema/tlc/commands/M0019.json
375
376
  - schemas/tlc_1.0.10/schema/tlc/commands/M0103.json
376
377
  - schemas/tlc_1.0.10/schema/tlc/commands/M0104.json
377
378
  - schemas/tlc_1.0.10/schema/tlc/commands/command_requests.json
@@ -500,6 +501,7 @@ files:
500
501
  - schemas/tlc_1.0.13/spec/spec_helper.rb
501
502
  - schemas/tlc_1.0.13/spec/tlc/M0001_spec.rb
502
503
  - schemas/tlc_1.0.13/spec/tlc/S0007_spec.rb
504
+ - schemas/tlc_1.0.13/spec/tlc/S0023_spec.rb
503
505
  - schemas/tlc_1.0.14/.gitignore
504
506
  - schemas/tlc_1.0.14/.rspec
505
507
  - schemas/tlc_1.0.14/Gemfile
@@ -592,6 +594,7 @@ files:
592
594
  - schemas/tlc_1.0.14/spec/spec_helper.rb
593
595
  - schemas/tlc_1.0.14/spec/tlc/M0001_spec.rb
594
596
  - schemas/tlc_1.0.14/spec/tlc/S0007_spec.rb
597
+ - schemas/tlc_1.0.14/spec/tlc/S0023_spec.rb
595
598
  - schemas/tlc_1.0.15/.gitignore
596
599
  - schemas/tlc_1.0.15/.rspec
597
600
  - schemas/tlc_1.0.15/Gemfile
@@ -691,6 +694,7 @@ files:
691
694
  - schemas/tlc_1.0.15/spec/spec_helper.rb
692
695
  - schemas/tlc_1.0.15/spec/tlc/M0001_spec.rb
693
696
  - schemas/tlc_1.0.15/spec/tlc/S0007_spec.rb
697
+ - schemas/tlc_1.0.15/spec/tlc/S0023_spec.rb
694
698
  - schemas/tlc_1.0.7/.gitignore
695
699
  - schemas/tlc_1.0.7/.rspec
696
700
  - schemas/tlc_1.0.7/Gemfile
@@ -723,6 +727,7 @@ files:
723
727
  - schemas/tlc_1.0.7/schema/tlc/commands/M0008.json
724
728
  - schemas/tlc_1.0.7/schema/tlc/commands/M0010.json
725
729
  - schemas/tlc_1.0.7/schema/tlc/commands/M0011.json
730
+ - schemas/tlc_1.0.7/schema/tlc/commands/M0019.json
726
731
  - schemas/tlc_1.0.7/schema/tlc/commands/M0103.json
727
732
  - schemas/tlc_1.0.7/schema/tlc/commands/M0104.json
728
733
  - schemas/tlc_1.0.7/schema/tlc/commands/command_requests.json
@@ -797,6 +802,7 @@ files:
797
802
  - schemas/tlc_1.0.8/schema/tlc/commands/M0011.json
798
803
  - schemas/tlc_1.0.8/schema/tlc/commands/M0012.json
799
804
  - schemas/tlc_1.0.8/schema/tlc/commands/M0013.json
805
+ - schemas/tlc_1.0.8/schema/tlc/commands/M0019.json
800
806
  - schemas/tlc_1.0.8/schema/tlc/commands/M0103.json
801
807
  - schemas/tlc_1.0.8/schema/tlc/commands/M0104.json
802
808
  - schemas/tlc_1.0.8/schema/tlc/commands/command_requests.json
@@ -871,6 +877,7 @@ files:
871
877
  - schemas/tlc_1.0.9/schema/tlc/commands/M0011.json
872
878
  - schemas/tlc_1.0.9/schema/tlc/commands/M0012.json
873
879
  - schemas/tlc_1.0.9/schema/tlc/commands/M0013.json
880
+ - schemas/tlc_1.0.9/schema/tlc/commands/M0019.json
874
881
  - schemas/tlc_1.0.9/schema/tlc/commands/M0103.json
875
882
  - schemas/tlc_1.0.9/schema/tlc/commands/M0104.json
876
883
  - schemas/tlc_1.0.9/schema/tlc/commands/command_requests.json
@@ -932,7 +939,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
932
939
  - !ruby/object:Gem::Version
933
940
  version: '0'
934
941
  requirements: []
935
- rubygems_version: 3.2.3
942
+ rubygems_version: 3.2.15
936
943
  signing_key:
937
944
  specification_version: 4
938
945
  summary: Validate RSMP message against RSMP JSON Schema.