{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-order-address-schema.json",
  "title": "OrderAddress",
  "description": "Document representing an order address.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-shopper-baskets-api-openapi.yml#/components/schemas/OrderAddress",
  "properties": {
    "address1": {
      "description": "The first address line.",
      "type": "string"
    },
    "address2": {
      "description": "The second address line.",
      "type": "string"
    },
    "city": {
      "description": "The city.",
      "type": "string"
    },
    "companyName": {
      "description": "The company name.",
      "type": "string"
    },
    "countryCode": {
      "$ref": "#/$defs/CountryCode"
    },
    "firstName": {
      "description": "The first name.",
      "type": "string"
    },
    "fullName": {
      "description": "The full name.",
      "type": "string"
    },
    "id": {
      "description": "The ID of the address.",
      "type": "string"
    },
    "jobTitle": {
      "description": "The job title.",
      "type": "string"
    },
    "lastName": {
      "description": "The last name.",
      "type": "string"
    },
    "phone": {
      "description": "The phone number.",
      "type": "string"
    },
    "postBox": {
      "description": "The post office box.",
      "type": "string"
    },
    "postalCode": {
      "description": "The postal code.",
      "type": "string"
    },
    "salutation": {
      "description": "The salutation.",
      "type": "string"
    },
    "secondName": {
      "description": "The second name.",
      "type": "string"
    },
    "stateCode": {
      "description": "The state code.",
      "type": "string"
    },
    "suffix": {
      "description": "The suffix.",
      "type": "string"
    },
    "suite": {
      "description": "The suite.",
      "type": "string"
    },
    "title": {
      "description": "The title.",
      "type": "string"
    }
  },
  "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."
  },
  "$defs": {
    "CountryCode": {
      "pattern": "^[A-Z][A-Z]$",
      "description": "A two letter uppercase country code conforming to the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 standard.",
      "type": "string"
    }
  }
}