{
    "$id": "https://xwcloudapi.weixin.qq.com/schemas/2021-09/chat_response.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "chat_response",
    "description": "小微系统通过对话请求,返回的结果定义",
    "type": "object",
    "properties": {
        "query_id": {
            "$ref": "https://xwcloudapi.weixin.qq.com/schemas/2021-09/common_schema.json#/properties/query_id"
        },
        "skill_info": {
            "$ref": "https://xwcloudapi.weixin.qq.com/schemas/2021-09/skill_info.json"
        },
        "nlp_info": {
            "$ref": "https://xwcloudapi.weixin.qq.com/schemas/2021-09/nlp_info.json"
        },
        "skill_answer": {
            "$ref": "https://xwcloudapi.weixin.qq.com/schemas/2021-09/skill_answer.json"
        }
    },
    "oneOf": [
        {
        "required": [
            "query_id",
            "skill_info",
            "nlp_info"
        ]
    },
        {
        "required": [
            "query_id",
            "skill_info",
            "skill_answer"
        ]
    },
        {
        "required": [
            "query_id",
            "skill_info",
            "nlp_info",
            "skill_answer"
        ]
    }
    ]
}
