查看原始 JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hotelId",
"checkIn",
"checkOut",
"rooms",
"adults",
"children",
"currency",
"locale",
"login"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"login": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "来源登录状态标志。类型: 整数; 最小值: -9007199254740991; 最大值: 9007199254740991"
},
"rooms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "房间数。类型: 整数; 最小值: 1; 最大值: 9007199254740991"
},
"adults": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "成人数。类型: 整数; 最小值: 1; 最大值: 9007199254740991"
},
"locale": {
"type": "string",
"minLength": 2,
"description": "内容语言地区。类型: 字符串; 最短长度: 2"
},
"checkIn": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "入住日期。类型: 字符串"
},
"hotelId": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "来源酒店标识。类型: 整数; 最小值: 1; 最大值: 9007199254740991"
},
"checkOut": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "离店日期。类型: 字符串"
},
"children": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "儿童数。类型: 整数; 最小值: 0; 最大值: 9007199254740991"
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "请求币种。类型: 字符串; 最短长度: 3; 最长长度: 3"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}