V-Spark Online Help

V‑Spark JSON Schema

{
    "$schema": "http://json-schema.org/draft-03/schema#",
    "id": "Voci-JSON-Schema",
    "required": true,
    "type": "object",
    "properties": {
        "confidence": {
            "id": "confidence",
            "required": true,
            "type": "number"
        },
        "donedate": {
            "id": "donedate",
            "required": true,
            "type": "string"
        },
        "utterances": {
            "id": "utterances",
            "required": true,
            "type": "array",
            "items": {
                "id": "0",
                "required": true,
                "type": "object",
                "properties": {
                    "emotion": {
                        "id": "emotion",
                        "required": true,
                        "type": "string"
                    },
                    "confidence": {
                        "id": "confidence",
                        "required": true,
                        "type": "number"
                    },
                    "end": {
                        "id": "end",
                        "required": true,
                        "type": "number"
                    },
                    "sentiment": {
                        "id": "sentiment",
                        "required": true,
                        "type": "string"
                    },
                    "gender": {
                        "id": "gender",
                        "required": true,
                        "type": "string"
                    },
                    "sentimentex": {
                        "id": "sentimentex",
                        "required": true,
                        "type": "array",
                        "items": {
                            "id": "0",
                            "required": true,
                            "type": "array",
                            "items": {
                                "id": "0",
                                "required": true,
                                "type": "number"
                            }
                        }
                    },
                    "start": {
                        "id": "start",
                        "required": true,
                        "type": "number"
                    },
                    "donedate": {
                        "id": "donedate",
                        "required": true,
                        "type": "string"
                    },
                    "recvdate": {
                        "id": "recvdate",
                        "required": true,
                        "type": "string"
                    },
                    "events": {
                        "id": "events",
                        "required": true,
                        "type": "array",
                        "items": {
                            "id": "0",
                            "required": true,
                            "type": "object",
                            "properties": {
                                "start": {
                                    "id": "start",
                                    "required": true,
                                    "type": "number"
                                },
                                "confidence": {
                                    "id": "confidence",
                                    "required": true,
                                    "type": "number"
                                },
                                "end": {
                                    "id": "end",
                                    "required": true,
                                    "type": "number"
                                },
                                "word": {
                                    "id": "word",
                                    "required": true,
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "metadata": {
                        "id": "metadata",
                        "required": true,
                        "type": "object",
                        "properties": {
                            "source": {
                                "id": "source",
                                "required": true,
                                "type": "string"
                            },
                            "model": {
                                "id": "model",
                                "required": true,
                                "type": "string"
                            },
                            "uttid": {
                                "id": "uttid",
                                "required": true,
                                "type": "number"
                            },
                            "channel": {
                                "id": "channel",
                                "required": true,
                                "type": "number"
                            }
                        }
                    }
                }
            }
        },
        "sentiment": {
            "id": "sentiment",
            "required": true,
            "type": "string"
        },
        "nchannels": {
            "id": "nchannels",
            "required": true,
            "type": "number"
        },
        "source": {
            "id": "source",
            "required": true,
            "type": "string"
        },
        "client_data": {
            "id": "client_data",
            "required": true,
            "type": "object",
            "properties": {
                "datetime": {
                    "id": "datetime",
                    "required": true,
                    "type": "string"
                }
            }
        },
        "app_data": {
            "id": "app_data",
            "required": true,
            "type": "object",
            "properties": {
                "silence": {
                    "id": "silence",
                    "required": true,
                    "type": "string"
                },
                "client_gender": {
                    "id": "client_gender",
                    "required": true,
                    "type": "string"
                },
                "agent_clarity": {
                    "id": "agent_clarity",
                    "required": true,
                    "type": "null"
                },
                "agent_emotion": {
                    "id": "agent_emotion",
                    "required": true,
                    "type": "string"
                },
                "client_emotion": {
                    "id": "client_emotion",
                    "required": true,
                    "type": "string"
                },
                "overall_emotion": {
                    "id": "overall_emotion",
                    "required": true,
                    "type": "string"
                },
                "datetime": {
                    "id": "datetime",
                    "required": true,
                    "type": "string"
                },
                "scorecard": {
                    "id": "scorecard",
                    "required": true,
                    "type": "object"
                },
                "client_clarity": {
                    "id": "client_clarity",
                    "required": true,
                    "type": "string"
                },
                "overtalk": {
                    "id": "overtalk",
                    "required": true,
                    "type": "null"
                },
                "url": {
                    "id": "url",
                    "required": true,
                    "type": "string"
                },
                "words": {
                    "id": "words",
                    "required": true,
                    "type": "number"
                },
                "client_channel": {
                    "id": "client_channel",
                    "required": true,
                    "type": "number"
                },
                "tId": {
                    "id": "tId",
                    "required": true,
                    "type": "number"
                },
                "agent_gender": {
                    "id": "agent_gender",
                    "required": true,
                    "type": "null"
                },
                "duration": {
                    "id": "duration",
                    "required": true,
                    "type": "string"
                }
            }
        },
        "requestid": {
            "id": "requestid",
            "required": true,
            "type": "string"
        },
        "sentiment_scores": {
            "id": "sentiment_scores",
            "required": true,
            "type": "array",
            "items": {
                "id": "0",
                "required": true,
                "type": "number"
            }
        },
        "model": {
            "id": "model",
            "required": true,
            "type": "array",
            "items": {
                "id": "0",
                "required": true,
                "type": "string"
            }
        },
        "recvdate": {
            "id": "recvdate",
            "required": true,
            "type": "string"
        }
    }
}