qweb-client
Version:
qweb client.
153 lines • 3.77 kB
JSON
{
"info": {
"title": "用车架号查询车型",
"author": "Leon",
"description": "用车架号查询车型",
"auth": true
},
"constant": {
"responseStatus": {
"SUCCESS": 0,
"OVER_500": 1,
"NOT_FOUND": 2
}
},
"request": {
"type": "string",
"pattern": "^[A-Z0-9]{17}$",
"description": "车辆VIN(车架号)"
},
"response": {
"type": "object",
"properties": {
"status": {
"enum": [
0,
1,
2
],
"description": "状态返回,详见【constant.responseStatus】"
},
"models": {
"type": "array",
"items": {
"type": "object",
"description": "车辆模型",
"properties": {
"modelName": {
"type": "string",
"description": "车辆品牌型号"
},
"modelCode": {
"type": "string",
"pattern": "^[A-Z0-9]{10}$",
"description": "车辆精友代码,eg: FTABND0039"
},
"rbCode": {
"type": "string",
"pattern": "^[A-Z0-9]{10}$",
"description": "车辆人保代码,eg: JHD2246JHQ"
},
"hyCode": {
"type": "string",
"pattern": "^[A-Z0-9]{12}$",
"description": "车辆行业代码,eg: BZTKZAUD0023"
},
"brandName": {
"type": "string",
"description": "品牌名"
},
"marketPrice": {
"type": "integer",
"description": "购置价"
},
"hyPrice": {
"type": "integer",
"description": "实际行业购置价"
},
"seat": {
"type": "integer",
"description": "座位数"
},
"exhaustScale": {
"type": "number",
"description": "排量"
},
"year": {
"type": "integer",
"description": "上市年份"
},
"weight": {
"type": "number",
"description": "车的重量"
},
"loadCapacity": {
"type": "number",
"description": "载重"
},
"productArea": {
"type": "number",
"description": "产地"
},
"vehicleType": {
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
20,
21,
22,
23
],
"description": "车辆类型"
},
"fuelType": {
"enum": [
1,
2,
3,
4,
5
],
"description": "车辆燃油类型"
},
"remark": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"modelName",
"modelCode",
"rbCode",
"hyCode",
"brandName",
"marketPrice",
"hyPrice",
"seat",
"exhaustScale",
"year",
"weight",
"loadCapacity",
"vehicleType",
"fuelType",
"remark",
"productArea"
]
}
}
},
"additionalProperties": false,
"required": [
"status",
"models"
]
}
}