{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bouygues-telecom/json-schema/bouygues-telecom-customer-account-schema.json",
  "title": "CustomerAccount",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bouygues-telecom-create-customer-account-openapi.yml#/components/schemas/CustomerAccount",
  "type": "object",
  "required": [
    "birthDate",
    "birthDepartment",
    "emailAddress",
    "firstName",
    "lastName",
    "phoneNumber",
    "title"
  ],
  "properties": {
    "birthDate": {
      "description": "date of birth of the customer",
      "type": "string",
      "format": "date"
    },
    "birthDepartment": {
      "description": "birth Department",
      "maxLength": 3,
      "minLength": 1,
      "type": "string"
    },
    "emailAddress": {
      "description": "email address of the customer",
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "firstName": {
      "description": "first name of the customer",
      "maxLength": 40,
      "minLength": 1,
      "type": "string"
    },
    "lastName": {
      "description": "name of the customer",
      "maxLength": 40,
      "minLength": 1,
      "type": "string"
    },
    "phoneNumber": {
      "description": "phone number of the customer",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "title": {
      "description": "Title of the customer ( M or MME)",
      "type": "string",
      "enum": [
        "M",
        "MME"
      ]
    }
  }
}