Format

V‑Spark accepts metadata in JSON or XML format. Metadata files must have the same filename as the audio to which they apply, but with .xml or .json extension in place of the original extension. For example, an audio file named ABC.wav could be uploaded with a metadata file named ABC.json or ABC.xml.

When uploaded with previously processed JSON transcripts, metadata files must use the .jsonmeta extension. JSON and XML files must be formatted as shown in the examples below; V‑Spark does not do any error correction on metadata files.

Note: Metadata timestamps without time zone information are interpreted with the organization's time zone and not the system time zone.

The following is an example of the XML format:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <metadata>
        <agentid>10005</agentid>
        <datetime>2015-06-02 13:29:20</datetime>
        <agentname>John Smith</agentname>
        <client-phone>123-456-7890</client-phone>
    </metadata>

The following is an example of the JSON format:

{
    "metadata":
        {
            "agentid": "10005",
            "datetime": "2015-06-02 13:29:20",
            "agentname": "John Smith",
            "client-phone": "123-456-7890"
        }
}
Note: A leading - in custom metadata is reserved for exclude phrases. As a result, any leading - at the beginning of custom metadata values is replaced with #. For example, if you have a field name for Call Direction with a metadata value of -inbound, the metadata value will be changed to #inbound.