{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sap/main/json-schema/sap-business-partner-address-schema.json",
  "title": "BusinessPartnerAddress",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-addresses-api-openapi.yml#/components/schemas/BusinessPartnerAddress",
  "type": "object",
  "properties": {
    "BusinessPartner": {
      "type": "string",
      "description": "Business partner number"
    },
    "AddressID": {
      "type": "string",
      "description": "Address identifier"
    },
    "Country": {
      "type": "string",
      "description": "Country key (ISO 3166-1 alpha-2)",
      "maxLength": 2
    },
    "Region": {
      "type": "string",
      "description": "Region or state code"
    },
    "CityName": {
      "type": "string",
      "description": "City name"
    },
    "PostalCode": {
      "type": "string",
      "description": "Postal code"
    },
    "StreetName": {
      "type": "string",
      "description": "Street name"
    },
    "HouseNumber": {
      "type": "string",
      "description": "House number"
    }
  }
}