{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-shipping-address-schema.json",
  "title": "ShippingAddress",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-shipping-address-api-openapi.yml#/components/schemas/ShippingAddress",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "title": "Shipping Address ID",
      "maxLength": 13,
      "readOnly": true
    },
    "object": {
      "type": "string",
      "title": "Object type",
      "readOnly": true
    },
    "account_id": {
      "type": "string",
      "title": "Account ID",
      "maxLength": 13,
      "readOnly": true
    },
    "nickname": {
      "type": "string",
      "maxLength": 255
    },
    "first_name": {
      "type": "string",
      "maxLength": 255
    },
    "last_name": {
      "type": "string",
      "maxLength": 255
    },
    "company": {
      "type": "string",
      "maxLength": 255
    },
    "email": {
      "type": "string",
      "maxLength": 255
    },
    "vat_number": {
      "type": "string",
      "maxLength": 20
    },
    "phone": {
      "type": "string",
      "maxLength": 30
    },
    "street1": {
      "type": "string",
      "maxLength": 255
    },
    "street2": {
      "type": "string",
      "maxLength": 255
    },
    "city": {
      "type": "string",
      "maxLength": 255
    },
    "region": {
      "type": "string",
      "maxLength": 255,
      "description": "State or province."
    },
    "postal_code": {
      "type": "string",
      "maxLength": 20,
      "description": "Zip or postal code."
    },
    "country": {
      "type": "string",
      "maxLength": 50,
      "description": "Country, 2-letter ISO 3166-1 alpha-2 code."
    },
    "geo_code": {
      "type": "string",
      "maxLength": 20,
      "description": "Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled."
    },
    "created_at": {
      "type": "string",
      "title": "Created at",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "title": "Updated at",
      "format": "date-time",
      "readOnly": true
    }
  }
}