The scorecard Object
JSON transcripts include the scorecard object as part of the top-level app_data object when the V‑Spark folder that processed the audio is configured to analyze transcripts using one or more applications.
V‑Spark applications may have multiple levels of category, up to a maximum of 3 subcategories for each top-level category. The scorecard object uses the same nested structure. At its first level, the scorecard object contains one object for each application. Each application object contains a score element and a subcategories object. Each subcategories object contains lower-level subcategories and scores.
The following table lists elements of the scorecard object:
Element | Type | Description | |||
---|---|---|---|---|---|
| object | Represents an application, its score, and all of its subcategories in a subcategories object. | |||
score | number | The score value for the application overall. | |||
subcategories | object | Contains all subcategories below the first level. | |||
score | number | The score value for subcategories. | |||
subcategories | object | Contains all subcategories below the second level. | |||
score | number | The score value for the lowest-level subcategories. | |||
subcategories | object | An empty object, since this is the lowest level of application subcategory. |
The following JSON example shows a scorecard object from a transcript processed by the application WordsApp. One category, named Words, has the maximum number of subcategories. The other category, named MoreWords, has no subcategories.
"scorecard": { "WordsApp": { "Words": { "subcategories": { "SubWords": { "subcategories": { "SubSubWords": { "subcategories": { "SubSubSubWords": { "subcategories": {}, "score": 1 }, "SubSubSubWords2": { "subcategories": {}, "score": 1 } }, "score": 1 } }, "score": 1 } }, "score": 1 }, "MoreWords": { "subcategories": {}, "score": 1 } } },