@kohost/api-client 3.9.9 → 3.9.10

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.
@@ -20,20 +20,24 @@
20
20
  "driver": {
21
21
  "$ref": "definitions.json#/definitions/driver"
22
22
  },
23
- "message": {
24
- "type": "string"
25
- },
26
- "field1": {
27
- "type":"string"
28
- },
29
- "field2": {
30
- "type":"string"
31
- },
32
- "field3": {
33
- "type":"string"
34
- },
35
- "field4": {
36
- "type":"string"
37
- }
23
+ "name": {
24
+ "type": "string",
25
+ "description": "Event name"
26
+ },
27
+ "patternProperties": {
28
+ "^field[0-9]+$": {
29
+ "type":"object",
30
+ "required": ["name", "value"],
31
+ "properties": {
32
+ "name": {
33
+ "type": "string"
34
+ },
35
+ "value": {
36
+ "type": "string"
37
+ }
38
+ }
39
+ }
40
+ },
41
+ "additionalProperties": false
38
42
  }
39
43
  }
@@ -13872,21 +13872,25 @@ var require_log = __commonJS({
13872
13872
  driver: {
13873
13873
  $ref: "definitions.json#/definitions/driver"
13874
13874
  },
13875
- message: {
13876
- type: "string"
13877
- },
13878
- field1: {
13879
- type: "string"
13880
- },
13881
- field2: {
13882
- type: "string"
13875
+ name: {
13876
+ type: "string",
13877
+ description: "Event name"
13883
13878
  },
13884
- field3: {
13885
- type: "string"
13879
+ patternProperties: {
13880
+ "^field[0-9]+$": {
13881
+ type: "object",
13882
+ required: ["name", "value"],
13883
+ properties: {
13884
+ name: {
13885
+ type: "string"
13886
+ },
13887
+ value: {
13888
+ type: "string"
13889
+ }
13890
+ }
13891
+ }
13886
13892
  },
13887
- field4: {
13888
- type: "string"
13889
- }
13893
+ additionalProperties: false
13890
13894
  }
13891
13895
  };
13892
13896
  }