{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-reset-password-request-schema.json",
  "title": "ResetPasswordRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-account-api-openapi.yml#/components/schemas/ResetPasswordRequest",
  "type": "object",
  "required": [
    "email",
    "otp",
    "newPassword"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "User email address"
    },
    "otp": {
      "type": "string",
      "description": "One-time password from email (6 digits)",
      "pattern": "^\\d{6}$"
    },
    "newPassword": {
      "type": "string",
      "description": "New password (min 8 chars, max 128 chars)",
      "minLength": 8,
      "maxLength": 128
    }
  }
}