{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/printandmailcompany-com/json-schema/printandmailcompany-com-address-schema.json",
  "title": "Address",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/printandmailcompany-com-api-openapi.json#/components/schemas/Address",
  "type": "object",
  "required": [
    "name",
    "line1",
    "city",
    "country"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 60
    },
    "company": {
      "type": "string",
      "maxLength": 60
    },
    "line1": {
      "type": "string",
      "maxLength": 60,
      "description": "Street and number or PO box"
    },
    "line2": {
      "type": "string",
      "maxLength": 60
    },
    "postalCode": {
      "type": "string",
      "maxLength": 16
    },
    "city": {
      "type": "string",
      "maxLength": 50
    },
    "region": {
      "type": "string",
      "maxLength": 50,
      "description": "State/province where used (e.g. US state code)"
    },
    "country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "description": "ISO 3166-1 alpha-2"
    }
  }
}