rsmp_schema 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,8 +59,14 @@
59
59
  "then" : {
60
60
  "properties" : {
61
61
  "s" : {
62
- "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)",
63
- "type" : "string"
62
+ "allOf" : [
63
+ {
64
+ "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)"
65
+ },
66
+ {
67
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
68
+ }
69
+ ]
64
70
  }
65
71
  }
66
72
  }
@@ -79,8 +85,14 @@
79
85
  "then" : {
80
86
  "properties" : {
81
87
  "s" : {
82
- "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)",
83
- "type" : "string"
88
+ "allOf" : [
89
+ {
90
+ "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)"
91
+ },
92
+ {
93
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
94
+ }
95
+ ]
84
96
  }
85
97
  }
86
98
  }
@@ -99,8 +111,14 @@
99
111
  "then" : {
100
112
  "properties" : {
101
113
  "s" : {
102
- "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)",
103
- "type" : "string"
114
+ "allOf" : [
115
+ {
116
+ "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)"
117
+ },
118
+ {
119
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
120
+ }
121
+ ]
104
122
  }
105
123
  }
106
124
  }
@@ -119,8 +137,14 @@
119
137
  "then" : {
120
138
  "properties" : {
121
139
  "s" : {
122
- "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)",
123
- "type" : "string"
140
+ "allOf" : [
141
+ {
142
+ "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)"
143
+ },
144
+ {
145
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
146
+ }
147
+ ]
124
148
  }
125
149
  }
126
150
  }
@@ -139,8 +163,14 @@
139
163
  "then" : {
140
164
  "properties" : {
141
165
  "s" : {
142
- "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)",
143
- "type" : "string"
166
+ "allOf" : [
167
+ {
168
+ "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)"
169
+ },
170
+ {
171
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
172
+ }
173
+ ]
144
174
  }
145
175
  }
146
176
  }
@@ -159,8 +189,14 @@
159
189
  "then" : {
160
190
  "properties" : {
161
191
  "s" : {
162
- "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)",
163
- "type" : "string"
192
+ "allOf" : [
193
+ {
194
+ "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)"
195
+ },
196
+ {
197
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
198
+ }
199
+ ]
164
200
  }
165
201
  }
166
202
  }
@@ -179,8 +215,14 @@
179
215
  "then" : {
180
216
  "properties" : {
181
217
  "s" : {
182
- "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)",
183
- "type" : "string"
218
+ "allOf" : [
219
+ {
220
+ "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)"
221
+ },
222
+ {
223
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
224
+ }
225
+ ]
184
226
  }
185
227
  }
186
228
  }
@@ -199,8 +241,14 @@
199
241
  "then" : {
200
242
  "properties" : {
201
243
  "s" : {
202
- "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)",
203
- "type" : "string"
244
+ "allOf" : [
245
+ {
246
+ "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)"
247
+ },
248
+ {
249
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
250
+ }
251
+ ]
204
252
  }
205
253
  }
206
254
  }
@@ -219,8 +267,14 @@
219
267
  "then" : {
220
268
  "properties" : {
221
269
  "s" : {
222
- "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)",
223
- "type" : "string"
270
+ "allOf" : [
271
+ {
272
+ "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)"
273
+ },
274
+ {
275
+ "$ref" : "../../../core/3.1.1/definitions.json#/integer_list"
276
+ }
277
+ ]
224
278
  }
225
279
  }
226
280
  }
@@ -39,6 +39,7 @@
39
39
  "S0030",
40
40
  "S0031",
41
41
  "S0032",
42
+ "S0033",
42
43
  "S0034",
43
44
  "S0091",
44
45
  "S0092",
@@ -538,6 +539,21 @@
538
539
  "$ref" : "S0032.json"
539
540
  }
540
541
  },
542
+ {
543
+ "if" : {
544
+ "required" : [
545
+ "sCI"
546
+ ],
547
+ "properties" : {
548
+ "sCI" : {
549
+ "const" : "S0033"
550
+ }
551
+ }
552
+ },
553
+ "then" : {
554
+ "$ref" : "S0033.json"
555
+ }
556
+ },
541
557
  {
542
558
  "if" : {
543
559
  "required" : [