{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-customer-address-schema.json",
  "title": "CustomerAddress",
  "description": "Any address that is associated with a customer (billing, shipping, mailing, and so on).",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-customers-api-openapi.yml#/components/schemas/CustomerAddress",
  "required": [
    "addressId",
    "countryCode",
    "lastName"
  ],
  "type": "object",
  "additionalProperties": {
    "title": "Additional Property Support",
    "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
  },
  "properties": {
    "address1": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's first address."
    },
    "address2": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's second address value."
    },
    "addressId": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer address ID."
    },
    "city": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's city."
    },
    "companyName": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's company name."
    },
    "countryCode": {
      "maxLength": 2,
      "type": "string",
      "description": "The customer's two-character country code per ISO 3166-1 alpha-2."
    },
    "creationDate": {
      "type": "string",
      "description": "Returns the value of attribute 'creationDate'.",
      "format": "date-time"
    },
    "etag": {
      "type": "string",
      "description": "The generated eTag representing the state of the customer address."
    },
    "firstName": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's first name."
    },
    "fullName": {
      "maxLength": 1027,
      "type": "string",
      "description": "The concatenation of the customer's first, middle, last names, and suffix."
    },
    "jobTitle": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's job title."
    },
    "lastModified": {
      "type": "string",
      "description": "Returns the value of attribute 'lastModified'.",
      "format": "date-time"
    },
    "lastName": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's last name."
    },
    "phone": {
      "maxLength": 32,
      "type": "string",
      "description": "The customer's phone number."
    },
    "postBox": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's post box."
    },
    "postalCode": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's postal code."
    },
    "salutation": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's salutation."
    },
    "secondName": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's second name."
    },
    "stateCode": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's state."
    },
    "suffix": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's suffix."
    },
    "suite": {
      "maxLength": 32,
      "type": "string",
      "description": "The customer's suite."
    },
    "title": {
      "maxLength": 256,
      "type": "string",
      "description": "The customer's title."
    }
  }
}