ASR result specification

JSON Schema of asr result

This is the JSON schema of the asr result

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "ASR response JSON schema",
    "type": "object",
    "required": [
        "words"
    ],
    "properties": {
        "words": {
            "type": "array",
            "description": "Contains words from ASR",
            "items": {
                "type": "object",
                "description": "Contains word from ASR",
                "properties": {
                    "c": {
                        "type": "number",
                        "description": "Confidence"
                    },
                    "st": {
                        "type": "number",
                        "description": "The start time in seconds from beginning"
                    },
                    "et": {
                        "type": "number",
                        "description": "The start time in seconds from beginning"
                    },
                    "p": {
                        "type": "integer",
                        "description": "Index from zero to infinity"
                    },
                    "w": {
                        "type": "string",
                        "description": "The recognized word"
                    },
                    "m": {
                        "type": "string",
                        "description": "metainfo"
                    }
                }
            }
        }
    }
}