@rootintf/json-msg 1.1.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,43 +1,43 @@
1
-
2
- ```
3
- {
4
- "$id": "validate_Msg",
5
- "$schema": "http://json-schema.org/draft-07/schema#",
6
- "type" : "object",
7
- "required" : ["id", "referer", "dt"],
8
- "properties" : {
9
- "id" : { "type" : "string"},
10
- "referer" : { "type" : "string"},
11
- "dt" : { "type" : "string" }
12
- }
13
- }
14
- ```
15
-
16
- ```
17
- {
18
- "$id": "validate_Msg_msg",
19
- "$schema": "http://json-schema.org/draft-07/schema#",
20
- "type" : "object",
21
- "required" : ["_msg"]
22
- }
23
- ```
24
-
25
- ```
26
- {
27
- "$id": "validate_MsgAck",
28
- "$schema": "http://json-schema.org/draft-07/schema#",
29
- "type" : "object",
30
- "required" : ["ack"],
31
- "properties" : {
32
- "ack" : {
33
- "type" : "object",
34
- "required" : ["ok"],
35
- "properties" : {
36
- "ok" : { "type" : "boolean" }
37
- }
38
- }
39
- }
40
- }
41
- ```
42
-
43
- TODO: add optional expired property
1
+
2
+ ```
3
+ {
4
+ "$id": "validate_Msg",
5
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
+ "type" : "object",
7
+ "required" : ["id", "referer", "dt"],
8
+ "properties" : {
9
+ "id" : { "type" : "string"},
10
+ "referer" : { "type" : "string"},
11
+ "dt" : { "type" : "string" }
12
+ }
13
+ }
14
+ ```
15
+
16
+ ```
17
+ {
18
+ "$id": "validate_Msg_msg",
19
+ "$schema": "http://json-schema.org/draft-07/schema#",
20
+ "type" : "object",
21
+ "required" : ["_msg"]
22
+ }
23
+ ```
24
+
25
+ ```
26
+ {
27
+ "$id": "validate_MsgAck",
28
+ "$schema": "http://json-schema.org/draft-07/schema#",
29
+ "type" : "object",
30
+ "required" : ["ack"],
31
+ "properties" : {
32
+ "ack" : {
33
+ "type" : "object",
34
+ "required" : ["ok"],
35
+ "properties" : {
36
+ "ok" : { "type" : "boolean" }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ ```
42
+
43
+ TODO: add optional expired property
@@ -1,5 +1,5 @@
1
- name: npm-json-msg
2
- title: npm-json-msg
3
- version: "0.2"
4
- nav:
5
- - modules/ROOT/nav.adoc
1
+ name: npm-json-msg
2
+ title: npm-json-msg
3
+ version: "0.2"
4
+ nav:
5
+ - modules/ROOT/nav.adoc
@@ -1,76 +1,76 @@
1
- = npm-json-msg
2
-
3
- Protocols: xref:protocols::JSON_Msg.adoc[]
4
-
5
- [cols="24h,~"]
6
- |===
7
- |npm-json-msg
8
- |https://gitlab.com/interop-protocols/npm-json-msg.git[^]
9
- |===
10
-
11
- == `JSON_Msg`
12
-
13
- .JSON Schema, Draft-07
14
- https://json-schema.org/specification-links.html#draft-7[^]
15
- [source,json-schema/draft-07]
16
- ----
17
- {
18
- "$id": "validate_Msg",
19
- "$schema": "http://json-schema.org/draft-07/schema#",
20
- "type" : "object",
21
- "required" : ["id", "referer", "dt"],
22
- "properties" : {
23
- "id" : { "type" : "string"},
24
- "referer" : {
25
- "type" : "array",
26
- "minItems" : 2,
27
- "maxItems": 2,
28
- "items": { "type" : "string" }
29
- },
30
- "dt" : { "type" : "string" }
31
- }
32
- }
33
- ----
34
-
35
- * *referer* [_sic_] --
36
- ** `[0]` -- package, product or service name.
37
- ** `[1]` -- instance specifier.
38
-
39
- == `JSON_Msg_msg`
40
-
41
- [source,json-schema/draft-07]
42
- ----
43
- {
44
- "$id": "validate_Msg_msg",
45
- "$schema": "http://json-schema.org/draft-07/schema#",
46
- "type" : "object",
47
- "required" : ["_msg"]
48
-
49
- // ... JSON_Msg format
50
- }
51
- ----
52
-
53
- * *_msg* -- original message this message is in regards to.
54
-
55
- == `JSON_MsgAck`
56
-
57
- [source,json-schema/draft-07]
58
- ----
59
- {
60
- "$id": "validate_MsgAck",
61
- "$schema": "http://json-schema.org/draft-07/schema#",
62
- "type" : "object",
63
- "required" : ["ack"],
64
- "properties" : {
65
- "ack" : {
66
- "type" : "object",
67
- "required" : ["ok"],
68
- "properties" : {
69
- "ok" : { "type" : "boolean" }
70
- }
71
- }
72
- }
73
-
74
- // ... JSON_Msg_msg format
75
- }
76
- ----
1
+ = npm-json-msg
2
+
3
+ Protocols: xref:protocols::JSON_Msg.adoc[]
4
+
5
+ [cols="24h,~"]
6
+ |===
7
+ |npm-json-msg
8
+ |https://gitlab.com/interop-protocols/npm-json-msg.git[^]
9
+ |===
10
+
11
+ == `JSON_Msg`
12
+
13
+ .JSON Schema, Draft-07
14
+ https://json-schema.org/specification-links.html#draft-7[^]
15
+ [source,json-schema/draft-07]
16
+ ----
17
+ {
18
+ "$id": "validate_Msg",
19
+ "$schema": "http://json-schema.org/draft-07/schema#",
20
+ "type" : "object",
21
+ "required" : ["id", "referer", "dt"],
22
+ "properties" : {
23
+ "id" : { "type" : "string"},
24
+ "referer" : {
25
+ "type" : "array",
26
+ "minItems" : 2,
27
+ "maxItems": 2,
28
+ "items": { "type" : "string" }
29
+ },
30
+ "dt" : { "type" : "string" }
31
+ }
32
+ }
33
+ ----
34
+
35
+ * *referer* [_sic_] --
36
+ ** `[0]` -- package, product or service name.
37
+ ** `[1]` -- instance specifier.
38
+
39
+ == `JSON_Msg_msg`
40
+
41
+ [source,json-schema/draft-07]
42
+ ----
43
+ {
44
+ "$id": "validate_Msg_msg",
45
+ "$schema": "http://json-schema.org/draft-07/schema#",
46
+ "type" : "object",
47
+ "required" : ["_msg"]
48
+
49
+ // ... JSON_Msg format
50
+ }
51
+ ----
52
+
53
+ * *_msg* -- original message this message is in regards to.
54
+
55
+ == `JSON_MsgAck`
56
+
57
+ [source,json-schema/draft-07]
58
+ ----
59
+ {
60
+ "$id": "validate_MsgAck",
61
+ "$schema": "http://json-schema.org/draft-07/schema#",
62
+ "type" : "object",
63
+ "required" : ["ack"],
64
+ "properties" : {
65
+ "ack" : {
66
+ "type" : "object",
67
+ "required" : ["ok"],
68
+ "properties" : {
69
+ "ok" : { "type" : "boolean" }
70
+ }
71
+ }
72
+ }
73
+
74
+ // ... JSON_Msg_msg format
75
+ }
76
+ ----
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,114 @@
1
1
  'use strict';
