OpenCart · Schema
Address
A postal address used for billing or shipping in OpenCart.
E-CommerceShopping CartOpen-SourceSelf-HostedProductOrderCustomersCategories
Properties
| Name | Type | Description |
|---|---|---|
| address_id | integer | Saved address identifier (0 for ad-hoc addresses) |
| firstname | string | |
| lastname | string | |
| company | string | |
| address_1 | string | Primary street address line |
| address_2 | string | Secondary address line (suite, unit, etc.) |
| postcode | string | |
| city | string | |
| zone_id | integer | State/province/region identifier |
| zone | string | State/province/region name |
| zone_code | string | ISO zone code (e.g. CA, NY) |
| country_id | integer | Country identifier |
| country | string | Country name |
| iso_code_2 | string | ISO 3166-1 alpha-2 country code |
| iso_code_3 | string | ISO 3166-1 alpha-3 country code |
| address_format | string | Country-specific address format template |
| custom_field | object | Store-configured custom address fields |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/opencart/main/json-schema/address.json",
"title": "Address",
"description": "A postal address used for billing or shipping in OpenCart.",
"type": "object",
"properties": {
"address_id": {
"type": "integer",
"description": "Saved address identifier (0 for ad-hoc addresses)"
},
"firstname": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"lastname": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"company": {
"type": "string",
"maxLength": 60
},
"address_1": {
"type": "string",
"minLength": 3,
"maxLength": 128,
"description": "Primary street address line"
},
"address_2": {
"type": "string",
"maxLength": 128,
"description": "Secondary address line (suite, unit, etc.)"
},
"postcode": {
"type": "string",
"minLength": 2,
"maxLength": 10
},
"city": {
"type": "string",
"minLength": 2,
"maxLength": 128
},
"zone_id": {
"type": "integer",
"description": "State/province/region identifier"
},
"zone": {
"type": "string",
"description": "State/province/region name"
},
"zone_code": {
"type": "string",
"description": "ISO zone code (e.g. CA, NY)"
},
"country_id": {
"type": "integer",
"description": "Country identifier"
},
"country": {
"type": "string",
"description": "Country name"
},
"iso_code_2": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO 3166-1 alpha-2 country code"
},
"iso_code_3": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "ISO 3166-1 alpha-3 country code"
},
"address_format": {
"type": "string",
"description": "Country-specific address format template"
},
"custom_field": {
"type": "object",
"description": "Store-configured custom address fields",
"additionalProperties": true
}
},
"required": ["firstname", "lastname", "address_1", "city", "country_id", "country"]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/address"
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.