@jambonz/schema 0.3.21 → 0.3.22

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.
@@ -50,7 +50,11 @@
50
50
  "sensitivity": { "type": "number" }
51
51
  }
52
52
  },
53
- "operating_point": { "type": "string", "description": "Operating point (standard or enhanced)." },
53
+ "operating_point": { "type": "string", "description": "Deprecated by Speechmatics in favor of 'model'. Operating point (standard or enhanced)." },
54
+ "model": {
55
+ "type": "string",
56
+ "description": "Model selection (replaces operating_point), e.g. standard, enhanced, or melia-1."
57
+ },
54
58
  "enable_entities": { "type": "boolean", "description": "Enable entity detection." },
55
59
  "audio_filtering_config": {
56
60
  "type": "object",
@@ -62,9 +66,22 @@
62
66
  "transcript_filtering_config": {
63
67
  "type": "object",
64
68
  "properties": {
65
- "remove_disfluencies": { "type": "boolean" }
69
+ "remove_disfluencies": { "type": "boolean" },
70
+ "replacements": {
71
+ "type": "array",
72
+ "description": "Word replacement rules applied to the transcript. 'from' accepts a plain word or a /regex/.",
73
+ "items": {
74
+ "type": "object",
75
+ "properties": {
76
+ "from": { "type": "string" },
77
+ "to": { "type": "string" }
78
+ },
79
+ "required": ["from", "to"],
80
+ "additionalProperties": false
81
+ }
82
+ }
66
83
  },
67
- "required": ["remove_disfluencies"]
84
+ "additionalProperties": false
68
85
  }
69
86
  }
70
87
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {