{ "title": "服务推荐", "description": "查询", "type": "object", "properties": { "clientId": { "description": "唯一标识符", "maximum": 2147483647, "minimum": -2147483648, "type": [ "null", "integer" ] }, "query": { "description": "查询条件", "type": "object", "required": [ "dataSource" ], "properties": { "queryType": { "description": "查询类型", "maxLength": 65535, "type": "string" }, "dataSource": { "description": "查询数据源", "maxLength": 65535, "type": "string" }, "parameters": { "description": "查询参数", "type": "object", "properties": { "match": { "description": "模糊查询参数", "type": "array", "items": [ { "type": "object", "required": [ "type", "fieldKey", "fieldValues" ], "properties": { "type": { "description": "匹配符号", "maxLength": 65535, "type": "string" }, "fieldKey": { "description": "查询字段", "maxLength": 65535, "type": "string" }, "fieldValues": { "description": "查询参数", "type": "array", "items": { "maxLength": 65535, "type": "string" } } } } ], "additionalItems": { "type": "object", "required": [ "type", "fieldKey", "fieldValues" ], "properties": { "type": { "description": "匹配符号", "maxLength": 65535, "type": "string" }, "fieldKey": { "description": "查询字段", "maxLength": 65535, "type": "string" }, "fieldValues": { "description": "查询参数", "type": "array", "items": { "maxLength": 65535, "type": "string" } } } } }, "range": { "description": "范围查询参数", "type": "array", "items": { "type": "object", "required": [ "type", "fieldKey", "fieldValues" ], "properties": { "type": { "description": "匹配符号", "maxLength": 65535, "type": "string" }, "fieldKey": { "description": "查询字段", "maxLength": 65535, "type": "string" }, "fieldValues": { "description": "查询参数", "type": "array", "items": { "maximum": 2147483647, "minimum": -2147483648, "maxLength": 65535, "type": [ "integer", "string" ] } } } }, "additionalItems": { "type": "object", "required": [ "type", "fieldKey", "fieldValues" ], "properties": { "type": { "description": "匹配符号", "maxLength": 65535, "type": "string" }, "fieldKey": { "description": "查询字段", "maxLength": 65535, "type": "string" }, "fieldValues": { "description": "查询参数", "type": "array", "items": { "maximum": 2147483647, "minimum": -2147483648, "maxLength": 65535, "type": [ "integer", "string" ] } } } } }, "intervals": { "description": "查询时间", "type": "array", "items": { "maxLength": 65535, "type": "string" }, "additionalItems": { "maxLength": 65535, "type": "string" } }, "sort": { "description": "排序", "type": "array", "items": { "type": "object", "required": ["type","fieldKey"], "properties": { "type": { "description": "匹配符号", "maxLength": 65535, "type": "string" }, "fieldKey": { "description": "排序字段", "maxLength": 65535, "type": "string" } } }, "additionalItems": { "type": "object", "required": ["type","fieldKey"], "properties": { "type": { "description": "匹配符号", "maxLength": 65535, "type": "string" }, "fieldKey": { "description": "排序字段", "maxLength": 65535, "type": "string" } } } }, "limit": { "description": "查询条数", "maxLength": 65535, "maximum": 2147483647, "minimum": 0, "type": [ "integer", "string" ] } } } } } } }