rsmp_schema 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yaml +1 -1
- data/.tool-versions +1 -1
- data/Gemfile.lock +24 -22
- data/examples/validate.rb +1 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/rsmp_schema.gemspec +5 -5
- data/schemas/core/3.2/alarm_suspended_resumed.json +2 -2
- data/schemas/tlc/1.2/statuses/S0006.json +3 -3
- data/schemas/tlc/1.2/sxl.yaml +4 -4
- data/schemas/tlc/1.2.1/alarms/A0001.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0002.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0003.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0004.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0005.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0006.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0007.json +59 -0
- data/schemas/tlc/1.2.1/alarms/A0008.json +61 -0
- data/schemas/tlc/1.2.1/alarms/A0009.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0010.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0101.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0201.json +60 -0
- data/schemas/tlc/1.2.1/alarms/A0202.json +60 -0
- data/schemas/tlc/1.2.1/alarms/A0301.json +132 -0
- data/schemas/tlc/1.2.1/alarms/A0302.json +158 -0
- data/schemas/tlc/1.2.1/alarms/A0303.json +132 -0
- data/schemas/tlc/1.2.1/alarms/A0304.json +158 -0
- data/schemas/tlc/1.2.1/alarms/alarms.json +286 -0
- data/schemas/tlc/1.2.1/commands/M0001.json +138 -0
- data/schemas/tlc/1.2.1/commands/M0002.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0003.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0004.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0005.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0006.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0007.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0008.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0010.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0011.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0012.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0013.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0014.json +106 -0
- data/schemas/tlc/1.2.1/commands/M0015.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0016.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0017.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0018.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0019.json +139 -0
- data/schemas/tlc/1.2.1/commands/M0020.json +139 -0
- data/schemas/tlc/1.2.1/commands/M0021.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0022.json +355 -0
- data/schemas/tlc/1.2.1/commands/M0023.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0103.json +103 -0
- data/schemas/tlc/1.2.1/commands/M0104.json +220 -0
- data/schemas/tlc/1.2.1/commands/command_requests.json +7 -0
- data/schemas/tlc/1.2.1/commands/command_responses.json +7 -0
- data/schemas/tlc/1.2.1/commands/commands.json +398 -0
- data/schemas/tlc/1.2.1/rsmp.json +73 -0
- data/schemas/tlc/1.2.1/statuses/S0001.json +137 -0
- data/schemas/tlc/1.2.1/statuses/S0002.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0003.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0004.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0005.json +112 -0
- data/schemas/tlc/1.2.1/statuses/S0006.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0007.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0008.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0009.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0010.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0011.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0012.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0013.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0014.json +90 -0
- data/schemas/tlc/1.2.1/statuses/S0015.json +90 -0
- data/schemas/tlc/1.2.1/statuses/S0016.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0017.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0018.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0019.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0020.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0021.json +56 -0
- data/schemas/tlc/1.2.1/statuses/S0022.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0023.json +56 -0
- data/schemas/tlc/1.2.1/statuses/S0024.json +56 -0
- data/schemas/tlc/1.2.1/statuses/S0025.json +250 -0
- data/schemas/tlc/1.2.1/statuses/S0026.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0027.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0028.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0029.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0030.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0031.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0032.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0033.json +114 -0
- data/schemas/tlc/1.2.1/statuses/S0034.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0035.json +74 -0
- data/schemas/tlc/1.2.1/statuses/S0091.json +65 -0
- data/schemas/tlc/1.2.1/statuses/S0092.json +65 -0
- data/schemas/tlc/1.2.1/statuses/S0095.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0096.json +196 -0
- data/schemas/tlc/1.2.1/statuses/S0097.json +82 -0
- data/schemas/tlc/1.2.1/statuses/S0098.json +103 -0
- data/schemas/tlc/1.2.1/statuses/S0201.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0202.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0203.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0204.json +304 -0
- data/schemas/tlc/1.2.1/statuses/S0205.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0206.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0207.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0208.json +304 -0
- data/schemas/tlc/1.2.1/statuses/statuses.json +786 -0
- data/schemas/tlc/1.2.1/sxl.yaml +2109 -0
- metadata +110 -13
@@ -0,0 +1,158 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Detector error (logic error).\nFor instance; detector continuously on or off during an extended time.\nIs a \"minor fault\" defined according to 3.11 in EN12675.",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"detector",
|
9
|
+
"errormode",
|
10
|
+
"logicerror",
|
11
|
+
"manual",
|
12
|
+
"type"
|
13
|
+
]
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"if" : {
|
19
|
+
"required" : [
|
20
|
+
"q"
|
21
|
+
],
|
22
|
+
"properties" : {
|
23
|
+
"q" : {
|
24
|
+
"const" : "undefined"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"then" : {
|
29
|
+
"s" : {
|
30
|
+
"type" : "null"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"else" : {
|
34
|
+
"allOf" : [
|
35
|
+
{
|
36
|
+
"if" : {
|
37
|
+
"required" : [
|
38
|
+
"n"
|
39
|
+
],
|
40
|
+
"properties" : {
|
41
|
+
"n" : {
|
42
|
+
"const" : "detector"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"then" : {
|
47
|
+
"properties" : {
|
48
|
+
"v" : {
|
49
|
+
"description" : "Designation of the detector (hardware)",
|
50
|
+
"type" : "string"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"if" : {
|
57
|
+
"required" : [
|
58
|
+
"n"
|
59
|
+
],
|
60
|
+
"properties" : {
|
61
|
+
"n" : {
|
62
|
+
"const" : "type"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"then" : {
|
67
|
+
"properties" : {
|
68
|
+
"v" : {
|
69
|
+
"description" : "Type of detector.",
|
70
|
+
"type" : "string",
|
71
|
+
"enum" : [
|
72
|
+
"input",
|
73
|
+
"loop"
|
74
|
+
]
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"if" : {
|
81
|
+
"required" : [
|
82
|
+
"n"
|
83
|
+
],
|
84
|
+
"properties" : {
|
85
|
+
"n" : {
|
86
|
+
"const" : "errormode"
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"then" : {
|
91
|
+
"properties" : {
|
92
|
+
"v" : {
|
93
|
+
"description" : "Detector forced on/off while detector error",
|
94
|
+
"type" : "string",
|
95
|
+
"enum" : [
|
96
|
+
"off",
|
97
|
+
"on"
|
98
|
+
]
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"if" : {
|
105
|
+
"required" : [
|
106
|
+
"n"
|
107
|
+
],
|
108
|
+
"properties" : {
|
109
|
+
"n" : {
|
110
|
+
"const" : "manual"
|
111
|
+
}
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"then" : {
|
115
|
+
"properties" : {
|
116
|
+
"v" : {
|
117
|
+
"allOf" : [
|
118
|
+
{
|
119
|
+
"description" : "Manually controlled detector logic (True/False)"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
123
|
+
}
|
124
|
+
]
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"if" : {
|
131
|
+
"required" : [
|
132
|
+
"n"
|
133
|
+
],
|
134
|
+
"properties" : {
|
135
|
+
"n" : {
|
136
|
+
"const" : "logicerror"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"then" : {
|
141
|
+
"properties" : {
|
142
|
+
"v" : {
|
143
|
+
"description" : "Type of logic error",
|
144
|
+
"type" : "string",
|
145
|
+
"enum" : [
|
146
|
+
"always_off",
|
147
|
+
"always_on",
|
148
|
+
"intermittent"
|
149
|
+
]
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
]
|
155
|
+
}
|
156
|
+
}
|
157
|
+
]
|
158
|
+
}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Serious detector error (hardware).\nIs a “major fault” defined according to 3.8 i EN12675 which causes the controller to switch to a “failure mode” according to 3.6 in EN12675.",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"detector",
|
9
|
+
"errormode",
|
10
|
+
"manual",
|
11
|
+
"type"
|
12
|
+
]
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"if" : {
|
18
|
+
"required" : [
|
19
|
+
"q"
|
20
|
+
],
|
21
|
+
"properties" : {
|
22
|
+
"q" : {
|
23
|
+
"const" : "undefined"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"then" : {
|
28
|
+
"s" : {
|
29
|
+
"type" : "null"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"else" : {
|
33
|
+
"allOf" : [
|
34
|
+
{
|
35
|
+
"if" : {
|
36
|
+
"required" : [
|
37
|
+
"n"
|
38
|
+
],
|
39
|
+
"properties" : {
|
40
|
+
"n" : {
|
41
|
+
"const" : "detector"
|
42
|
+
}
|
43
|
+
}
|
44
|
+
},
|
45
|
+
"then" : {
|
46
|
+
"properties" : {
|
47
|
+
"v" : {
|
48
|
+
"description" : "Designation of the detector (hardware)",
|
49
|
+
"type" : "string"
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"if" : {
|
56
|
+
"required" : [
|
57
|
+
"n"
|
58
|
+
],
|
59
|
+
"properties" : {
|
60
|
+
"n" : {
|
61
|
+
"const" : "type"
|
62
|
+
}
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"then" : {
|
66
|
+
"properties" : {
|
67
|
+
"v" : {
|
68
|
+
"description" : "Type of detector.",
|
69
|
+
"type" : "string",
|
70
|
+
"enum" : [
|
71
|
+
"input",
|
72
|
+
"loop"
|
73
|
+
]
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"if" : {
|
80
|
+
"required" : [
|
81
|
+
"n"
|
82
|
+
],
|
83
|
+
"properties" : {
|
84
|
+
"n" : {
|
85
|
+
"const" : "errormode"
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
"then" : {
|
90
|
+
"properties" : {
|
91
|
+
"v" : {
|
92
|
+
"description" : "Detector forced on/off while detector error",
|
93
|
+
"type" : "string",
|
94
|
+
"enum" : [
|
95
|
+
"off",
|
96
|
+
"on"
|
97
|
+
]
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"if" : {
|
104
|
+
"required" : [
|
105
|
+
"n"
|
106
|
+
],
|
107
|
+
"properties" : {
|
108
|
+
"n" : {
|
109
|
+
"const" : "manual"
|
110
|
+
}
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"then" : {
|
114
|
+
"properties" : {
|
115
|
+
"v" : {
|
116
|
+
"allOf" : [
|
117
|
+
{
|
118
|
+
"description" : "Manually controlled detector logic (True/False)"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
122
|
+
}
|
123
|
+
]
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
]
|
129
|
+
}
|
130
|
+
}
|
131
|
+
]
|
132
|
+
}
|
@@ -0,0 +1,158 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Serious detector error (logic error).\nFor instance; detector continuously on or off during an extended time.\nIs a “major fault” defined according to 3.8 i EN12675 which causes the controller to switch to a “failure mode” according to 3.6 in EN12675",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"detector",
|
9
|
+
"errormode",
|
10
|
+
"logicerror",
|
11
|
+
"manual",
|
12
|
+
"type"
|
13
|
+
]
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"if" : {
|
19
|
+
"required" : [
|
20
|
+
"q"
|
21
|
+
],
|
22
|
+
"properties" : {
|
23
|
+
"q" : {
|
24
|
+
"const" : "undefined"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"then" : {
|
29
|
+
"s" : {
|
30
|
+
"type" : "null"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"else" : {
|
34
|
+
"allOf" : [
|
35
|
+
{
|
36
|
+
"if" : {
|
37
|
+
"required" : [
|
38
|
+
"n"
|
39
|
+
],
|
40
|
+
"properties" : {
|
41
|
+
"n" : {
|
42
|
+
"const" : "detector"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"then" : {
|
47
|
+
"properties" : {
|
48
|
+
"v" : {
|
49
|
+
"description" : "Designation of the detector (hardware)",
|
50
|
+
"type" : "string"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"if" : {
|
57
|
+
"required" : [
|
58
|
+
"n"
|
59
|
+
],
|
60
|
+
"properties" : {
|
61
|
+
"n" : {
|
62
|
+
"const" : "type"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"then" : {
|
67
|
+
"properties" : {
|
68
|
+
"v" : {
|
69
|
+
"description" : "Type of detector.",
|
70
|
+
"type" : "string",
|
71
|
+
"enum" : [
|
72
|
+
"input",
|
73
|
+
"loop"
|
74
|
+
]
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"if" : {
|
81
|
+
"required" : [
|
82
|
+
"n"
|
83
|
+
],
|
84
|
+
"properties" : {
|
85
|
+
"n" : {
|
86
|
+
"const" : "errormode"
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"then" : {
|
91
|
+
"properties" : {
|
92
|
+
"v" : {
|
93
|
+
"description" : "Detector forced on/off while detector error",
|
94
|
+
"type" : "string",
|
95
|
+
"enum" : [
|
96
|
+
"off",
|
97
|
+
"on"
|
98
|
+
]
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"if" : {
|
105
|
+
"required" : [
|
106
|
+
"n"
|
107
|
+
],
|
108
|
+
"properties" : {
|
109
|
+
"n" : {
|
110
|
+
"const" : "manual"
|
111
|
+
}
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"then" : {
|
115
|
+
"properties" : {
|
116
|
+
"v" : {
|
117
|
+
"allOf" : [
|
118
|
+
{
|
119
|
+
"description" : "Manually controlled detector logic (True/False)"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
123
|
+
}
|
124
|
+
]
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"if" : {
|
131
|
+
"required" : [
|
132
|
+
"n"
|
133
|
+
],
|
134
|
+
"properties" : {
|
135
|
+
"n" : {
|
136
|
+
"const" : "logicerror"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"then" : {
|
141
|
+
"properties" : {
|
142
|
+
"v" : {
|
143
|
+
"description" : "Type of logic error",
|
144
|
+
"type" : "string",
|
145
|
+
"enum" : [
|
146
|
+
"always_off",
|
147
|
+
"always_on",
|
148
|
+
"intermittent"
|
149
|
+
]
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
]
|
155
|
+
}
|
156
|
+
}
|
157
|
+
]
|
158
|
+
}
|