qweb-client
Version:
qweb client.
1,403 lines • 94.2 kB
JSON
{
"info": {
"title": "获取最新的保单信息(车辆信息、报价方案)",
"author": "Foam",
"description": "获取最新的保单信息(车辆信息、报价方案)",
"auth": true
},
"request": {
"type": "string",
"pattern": "^.{7,8}$",
"description": "车辆车牌号码"
},
"response": {
"type": "object",
"properties": {
"biz": {
"type": "object",
"description": "历史保单-商业险信息",
"properties": {
"companyCode": {
"enum": [
"PINGAN",
"TAIBAO",
"TAIPING",
"RENBAO"
],
"description": "保险公司代码"
},
"proposalNo": {
"type": "string",
"description": "投保单号"
},
"policyNo": {
"type": "string",
"description": "保单号"
},
"startTime": {
"type": "integer",
"description": "起保时间"
},
"endTime": {
"type": "integer",
"description": "终保时间"
},
"vehicle": {
"type": "object",
"description": "车辆信息",
"properties": {
"plateNo": {
"type": "string",
"pattern": "^.{7,8}$",
"description": "车辆车牌号码"
},
"vin": {
"type": "string",
"pattern": "^[A-Z0-9]{17}$",
"description": "车辆VIN(车架号)"
},
"engineNo": {
"type": "string",
"description": "车辆发动机号"
},
"registerDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "形如XXXX-XX-XX的日期字符串,eg: 2017-05-18"
},
"transferredDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "形如XXXX-XX-XX的日期字符串,eg: 2017-05-18"
},
"usageType": {
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
],
"description": "车辆使用性质"
},
"model": {
"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": [
"plateNo",
"vin",
"engineNo",
"registerDate",
"usageType"
]
},
"associate": {
"type": "object",
"properties": {
"owner": {
"description": "车主信息",
"anyOf": [
{
"type": "object",
"description": "关联信息-个人",
"properties": {
"type": {
"enum": [
1
]
},
"name": {
"type": "string"
},
"birthday": {
"type": "string"
},
"gender": {
"enum": [
1,
2
],
"description": "性别"
},
"certificate": {
"type": "object",
"switch": [
{
"if": {
"properties": {
"type": {
"enum": [
1
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
1
]
},
"id": {
"type": "string",
"pattern": "^\\d{17}\\d|[X]$",
"description": "身份证,eg:440305199901012222"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
2
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
2
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "护照"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
3
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
3
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "军官证"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
4
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
4
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "台胞证"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
5
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
5
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "其他个人证件"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"then": false
}
]
}
},
"additionalProperties": false,
"required": [
"type",
"name",
"certificate"
]
},
{
"type": "object",
"description": "关联信息-机构",
"properties": {
"type": {
"enum": [
2
]
},
"name": {
"type": "string"
},
"certificate": {
"type": "object",
"switch": [
{
"if": {
"properties": {
"type": {
"enum": [
6
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
6
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "组织机构代码"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
7
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
7
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "税务登记号"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
8
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
8
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "营业执照"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
10
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
10
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "其他机构证件"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"then": false
}
]
}
},
"additionalProperties": false,
"required": [
"type",
"name",
"certificate"
]
}
]
},
"applicant": {
"description": "被保人信息",
"anyOf": [
{
"type": "object",
"description": "关联信息-个人",
"properties": {
"type": {
"enum": [
1
]
},
"name": {
"type": "string"
},
"birthday": {
"type": "string"
},
"gender": {
"enum": [
1,
2
],
"description": "性别"
},
"certificate": {
"type": "object",
"switch": [
{
"if": {
"properties": {
"type": {
"enum": [
1
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
1
]
},
"id": {
"type": "string",
"pattern": "^\\d{17}\\d|[X]$",
"description": "身份证,eg:440305199901012222"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
2
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
2
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "护照"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
3
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
3
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "军官证"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
4
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
4
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "台胞证"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
5
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
5
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "其他个人证件"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"then": false
}
]
}
},
"additionalProperties": false,
"required": [
"type",
"name",
"certificate"
]
},
{
"type": "object",
"description": "关联信息-机构",
"properties": {
"type": {
"enum": [
2
]
},
"name": {
"type": "string"
},
"certificate": {
"type": "object",
"switch": [
{
"if": {
"properties": {
"type": {
"enum": [
6
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
6
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "组织机构代码"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
7
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
7
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "税务登记号"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
8
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
8
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "营业执照"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
10
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
10
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "其他机构证件"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"then": false
}
]
}
},
"additionalProperties": false,
"required": [
"type",
"name",
"certificate"
]
}
]
},
"insurant": {
"description": "投保人信息",
"anyOf": [
{
"type": "object",
"description": "关联信息-个人",
"properties": {
"type": {
"enum": [
1
]
},
"name": {
"type": "string"
},
"birthday": {
"type": "string"
},
"gender": {
"enum": [
1,
2
],
"description": "性别"
},
"certificate": {
"type": "object",
"switch": [
{
"if": {
"properties": {
"type": {
"enum": [
1
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
1
]
},
"id": {
"type": "string",
"pattern": "^\\d{17}\\d|[X]$",
"description": "身份证,eg:440305199901012222"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
2
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
2
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "护照"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
3
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
3
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "军官证"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
4
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
4
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "台胞证"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
5
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
5
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "其他个人证件"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"then": false
}
]
}
},
"additionalProperties": false,
"required": [
"type",
"name",
"certificate"
]
},
{
"type": "object",
"description": "关联信息-机构",
"properties": {
"type": {
"enum": [
2
]
},
"name": {
"type": "string"
},
"certificate": {
"type": "object",
"switch": [
{
"if": {
"properties": {
"type": {
"enum": [
6
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
6
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "组织机构代码"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
7
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
7
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "税务登记号"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
8
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
8
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "营业执照"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"if": {
"properties": {
"type": {
"enum": [
10
]
}
}
},
"then": {
"properties": {
"type": {
"enum": [
10
]
},
"id": {
"type": "string",
"pattern": "^.+$",
"description": "其他机构证件"
}
},
"additionalProperties": false,
"required": [
"type",
"id"
]
}
},
{
"then": false
}
]
}
},
"additionalProperties": false,
"required": [
"type",
"name",
"certificate"
]
}
]
}
},
"additionalProperties": false
},
"itemList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"enum": [
"damage",
"thirdParty",
"theft",
"driver",
"passenger",
"glass",
"combustion",
"thirdNotFound",
"specifyFactory",
"soaked",
"scratch",
"goodsOnVehicle",
"mentalDistress",
"newEquipment",
"duringRepair"
],
"description": "商业险种代号"
},
"amount": {
"type": "integer"
},
"deductible": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"name",
"amount"
]
}
}
},
"additionalProperties": false,
"required": [
"companyCode",
"policyNo",
"startTime",
"endTime",
"vehicle",
"associate",
"itemList"
]
},
"force": {
"type": "object",
"description": "历史保单-交强险信息",
"properties": {
"companyCode": {
"enum": [
"PINGAN",
"TAIBAO",
"TAIPING",
"RENBAO"
],
"description": "保险公司代码"
},
"proposalNo": {
"type": "string",
"description": "投保单号"
},
"policyNo": {
"type": "string",
"description": "保单号"
},
"startTime": {
"type": "integer",
"description": "起保时间"
},
"endTime": {
"type": "integer",
"description": "终保时间"
},
"vehicle": {
"type": "object",
"description": "车辆信息",
"properties": {
"plateNo": {
"type": "string",
"pattern": "^.{7,8}$",
"description": "车辆车牌号码"
},
"vin": {
"type": "string",
"pattern": "^[A-Z0-9]{17}$",
"description": "车辆VIN(车架号)"
},
"engineNo": {
"type": "string",
"description": "车辆发动机号"
},
"registerDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "形如XXXX-XX-XX的日期字符串,eg: 2017-05-18"
},
"transferredDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "形如XXXX-XX-XX的日期字符串,eg: 2017-05-18"
},
"usageType": {
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
],
"description": "车辆使用性质"
},
"model": {
"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": "座位数"
},
"exhaustScal