{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twtapi-com/json-schema/twtapi-com-reset-password-request-schema.json",
  "title": "ResetPasswordRequest",
  "description": "凭邮件里的 token 重置密码。\n\ntoken 由 generate_reset_token() 生成、存于 Redis 且一次性使用；\n这里只承载它，有效性由 auth_service 判断。",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twtapi-com-openapi.json#/components/schemas/ResetPasswordRequest",
  "properties": {
    "token": {
      "type": "string",
      "title": "Token"
    },
    "password": {
      "type": "string",
      "title": "Password"
    },
    "captcha": {
      "type": "string",
      "title": "Captcha"
    }
  },
  "type": "object",
  "required": [
    "token",
    "password",
    "captcha"
  ]
}