AfterShip · Schema

Address

Address object: the description of address information

ShippingTrackingE-CommercePost-PurchaseNotificationLogisticsReturnsWarrantyAddress ValidationFulfillmentCarrierWebhookMCPRetail

Properties

Name Type Description
street1 string address_line1 of address
country string Country in ISO 3166-1 alpha 3 code
contact_name string contact_name of address
phone string contact_phone of address
fax stringnull fax_number of address
email stringnull email of address
company_name stringnull company_name of address
street2 stringnull address_line2 of address
street3 stringnull address_line3 of address
city stringnull city of address
state stringnull state of address
postal_code stringnull postal_code of address
type stringnull type of address
tax_id stringnull tax id
tax_id_type stringnull tax id type. Only applies to DHL Express, DHL eCommerce US, DHL eCommerce UK. - vat: Value-Added tax - gst: Goods and Service Tax - eori: European Union Registration and Identification - ioss: Import
identification_number stringnull identification number
identification_type stringnull identification type - mil: Military Number - nid: National Identity Card - pas: Passport - other: Other
eori_number stringnull eori number
location objectnull
View JSON Schema on GitHub

JSON Schema

aftership-address-v3-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-address-v3-schema.json",
  "title": "Address",
  "description": "Address object: the description of address information",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aftership-address-validations-beta-api-openapi.yml#/components/schemas/Address.v3",
  "type": "object",
  "x-stoplight": {
    "id": "c01e28f80783b"
  },
  "x-tags": [
    "Primitive"
  ],
  "required": [
    "street1",
    "country",
    "contact_name"
  ],
  "properties": {
    "street1": {
      "type": "string",
      "description": "address_line1 of address\n"
    },
    "country": {
      "type": "string",
      "description": "Country in ISO 3166-1 alpha 3 code"
    },
    "contact_name": {
      "type": "string",
      "description": "contact_name of address"
    },
    "phone": {
      "type": "string",
      "description": "contact_phone of address"
    },
    "fax": {
      "type": [
        "string",
        "null"
      ],
      "description": "fax_number of address"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "email of address"
    },
    "company_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "company_name of address"
    },
    "street2": {
      "type": [
        "string",
        "null"
      ],
      "description": "address_line2 of address"
    },
    "street3": {
      "type": [
        "string",
        "null"
      ],
      "description": "address_line3 of address"
    },
    "city": {
      "type": [
        "string",
        "null"
      ],
      "description": "city of address"
    },
    "state": {
      "type": [
        "string",
        "null"
      ],
      "description": "state of address"
    },
    "postal_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "postal_code of address"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of address",
      "enum": [
        "residential",
        "business"
      ]
    },
    "tax_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "tax id"
    },
    "tax_id_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tax id type. Only applies to DHL Express, DHL eCommerce US, DHL eCommerce UK.\n- vat: Value-Added tax\n- gst: Goods and Service Tax\n- eori: European Union Registration and Identification\n- ioss: Import One Stop Shop\n- pan: Pan-Aarav\n- ukims: UK Internal Market Scheme\n- other: Other\n",
      "x-stoplight": {
        "id": "7rtl96ei81zeb"
      },
      "enum": [
        "vat",
        "gst",
        "eori",
        "ioss",
        "pan",
        "ukims",
        "other"
      ]
    },
    "identification_number": {
      "type": [
        "string",
        "null"
      ],
      "description": "identification number",
      "x-stoplight": {
        "id": "u1nqwj1dvhw67"
      }
    },
    "identification_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "identification type\n- mil: Military Number\n- nid: National Identity Card\n- pas: Passport\n- other: Other",
      "x-stoplight": {
        "id": "gh9ttmhi0xmik"
      },
      "enum": [
        "mil",
        "nid",
        "pas",
        "other"
      ]
    },
    "eori_number": {
      "type": [
        "string",
        "null"
      ],
      "description": "eori number"
    },
    "location": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "lat": {
          "type": "number",
          "description": "latitude number"
        },
        "lng": {
          "type": "number",
          "description": "longitude number"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aftership-address-v3"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.