{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Vendor",
  "type": "object",
  "properties": {
    "@odata.etag": {
      "type": "string"
    },
    "id": {
      "type": "string",
      "description": "The unique identifier of the vendor"
    },
    "number": {
      "type": "string",
      "description": "The vendor number"
    },
    "displayName": {
      "type": "string",
      "description": "The vendor display name"
    },
    "addressLine1": {
      "type": "string",
      "description": "First line of the address"
    },
    "addressLine2": {
      "type": "string",
      "description": "Second line of the address"
    },
    "city": {
      "type": "string",
      "description": "The city"
    },
    "state": {
      "type": "string",
      "description": "The state or province code"
    },
    "country": {
      "type": "string",
      "description": "The country/region code"
    },
    "postalCode": {
      "type": "string",
      "description": "The postal code"
    },
    "phoneNumber": {
      "type": "string",
      "description": "The phone number"
    },
    "email": {
      "type": "string",
      "description": "The email address"
    },
    "website": {
      "type": "string",
      "description": "The website URL"
    },
    "taxRegistrationNumber": {
      "type": "string",
      "description": "The tax registration number"
    },
    "currencyId": {
      "type": "string",
      "description": "The currency ID"
    },
    "currencyCode": {
      "type": "string",
      "description": "The currency code"
    },
    "paymentTermsId": {
      "type": "string",
      "description": "The payment terms ID"
    },
    "paymentMethodId": {
      "type": "string",
      "description": "The payment method ID"
    },
    "taxLiable": {
      "type": "boolean",
      "description": "Whether the vendor is tax liable"
    },
    "blocked": {
      "type": "string",
      "description": "Whether the vendor is blocked"
    },
    "balance": {
      "type": "number",
      "description": "The vendor balance"
    },
    "lastModifiedDateTime": {
      "type": "string"
    }
  }
}