{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emporix/json-schema/emporix-change-email-request-dto-schema.json",
  "title": "ChangeEmailRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-credentials-api-openapi.yml#/components/schemas/ChangeEmailRequestDto",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Customer email address currently used for logging in."
    },
    "password": {
      "type": "string",
      "description": "Customer account password."
    },
    "newEmail": {
      "type": "string",
      "description": "Customer new email address."
    },
    "syncContactEmail": {
      "type": "boolean",
      "default": false,
      "description": "Flag indicating whether the `contactEmail` should be changed to the new email address."
    }
  }
}