Mastercard · Schema

Address

Credit CardsDigital IdentityFinancial ServicesFraud DetectionOpen BankingPaymentsFortune 500

Properties

Name Type Description
countryCode string Denotes three-character country code.
locality string Neighborhood.
postalCode string

The postal code in the address is the ZIP code or equivalent and can be an alphanumeric value including whitespace (for example, PE7 8FT).
Note - Special characters and only whitespace cha

state string The state or region or province to which the address belongs.
city string City.
line1 string Street Address line1.
line2 string Street Address line2.
line3 string Street Address line3.
type string Denotes the type of address. (For example, home or work)
View JSON Schema on GitHub

JSON Schema

mastercard-carbon-calculator-experience-address-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Address",
  "type": "object",
  "properties": {
    "countryCode": {
      "type": "string",
      "description": "Denotes three-character country code."
    },
    "locality": {
      "type": "string",
      "description": "Neighborhood."
    },
    "postalCode": {
      "type": "string",
      "description": "<p> The postal code in the address is the ZIP code or equivalent and can be an alphanumeric value including whitespace (for example, PE7 8FT). <br><b> Note - Special characters and only whitespace characters are not allowed. </b></p>"
    },
    "state": {
      "type": "string",
      "description": "The state or region or province to which the address belongs."
    },
    "city": {
      "type": "string",
      "description": "City."
    },
    "line1": {
      "type": "string",
      "description": "Street Address line1."
    },
    "line2": {
      "type": "string",
      "description": "Street Address line2."
    },
    "line3": {
      "type": "string",
      "description": "Street Address line3."
    },
    "type": {
      "type": "string",
      "description": "Denotes the type of address. (For example, home or work)"
    }
  }
}