{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/avatax-rest-customer-model-structure.json",
  "description": "CustomerModel schema from Avalara API",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32"
    },
    "companyId": {
      "type": "int32"
    },
    "customerCode": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "line1": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "emailAddress": {
      "type": "string"
    },
    "phoneNumber": {
      "type": "string"
    }
  },
  "name": "CustomerModel"
}