2
2
 
3
- const schema_Msg = validate18;function validate18(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate18.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}{if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.id === undefined) && (missing0 = "id")) || ((data.referer === undefined) && (missing0 = "referer"))) || ((data.dt === undefined) && (missing0 = "dt"))){validate18.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.id !== undefined){const _errs1 = errors;if(typeof data.id !== "string"){validate18.errors = [{instancePath:instancePath+"/id",schemaPath:"#/properties/id/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.dt !== undefined){const _errs3 = errors;if(typeof data.dt !== "string"){validate18.errors = [{instancePath:instancePath+"/dt",schemaPath:"#/properties/dt/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}}}}else {validate18.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate18.errors = vErrors;return errors === 0;}validate18.evaluated = {"props":{"id":true,"dt":true},"dynamicProps":false,"dynamicItems":false};const schema_Msg_msg = validate19;function validate19(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate19.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}{if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data._msg === undefined) && (missing0 = "_msg")){validate19.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}}else {validate19.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate19.errors = vErrors;return errors === 0;}validate19.evaluated = {"dynamicProps":false,"dynamicItems":false};const schema_MsgAck_msg = validate20;function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate20.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}{if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.ack === undefined) && (missing0 = "ack")){validate20.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.ack !== undefined){let data0 = data.ack;{if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing1;if((data0.ok === undefined) && (missing1 = "ok")){validate20.errors = [{instancePath:instancePath+"/ack",schemaPath:"#/properties/ack/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data0.ok !== undefined){if(typeof data0.ok !== "boolean"){validate20.errors = [{instancePath:instancePath+"/ack/ok",schemaPath:"#/properties/ack/properties/ok/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}}}}else {validate20.errors = [{instancePath:instancePath+"/ack",schemaPath:"#/properties/ack/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}validate20.evaluated = {"props":{"ack":true},"dynamicProps":false,"dynamicItems":false};
3
+ const schema_Msg = validate18;
4
+ function validate18(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) { let vErrors = null; let errors = 0; const evaluated0 = validate18.evaluated; if (evaluated0.dynamicProps) {
5
+ evaluated0.props = undefined;
6
+ } if (evaluated0.dynamicItems) {
7
+ evaluated0.items = undefined;
8
+ } {
9
+ if (data && typeof data == "object" && !Array.isArray(data)) {
10
+ let missing0;
11
+ if ((((data.id === undefined) && (missing0 = "id")) || ((data.referer === undefined) && (missing0 = "referer"))) || ((data.dt === undefined) && (missing0 = "dt"))) {
12
+ validate18.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
13
+ return false;
14
+ }
15
+ else {
16
+ if (data.id !== undefined) {
17
+ const _errs1 = errors;
18
+ if (typeof data.id !== "string") {
19
+ validate18.errors = [{ instancePath: instancePath + "/id", schemaPath: "#/properties/id/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
20
+ return false;
21
+ }
22
+ var valid0 = _errs1 === errors;
23
+ }
24
+ else {
25
+ var valid0 = true;
26
+ }
27
+ if (valid0) {
28
+ if (data.dt !== undefined) {
29
+ const _errs3 = errors;
30
+ if (typeof data.dt !== "string") {
31
+ validate18.errors = [{ instancePath: instancePath + "/dt", schemaPath: "#/properties/dt/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
32
+ return false;
33
+ }
34
+ var valid0 = _errs3 === errors;
35
+ }
36
+ else {
37
+ var valid0 = true;
38
+ }
39
+ }
40
+ }
41
+ }
42
+ else {
43
+ validate18.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
44
+ return false;
45
+ }
46
+ } validate18.errors = vErrors; return errors === 0; }
47
+ validate18.evaluated = { "props": { "id": true, "dt": true }, "dynamicProps": false, "dynamicItems": false };
48
+ const schema_MsgEffect = validate19;
49
+ function validate19(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) { let vErrors = null; let errors = 0; const evaluated0 = validate19.evaluated; if (evaluated0.dynamicProps) {
50
+ evaluated0.props = undefined;
51
+ } if (evaluated0.dynamicItems) {
52
+ evaluated0.items = undefined;
53
+ } {
54
+ if (data && typeof data == "object" && !Array.isArray(data)) {
55
+ let missing0;
56
+ if ((data._cause === undefined) && (missing0 = "_cause")) {
57
+ validate19.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
58
+ return false;
59
+ }
60
+ }
61
+ else {
62
+ validate19.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
63
+ return false;
64
+ }
65
+ } validate19.errors = vErrors; return errors === 0; }
66
+ validate19.evaluated = { "dynamicProps": false, "dynamicItems": false };
67
+ const schema_MsgAckEffect = validate20;
68
+ function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) { let vErrors = null; let errors = 0; const evaluated0 = validate20.evaluated; if (evaluated0.dynamicProps) {
69
+ evaluated0.props = undefined;
70
+ } if (evaluated0.dynamicItems) {
71
+ evaluated0.items = undefined;
72
+ } {
73
+ if (data && typeof data == "object" && !Array.isArray(data)) {
74
+ let missing0;
75
+ if ((data.ack === undefined) && (missing0 = "ack")) {
76
+ validate20.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
77
+ return false;
78
+ }
79
+ else {
80
+ if (data.ack !== undefined) {
81
+ let data0 = data.ack;
82
+ {
83
+ if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
84
+ let missing1;
85
+ if ((data0.ok === undefined) && (missing1 = "ok")) {
86
+ validate20.errors = [{ instancePath: instancePath + "/ack", schemaPath: "#/properties/ack/required", keyword: "required", params: { missingProperty: missing1 }, message: "must have required property '" + missing1 + "'" }];
87
+ return false;
88
+ }
89
+ else {
90
+ if (data0.ok !== undefined) {
91
+ if (typeof data0.ok !== "boolean") {
92
+ validate20.errors = [{ instancePath: instancePath + "/ack/ok", schemaPath: "#/properties/ack/properties/ok/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
93
+ return false;
94
+ }
95
+ }
96
+ }
97
+ }
98
+ else {
99
+ validate20.errors = [{ instancePath: instancePath + "/ack", schemaPath: "#/properties/ack/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
100
+ return false;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ else {
107
+ validate20.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
108
+ return false;
109
+ }
110
+ } validate20.errors = vErrors; return errors === 0; }
111
+ validate20.evaluated = { "props": { "ack": true }, "dynamicProps": false, "dynamicItems": false };
4
112
 
5
113
  const byteToHex = [];
6
114
  for (let i = 0; i < 256; ++i) {
@@ -44,10 +152,7 @@ function rng() {
44
152
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
45
153
  var native = { randomUUID };
46
154
 
47
- function v4(options, buf, offset) {
48
- if (native.randomUUID && true && !options) {
49
- return native.randomUUID();
50
- }
155
+ function _v4(options, buf, offset) {
51
156
  options = options || {};
52
157
  const rnds = options.random ?? options.rng?.() ?? rng();
53
158
  if (rnds.length < 16) {
@@ -57,6 +162,12 @@ function v4(options, buf, offset) {
57
162
  rnds[8] = (rnds[8] & 0x3f) | 0x80;
58
163
  return unsafeStringify(rnds);
59
164
  }
165
+ function v4(options, buf, offset) {
166
+ if (native.randomUUID && true && !options) {
167
+ return native.randomUUID();
168
+ }
169
+ return _v4(options);
170
+ }
60
171
 
61
172
  // console.log('OUT', __name({variableName}) );
62
173
 
@@ -151,86 +262,82 @@ const LOGR = (function () {
151
262
 
152
263
  })();
153
264
 
154
- let LOGR_= LOGR.get_instance();
155
- const log_= LOGR_.log;
156
-
157
- const l_= {
158
- VALIDATION : 0b1 << 0,
265
+ let LOGR_ = LOGR.get_instance();
266
+ const log_ = LOGR_.log;
267
+ const l_ = {
268
+ VALIDATION: 0b1 << 0,
159
269
  };
160
- LOGR_.labels= l_;
161
-
270
+ LOGR_.labels = l_;
162
271
  // TODO: use RFC3339 "timestamp"? https://ajv.js.org/json-type-definition.html
163
-
164
272
  // "module" pattern to avoid "static" and "#" private : https://stackoverflow.com/a/1479341/298545
165
- var JSON_Msg = (function() {
166
- return {
167
- merge: function(json) {
168
- return Object.assign({
169
- id: v4(),
170
- referer: null,
171
- dt: new Date().toISOString()
172
- }, json || {});
173
- },
174
- validate : function (json) {
175
- const b_valid = schema_Msg(json);
176
- if (!b_valid)
177
- log_(l_.VALIDATION, () => ['JSON_Msg: validate: ', schema_Msg.errors]);
178
- return b_valid;
179
- },
180
- // TODO: requires a separate ajv module require, and JTD specific schema
181
- // https://ajv.js.org/guide/getting-started.html#parsing-and-serializing-json
182
- // static #ajv_parse_= ajv.compileParser(this.#schema_json_Msg);
183
- // static parse(json) {
184
- // return this.#ajv_parse_(json);
185
- // }
186
- }
273
+ var JSON_Msg = (function () {
274
+ return {
275
+ merge: function (json) {
276
+ return Object.assign({
277
+ id: v4(),
278
+ referer: null,
279
+ dt: new Date().toISOString()
280
+ }, json || {});
281
+ },
282
+ validate: function (json) {
283
+ const b_valid = schema_Msg(json);
284
+ if (!b_valid)
285
+ log_(l_.VALIDATION, () => ['JSON_Msg: validate: ', schema_Msg.errors]);
286
+ return b_valid;
287
+ },
288
+ // TODO: requires a separate ajv module require, and JTD specific schema
289
+ // https://ajv.js.org/guide/getting-started.html#parsing-and-serializing-json
290
+ // static #ajv_parse_= ajv.compileParser(this.#schema_json_Msg);
291
+ // static parse(json) {
292
+ // return this.#ajv_parse_(json);
293
+ // }
294
+ };
187
295
  })();
188
-
189
- var JSON_Msg_msg = (function() {
190
- return {
191
- create_with_msg_merge: function(_msg, json) {
192
- return Object.assign(JSON_Msg.merge(json), { _msg });
193
- },
194
- validate : function(json) {
195
- if (! JSON_Msg.validate(json))
196
- return false;
197
- const b_valid= schema_Msg_msg(json);
198
- if (!b_valid)
199
- log_(l_.VALIDATION, () => ['JSON_Msg_msg: validate: ', schema_Msg_msg.errors]);
200
- return b_valid;
201
- }
202
- }
296
+ var JSON_MsgEffect = (function () {
297
+ return {
298
+ create_with_cause_merge: function (msg_cause, json) {
299
+ const _cause = msg_cause;
300
+ return Object.assign(JSON_Msg.merge(json), { _cause });
301
+ },
302
+ validate: function (json) {
303
+ if (!JSON_Msg.validate(json))
304
+ return false;
305
+ const b_valid = schema_MsgEffect(json);
306
+ if (!b_valid)
307
+ log_(l_.VALIDATION, () => ['JSON_MsgEffect: validate: ', schema_MsgEffect.errors]);
308
+ return b_valid;
309
+ }
310
+ };
203
311
  })();
204
-
205
- var JSON_MsgAck_msg = (function() {
206
- return {
207
- create_with_msgOk : function(_msg, b_ok= true) {
208
- return JSON_Msg_msg.create_with_msg_merge(_msg, {
209
- ack : {
210
- "ok" : b_ok,
211
- },
212
- });
213
- },
214
- create_with_msgExpired : function(_msg) {
215
- return JSON_Msg_msg.create_with_msg_merge(_msg, {
216
- ack : {
217
- "ok" : false,
218
- "expired" : true
219
- },
220
- });
221
- },
222
- validate : function(json) {
223
- if (! JSON_Msg_msg.validate(json))
224
- return false;
225
- const b_valid= schema_MsgAck_msg(json);
226
- if (!b_valid)
227
- log_(l_.VALIDATION, () => ['JSON_MsgAck: validate: ', schema_MsgAck_msg.errors]);
228
- return b_valid;
229
- }
230
- }
312
+ var JSON_MsgAck = (function () {
313
+ return {
314
+ create_with_cause_Ok: function (msg_cause, b_ok = true) {
315
+ return JSON_MsgEffect.create_with_cause_merge(msg_cause, {
316
+ ack: {
317
+ "ok": b_ok,
318
+ },
319
+ });
320
+ },
321
+ create_with_cause_Expired: function (msg_cause) {
322
+ return JSON_MsgEffect.create_with_cause_merge(msg_cause, {
323
+ ack: {
324
+ "ok": false,
325
+ "expired": true
326
+ },
327
+ });
328
+ },
329
+ validate: function (json) {
330
+ if (!JSON_MsgEffect.validate(json))
331
+ return false;
332
+ const b_valid = schema_MsgAckEffect(json);
333
+ if (!b_valid)
334
+ log_(l_.VALIDATION, () => ['JSON_MsgAckEffect: validate: ', schema_MsgAckEffect.errors]);
335
+ return b_valid;
336
+ }
337
+ };
231
338
  })();
232
339
 
233
340
  exports.JSON_Msg = JSON_Msg;
234
- exports.JSON_MsgAck_msg = JSON_MsgAck_msg;
235
- exports.JSON_Msg_msg = JSON_Msg_msg;
341
+ exports.JSON_MsgAck = JSON_MsgAck;
342
+ exports.JSON_MsgEffect = JSON_MsgEffect;
236
343
  exports.l = l_;