{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ClientProfile",
  "title": "ClientProfile",
  "type": "object",
  "description": "Client profile information.",
  "required": [
    "email",
    "firstName",
    "lastName",
    "document",
    "phone",
    "birthDate",
    "isCorporate"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "Customer's email address.",
      "example": "michael.scott96@mail.com"
    },
    "firstName": {
      "type": "string",
      "description": "Customer's first name.",
      "example": "Michael"
    },
    "lastName": {
      "type": "string",
      "description": "Customer's last name.",
      "example": "Scott"
    },
    "document": {
      "type": "string",
      "description": "Document number informed by the customer.",
      "example": "02906792063"
    },
    "phone": {
      "type": "string",
      "description": "Customer's phone number.",
      "example": "+551111111111"
    },
    "birthDate": {
      "type": "string",
      "description": "Customer's birth date.",
      "example": "0001-01-01T00:00:00"
    },
    "isCorporate": {
      "type": "boolean",
      "description": "Defines if the customer is a company (`true`) or not (`false`).",
      "example": false
    }
  }
}