查看原始 JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"type",
"identifier"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"type": {
"enum": [
"brand",
"styleguide"
],
"type": "string",
"description": "选择要准备的资料:brand 排队准备品牌资料,styleguide 排队提取样式指南。"
},
"timeoutMS": {
"type": "integer",
"maximum": 300000,
"minimum": 1000,
"description": "供应商超时上限,单位毫秒,最大 300000。应短于该端点的 requestTimeoutMs,避免平台先超时。"
},
"identifier": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 320,
"description": "工作邮箱。供应商提取并校验其域名,拒绝普通免费邮箱和临时邮箱。"
},
"domain": {
"type": "string",
"minLength": 3,
"description": "公司域名,例如 example.com,无需网址协议前缀。"
}
},
"description": "查询目标,只能提供 domain 或 email 之一。",
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}