{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Vendor",
  "description": "A vendor (supplier) of inventory items.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed-pos/refs/heads/main/json-schema/retail-r-series-vendor-schema.json",
  "type": "object",
  "properties": {
    "vendorID": {
      "type": "string",
      "description": "Unique vendor identifier."
    },
    "name": {
      "type": "string",
      "description": "Vendor name."
    },
    "accountNumber": {
      "type": "string",
      "description": "Merchant account number with the vendor."
    },
    "contactID": {
      "type": "string",
      "description": "Identifier of the related contact record."
    }
  }
}