{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/navision/json-schema/navision-customer-update-schema.json",
  "title": "CustomerUpdate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/navision-customers-api-openapi.yml#/components/schemas/CustomerUpdate",
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "maxLength": 100
    },
    "type": {
      "type": "string",
      "enum": [
        "Person",
        "Company"
      ]
    },
    "addressLine1": {
      "type": "string",
      "maxLength": 100
    },
    "addressLine2": {
      "type": "string",
      "maxLength": 50
    },
    "city": {
      "type": "string",
      "maxLength": 30
    },
    "state": {
      "type": "string",
      "maxLength": 20
    },
    "country": {
      "type": "string",
      "maxLength": 10
    },
    "postalCode": {
      "type": "string",
      "maxLength": 20
    },
    "phoneNumber": {
      "type": "string",
      "maxLength": 30
    },
    "email": {
      "type": "string",
      "maxLength": 80
    },
    "website": {
      "type": "string",
      "maxLength": 80
    },
    "taxLiable": {
      "type": "boolean"
    },
    "creditLimit": {
      "type": "number",
      "format": "decimal"
    },
    "blocked": {
      "type": "string",
      "enum": [
        " ",
        "Ship",
        "Invoice",
        "All"
      ]
    }
  }
}