rsmp_schema 0.5.1 → 0.5.2
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/lib/rsmp_schema/version.rb +1 -1
- data/schemas/core/3.1.2/alarm.json +9 -0
- data/schemas/core/3.1.2/alarm_acknowledge.json +12 -0
- data/schemas/core/3.1.5/alarm.json +9 -0
- data/schemas/core/3.2/alarm.json +11 -2
- data/schemas/core/3.2/alarm_acknowledge.json +11 -0
- data/schemas/core/3.2/alarm_issue.json +44 -0
- data/schemas/core/3.2/alarm_suspended_resumed.json +44 -0
- data/schemas/tlc/1.2/rsmp.json +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d56697bd07d0433d3c87794ba60633b668ccb4973e80efa8733a6990e8aed9cf
|
4
|
+
data.tar.gz: d781453ca631feac00eea1e3c03e4fd8cf9205415b3329ed24872b220baefbc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a56ae1db79d6061a5afbd1bdd3c90d690e4ff4747c362755da9bfea43297e553d1eca2da77900b939cebac595f1c5c4b7e25775f2f4c0136c6466200745fbca6
|
7
|
+
data.tar.gz: 98cc8cb64e54023328fafc831686f7c7590f0ab61da5e0b4e74670f6b8611eb21a9b9c6b6ca0894dedbba6fa16da2dbbdfb1bee83ba08a9adbbb4b309f61f2ba
|
data/Gemfile.lock
CHANGED
data/lib/rsmp_schema/version.rb
CHANGED
@@ -53,6 +53,15 @@
|
|
53
53
|
}
|
54
54
|
},
|
55
55
|
"then": { "$ref": "alarm_suspended_resumed.json" }
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"if": {
|
59
|
+
"required" : [ "aSp" ],
|
60
|
+
"properties" : {
|
61
|
+
"aSp" : { "enum" : [ "Acknowledge"] }
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"then": { "$ref": "alarm_acknowledge.json" }
|
56
65
|
}
|
57
66
|
]
|
58
67
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"ack" : {
|
4
|
+
"description" : "Acknowledgement",
|
5
|
+
"type" : "string",
|
6
|
+
"enum" : [ "Acknowledged", "notAcknowledged",
|
7
|
+
"acknowledged", "NotAcknowledged" ]
|
8
|
+
},
|
9
|
+
"aTs" : { "$ref": "definitions.json#/timestamp" }
|
10
|
+
},
|
11
|
+
"required" : [ "mId", "cId", "aCId", "xACId", "aSp", "aTs" ]
|
12
|
+
}
|
@@ -54,6 +54,15 @@
|
|
54
54
|
},
|
55
55
|
"then": { "$ref": "../3.1.2/alarm_suspended_resumed.json" }
|
56
56
|
},
|
57
|
+
{
|
58
|
+
"if": {
|
59
|
+
"required" : [ "aSp" ],
|
60
|
+
"properties" : {
|
61
|
+
"aSp" : { "enum" : [ "Acknowledge"] }
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"then": { "$ref": "../3.1.2/alarm_acknowledge.json" }
|
65
|
+
},
|
57
66
|
{
|
58
67
|
"if": {
|
59
68
|
"required" : [ "aSp" ],
|
data/schemas/core/3.2/alarm.json
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
"aSp" : { "enum" : [ "Issue"] }
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"then": { "$ref": "../3.
|
24
|
+
"then": { "$ref": "../3.2/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.
|
50
|
+
"then": { "$ref": "../3.2/alarm_suspended_resumed.json" }
|
51
51
|
},
|
52
52
|
{
|
53
53
|
"if": {
|
@@ -57,6 +57,15 @@
|
|
57
57
|
}
|
58
58
|
},
|
59
59
|
"then": { "$ref": "../3.1.5/alarm_request.json" }
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"if": {
|
63
|
+
"required" : [ "aSp" ],
|
64
|
+
"properties" : {
|
65
|
+
"aSp" : { "enum" : [ "Acknowledge"] }
|
66
|
+
}
|
67
|
+
},
|
68
|
+
"then": { "$ref": "../3.2/alarm_acknowledge.json" }
|
60
69
|
}
|
61
70
|
]
|
62
71
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"ack" : {
|
4
|
+
"description" : "Acknowledgement",
|
5
|
+
"type" : "string",
|
6
|
+
"enum" : [ "Acknowledged", "notAcknowledged" ]
|
7
|
+
},
|
8
|
+
"aTs" : { "$ref": "../3.1.2/definitions.json#/timestamp" }
|
9
|
+
},
|
10
|
+
"required" : [ "mId", "cId", "aCId", "xACId", "aSp", "aTs" ]
|
11
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"ack" : {
|
4
|
+
"description" : "Acknowledgement",
|
5
|
+
"type" : "string",
|
6
|
+
"enum" : [ "Acknowledged", "notAcknowledged" ]
|
7
|
+
},
|
8
|
+
"aS" : {
|
9
|
+
"description" : "Active status",
|
10
|
+
"type" : "string",
|
11
|
+
"enum" : [ "inActive", "Active" ]
|
12
|
+
},
|
13
|
+
"sS" : {
|
14
|
+
"description" : "Suspend status",
|
15
|
+
"type" : "string",
|
16
|
+
"enum" : [ "suspended", "notSuspended" ]
|
17
|
+
},
|
18
|
+
"aTs" : { "$ref": "../3.1.2/definitions.json#/timestamp" },
|
19
|
+
"cat" : {
|
20
|
+
"description" : "Category",
|
21
|
+
"type" : "string",
|
22
|
+
"enum" : [ "T", "D" ]
|
23
|
+
},
|
24
|
+
"pri" : {
|
25
|
+
"description" : "Priority",
|
26
|
+
"type" : "string",
|
27
|
+
"enum" : [ "1", "2", "3" ]
|
28
|
+
},
|
29
|
+
"rvs" : {
|
30
|
+
"description" : "Return values",
|
31
|
+
"type" : "array",
|
32
|
+
"items" : {
|
33
|
+
"type" : "object",
|
34
|
+
"properties": {
|
35
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
36
|
+
"v" : { "description" : "Value", "type" : "string" }
|
37
|
+
},
|
38
|
+
"required" : [ "n", "v" ],
|
39
|
+
"additionalProperties": false
|
40
|
+
}
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"required" : [ "mId", "cId", "aCId", "xACId", "aSp", "ack", "aS", "aTs", "sS", "cat", "pri", "rvs" ]
|
44
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
x{
|
2
|
+
"properties" : {
|
3
|
+
"ack" : {
|
4
|
+
"description" : "Acknowledgement",
|
5
|
+
"type" : "string",
|
6
|
+
"enum" : [ "Acknowledged", "notAcknowledged" ]
|
7
|
+
},
|
8
|
+
"aS" : {
|
9
|
+
"description" : "Active status",
|
10
|
+
"type" : "string",
|
11
|
+
"enum" : [ "inActive", "Active" ]
|
12
|
+
},
|
13
|
+
"sS" : {
|
14
|
+
"description" : "Suspend status",
|
15
|
+
"type" : "string",
|
16
|
+
"enum" : [ "Suspended", "notSuspended" ]
|
17
|
+
},
|
18
|
+
"aTs" : { "$ref": "definitions.json#/timestamp" },
|
19
|
+
"cat" : {
|
20
|
+
"description" : "Category",
|
21
|
+
"type" : "string",
|
22
|
+
"enum" : [ "T", "D" ]
|
23
|
+
},
|
24
|
+
"pri" : {
|
25
|
+
"description" : "Priority",
|
26
|
+
"type" : "string",
|
27
|
+
"enum" : [ "1", "2", "3" ]
|
28
|
+
},
|
29
|
+
"rvs" : {
|
30
|
+
"description" : "Return values",
|
31
|
+
"type" : "array",
|
32
|
+
"items" : {
|
33
|
+
"type" : "object",
|
34
|
+
"properties": {
|
35
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
36
|
+
"v" : { "description" : "Value", "type" : "string" }
|
37
|
+
},
|
38
|
+
"required" : [ "n", "v" ],
|
39
|
+
"additionalProperties": false
|
40
|
+
}
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"required" : [ "mId", "cId", "aCId", "xACId", "aSp", "ack", "aS", "aTs", "sS", "cat", "pri", "rvs" ]
|
44
|
+
}
|
data/schemas/tlc/1.2/rsmp.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsmp_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.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: 2023-11-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_schemer
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- rsmp_schema.gemspec
|
111
111
|
- schemas/core/3.1.2/aggregated_status.json
|
112
112
|
- schemas/core/3.1.2/alarm.json
|
113
|
+
- schemas/core/3.1.2/alarm_acknowledge.json
|
113
114
|
- schemas/core/3.1.2/alarm_issue.json
|
114
115
|
- schemas/core/3.1.2/alarm_suspend_resume.json
|
115
116
|
- schemas/core/3.1.2/alarm_suspended_resumed.json
|
@@ -142,6 +143,9 @@ files:
|
|
142
143
|
- schemas/core/3.2.1/core.json
|
143
144
|
- schemas/core/3.2.1/rsmp.json
|
144
145
|
- schemas/core/3.2/alarm.json
|
146
|
+
- schemas/core/3.2/alarm_acknowledge.json
|
147
|
+
- schemas/core/3.2/alarm_issue.json
|
148
|
+
- schemas/core/3.2/alarm_suspended_resumed.json
|
145
149
|
- schemas/core/3.2/core.json
|
146
150
|
- schemas/core/3.2/rsmp.json
|
147
151
|
- schemas/core/3.2/status_response.json
|