{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomerRequest",
  "title": "CustomerRequest",
  "type": "object",
  "description": "Request body for creating or updating a customer account.",
  "required": [
    "customer"
  ],
  "properties": {
    "customer": {
      "$ref": "#/components/schemas/Customer"
    },
    "password": {
      "type": "string",
      "description": "Plain-text password to set on the customer account. If omitted, a password reset email is sent.",
      "format": "password"
    }
  }
}