查看原始 JSON
{
"type": "object",
"required": [
"queryParams"
],
"properties": {
"queryParams": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"target",
"date",
"country"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "竞争对手分析参数 1。"
},
"mode": {
"enum": [
"exact",
"prefix",
"domain",
"subdomains"
],
"type": "string",
"default": "subdomains",
"description": "竞争对手分析参数 2。"
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "竞争对手分析参数 3。"
},
"where": {
"type": "string",
"minLength": 1,
"description": "竞争对手分析参数 4。"
},
"target": {
"type": "string",
"minLength": 1,
"description": "竞争对手分析参数 5。"
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "竞争对手分析参数 6。"
},
"order_by": {
"type": "string",
"minLength": 1,
"description": "竞争对手分析参数 7。"
},
"protocol": {
"enum": [
"both",
"http",
"https"
],
"type": "string",
"default": "both",
"description": "竞争对手分析参数 8。"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}