V‑Spark JSON schema
warning
tag in the JSON output to see if there were any issues with the transcription. {
"$schema": "http://json-schema.org/draft-07/schema#",
"$anchor": "V‑Spark-JSON-Schema",
"type": "object",
"properties": {
"client_data": {
"title": "client_data",
"type": "object",
"properties": {
"country": {
"title": "country",
"type": "string",
"examples": [
"USA"
]
},
"audio_duration": {
"title": "audio_duration",
"type": "number",
"examples": [
78.48
]
},
"audio_properties": {
"title": "audio_properties",
"type": "string",
"examples": [
"PCM, CBR, 256 kb/s, 8000 Hz, 16 bits, 2 ch"
]
},
"performance_stats": {
"title": "performance_stats",
"type": "object",
"properties": {
"asr_end": {
"title": "asr_end",
"type": "string",
"examples": [
"2021-11-12_16:04:42 +0000"
]
},
"asr_start": {
"title": "asr_start",
"type": "string",
"examples": [
"2021-11-12_16:04:36 +0000"
]
},
"job_start": {
"title": "job_start",
"type": "string",
"examples": [
"2021-11-12_16:04:36 +0000"
]
},
"asr_latency": {
"title": "asr_latency",
"type": "number",
"examples": [
0.0717
]
},
"job_latency": {
"title": "job_latency",
"type": "number",
"examples": [
0.0767
]
},
"job_end": {
"title": "job_end",
"type": "string",
"examples": [
"2021-11-12_16:04:42 +0000"
]
}
},
"additionalProperties": true,
"required": [
"asr_end",
"asr_start",
"job_start",
"asr_latency",
"job_latency",
"job_end"
]
},
"region": {
"title": "region",
"type": "string",
"examples": [
"SELA"
]
},
"jm_version": {
"title": "jm_version",
"type": "string",
"examples": [
"None"
]
},
"brand": {
"title": "brand",
"type": "string",
"examples": [
"ACME"
]
}
},
"additionalProperties": true,
"required": [
"audio_duration",
"audio_properties",
"performance_stats",
"jm_version",
]
},
"sentiment": {
"title": "sentiment",
"type": "string",
"examples": [
"Negative"
]
},
"asr": {
"title": "asr",
"type": "string",
"examples": [
"7.3.0-1"
]
},
"source": {
"title": "source",
"type": "string",
"examples": [
"audio.wav"
]
},
"donedate": {
"title": "donedate",
"type": "string",
"examples": [
"2021-11-12 11:04:44.367598"
]
},
"streamtags": {
"title": "streamtags",
"type": "object",
"properties": {
"agentid": {
"title": "agentid",
"type": "boolean",
"examples": [
true
]
},
"gender": {
"title": "gender",
"type": "boolean",
"examples": [
true
]
},
"rawemotion": {
"title": "rawemotion",
"type": "boolean",
"examples": [
true
]
},
"nsubs": {
"title": "nsubs",
"type": "string",
"examples": [
"true"
]
},
"lid": {
"title": "lid",
"type": "boolean",
"examples": [
true
]
},
"scrubtext": {
"title": "scrubtext",
"type": "boolean",
"examples": [
true
]
},
"datahdr": {
"title": "datahdr",
"type": "string",
"examples": [
"WAVE"
]
},
"subst_rules": {
"title": "subst_rules",
"type": "string",
"examples": [
"<10 chars>"
]
},
"billing": {
"title": "billing",
"type": "string",
"examples": [
"co1-orgA-folder0"
]
},
"token": {
"title": "token",
"type": "string",
"examples": [
""
]
},
"emotion": {
"title": "emotion",
"type": "string",
"examples": [
"xa"
]
},
"music": {
"title": "music",
"type": "string",
"examples": [
"info"
]
},
"substinfo": {
"title": "substinfo",
"type": "boolean",
"examples": [
true
]
},
"model": {
"title": "model",
"type": "array",
"items": {
"type": "string",
"examples": [
"eng1:callcenter"
]
}
}
},
"additionalProperties": true,
"required": [
"billing",
"token",
"model"
]
},
"sentiment_scores": {
"title": "sentiment_scores",
"type": "array",
"items": {
"type": "number",
"examples": [
0
]
}
},
"substinfo": {
"title": "substinfo",
"type": "object",
"properties": {
"nsubs": {
"title": "nsubs",
"type": "number",
"examples": [
4
]
},
"counts": {
"title": "counts",
"type": "array",
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"examples": [
2
]
},
{
"type": "object",
"properties": {
"yeah => yes": {
"title": "yeah => yes",
"type": "number",
"examples": [
2
]
},
"last 4 or => last four or": {
"title": "last 4 or => last four or",
"type": "number",
"examples": [
1
]
},
"four => 4": {
"title": "four => 4",
"type": "number",
"examples": [
1
]
}
},
"additionalProperties": true
},
{
"type": "string",
"examples": [
"subst_rules"
]
}
]
}
}
}
},
"additionalProperties": true,
"required": [
"nsubs",
"counts"
]
},
"model": {
"title": "model",
"type": "array",
"items": {
"type": "string",
"examples": [
"eng1:callcenter"
]
}
},
"app_data": {
"title": "app_data",
"type": "object",
"properties": {
"agent_clarity": {
"title": "agent_clarity",
"type": "string",
"examples": [
"0.845"
]
},
"client_channel": {
"title": "client_channel",
"type": "number",
"examples": [
1
]
},
"agent_emotion": {
"title": "agent_emotion",
"type": "string",
"examples": [
"Negative"
]
},
"client_clarity": {
"title": "client_clarity",
"type": "string",
"examples": [
"0.824"
]
},
"words": {
"title": "words",
"type": "number",
"examples": [
241
]
},
"agent_gender": {
"title": "agent_gender",
"type": "string",
"examples": [
"female"
]
},
"agent_channel": {
"title": "agent_channel",
"type": "number",
"examples": [
0
]
},
"client_emotion": {
"title": "client_emotion",
"type": "string",
"examples": [
"Positive"
]
},
"overall_emotion": {
"title": "overall_emotion",
"type": "string",
"examples": [
"Negative"
]
},
"scorecard": {
"title": "scorecard",
"type": "object",
"additionalProperties": true
},
"url": {
"title": "url",
"type": "string",
"examples": [
"http://ip-10-253-150-159.us-east-2.compute.internal:3000/fileDetails/co1-orgA/folder0/JP7lFH0BG4pTu3xoE2Wz/1/audio.wav"
]
},
"tId": {
"title": "tId",
"type": "number",
"examples": [
1
]
},
"duration": {
"title": "duration",
"type": "string",
"examples": [
"0:01:18"
]
},
"datetime": {
"title": "datetime",
"type": "string",
"examples": [
"2021-11-12 16:04:39 UTC"
]
},
"overtalk": {
"title": "overtalk",
"type": "string",
"examples": [
"0.143"
]
},
"silence": {
"title": "silence",
"type": "string",
"examples": [
"0.342"
]
},
"client_gender": {
"title": "client_gender",
"type": "string",
"examples": [
"male"
]
}
},
"additionalProperties": true,
"required": [
"agent_clarity",
"client_channel",
"agent_emotion",
"client_clarity",
"words",
"agent_gender",
"agent_channel",
"client_emotion",
"overall_emotion",
"scorecard",
"url",
"tId",
"duration",
"datetime",
"overtalk",
"silence",
"client_gender"
]
},
"audiosecs": {
"title": "audiosecs",
"type": "number",
"examples": [
78.48
]
},
"last_modified": {
"title": "last_modified",
"type": "string",
"examples": [
"2021-11-12 16:04:56"
]
},
"chaninfo": {
"title": "chaninfo",
"type": "array",
"items": {
"type": "object",
"properties": {
"emotion": {
"title": "emotion",
"type": "string",
"examples": [
"Improving"
]
},
"agentscore": {
"title": "agentscore",
"type": "number",
"examples": [
0.38
]
},
"textinfo": {
"title": "textinfo",
"type": "object",
"properties": {
"overtalk": {
"title": "overtalk",
"type": "object",
"properties": {
"avgtime": {
"title": "avgtime",
"type": "number",
"examples": [
0.48
]
},
"count": {
"title": "count",
"type": "array",
"items": {
"type": "number",
"examples": [
1
]
}
},
"time": {
"title": "time",
"type": "array",
"items": {
"type": "number",
"examples": [
0.48
]
}
}
},
"additionalProperties": true,
"required": [
"avgtime",
"count",
"time"
]
},
"wordtime": {
"title": "wordtime",
"type": "array",
"items": {
"type": "number",
"examples": [
38.04
]
}
},
"words": {
"title": "words",
"type": "number",
"examples": [
175
]
},
"silence": {
"title": "silence",
"type": "array",
"items": {
"type": "number",
"examples": [
40.44
]
}
},
"turns": {
"title": "turns",
"type": "number",
"examples": [
7
]
}
},
"additionalProperties": true,
"required": [
"overtalk",
"wordtime",
"words",
"silence",
"turns"
]
}
},
"additionalProperties": true,
"required": [
"emotion",
"agentscore",
"textinfo"
]
}
},
"utterances": {
"title": "utterances",
"type": "array",
"items": {
"type": "object",
"properties": {
"sentiment": {
"title": "sentiment",
"type": "string",
"examples": [
"Negative"
]
},
"metadata": {
"title": "metadata",
"type": "object",
"properties": {
"substinfo": {
"title": "substinfo",
"type": "object",
"properties": {
"subs": {
"title": "subs",
"type": "array",
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"examples": [
3.83
]
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"sub": {
"title": "sub",
"type": "string",
"examples": [
"yeah => yes"
]
},
"start": {
"title": "start",
"type": "number",
"examples": [
3.83
]
},
"rule": {
"title": "rule",
"type": "string",
"examples": [
"0"
]
},
"end": {
"title": "end",
"type": "number",
"examples": [
4.13
]
},
"source": {
"title": "source",
"type": "string",
"examples": [
"subst_rules"
]
}
},
"additionalProperties": true,
"required": [
"sub",
"start",
"rule",
"end",
"source"
]
}
}
]
}
}
},
"nsubs": {
"title": "nsubs",
"type": "number",
"examples": [
3
]
}
},
"additionalProperties": true,
"required": [
"subs",
"nsubs"
]
},
"nsubs": {
"title": "nsubs",
"type": "number",
"examples": [
1
]
},
"uttid": {
"title": "uttid",
"type": "number",
"examples": [
0
]
},
"channel": {
"title": "channel",
"type": "number",
"examples": [
0
]
},
"model": {
"title": "model",
"type": "string",
"examples": [
"eng1:callcenter"
]
},
"source": {
"title": "source",
"type": "string",
"examples": [
"audio.wav"
]
}
},
"additionalProperties": true,
"required": [
"uttid",
"channel",
"model",
"source"
]
},
"gender": {
"title": "gender",
"type": "string",
"examples": [
"female"
]
},
"rawemotion": {
"title": "rawemotion",
"type": "string",
"examples": [
"ANGRY"
]
},
"confidence": {
"title": "confidence",
"type": "number",
"examples": [
0.86
]
},
"start": {
"title": "start",
"type": "number",
"examples": [
0.41
]
},
"recvtz": {
"title": "recvtz",
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"examples": [
"EST"
]
},
{
"type": "number",
"examples": [
-18000
]
}
]
}
},
"donedate": {
"title": "donedate",
"type": "string",
"examples": [
"2021-11-12 11:04:44.325363"
]
},
"recvdate": {
"title": "recvdate",
"type": "string",
"examples": [
"2021-11-12 11:04:39.223285"
]
},
"emotion": {
"title": "emotion",
"type": "string",
"examples": [
"Negative"
]
},
"sentimentex": {
"title": "sentimentex",
"type": "array",
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"examples": [
0
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"examples": [
"-"
]
},
{
"type": "array",
"items": {
"type": "number",
"examples": [
7
]
}
},
{
"type": "number",
"examples": [
1
]
}
]
}
}
]
}
}
},
"musicinfo": {
"title": "musicinfo",
"type": "object",
"properties": {
"score": {
"title": "score",
"type": "number",
"examples": [
-0.8
]
},
"used": {
"title": "used",
"type": "number",
"examples": [
12.67
]
}
},
"additionalProperties": true,
"required": [
"score",
"used"
]
},
"end": {
"title": "end",
"type": "number",
"examples": [
20.21
]
},
"events": {
"title": "events",
"type": "array",
"items": {
"type": "object",
"properties": {
"confidence": {
"title": "confidence",
"type": "number",
"examples": [
0.86
]
},
"start": {
"title": "start",
"type": "number",
"examples": [
0.41
]
},
"end": {
"title": "end",
"type": "number",
"examples": [
0.68
]
},
"word": {
"title": "word",
"type": "string",
"examples": [
"So"
]
},
"wordex": {
"title": "wordex",
"type": "string",
"examples": [
"for(4)"
]
}
},
"additionalProperties": true,
"required": [
"confidence",
"start",
"end",
"word"
]
}
}
},
"additionalProperties": true,
"required": [
"metadata",
"confidence",
"start",
"recvtz",
"donedate",
"recvdate",
"emotion",
"end",
"events"
]
}
},
"nsubs": {
"title": "nsubs",
"type": "number",
"examples": [
2
]
},
"confidence": {
"title": "confidence",
"type": "number",
"examples": [
0.84
]
},
"recvtz": {
"title": "recvtz",
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"examples": [
"EST"
]
},
{
"type": "number",
"examples": [
-18000
]
}
]
}
},
"started": {
"title": "started",
"type": "string",
"examples": [
"2021-11-12 11:04:39.050853"
]
},
"textinfo": {
"title": "textinfo",
"type": "object",
"properties": {
"overtalk": {
"title": "overtalk",
"type": "object",
"properties": {
"avgtime": {
"title": "avgtime",
"type": "number",
"examples": [
0.87
]
},
"count": {
"title": "count",
"type": "array",
"items": {
"type": "number",
"examples": [
2
]
}
},
"time": {
"title": "time",
"type": "array",
"items": {
"type": "number",
"examples": [
1.74
]
}
}
},
"additionalProperties": true,
"required": [
"avgtime",
"count",
"time"
]
},
"wordtime": {
"title": "wordtime",
"type": "array",
"items": {
"type": "number",
"examples": [
51.36
]
}
},
"words": {
"title": "words",
"type": "number",
"examples": [
241
]
},
"silence": {
"title": "silence",
"type": "array",
"items": {
"type": "number",
"examples": [
27.12
]
}
},
"turns": {
"title": "turns",
"type": "number",
"examples": [
13
]
}
},
"additionalProperties": true,
"required": [
"overtalk",
"wordtime",
"words",
"silence",
"turns"
]
},
"recvdate": {
"title": "recvdate",
"type": "string",
"examples": [
"2021-11-12 11:04:39.223285"
]
},
"license": {
"title": "license",
"type": "string",
"examples": [
"string"
]
},
"emotion": {
"title": "emotion",
"type": "string",
"examples": [
"Improving"
]
},
"lidinfo": {
"title": "lidinfo",
"type": "object",
"properties": {
"speech": {
"title": "speech",
"type": "number",
"examples": [
12.67
]
},
"conf": {
"title": "conf",
"type": "number",
"examples": [
1
]
},
"lang": {
"title": "lang",
"type": "string",
"examples": [
"eng"
]
}
},
"additionalProperties": true,
"required": [
"speech",
"conf",
"lang"
]
},
"nchannels": {
"title": "nchannels",
"type": "number",
"examples": [
2
]
},
"requestid": {
"title": "requestid",
"type": "string",
"examples": [
"6efe9038-962f-4cdb-8ac4-7876809fae94"
]
},
"ended": {
"title": "ended",
"type": "string",
"examples": [
"2021-11-12 11:04:44.377419"
]
}
},
"additionalProperties": true,
"required": [
"client_data",
"sentiment",
"asr",
"source",
"donedate",
"streamtags",
"sentiment_scores",
"model",
"app_data",
"audiosecs",
"last_modified",
"utterances",
"nsubs",
"confidence",
"recvtz",
"started",
"textinfo",
"recvdate",
"license",
"emotion",
"nchannels",
"requestid",
"ended"
]
}