{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomerCreateData",
  "title": "CustomerCreateData",
  "type": "object",
  "properties": {
    "firstName": {
      "type": "string",
      "description": "First name of customer."
    },
    "lastName": {
      "type": "string",
      "description": "Last name of customer."
    },
    "email": {
      "type": "string",
      "description": "Email of customer."
    },
    "password": {
      "type": "string",
      "description": "Password of customer."
    },
    "acceptsMarketingEmails": {
      "type": "boolean",
      "description": "Indicates whether customer provided consent to receive marketing emails."
    },
    "customFields": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CustomFields"
      }
    }
  },
  "x-internal": false
}