rsmp_schema 0.7.0 → 0.8.0
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/README.md +2 -2
- data/lib/rsmp_schema/schema.rb +6 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/core/{3.2 → 3.2.0}/alarm.json +3 -3
- data/schemas/core/{3.2 → 3.2.0}/core.json +1 -1
- data/schemas/core/{3.2 → 3.2.0}/rsmp.json +2 -2
- data/schemas/core/{3.2 → 3.2.0}/status_update.json +1 -1
- data/schemas/core/3.2.1/rsmp.json +4 -4
- data/schemas/core/3.2.2/rsmp.json +4 -4
- data/schemas/tlc/{1.1 → 1.1.0}/rsmp.json +1 -1
- data/schemas/tlc/{1.1 → 1.1.0}/sxl.yaml +1 -1
- data/schemas/tlc/{1.2 → 1.2.0}/rsmp.json +1 -1
- data/schemas/tlc/{1.2 → 1.2.0}/sxl.yaml +1 -1
- metadata +204 -204
- /data/schemas/core/{3.2 → 3.2.0}/alarm_acknowledge.json +0 -0
- /data/schemas/core/{3.2 → 3.2.0}/alarm_issue.json +0 -0
- /data/schemas/core/{3.2 → 3.2.0}/alarm_suspended_resumed.json +0 -0
- /data/schemas/core/{3.2 → 3.2.0}/status_response.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0001.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0002.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0003.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0004.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0005.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0006.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0007.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0008.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0009.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0010.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0101.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0201.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0202.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0301.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0302.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0303.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0304.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/alarms/alarms.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0001.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0002.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0003.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0004.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0005.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0006.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0007.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0008.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0010.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0011.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0012.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0013.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0014.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0015.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0016.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0017.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0018.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0019.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0020.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0021.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0022.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0023.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0103.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0104.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/command_requests.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/command_responses.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/commands/commands.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0001.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0002.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0003.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0004.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0005.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0006.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0007.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0008.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0009.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0010.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0011.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0012.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0013.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0014.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0015.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0016.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0017.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0018.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0019.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0020.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0021.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0022.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0023.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0024.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0025.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0026.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0027.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0028.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0029.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0030.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0031.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0032.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0033.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0034.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0091.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0092.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0095.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0096.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0097.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0098.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0201.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0202.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0203.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0204.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0205.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0206.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0207.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0208.json +0 -0
- /data/schemas/tlc/{1.1 → 1.1.0}/statuses/statuses.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0001.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0002.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0003.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0004.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0005.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0006.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0007.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0008.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0009.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0010.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0101.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0201.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0202.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0301.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0302.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0303.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0304.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/alarms/alarms.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0001.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0002.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0003.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0004.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0005.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0006.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0007.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0008.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0010.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0011.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0012.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0013.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0014.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0015.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0016.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0017.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0018.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0019.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0020.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0021.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0022.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0023.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0103.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0104.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/command_requests.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/command_responses.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/commands/commands.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0001.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0002.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0003.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0004.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0005.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0006.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0007.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0008.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0009.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0010.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0011.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0012.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0013.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0014.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0015.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0016.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0017.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0018.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0019.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0020.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0021.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0022.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0023.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0024.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0025.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0026.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0027.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0028.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0029.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0030.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0031.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0032.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0033.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0034.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0035.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0091.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0092.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0095.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0096.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0097.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0098.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0201.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0202.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0203.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0204.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0205.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0206.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0207.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0208.json +0 -0
- /data/schemas/tlc/{1.2 → 1.2.0}/statuses/statuses.json +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92349304b2fa548c7495ff1bd83bd9890d7aab5886e87a213f1c11bd767fa944
|
4
|
+
data.tar.gz: 9da5dcebad4286a2dd161ee06ef7eaa7351b0f4dbdddd0b7ca5d5c1d9fc49271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3effc2a2059a58a223e13b357d9995be1f28cbe162e742993ef06b3b0bd6559f64dda2eff1e34b670f907fbc55835fe7a5b4a49b2b6139a8e76b0c9ea0bdc0aa
|
7
|
+
data.tar.gz: 7093b400bd752a9defb3bece6ef8db540b3bec84d861cc5d88dee594f4ce8ad5387c1a730a179aa04ebf366d2e70ea5ca8b12644086a0105dbab750e134a45b7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -25,7 +25,7 @@ rsmp.json
|
|
25
25
|
M0001.json
|
26
26
|
```
|
27
27
|
|
28
|
-
##
|
28
|
+
## Usage
|
29
29
|
The JSON Schema can be used from any language that provides a suitable JSON Schema validation library.
|
30
30
|
|
31
31
|
For example, to validate a JSON message with Ruby using the json_schemer gem:
|
@@ -52,7 +52,7 @@ message = {
|
|
52
52
|
}
|
53
53
|
|
54
54
|
# try validating a message against our schema
|
55
|
-
schema = Pathname.new('schemas/tlc/1.1/rsmp.json')
|
55
|
+
schema = Pathname.new('schemas/tlc/1.1.0/rsmp.json')
|
56
56
|
schemer = JSONSchemer.schema(schema)
|
57
57
|
puts schemer.valid? message # => true
|
58
58
|
```
|
data/lib/rsmp_schema/schema.rb
CHANGED
@@ -139,8 +139,13 @@ module RSMP::Schema
|
|
139
139
|
# 3.1A3r3 >= 3.1
|
140
140
|
# return nil if string doesn't match
|
141
141
|
def self.sanitize_version version
|
142
|
-
|
142
|
+
# match normal z.y.z format
|
143
|
+
matched = /^\d+\.\d+\.\d+/.match version
|
143
144
|
matched.to_s if matched
|
145
|
+
|
146
|
+
# match x.y format, and add patch version zero to get z.y.0
|
147
|
+
matched = /^\d+\.\d+/.match version
|
148
|
+
"#{matched.to_s}.0" if matched
|
144
149
|
end
|
145
150
|
|
146
151
|
# find schema for a particular schema and version
|
data/lib/rsmp_schema/version.rb
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
"aSp" : { "enum" : [ "Issue"] }
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"then": { "$ref": "../3.2/alarm_issue.json" }
|
24
|
+
"then": { "$ref": "../3.2.0/alarm_issue.json" }
|
25
25
|
},
|
26
26
|
{
|
27
27
|
"if": {
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"sS" : { "enum" : [ "suspended", "notSuspended"] }
|
48
48
|
}
|
49
49
|
},
|
50
|
-
"then": { "$ref": "../3.2/alarm_suspended_resumed.json" }
|
50
|
+
"then": { "$ref": "../3.2.0/alarm_suspended_resumed.json" }
|
51
51
|
},
|
52
52
|
{
|
53
53
|
"if": {
|
@@ -65,7 +65,7 @@
|
|
65
65
|
"aSp" : { "enum" : [ "Acknowledge"] }
|
66
66
|
}
|
67
67
|
},
|
68
|
-
"then": { "$ref": "../3.2/alarm_acknowledge.json" }
|
68
|
+
"then": { "$ref": "../3.2.0/alarm_acknowledge.json" }
|
69
69
|
}
|
70
70
|
]
|
71
71
|
}
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"properties": { "type": { "const": "StatusResponse" } }
|
100
100
|
},
|
101
101
|
"then": {
|
102
|
-
"$ref": "../3.2/status_response.json"
|
102
|
+
"$ref": "../3.2.0/status_response.json"
|
103
103
|
}
|
104
104
|
},
|
105
105
|
{
|
@@ -126,7 +126,7 @@
|
|
126
126
|
"properties": { "type": { "const": "StatusUpdate" } }
|
127
127
|
},
|
128
128
|
"then": {
|
129
|
-
"$ref": "../3.2/status_update.json"
|
129
|
+
"$ref": "../3.2.0/status_update.json"
|
130
130
|
}
|
131
131
|
}
|
132
132
|
]
|
@@ -14,7 +14,7 @@
|
|
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", "type" : ["string","array"] }, // array is allowed from 3.2
|
17
|
+
"s" : { "description" : "Value", "type" : ["string","array"] }, // array is allowed from 3.2.0
|
18
18
|
"q" : {
|
19
19
|
"description" : "Value",
|
20
20
|
"type" : "string",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"allOf": [
|
3
3
|
{
|
4
|
-
"$ref": "../3.2/core.json"
|
4
|
+
"$ref": "../3.2.0/core.json"
|
5
5
|
},
|
6
6
|
{
|
7
7
|
"if": {
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"properties": { "type": { "const": "Alarm" } }
|
64
64
|
},
|
65
65
|
"then": {
|
66
|
-
"$ref": "../3.2/alarm.json"
|
66
|
+
"$ref": "../3.2.0/alarm.json"
|
67
67
|
}
|
68
68
|
},
|
69
69
|
{
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"properties": { "type": { "const": "StatusResponse" } }
|
100
100
|
},
|
101
101
|
"then": {
|
102
|
-
"$ref": "../3.2/status_response.json"
|
102
|
+
"$ref": "../3.2.0/status_response.json"
|
103
103
|
}
|
104
104
|
},
|
105
105
|
{
|
@@ -126,7 +126,7 @@
|
|
126
126
|
"properties": { "type": { "const": "StatusUpdate" } }
|
127
127
|
},
|
128
128
|
"then": {
|
129
|
-
"$ref": "../3.2/status_update.json"
|
129
|
+
"$ref": "../3.2.0/status_update.json"
|
130
130
|
}
|
131
131
|
}
|
132
132
|
]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"allOf": [
|
3
3
|
{
|
4
|
-
"$ref": "../3.2/core.json"
|
4
|
+
"$ref": "../3.2.0/core.json"
|
5
5
|
},
|
6
6
|
{
|
7
7
|
"if": {
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"properties": { "type": { "const": "Alarm" } }
|
64
64
|
},
|
65
65
|
"then": {
|
66
|
-
"$ref": "../3.2/alarm.json"
|
66
|
+
"$ref": "../3.2.0/alarm.json"
|
67
67
|
}
|
68
68
|
},
|
69
69
|
{
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"properties": { "type": { "const": "StatusResponse" } }
|
100
100
|
},
|
101
101
|
"then": {
|
102
|
-
"$ref": "../3.2/status_response.json"
|
102
|
+
"$ref": "../3.2.0/status_response.json"
|
103
103
|
}
|
104
104
|
},
|
105
105
|
{
|
@@ -126,7 +126,7 @@
|
|
126
126
|
"properties": { "type": { "const": "StatusUpdate" } }
|
127
127
|
},
|
128
128
|
"then": {
|
129
|
-
"$ref": "../3.2/status_update.json"
|
129
|
+
"$ref": "../3.2.0/status_update.json"
|
130
130
|
}
|
131
131
|
}
|
132
132
|
]
|