{
  "swagger" : "2.0",
  "info" : {
    "description" : "##### Welcome to Blaze's API. This Documentation outlines all of our endpoints.\n\n##### Introduction\nIntroduction to the BLAZE Developer API. This API is designed for our partners to create new members, new orders, and much more.\n\n##### Authentication\nProvide each request with your Partner API key and your Dispensery API key. To do so in the header of the request place your partner key in the `partner_key` field. And your dispensery key in the `Authorization` field. \n\n##### Errors\nAll errors from this API will tell you the field that is causing the error, a message associated with that error, and the errorType.\n```\n\"field\":\"field_causing_error\",\n\"message\":\"why the field is causing the error\",\n\"errorType\": \"the.error.type.exception\",\n```\n",
    "version" : "1.0.0",
    "title" : "BLAZE Developer API",
    "contact" : {
      "name" : "Blaze Support Team",
      "email" : "integrations@blaze.me"
    }
  },
  "host" : "api.partners.blaze.me",
  "basePath" : "/",
  "tags" : [ {
    "name" : "Management - ACH"
  }, {
    "name" : "Blaze Partner Store - Asset"
  }, {
    "name" : "Blaze Partner Store - Product Batch Resource"
  }, {
    "name" : "Blaze Partner Company Contact"
  }, {
    "name" : "Blaze Partner Company Promotions"
  }, {
    "name" : "Blaze PARTNER Store - Consumer Authentication"
  }, {
    "name" : "Blaze PARTNER  Store - Store Cart"
  }, {
    "name" : "Blaze PARTNER Store - Consumer User"
  }, {
    "name" : "Blaze PARTNER Consumer - Consumer User"
  }, {
    "name" : "Blaze Partner Store - Employee"
  }, {
    "name" : "Blaze Partner Store - Loyalty"
  }, {
    "name" : "Blaze Partner Memberships"
  }, {
    "name" : "Blaze PARTNER Payments"
  }, {
    "name" : "Blaze Partner Store - Purchase Order"
  }, {
    "name" : "Blaze Partner Inventory Reconciliations"
  }, {
    "name" : "Blaze Partner Vendor"
  }, {
    "name" : "Blaze PARTNER Store - Inventory"
  }, {
    "name" : "Blaze PARTNER Store - Store Info"
  }, {
    "name" : "Blaze PARTNER Transaction - TransactionSales"
  }, {
    "name" : "Management - PARTNER WebHook"
  }, {
    "name" : "Blaze Partner Brands"
  }, {
    "name" : "Blaze Partner Category"
  }, {
    "name" : "Blaze Partner Company Categories"
  }, {
    "name" : "Blaze Partner Company Products"
  }, {
    "name" : "Blaze Partner Products"
  }, {
    "name" : "Blaze Partner Products V2"
  } ],
  "schemes" : [ "http", "https" ],
  "paths" : {
    "/api/v1/mgmt/ach/shopachaccount" : {
      "get" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Get Current Shop ACH Account By Company",
        "description" : "",
        "operationId" : "getCurrentConfigurationByCompany",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "companyId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "shopId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultACHAccount"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Save Shop ACH Account",
        "description" : "",
        "operationId" : "saveShopACHAccount",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ACHAccountRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ACHAccount"
            }
          }
        }
      }
    },
    "/api/v1/mgmt/ach/shopachaccount/{shopACHAccountId}" : {
      "put" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Update Shop ACH Account",
        "description" : "",
        "operationId" : "updateShopACHAccount",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "shopACHAccountId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ACHAccountRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ACHAccount"
            }
          }
        }
      },
      "delete" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Delete Shop ACH Account",
        "description" : "",
        "operationId" : "deleteShopACHAccount",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "shopACHAccountId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/mgmt/ach/transaction/{achTransactionId}/denied" : {
      "post" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Cancel ach transaction",
        "description" : "",
        "operationId" : "cancelAchTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "achTransactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/mgmt/ach/transaction/{transactionId}/capture" : {
      "post" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Capture ach transaction",
        "description" : "",
        "operationId" : "captureAchTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/mgmt/ach/webhooks/stronghold" : {
      "get" : {
        "tags" : [ "Management - ACH" ],
        "summary" : "Stronghold Handle Webhook Request",
        "description" : "",
        "operationId" : "processResponse",
        "produces" : [ "text/html" ],
        "parameters" : [ {
          "name" : "pay_link_id",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "pay_link_type",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "pay_link_callback",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "payment_source_id",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "charge_id",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "tip_id",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/InputStream"
            }
          }
        }
      }
    },
    "/api/v1/partner/asset/upload/private" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Asset" ],
        "summary" : "Upload Private Document",
        "description" : "",
        "operationId" : "uploadDocument",
        "consumes" : [ "multipart/form-data" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "file",
          "in" : "formData",
          "required" : false,
          "type" : "file"
        }, {
          "name" : "name",
          "in" : "formData",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "assetType",
          "in" : "formData",
          "required" : false,
          "type" : "string",
          "enum" : [ "Photo", "Document", "Kml" ]
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/CompanyAsset"
            }
          }
        }
      }
    },
    "/api/v1/partner/asset/{assetKey}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Asset" ],
        "summary" : "Get Asset",
        "description" : "",
        "operationId" : "getAssetStream",
        "produces" : [ "image/jpeg", "application/pdf", "image/png" ],
        "parameters" : [ {
          "name" : "assetKey",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "handleError",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/asset/upload/public" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Asset" ],
        "summary" : "Upload Public Document",
        "description" : "",
        "operationId" : "uploadPublicDocument",
        "consumes" : [ "multipart/form-data" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "file",
          "in" : "formData",
          "required" : false,
          "type" : "file"
        }, {
          "name" : "name",
          "in" : "formData",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "assetType",
          "in" : "formData",
          "required" : false,
          "type" : "string",
          "enum" : [ "Photo", "Document", "Kml" ]
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/CompanyAsset"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Get Batches",
        "description" : "",
        "operationId" : "getBatches",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "batchId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "productId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "term",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "status",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "enum" : [ "IN_TRANSFER", "RECEIVED", "IN_TESTING", "READY_FOR_SALE", "PROCESSING", "ERROR", "FINISHED" ]
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProductBatch"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/quantities" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Get Batch Quantity By Inventory",
        "description" : "",
        "operationId" : "getBatchQuantities",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "inventoryId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultBatchQuantity"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/{productId}/batchQuantityInfo" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Get Batch Quantity By Product",
        "description" : "",
        "operationId" : "getBatchQuantity",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "productId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/BatchQuantity"
              }
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/transferInventory" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Inventory transfer For Partner",
        "description" : "",
        "operationId" : "inventoryTransferHistory",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerInventoryTransferHistory"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/InventoryTransferHistory"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/dates" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Get Batches By Dates",
        "description" : "",
        "operationId" : "getBatchesByDate",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProductBatch"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/dates/purchaseDate" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Get Batches By Dates",
        "description" : "",
        "operationId" : "getBatchesByDateByPurchaseDate",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProductBatch"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/transferInventory/{historyId}" : {
      "put" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Inventory transfer For Partner",
        "description" : "",
        "operationId" : "updateInventoryTransferHistory",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "historyId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerInventoryTransferHistory"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/InventoryTransferHistory"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/transferInventory/{historyId}/accept" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Accept inventory transfer history's status for partner",
        "description" : "",
        "operationId" : "acceptInventoryTransferStatus",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "historyId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerInventoryTransferStatusRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/InventoryTransferHistory"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/batches/transferInventory/{historyId}/decline" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Product Batch Resource" ],
        "summary" : "Decline inventory transfer history's status for partner",
        "description" : "",
        "operationId" : "declineInventoryTransferStatus",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "historyId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerInventoryTransferStatusRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/InventoryTransferHistory"
            }
          }
        }
      }
    },
    "/api/v1/partner/companycontacts/contact" : {
      "post" : {
        "tags" : [ "Blaze Partner Company Contact" ],
        "summary" : "Create company contact",
        "description" : "",
        "operationId" : "createCompanyContact",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerCompanyContactRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/CompanyContact"
            }
          }
        }
      }
    },
    "/api/v1/partner/companycontacts/contact/{contactId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Company Contact" ],
        "summary" : "Get company contact by id",
        "description" : "",
        "operationId" : "getCompanyContactById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "contactId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/CompanyContactResult"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Company Contact" ],
        "summary" : "Update company contact by id",
        "description" : "",
        "operationId" : "updateCompanyContact",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "contactId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerCompanyContactRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/CompanyContact"
            }
          }
        }
      }
    },
    "/api/v1/partner/companycontacts" : {
      "get" : {
        "tags" : [ "Blaze Partner Company Contact" ],
        "summary" : "Search vendors",
        "description" : "",
        "operationId" : "getCompanyContacts",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultCompanyContact"
            }
          }
        }
      }
    },
    "/api/v1/partner/company-promotions" : {
      "post" : {
        "tags" : [ "Blaze Partner Company Promotions" ],
        "summary" : "Create partner-managed Company Promotion",
        "description" : "",
        "operationId" : "addCompanyPromotion",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerCompanyPromotionAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyPromotionResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company-promotions/{companyPromotionId}" : {
      "put" : {
        "tags" : [ "Blaze Partner Company Promotions" ],
        "summary" : "Update partner-managed Company Promotion",
        "description" : "",
        "operationId" : "updateCompanyPromotion",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "companyPromotionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerCompanyPromotionUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyPromotionResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/user/find" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Consumer Authentication" ],
        "summary" : "Find User",
        "description" : "",
        "operationId" : "findUser",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "email",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "phoneNumber",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "country",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/user/{cuid}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Consumer Authentication" ],
        "summary" : "Get User By Id",
        "description" : "",
        "operationId" : "getUserById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/user/login" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Consumer Authentication" ],
        "summary" : "Consumer Login",
        "description" : "",
        "operationId" : "loginConsumer",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerLoginRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerAuthResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/user/register" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Consumer Authentication" ],
        "summary" : "Register Consumer",
        "description" : "",
        "operationId" : "registerConsumer",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCreateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/{consumerCartId}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Get Cart by id.",
        "description" : "",
        "operationId" : "getCartById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/updateCart/{consumerCartId}" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Update Cart to the platform.",
        "description" : "",
        "operationId" : "updateCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        }, {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/submitCart/{consumerCartId}" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Submit Cart to be completed.",
        "description" : "",
        "operationId" : "submitCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        }, {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/item/{orderItemId}/finalize" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Finalize Item Cart",
        "description" : "",
        "operationId" : "finalizeItemCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "orderItemId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/item/{orderItemId}/unfinalize" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Unfinalize Item Cart",
        "description" : "",
        "operationId" : "unfinalizeItemCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "orderItemId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/items/finalize" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Finalize All Items in Cart",
        "description" : "",
        "operationId" : "finalizeAllOrderItems",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/{consumerCartId}/setConsumerUser/{consumerUserId}" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Update Consumer User",
        "description" : "",
        "operationId" : "updateConsumerUser",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "consumerUserId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/{consumerCartId}/payments" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Add Transaction Payments",
        "description" : "",
        "operationId" : "updateTransactionPayment",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCartAddPaymentRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/cancelCart/{consumerCartId}" : {
      "delete" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Cancel submitted order to the platform.",
        "description" : "",
        "operationId" : "cancelOrder",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/active" : {
      "get" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Get Active Cart",
        "description" : "",
        "operationId" : "getActiveCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "sessionId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "externalId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "transactionId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/history" : {
      "get" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Get Consumer Order History",
        "description" : "",
        "operationId" : "getConsumerOrderHistory",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/prepare" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Prepare Active Cart",
        "description" : "",
        "operationId" : "prepareActiveCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCart"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/public/{publicKey}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Find Cart by public key",
        "description" : "",
        "operationId" : "findCartByPublicKey",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "publicKey",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerCartResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/cart/product/findCost" : {
      "post" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Find Product cost",
        "description" : "",
        "operationId" : "findProductCost",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ProductCostRequest"
          }
        }, {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ProductCostResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/consumer-order-qty/consumerCart/{consumerCartId}" : {
      "delete" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Delete consumer order quantities",
        "description" : "",
        "operationId" : "deleteConsumerOrderQtyByConsumerCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerCartId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/store/consumer-order-qty/{productId}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Get Consumer Order Quantity By Product",
        "description" : "",
        "operationId" : "getConsumerOrderQuantityByProduct",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "productId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/ConsumerOrderQuantity"
              }
            }
          }
        }
      }
    },
    "/api/v1/partner/store/consumer-order-qty/{consumerOrderQtyId}" : {
      "delete" : {
        "tags" : [ "Blaze PARTNER  Store - Store Cart" ],
        "summary" : "Delete ConsumerOrderQty",
        "description" : "",
        "operationId" : "deleteConsumerOrderQty",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "consumerOrderQtyId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/store/user/assets/{assetKey}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "Get Asset",
        "description" : "",
        "operationId" : "getAssetStream_1",
        "produces" : [ "image/jpeg", "application/pdf", "image/png" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "assetKey",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/store/user/sign" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "Sign Contract Info",
        "description" : "",
        "operationId" : "signContract",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ContractSignRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/user" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "Get Active User Info",
        "description" : "",
        "operationId" : "getCurrentActiveUser",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "Update User Info",
        "description" : "",
        "operationId" : "updateUserInfo",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerUser"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/user/verify" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "store - verify patient rec code",
        "description" : "",
        "operationId" : "verifyPatient",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "recNo",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "websiteType",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PatientVerificationStatus"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/user/dlPhoto" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "Upload DL Photo",
        "description" : "",
        "operationId" : "uploadDLPhoto",
        "consumes" : [ "multipart/form-data" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "file",
          "in" : "formData",
          "required" : false,
          "type" : "file"
        }, {
          "name" : "name",
          "in" : "formData",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/user/recPhoto" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Consumer User" ],
        "summary" : "Upload Recommendation Photo",
        "description" : "",
        "operationId" : "uploadRecPhoto",
        "consumes" : [ "multipart/form-data" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "cuid",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "file",
          "in" : "formData",
          "required" : false,
          "type" : "file"
        }, {
          "name" : "name",
          "in" : "formData",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/consumerUser/{userId}/accept" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Consumer - Consumer User" ],
        "summary" : "Accept consumer user",
        "description" : "",
        "operationId" : "acceptConsumerUser",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "userId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ConsumerUser"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ConsumerUser"
            }
          }
        }
      }
    },
    "/api/v1/partner/employees/{employeeId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Employee" ],
        "summary" : "Search Employees",
        "description" : "",
        "operationId" : "getEmployeeById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "employeeId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Employee"
            }
          }
        }
      }
    },
    "/api/v1/partner/employees/drivers/auto-assigned" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Employee" ],
        "summary" : "Get auto-assigned driver",
        "description" : "",
        "operationId" : "getAutoAssignedDriver",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "lat",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "long",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "zipCode",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/DeliveryDriverEmployeeResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/employees" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Employee" ],
        "summary" : "Search Employees",
        "description" : "",
        "operationId" : "getEmployees",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "currentEmployeeId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultEmployeeResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/employees/drivers/nearby" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Employee" ],
        "summary" : "Get employee distance details",
        "description" : "",
        "operationId" : "getEmployeeDistanceDetails",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "lat",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "long",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "useRegion",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "useTerminal",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "zipCode",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/DeliveryEmployeeDetails"
              }
            }
          }
        }
      }
    },
    "/api/v1/partner/loyalty/promotions/{promotionId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Promotion By Id",
        "description" : "",
        "operationId" : "getPromotionById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "promotionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Promotion"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Update Promotions",
        "description" : "",
        "operationId" : "updatePromotion",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "promotionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Promotion"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Promotion"
            }
          }
        }
      },
      "delete" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Delete Promotions",
        "description" : "",
        "operationId" : "deletePromotion",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "promotionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/loyalty/promotions" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Promotion List",
        "description" : "",
        "operationId" : "getPromotions",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultPromotion"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Add Promotions",
        "description" : "",
        "operationId" : "addPromotion",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerAddPromotionRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Promotion"
            }
          }
        }
      }
    },
    "/api/v1/partner/loyalty/promotions/code/{promocode}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Promotion List",
        "description" : "",
        "operationId" : "getPromotions_1",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "promocode",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PromotionMemberResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/loyalty/points" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Loyalty Points for member",
        "description" : "",
        "operationId" : "getLoyaltyPoints",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "consumerUserId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/MemberLoyaltyPoints"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Update Loyalty Points for Members",
        "description" : "",
        "operationId" : "updateLoyaltyPoints",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/UpdateLoyaltyPointRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/MemberLoyaltyPoints"
            }
          }
        }
      }
    },
    "/api/v1/partner/loyalty/rewards/members/{memberId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Rewards for member",
        "description" : "",
        "operationId" : "getAllRewards",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultLoyaltyMemberReward"
            }
          }
        }
      }
    },
    "/api/v1/partner/loyalty/rewards" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Rewards List",
        "description" : "",
        "operationId" : "getRewards",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultLoyaltyReward"
            }
          }
        }
      }
    },
    "/api/v1/partner/loyalty/loyalty/activity" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Loyalty Activities",
        "description" : "",
        "operationId" : "getLoyaltyActivity",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "consumerUserId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultLoyaltyActivityLog"
            }
          }
        },
        "deprecated" : true
      }
    },
    "/api/v1/partner/loyalty/activity" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Loyalty Activities",
        "description" : "",
        "operationId" : "getLoyaltyActivity2",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "consumerUserId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultLoyaltyActivityLog"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/email/{email}" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get Member By Email",
        "description" : "",
        "operationId" : "getMemberByEmail",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "email",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Member"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/search" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get members by licence number",
        "description" : "",
        "operationId" : "getMembersByLicenceNo",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "licenceNumber",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ListResultMember"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/{memberId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get Member By Id",
        "description" : "",
        "operationId" : "getMemberById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Member"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Update Member",
        "description" : "",
        "operationId" : "updateMember",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/MembershipUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Member"
            }
          }
        }
      }
    },
    "/api/v1/partner/members" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get member list",
        "description" : "",
        "operationId" : "getMemberList",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultMember"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Add New Member",
        "description" : "",
        "operationId" : "addNewMember",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/MembershipAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Member"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/{memberId}/limits" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get member limit",
        "description" : "",
        "operationId" : "getMemberLimit",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "object",
              "additionalProperties" : {
                "type" : "number"
              }
            }
          }
        }
      }
    },
    "/api/v1/partner/members/search/dob" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get members by dob",
        "description" : "",
        "operationId" : "getMembersByDob",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "dob",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultMember"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/search/phone" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get members by phone number",
        "description" : "",
        "operationId" : "getMembersByPhoneNumber",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "phoneNumber",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "isByShop",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ListResultMember"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/{memberId}/metadata" : {
      "put" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Update Member Metadata",
        "description" : "",
        "operationId" : "updateMemberMetadata",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/MetadataUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Member"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/days" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get member list by days",
        "description" : "",
        "operationId" : "getMemberListByWeek",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "days",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "default" : 1,
          "format" : "int32"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultMember"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/{memberId}/limits/remaining" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Get remaining member limit",
        "description" : "",
        "operationId" : "getMemberLimitRemaining",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/MemberLimit"
            }
          }
        }
      }
    },
    "/api/v1/partner/members/referral-qr/{consumerMemberId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Memberships" ],
        "summary" : "Create Label with consumerMemberId",
        "description" : "",
        "operationId" : "createLabelWithMemberId",
        "produces" : [ "image/jpeg", "image/png", "application/pdf" ],
        "parameters" : [ {
          "name" : "consumerMemberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/payments/load" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Payments" ],
        "summary" : "Load a Payment Card",
        "description" : "",
        "operationId" : "loadPaymentCard",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/LoadPaymentCardRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/LoadPaymentCardResponse"
            }
          }
        }
      }
    },
    "/api/v1/partner/payments/balance" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Payments" ],
        "summary" : "Check balance of a Payment Card",
        "description" : "",
        "operationId" : "paymentCardBalanceCheck",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PaymentCardBalanceCheckRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PaymentCardBalanceCheckResponse"
            }
          }
        }
      }
    },
    "/api/v1/partner/purchaseorders" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Purchase Order" ],
        "summary" : "Create Purchase Order",
        "description" : "",
        "operationId" : "addPurchaseOrder",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerPurchaseOrderAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PurchaseOrder"
            }
          }
        }
      }
    },
    "/api/v1/partner/purchaseorders/prepare" : {
      "post" : {
        "tags" : [ "Blaze Partner Store - Purchase Order" ],
        "summary" : "Prepare Purchase Order",
        "description" : "",
        "operationId" : "preparePurchaseOrder",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerPurchaseOrderAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PurchaseOrder"
            }
          }
        }
      }
    },
    "/api/v1/partner/purchaseorders/{purchaseOrderId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Purchase Order" ],
        "summary" : "Get Purchase Order by id",
        "description" : "",
        "operationId" : "getPurchaseOrderById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "purchaseOrderId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PurchaseOrderItemResult"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Store - Purchase Order" ],
        "summary" : "Update Purchase Order",
        "description" : "",
        "operationId" : "updatePurchaseOrder",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "purchaseOrderId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerPurchaseOrderUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PurchaseOrder"
            }
          }
        }
      }
    },
    "/api/v1/partner/purchaseorders/list" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Purchase Order" ],
        "summary" : "Get purchase order list",
        "description" : "",
        "operationId" : "getAllPurchaseOrder",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultPurchaseOrderItemResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/purchaseorders/dates" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Purchase Order" ],
        "summary" : "Get purchase order list",
        "description" : "",
        "operationId" : "getAllPurchaseOrderDates",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultPurchaseOrderItemResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/reconciliations" : {
      "get" : {
        "tags" : [ "Blaze Partner Inventory Reconciliations" ],
        "summary" : "Get Reconciliation History",
        "description" : "",
        "operationId" : "getReconciliationHistory",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "requestNo",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultReconciliationHistory"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Inventory Reconciliations" ],
        "summary" : "Create Reconciliation Request",
        "description" : "",
        "operationId" : "createReconciliation",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerReconciliationRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ReconciliationHistory"
            }
          }
        }
      }
    },
    "/api/v1/partner/reconciliations/{reconciliationId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Inventory Reconciliations" ],
        "summary" : "Get Reconciliation History By ID",
        "description" : "",
        "operationId" : "getReconciliationById",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "reconciliationId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ReconciliationHistory"
            }
          }
        }
      }
    },
    "/api/v1/partner/regions/{regionId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Get region by id",
        "description" : "",
        "operationId" : "getRegionById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "regionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/BlazeRegion"
            }
          }
        }
      }
    },
    "/api/v1/partner/regions" : {
      "get" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Search regions",
        "description" : "",
        "operationId" : "getRegions",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultBlazeRegion"
            }
          }
        }
      }
    },
    "/api/v1/partner/regions/nearby" : {
      "get" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Get nearby region",
        "description" : "",
        "operationId" : "getNearByRegion",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "lat",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "long",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "zipCode",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/BlazeRegion"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/categories" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get All Categories",
        "description" : "",
        "operationId" : "getAllCategories",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "includeDeleted",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProductCategory"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/products/{productId}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get Product By Id",
        "description" : "",
        "operationId" : "getProductById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "productId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ProductWithInfo"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/products/dates" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get Products By Modified Dates",
        "description" : "'start' parameter is deprecated, use 'startDate' instead",
        "operationId" : "getProductsByDates",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProduct"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/products" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get All Products",
        "description" : "",
        "operationId" : "getAllProducts",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "categoryId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "strain",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "term",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "tags",
          "in" : "query",
          "required" : false,
          "type" : "array",
          "items" : {
            "type" : "string"
          },
          "collectionFormat" : "multi"
        }, {
          "name" : "vendorId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "brandId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProductWithInfo"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/brands" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get All Brands",
        "description" : "",
        "operationId" : "getAllBrands",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "term",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultBrandResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/inventories" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get All Inventories",
        "description" : "",
        "operationId" : "getAllInventories",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "active",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "deleted",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ListResultInventory"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/terminals" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get All Inventories",
        "description" : "",
        "operationId" : "getAllTerminals",
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ListResultTerminal"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/sku/{sku}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get product by SKU w/ Related Quantities",
        "description" : "",
        "operationId" : "searchProductsBySkuWithQuantities",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "sku",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ProductWithRelatedQuantities"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventory/products/terminals/{terminalId}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Inventory" ],
        "summary" : "Get Products By Terminal",
        "description" : "",
        "operationId" : "getProductsByTerminal",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "terminalId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProduct"
            }
          }
        }
      }
    },
    "/api/v1/partner/store" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Store Info" ],
        "summary" : "Get Store Info",
        "description" : "",
        "operationId" : "getStoreInfo",
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/StoreInfoResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/doctors" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Store Info" ],
        "summary" : "Get Store Info",
        "description" : "",
        "operationId" : "searchDoctor",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "term",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultDoctor"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/webHook" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Store - Store Info" ],
        "summary" : "Create web hook for plugin",
        "description" : "",
        "operationId" : "createPartnerWebHookForPlugIn",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/PartnerWebHookAddRequest"
            }
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/PartnerWebHook"
              }
            }
          }
        }
      }
    },
    "/api/v1/partner/store/taxes" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Store Info" ],
        "summary" : "Get tax information",
        "description" : "",
        "operationId" : "getTaxDisplayName",
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/TaxInfoResult"
              }
            }
          }
        }
      }
    },
    "/api/v1/partner/store/inventories" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Store Info" ],
        "summary" : "Get all active Inventories",
        "description" : "",
        "operationId" : "getInventories",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultInventory"
            }
          }
        }
      }
    },
    "/api/v1/partner/store/terminals" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Store - Store Info" ],
        "summary" : "Get all active terminals",
        "description" : "",
        "operationId" : "getActiveTerminals",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultTerminal"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/days" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Get All Transaction By Days",
        "description" : "",
        "operationId" : "getAllTransactionByDays",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "days",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "default" : 1,
          "format" : "int32"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultTransaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/active" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Get All Transaction",
        "description" : "",
        "operationId" : "getAllActiveTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultTransaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/complete" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Complete Transaction",
        "description" : "",
        "operationId" : "processTransction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Transaction"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/unfinalize" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Unfinalize all transaction items",
        "description" : "",
        "operationId" : "unfinalizeTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Transaction"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/packedBy" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Update Pack By Employee",
        "description" : "",
        "operationId" : "updatePackedByForTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/EmployeePackByRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/preparedBy" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Update Prepare By Employee",
        "description" : "",
        "operationId" : "updatePreparedByForTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/EmployeePrepareByRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/queues/{queueName}" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Add Member to Queue",
        "description" : "",
        "operationId" : "addToQueue",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "queueName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerQueueAddMemberRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Get All Transaction",
        "description" : "",
        "operationId" : "getAllTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultTransaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Get Transaction by Id",
        "description" : "",
        "operationId" : "getTransactionById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      },
      "delete" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Delete Transaction from Queue",
        "description" : "",
        "operationId" : "deleteTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerTransactionDeleteRequest"
          }
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/schedule" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Update Scheduled Delivery Time for Accepted Orders",
        "description" : "",
        "operationId" : "updateScheduledDeliveryTime",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerOrderScheduleUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/sendToFulfill" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Set Transaction to Fulfill",
        "description" : "",
        "operationId" : "setTransactionToFulfill",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Transaction"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/markAsPaid" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Mark Transaction as Paid",
        "description" : "",
        "operationId" : "markAsPaid",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "paymentOption",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/prepare" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Prepare Cart",
        "description" : "",
        "operationId" : "prepareCart",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Transaction"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/hold" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Hold Transaction",
        "description" : "",
        "operationId" : "holdTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Transaction"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/members/{memberId}/completed" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Get completed transactions for member",
        "description" : "",
        "operationId" : "getCompletedTransactionsForMember",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultTransaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/members/{memberId}/active" : {
      "get" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Get active transactions for member",
        "description" : "",
        "operationId" : "getMemberActiveTransactions",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "memberId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultTransaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/address" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Update delivery address for transaction",
        "description" : "",
        "operationId" : "updateDeliveryAddress",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Address"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/transactions/{transactionId}/finalize" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Finalize all transaction items",
        "description" : "",
        "operationId" : "finalizeTransaction",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "transactionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Transaction"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v1/partner/vendors/{vendorId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Get vendor by id",
        "description" : "",
        "operationId" : "getVendor",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "vendorId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/VendorResult"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Update Vendor",
        "description" : "",
        "operationId" : "updateVendor",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "vendorId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerVendorUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Vendor"
            }
          }
        }
      }
    },
    "/api/v1/partner/vendors" : {
      "get" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Search vendors",
        "description" : "",
        "operationId" : "getVendors",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultVendor"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Vendor" ],
        "summary" : "Create Vendor",
        "description" : "",
        "operationId" : "createVendor",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/VendorAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Vendor"
            }
          }
        }
      }
    },
    "/api/v1/partner/webHooks" : {
      "get" : {
        "tags" : [ "Management - PARTNER WebHook" ],
        "summary" : "Get PARTNER WebHooks list",
        "description" : "",
        "operationId" : "getPartnerWebHook",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "type",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "enum" : [ "NEW_CONSUMER_ORDER", "NEW_CONSUMER_SIGNUP", "UPDATE_CONSUMER_ORDER", "UPDATE_CONSUMER_USER", "NEW_MEMBER", "UPDATE_MEMBER", "CREATE_TRANSACTION", "UPDATE_TRANSACTION", "CANCEL_TRANSACTION", "COMPLETE_TRANSACTION", "UPDATE_PRODUCT" ]
        }, {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "shopId",
          "in" : "query",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultPartnerWebHook"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Management - PARTNER WebHook" ],
        "summary" : "Create PARTNER WebHooks",
        "description" : "",
        "operationId" : "createPartnerWebHooks",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerWebHookAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerWebHook"
            }
          }
        }
      }
    },
    "/api/v1/partner/webHooks/{webHookId}" : {
      "get" : {
        "tags" : [ "Management - PARTNER WebHook" ],
        "summary" : "Get PARTNER WebHooks By Id",
        "description" : "",
        "operationId" : "getPartnerWebHookById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "webHookId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerWebHook"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Management - PARTNER WebHook" ],
        "summary" : "Update PARTNER WebHooks",
        "description" : "",
        "operationId" : "updatePartnerWebHooks",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "webHookId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerWebHook"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerWebHook"
            }
          }
        }
      }
    },
    "/api/v1/partner/webHooks/{id}" : {
      "delete" : {
        "tags" : [ "Management - PARTNER WebHook" ],
        "summary" : "Delete partner webhook by id",
        "description" : "",
        "operationId" : "deletePartnerWebHook",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "id",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/brands" : {
      "post" : {
        "tags" : [ "Blaze Partner Brands" ],
        "summary" : "Create Brand",
        "description" : "",
        "operationId" : "addBrand",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/BrandAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Brand"
            }
          }
        }
      }
    },
    "/api/v1/partner/brands/{brandId}" : {
      "put" : {
        "tags" : [ "Blaze Partner Brands" ],
        "summary" : "Update Brand",
        "description" : "",
        "operationId" : "updateBrand",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/Brand"
          }
        }, {
          "name" : "brandId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Brand"
            }
          }
        }
      },
      "delete" : {
        "tags" : [ "Blaze Partner Brands" ],
        "summary" : "Delete Brand",
        "description" : "",
        "operationId" : "deleteBrand",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "brandId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/category/{id}" : {
      "get" : {
        "tags" : [ "Blaze Partner Category" ],
        "summary" : "Get category by id",
        "description" : "",
        "operationId" : "getCategory",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "id",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ProductCategoryView"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Category" ],
        "summary" : "Update category by id",
        "description" : "",
        "operationId" : "updateCategory",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "id",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ProductCategoryView"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ProductCategoryView"
            }
          }
        }
      },
      "delete" : {
        "tags" : [ "Blaze Partner Category" ],
        "summary" : "Delete category by id",
        "description" : "",
        "operationId" : "deleteCategory",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "id",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "default" : {
            "description" : "successful operation"
          }
        }
      }
    },
    "/api/v1/partner/category" : {
      "get" : {
        "tags" : [ "Blaze Partner Category" ],
        "summary" : "List all categories",
        "description" : "",
        "operationId" : "listCategories",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ListResultProductCategoryView"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Category" ],
        "summary" : "Create a new category",
        "description" : "",
        "operationId" : "createCategory",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ProductCategoryAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/ProductCategoryView"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/categories/sync" : {
      "get" : {
        "tags" : [ "Blaze Partner Company Categories" ],
        "summary" : "Sync Company Categories modified since a watermark (incl. deletions)",
        "description" : "",
        "operationId" : "syncCategories",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "afterDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "beforeDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "cursor",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/DateSearchResultPartnerCompanyCategoryResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/categories/{categoryId}" : {
      "put" : {
        "tags" : [ "Blaze Partner Company Categories" ],
        "summary" : "Update a Company Category",
        "description" : "",
        "operationId" : "updateCategory_1",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "categoryId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "Idempotency-Key",
          "in" : "header",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/CompanyCategoryUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyCategoryResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/categories" : {
      "post" : {
        "tags" : [ "Blaze Partner Company Categories" ],
        "summary" : "Create a Company Category",
        "description" : "",
        "operationId" : "addCategory",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "Idempotency-Key",
          "in" : "header",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/CompanyCategoryAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyCategoryResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/products" : {
      "post" : {
        "tags" : [ "Blaze Partner Company Products" ],
        "summary" : "Create a Company Product",
        "description" : "",
        "operationId" : "addProduct",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "Idempotency-Key",
          "in" : "header",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/CompanyProductAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyProductResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/products/{companyProductId}" : {
      "put" : {
        "tags" : [ "Blaze Partner Company Products" ],
        "summary" : "Update a Company Product",
        "description" : "",
        "operationId" : "updateProduct",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "companyProductId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "Idempotency-Key",
          "in" : "header",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/JsonNode"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyProductResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/products/{companyProductId}/locations/{shopId}" : {
      "patch" : {
        "tags" : [ "Blaze Partner Company Products" ],
        "summary" : "Apply a per-shop override to a Company Product",
        "description" : "",
        "operationId" : "applyLocationOverride",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "companyProductId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "shopId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "Idempotency-Key",
          "in" : "header",
          "required" : false,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/LocationOverridePatch"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/PartnerCompanyProductResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/company/products/sync" : {
      "get" : {
        "tags" : [ "Blaze Partner Company Products" ],
        "summary" : "Sync Company Products modified since a watermark (incl. deletions)",
        "description" : "",
        "operationId" : "syncProducts",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "afterDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "beforeDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "cursor",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/DateSearchResultPartnerCompanyProductResult"
            }
          }
        }
      }
    },
    "/api/v1/partner/products" : {
      "get" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Get list of products",
        "description" : "",
        "operationId" : "getProducts",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "syncToThirdPartyMenus",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "active",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "instock",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProduct"
            }
          }
        }
      },
      "post" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Create product",
        "description" : "",
        "operationId" : "addProduct_1",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/ProductAddRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Product"
            }
          }
        }
      }
    },
    "/api/v1/partner/products/{productId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Get product by id",
        "description" : "",
        "operationId" : "searchProducts",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "productId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "omitTaxTables",
          "in" : "query",
          "required" : false,
          "type" : "boolean"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Product"
            }
          }
        }
      },
      "put" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Update Product",
        "description" : "",
        "operationId" : "updateProduct_1",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "productId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerProductUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Product"
            }
          }
        }
      }
    },
    "/api/v1/partner/products/{productId}/metadata" : {
      "put" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Update Product Meta Data",
        "description" : "",
        "operationId" : "updateProductMetaData",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "productId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/MetadataUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Product"
            }
          }
        }
      }
    },
    "/api/v1/partner/products/nearby" : {
      "get" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Get list of nearby products",
        "description" : "",
        "operationId" : "getNearbyProducts",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "lat",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "long",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "useRegion",
          "in" : "query",
          "description" : "if true you will get all the products with available inventories that are within the found region",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "overrideInventoryId",
          "in" : "query",
          "description" : "Override the inventory assigned to the nearby region",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "zipCode",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "productIds",
          "in" : "query",
          "required" : false,
          "type" : "array",
          "items" : {
            "type" : "string"
          },
          "collectionFormat" : "multi"
        }, {
          "name" : "categoryIds",
          "in" : "query",
          "required" : false,
          "type" : "array",
          "items" : {
            "type" : "string"
          },
          "collectionFormat" : "multi"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchRegionResultProduct"
            }
          }
        }
      }
    },
    "/api/v1/partner/products/prices/sync" : {
      "get" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Sync group pricing",
        "description" : "",
        "operationId" : "syncPricingGroup",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "afterDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "beforeDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "cursor",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/DateSearchResultPricingGroupRes"
            }
          }
        }
      }
    },
    "/api/v1/partner/products/sku/{sku}" : {
      "get" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Get product by SKU",
        "description" : "",
        "operationId" : "searchProductsBySku",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "sku",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Product"
            }
          }
        }
      }
    },
    "/api/v1/partner/products/modified" : {
      "get" : {
        "tags" : [ "Blaze Partner Products" ],
        "summary" : "Get list of products by modified date",
        "description" : "",
        "operationId" : "getProductsModified",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProduct"
            }
          }
        }
      }
    },
    "/api/v2/partner/products/nearby" : {
      "get" : {
        "tags" : [ "Blaze Partner Products V2" ],
        "summary" : "Get list of nearby products",
        "description" : "",
        "operationId" : "getNearbyProducts_1",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "lat",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "long",
          "in" : "query",
          "required" : false,
          "type" : "number",
          "format" : "double"
        }, {
          "name" : "useRegion",
          "in" : "query",
          "description" : "if true you will get all the products with available inventories that are within the found region",
          "required" : false,
          "type" : "boolean"
        }, {
          "name" : "overrideInventoryId",
          "in" : "query",
          "description" : "Override the inventory assigned to the nearby region",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "zipCode",
          "in" : "query",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "skip",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "productIds",
          "in" : "query",
          "required" : false,
          "type" : "array",
          "items" : {
            "type" : "string"
          },
          "collectionFormat" : "multi"
        }, {
          "name" : "categoryIds",
          "in" : "query",
          "required" : false,
          "type" : "array",
          "items" : {
            "type" : "string"
          },
          "collectionFormat" : "multi"
        }, {
          "name" : "fields",
          "in" : "query",
          "description" : "Specify fields separated by commas. To specify fields inside objects can be done as follows: parent:(child)",
          "required" : false,
          "type" : "string",
          "x-example" : "id,baz:(beep:(deep)),abc"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultProductResponse"
            }
          }
        }
      }
    },
    "/api/v2/partner/transactions/queues/{queueName}" : {
      "post" : {
        "tags" : [ "Blaze PARTNER Transaction - TransactionSales" ],
        "summary" : "Add Member to Queue V2",
        "description" : "",
        "operationId" : "addToQueue_1",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "queueName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/PartnerQueueAddMemberRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Transaction"
            }
          }
        }
      }
    },
    "/api/v3/partner/loyalty/membergroups" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Member Groups.",
        "description" : "",
        "operationId" : "getMemberGroups",
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultMemberGroupResult"
            }
          }
        }
      }
    },
    "/api/v3/partner/loyalty/smartcollections" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Smart Collections. Required Smart Collections permission.",
        "description" : "",
        "operationId" : "getSmartCollections",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "start",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        }, {
          "name" : "limit",
          "in" : "query",
          "required" : false,
          "type" : "integer",
          "format" : "int32"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SearchResultSmartCollectionRes"
            }
          }
        }
      }
    },
    "/api/v3/partner/loyalty/smartcollections/{smartCollectionId}" : {
      "get" : {
        "tags" : [ "Blaze Partner Store - Loyalty" ],
        "summary" : "Get Smart Collections. Required Smart Collections permission.",
        "description" : "",
        "operationId" : "getSmartCollectionById",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "smartCollectionId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/SmartCollectionRes"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "ACHAccount" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "storeId" : {
          "type" : "string"
        },
        "key" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "paymentOption" : {
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        },
        "environment" : {
          "type" : "string",
          "enum" : [ "Development", "Production", "UAT", "Beta" ]
        },
        "tipping" : {
          "type" : "boolean"
        },
        "capturing" : {
          "type" : "boolean"
        },
        "ignorePartnerPayLink" : {
          "type" : "boolean"
        }
      }
    },
    "ACHAccountRequest" : {
      "type" : "object",
      "properties" : {
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "storeId" : {
          "type" : "string"
        },
        "environment" : {
          "type" : "string",
          "enum" : [ "Development", "Production", "UAT", "Beta" ]
        },
        "active" : {
          "type" : "boolean"
        },
        "resetAch" : {
          "type" : "boolean"
        },
        "key" : {
          "type" : "string"
        },
        "paymentOption" : {
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        },
        "tipping" : {
          "type" : "boolean"
        },
        "capturing" : {
          "type" : "boolean"
        },
        "ignorePartnerPayLink" : {
          "type" : "boolean"
        }
      }
    },
    "SearchResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SearchResultACHAccount" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ACHAccount"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "InputStream" : {
      "type" : "object"
    },
    "CompanyAsset" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "key" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Photo", "Document", "Kml" ]
        },
        "publicURL" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "secured" : {
          "type" : "boolean"
        },
        "thumbURL" : {
          "type" : "string"
        },
        "mediumURL" : {
          "type" : "string"
        },
        "largeURL" : {
          "type" : "string"
        },
        "largeX2URL" : {
          "type" : "string"
        },
        "origURL" : {
          "type" : "string"
        },
        "platformFileUrl" : {
          "type" : "string"
        },
        "assetType" : {
          "type" : "string",
          "enum" : [ "Photo", "Document", "Kml" ]
        }
      }
    },
    "Address" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "address" : {
          "type" : "string"
        },
        "city" : {
          "type" : "string"
        },
        "state" : {
          "type" : "string"
        },
        "zipCode" : {
          "type" : "string"
        },
        "addressLine2" : {
          "type" : "string"
        },
        "country" : {
          "type" : "string"
        },
        "latitude" : {
          "type" : "number"
        },
        "longitude" : {
          "type" : "number"
        },
        "completeTransaction" : {
          "type" : "boolean"
        }
      }
    },
    "BatchBundleItems" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "batchItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BatchItems"
          }
        }
      }
    },
    "BatchItems" : {
      "type" : "object",
      "properties" : {
        "batchId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "Brand" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "website" : {
          "type" : "string"
        },
        "phoneNo" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "brandLogo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "vendorList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "externalId" : {
          "type" : "string"
        },
        "platformBrandId" : {
          "type" : "string"
        },
        "globalBrandId" : {
          "type" : "string"
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int64"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int64"
        },
        "default" : {
          "type" : "boolean"
        }
      }
    },
    "BundleItem" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "productIdBSON" : {
          "$ref" : "#/definitions/ObjectId"
        }
      }
    },
    "CannabinoidInfoValue" : {
      "type" : "object",
      "properties" : {
        "thc" : {
          "type" : "string",
          "enum" : [ "NUMERIC", "LOD", "LOQ", "ONEMG" ]
        },
        "cbn" : {
          "type" : "string",
          "enum" : [ "NUMERIC", "LOD", "LOQ", "ONEMG" ]
        },
        "cbd" : {
          "type" : "string",
          "enum" : [ "NUMERIC", "LOD", "LOQ", "ONEMG" ]
        },
        "cbda" : {
          "type" : "string",
          "enum" : [ "NUMERIC", "LOD", "LOQ", "ONEMG" ]
        },
        "thca" : {
          "type" : "string",
          "enum" : [ "NUMERIC", "LOD", "LOQ", "ONEMG" ]
        }
      }
    },
    "CartMinimumDetails" : {
      "type" : "object",
      "properties" : {
        "minimum" : {
          "type" : "number"
        },
        "zipCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "distance" : {
          "type" : "number"
        },
        "enabled" : {
          "type" : "boolean"
        }
      }
    },
    "CartMinimums" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "minimumsType" : {
          "type" : "string",
          "enum" : [ "SIMPLE", "DISTANCE", "ZIP_CODE" ]
        },
        "cartMinimumDetails" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/CartMinimumDetails"
          }
        }
      }
    },
    "CompanyLicense" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyType" : {
          "type" : "string",
          "enum" : [ "DISTRIBUTOR", "CULTIVATOR", "RETAILER", "MANUFACTURER", "TRANSPORTER", "OTHER", "TESTING_FACILITY" ]
        },
        "licenseType" : {
          "type" : "string",
          "enum" : [ "RECREATIONAL", "MEDICINAL", "BOTH" ]
        },
        "licenseNumber" : {
          "type" : "string"
        },
        "licenseExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "toDefault" : {
          "type" : "boolean"
        }
      }
    },
    "ComplianceInfo" : {
      "type" : "object",
      "properties" : {
        "produceDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packageDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "finalTestingDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "producerName" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "registrationCertificateNo" : {
          "type" : "string"
        },
        "lotNumber" : {
          "type" : "string"
        },
        "productionRunNumber" : {
          "type" : "string"
        },
        "totalThcPerServing" : {
          "type" : "number"
        },
        "ingredients" : {
          "type" : "string"
        },
        "allergens" : {
          "type" : "string"
        },
        "productDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "extractionProcess" : {
          "type" : "string"
        },
        "testDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "labName" : {
          "type" : "string"
        },
        "strain" : {
          "type" : "string"
        },
        "packedBy" : {
          "type" : "string"
        },
        "packedByRegistrationNo" : {
          "type" : "string"
        },
        "producerPhone" : {
          "type" : "string"
        },
        "producerEmail" : {
          "type" : "string"
        },
        "producerWebsite" : {
          "type" : "string"
        },
        "producerAddress" : {
          "type" : "string"
        },
        "producerRegistrationNo" : {
          "type" : "string"
        },
        "refrigeration" : {
          "type" : "string"
        },
        "mjTypeAndSolventUsed" : {
          "type" : "string"
        },
        "servingSize" : {
          "type" : "number"
        },
        "servingsPerContainer" : {
          "type" : "number"
        },
        "nutritionInfo" : {
          "$ref" : "#/definitions/NutritionInfo"
        },
        "directions" : {
          "type" : "string"
        },
        "testedBy" : {
          "type" : "string"
        },
        "packagedBy" : {
          "type" : "string"
        },
        "packagedByLicense" : {
          "type" : "string"
        },
        "cultivatorLicense" : {
          "type" : "string"
        },
        "solventUsed" : {
          "type" : "string"
        },
        "thcPerServing" : {
          "type" : "string"
        },
        "thcPerContainer" : {
          "type" : "string"
        },
        "cbdPerServing" : {
          "type" : "string"
        },
        "cbdPerContainer" : {
          "type" : "string"
        },
        "statementIntendedUse" : {
          "type" : "string"
        },
        "manufacturerName" : {
          "type" : "string"
        },
        "manufacturerLicense" : {
          "type" : "string"
        },
        "manufacturerAddress" : {
          "type" : "string"
        },
        "manufacturerPhone" : {
          "type" : "string"
        },
        "manufacturerEmail" : {
          "type" : "string"
        },
        "manufacturerWebsite" : {
          "type" : "string"
        },
        "form" : {
          "type" : "string"
        },
        "manufacturer" : {
          "type" : "string"
        },
        "manufacturedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "testingLab" : {
          "type" : "string"
        },
        "totalUnits" : {
          "type" : "string"
        },
        "pesticides" : {
          "type" : "string"
        },
        "timeDoseEffects" : {
          "type" : "string"
        },
        "storage" : {
          "type" : "string"
        },
        "productExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "thcDeltaEightPercentagePerServing" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaEightPercentagePerPackage" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaEightMgPerServing" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaEightMgPerPackage" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaNinePercentagePerServing" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaNinePercentagePerPackage" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaNineMgPerServing" : {
          "type" : "number",
          "format" : "double"
        },
        "thcDeltaNineMgPerPackage" : {
          "type" : "number",
          "format" : "double"
        },
        "nutrition" : {
          "type" : "string"
        },
        "cannabisIngredients" : {
          "type" : "string"
        },
        "processorName" : {
          "type" : "string"
        }
      }
    },
    "ComplianceProductInfo" : {
      "type" : "object",
      "properties" : {
        "statementIntendedUse" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "refrigeration" : {
          "type" : "string"
        },
        "form" : {
          "type" : "string"
        },
        "ingredients" : {
          "type" : "string"
        },
        "allergens" : {
          "type" : "string"
        },
        "strain" : {
          "type" : "string"
        },
        "servingsPerContainer" : {
          "type" : "number"
        }
      }
    },
    "CompoundTaxRate" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "taxRate" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "compound" : {
          "type" : "boolean"
        },
        "active" : {
          "type" : "boolean"
        },
        "territory" : {
          "type" : "string",
          "enum" : [ "Default", "City", "County", "State", "Federal" ]
        },
        "activeExciseTax" : {
          "type" : "boolean"
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "displayName" : {
          "type" : "string"
        },
        "activeDeliveryFeeTax" : {
          "type" : "boolean"
        },
        "displayAppendTax" : {
          "type" : "boolean"
        },
        "activeSurchargeTax" : {
          "type" : "boolean"
        },
        "activeCDTFATax" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "City", "County", "State", "Federal", "Excise", "Municipal" ]
        },
        "calculateTaxOnPreDiscount" : {
          "type" : "boolean"
        }
      }
    },
    "CompoundTaxTable" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "cityTax" : {
          "$ref" : "#/definitions/CompoundTaxRate"
        },
        "countyTax" : {
          "$ref" : "#/definitions/CompoundTaxRate"
        },
        "stateTax" : {
          "$ref" : "#/definitions/CompoundTaxRate"
        },
        "federalTax" : {
          "$ref" : "#/definitions/CompoundTaxRate"
        },
        "enableSurchargeFeeTax" : {
          "type" : "boolean"
        }
      }
    },
    "CreditCardFee" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "feeName" : {
          "type" : "string"
        },
        "feeType" : {
          "type" : "string",
          "enum" : [ "CreditCard", "CashlessAtm", "BLAZEPAY", "ACH", "Stronghold" ]
        },
        "enabled" : {
          "type" : "boolean"
        },
        "fee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "subTotalThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "includedInTotals" : {
          "type" : "boolean"
        }
      }
    },
    "CustomCategoryResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "blazeCategoryId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "complianceId" : {
          "type" : "string"
        },
        "archived" : {
          "type" : "boolean"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "topLevelCategoryName" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "parentCategoryId" : {
          "type" : "string"
        },
        "companyCategoryId" : {
          "type" : "string"
        },
        "wmCategory" : {
          "type" : "string"
        },
        "wmCategoryName" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "masterId" : {
          "type" : "string"
        },
        "platformCategoryId" : {
          "type" : "string"
        },
        "platformParentCategoryId" : {
          "type" : "string"
        },
        "masterCategory" : {
          "$ref" : "#/definitions/MasterCategory"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "labelTemplateId" : {
          "type" : "string"
        },
        "categoryApp" : {
          "type" : "string",
          "enum" : [ "DISTRO", "MANUFACTURING" ]
        },
        "unitTrackingEnabled" : {
          "type" : "boolean"
        },
        "topLevelName" : {
          "type" : "string"
        },
        "newType" : {
          "type" : "string"
        },
        "statusName" : {
          "type" : "string"
        },
        "parentCategory" : {
          "$ref" : "#/definitions/MasterCategory"
        },
        "giftCard" : {
          "type" : "boolean"
        }
      }
    },
    "DeliveryFee" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "enabled" : {
          "type" : "boolean"
        },
        "subTotalThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "feeType" : {
          "type" : "string",
          "enum" : [ "CART_SUB_TOTAL", "DISTANCE", "ZIP_Code" ]
        },
        "zipCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "distance" : {
          "type" : "number"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        }
      }
    },
    "DispatchConfiguration" : {
      "type" : "object",
      "properties" : {
        "autoAcceptMember" : {
          "type" : "boolean"
        },
        "autoAcceptIncomingOrders" : {
          "type" : "boolean"
        },
        "autoAcceptEmployee" : {
          "type" : "string"
        },
        "autoAssignIncomingOrders" : {
          "type" : "boolean"
        },
        "autoAssignOrders" : {
          "type" : "boolean"
        },
        "autoAssignDrivers" : {
          "type" : "boolean"
        },
        "autoPackedIncomingOrders" : {
          "type" : "boolean"
        },
        "autoPackedEmployee" : {
          "type" : "string"
        }
      }
    },
    "ExciseTaxInfo" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "state" : {
          "type" : "string"
        },
        "country" : {
          "type" : "string"
        },
        "stateMarkUp" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "exciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cannabisTaxType" : {
          "type" : "string",
          "enum" : [ "Cannabis", "NonCannabis" ]
        },
        "active" : {
          "type" : "boolean"
        },
        "validAfter" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "LabResultCoa" : {
      "type" : "object",
      "properties" : {
        "releasedAt" : {
          "type" : "string"
        },
        "amendedAt" : {
          "type" : "string"
        },
        "expiredAt" : {
          "type" : "string"
        }
      }
    },
    "LabResultData" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "status" : {
          "type" : "string"
        },
        "coa" : {
          "$ref" : "#/definitions/LabResultCoa"
        },
        "links" : {
          "$ref" : "#/definitions/LabResultLinks"
        }
      }
    },
    "LabResultLinks" : {
      "type" : "object",
      "properties" : {
        "detail" : {
          "type" : "string"
        },
        "result" : {
          "type" : "string"
        },
        "coa" : {
          "type" : "string"
        }
      }
    },
    "MasterCategory" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "blazeCategoryId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "complianceId" : {
          "type" : "string"
        },
        "archived" : {
          "type" : "boolean"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "topLevelCategoryName" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "childCategories" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CustomCategoryResult"
          }
        },
        "children" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CustomCategoryResult"
          }
        },
        "complianceCategory" : {
          "type" : "string"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        }
      }
    },
    "MedicalCondition" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "Metadata" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "dataType" : {
          "type" : "string",
          "enum" : [ "BOOLEAN", "INTEGER", "DECIMAL", "STRING" ]
        },
        "name" : {
          "type" : "string"
        },
        "value" : {
          "type" : "string"
        },
        "fieldId" : {
          "type" : "string"
        }
      }
    },
    "MetricsLocation" : {
      "type" : "object",
      "properties" : {
        "Id" : {
          "type" : "integer",
          "format" : "int32"
        },
        "Name" : {
          "type" : "string"
        },
        "LocationTypeId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "LocationTypeName" : {
          "type" : "string"
        },
        "ForPlantBatches" : {
          "type" : "boolean"
        },
        "ForPlants" : {
          "type" : "boolean"
        },
        "ForHarvests" : {
          "type" : "boolean"
        },
        "ForPackages" : {
          "type" : "boolean"
        }
      }
    },
    "NmCcdBatchReference" : {
      "type" : "object",
      "properties" : {
        "inventoryId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "roomType" : {
          "type" : "string"
        },
        "barcode" : {
          "type" : "string"
        }
      }
    },
    "NonCannabisTaxInfo" : {
      "type" : "object",
      "properties" : {
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "taxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "useComplexTax" : {
          "type" : "boolean"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "enableNonCannabisTax" : {
          "type" : "boolean"
        },
        "nonCannabisType" : {
          "type" : "string",
          "enum" : [ "PER_ITEM", "TOTAL_AMOUNT" ]
        },
        "nalExciseFromRetailCost" : {
          "type" : "boolean"
        },
        "alExciseOnZeroPrice" : {
          "type" : "boolean"
        }
      }
    },
    "Note" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "writerId" : {
          "type" : "string"
        },
        "writerName" : {
          "type" : "string"
        },
        "message" : {
          "type" : "string"
        },
        "enableOnFleet" : {
          "type" : "boolean"
        }
      }
    },
    "NutritionInfo" : {
      "type" : "object",
      "properties" : {
        "sodium" : {
          "type" : "number"
        },
        "sugar" : {
          "type" : "number"
        },
        "totalCarbs" : {
          "type" : "number"
        },
        "totalFat" : {
          "type" : "number"
        }
      }
    },
    "ObjectId" : {
      "type" : "object",
      "properties" : {
        "timestamp" : {
          "type" : "integer",
          "format" : "int32"
        },
        "date" : {
          "type" : "string",
          "format" : "date-time"
        }
      }
    },
    "OnlineStoreInfo" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "enableStorePickup" : {
          "type" : "boolean"
        },
        "enableDelivery" : {
          "type" : "boolean"
        },
        "enableOnlineShipment" : {
          "type" : "boolean"
        },
        "enableProductReviews" : {
          "type" : "boolean"
        },
        "colorTheme" : {
          "type" : "string",
          "enum" : [ "Light", "Dark" ]
        },
        "defaultETA" : {
          "type" : "integer",
          "format" : "int32"
        },
        "pageOneMessageTitle" : {
          "type" : "string"
        },
        "pageOneMessageBody" : {
          "type" : "string"
        },
        "submissionMessage" : {
          "type" : "string"
        },
        "cartMinimum" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cartMinType" : {
          "type" : "string",
          "enum" : [ "Subtotal", "SubtotalWithDiscount" ]
        },
        "enabled" : {
          "type" : "boolean"
        },
        "websiteOrigins" : {
          "type" : "string"
        },
        "supportEmail" : {
          "type" : "string"
        },
        "enableOnlinePOS" : {
          "type" : "boolean"
        },
        "enableDeliveryAreaRestrictions" : {
          "type" : "boolean"
        },
        "restrictedZipCodes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "useCustomETA" : {
          "type" : "boolean"
        },
        "customMessageETA" : {
          "type" : "string"
        },
        "storeHexColor" : {
          "type" : "string"
        },
        "viewType" : {
          "type" : "string",
          "enum" : [ "List", "Grid" ]
        },
        "enableInventory" : {
          "type" : "boolean"
        },
        "validateInventory" : {
          "type" : "string",
          "enum" : [ "None", "Disabled", "ByInventory", "ByNearbyRegion", "ByNearbyRegionAndDefault" ]
        },
        "enableInventoryType" : {
          "type" : "string",
          "enum" : [ "All", "Custom" ]
        },
        "activeInventoryId" : {
          "type" : "string"
        },
        "enableHtmlText" : {
          "type" : "boolean"
        },
        "htmlText" : {
          "type" : "string"
        },
        "websiteUrl" : {
          "type" : "string"
        },
        "enableOtherMarketingSource" : {
          "type" : "boolean"
        },
        "customCss" : {
          "type" : "string"
        },
        "denyBannedCustomers" : {
          "type" : "boolean"
        },
        "enableCommitCartQuantities" : {
          "type" : "boolean"
        },
        "expireCartAfterMinutes" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "PotencyMG" : {
      "type" : "object",
      "properties" : {
        "thc" : {
          "type" : "number"
        },
        "cbd" : {
          "type" : "number"
        },
        "cbn" : {
          "type" : "number"
        },
        "thca" : {
          "type" : "number"
        },
        "cbda" : {
          "type" : "number"
        },
        "cbg" : {
          "type" : "number"
        },
        "maxThc" : {
          "type" : "number"
        },
        "maxCbd" : {
          "type" : "number"
        },
        "maxCbn" : {
          "type" : "number"
        },
        "maxThca" : {
          "type" : "number"
        },
        "maxCbda" : {
          "type" : "number"
        },
        "thcBatch" : {
          "type" : "boolean"
        },
        "cbdBatch" : {
          "type" : "boolean"
        },
        "cbdaBatch" : {
          "type" : "boolean"
        },
        "thcaBatch" : {
          "type" : "boolean"
        },
        "cbnBatch" : {
          "type" : "boolean"
        },
        "cbgBatch" : {
          "type" : "boolean"
        },
        "totalPotency" : {
          "type" : "boolean"
        },
        "mgPotency" : {
          "type" : "boolean"
        },
        "thcName" : {
          "type" : "string"
        },
        "cbdName" : {
          "type" : "string"
        },
        "cbnName" : {
          "type" : "string"
        },
        "thcaName" : {
          "type" : "string"
        },
        "cbdaName" : {
          "type" : "string"
        },
        "cbgName" : {
          "type" : "string"
        }
      }
    },
    "PrepackageQuantity" : {
      "type" : "object",
      "properties" : {
        "totalCommittedQuantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "totalSellableQuantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "committedQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "integer",
            "format" : "int32"
          }
        },
        "sellableQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      }
    },
    "Product" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "checkSum" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archived" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "importSrc" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchasePrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "active" : {
          "type" : "boolean"
        },
        "genetics" : {
          "type" : "string"
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "priceBreaks" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceBreak"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "quantities" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductQuantity"
          }
        },
        "instock" : {
          "type" : "boolean"
        },
        "brandId" : {
          "type" : "string"
        },
        "category" : {
          "$ref" : "#/definitions/ProductCategory"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "customTaxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "brand" : {
          "$ref" : "#/definitions/Brand"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbItemRef" : {
          "type" : "string"
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "companyPricingTemplateId" : {
          "type" : "string"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "complianceId" : {
          "type" : "string"
        },
        "toleranceId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "salesPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lastWMSyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncStatus" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "wmOnlineSellable" : {
          "type" : "boolean"
        },
        "totalCommittedQuantity" : {
          "type" : "number"
        },
        "totalSellableQuantity" : {
          "type" : "number"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "dispatchPrepackageItemId" : {
          "type" : "string"
        },
        "committedQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "sellableQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "prepackageQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/PrepackageQuantity"
          }
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmBrandId" : {
          "type" : "string"
        },
        "wmTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "secondaryVendorsName" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "totalRemaining" : {
          "type" : "number"
        },
        "totalConsumerOrderQuantity" : {
          "type" : "number"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "secondaryShopIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorName" : {
          "type" : "string"
        },
        "secondaryVendorsIds" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "shopName" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "totalInventory" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "armsLengthType" : {
          "type" : "string"
        },
        "purchaseLimits" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PurchaseLimit"
          }
        },
        "productInfoSourcingStrategy" : {
          "type" : "string",
          "enum" : [ "NONE", "MANUAL", "FIFO_BATCH", "LIFO_BATCH" ]
        },
        "activeBatchId" : {
          "type" : "string"
        },
        "activeBatchSku" : {
          "type" : "string"
        },
        "listedByElastic" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "masterId" : {
          "type" : "string"
        },
        "companyProductId" : {
          "type" : "string"
        },
        "parentId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shopsList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shop"
          }
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "component" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "productFamilyId" : {
          "type" : "string"
        },
        "selectedInventories" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "trackPackageLabels" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "provider" : {
          "type" : "string"
        },
        "loyaltyAccrual" : {
          "type" : "boolean"
        },
        "metadataMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "potency" : {
          "type" : "boolean"
        },
        "childProduct" : {
          "type" : "boolean"
        },
        "companyLinkId" : {
          "type" : "string",
          "readOnly" : true
        },
        "syncToThirdPartyMenus" : {
          "type" : "boolean",
          "readOnly" : true
        }
      }
    },
    "ProductBatch" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "productId" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "batchNo" : {
          "type" : "integer",
          "format" : "int32"
        },
        "cost" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "costPerUnit" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "sku" : {
          "type" : "string"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "thcName" : {
          "type" : "string"
        },
        "cbnName" : {
          "type" : "string"
        },
        "cbdName" : {
          "type" : "string"
        },
        "cbdaName" : {
          "type" : "string"
        },
        "thcaName" : {
          "type" : "string"
        },
        "cbgName" : {
          "type" : "string"
        },
        "retailIdCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "retailIdTraceMessage" : {
          "type" : "string"
        },
        "retailIdUpdatedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "purchasedDate" : {
          "type" : "integer",
          "format" : "int64",
          "minimum" : 0
        },
        "sellBy" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archived" : {
          "type" : "boolean"
        },
        "archivedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "published" : {
          "type" : "boolean"
        },
        "unsellable" : {
          "type" : "boolean"
        },
        "unsellableReasons" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Reason"
          }
        },
        "publishedQuantity" : {
          "type" : "number"
        },
        "publishedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastAuditDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "trackTraceVerified" : {
          "type" : "boolean"
        },
        "trackPackageId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "trackPackageLabel" : {
          "type" : "string"
        },
        "sourcePackageLabel" : {
          "type" : "string"
        },
        "nmCcdReference" : {
          "$ref" : "#/definitions/NmCcdBatchReference"
        },
        "nmCcdMappingFlagged" : {
          "type" : "boolean"
        },
        "nmCcdMappingFlagReason" : {
          "type" : "string"
        },
        "trackHarvestBatch" : {
          "type" : "string"
        },
        "trackHarvestDate" : {
          "type" : "string"
        },
        "trackTraceSystem" : {
          "type" : "string",
          "enum" : [ "MANUAL", "METRC", "BIOTRACK", "UTAH_ICS", "NM_CCD", "OTHER" ]
        },
        "trackWeight" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "purchaseOrderId" : {
          "type" : "string"
        },
        "perUnitExciseTax" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "totalExciseTax" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "customerCompanyId" : {
          "type" : "string"
        },
        "armsLengthType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "brandId" : {
          "type" : "string"
        },
        "receiveDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "poNumber" : {
          "type" : "string"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "IN_TRANSFER", "RECEIVED", "IN_TESTING", "READY_FOR_SALE", "PROCESSING", "ERROR", "FINISHED" ]
        },
        "prevStatus" : {
          "type" : "string",
          "enum" : [ "IN_TRANSFER", "RECEIVED", "IN_TESTING", "READY_FOR_SALE", "PROCESSING", "ERROR", "FINISHED" ]
        },
        "requestedStatus" : {
          "type" : "string",
          "enum" : [ "IN_TRANSFER", "RECEIVED", "IN_TESTING", "READY_FOR_SALE", "PROCESSING", "ERROR", "FINISHED" ]
        },
        "complianceError" : {
          "type" : "string"
        },
        "metrcCategory" : {
          "type" : "string"
        },
        "voidStatus" : {
          "type" : "boolean"
        },
        "active" : {
          "type" : "boolean"
        },
        "batchQRAsset" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "productBatchLabel" : {
          "$ref" : "#/definitions/ProductBatchLabel"
        },
        "lotId" : {
          "type" : "string"
        },
        "metrcTagId" : {
          "type" : "string"
        },
        "totalCultivationTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "referenceNote" : {
          "$ref" : "#/definitions/Note"
        },
        "flowerSourceType" : {
          "type" : "string",
          "enum" : [ "CULTIVATOR_DIRECT", "DISTRIBUTOR" ]
        },
        "attachments" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "productName" : {
          "type" : "string"
        },
        "vendorName" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "liveQuantity" : {
          "type" : "number"
        },
        "derivedLogId" : {
          "type" : "string"
        },
        "expirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "licenseId" : {
          "type" : "string"
        },
        "labelInfo" : {
          "type" : "string"
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BatchBundleItems"
          }
        },
        "externalId" : {
          "type" : "string"
        },
        "externalLicense" : {
          "type" : "string"
        },
        "roomId" : {
          "type" : "string"
        },
        "actualWeightPerUnit" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "waste" : {
          "type" : "number"
        },
        "unProcessed" : {
          "type" : "boolean"
        },
        "productionBatch" : {
          "type" : "boolean"
        },
        "moistureLoss" : {
          "type" : "number",
          "format" : "double"
        },
        "batchType" : {
          "type" : "string",
          "enum" : [ "SAMPLE", "SALE" ]
        },
        "connectedBatchId" : {
          "type" : "string"
        },
        "metrcQuantity" : {
          "type" : "number"
        },
        "trackHarvestName" : {
          "type" : "string"
        },
        "metrcLabTestingState" : {
          "type" : "string"
        },
        "complianceLabTestingState" : {
          "type" : "string"
        },
        "fromTestSample" : {
          "type" : "boolean"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "produceDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packageDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "finalTestingDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceInfo"
        },
        "cannabinoidInfo" : {
          "$ref" : "#/definitions/CannabinoidInfoValue"
        },
        "potencyAmountInfo" : {
          "$ref" : "#/definitions/CannabinoidInfoValue"
        },
        "runId" : {
          "type" : "string"
        },
        "useBatchInfoQATest" : {
          "type" : "boolean"
        },
        "doh" : {
          "type" : "boolean"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "usedAllLiveQuantity" : {
          "type" : "boolean"
        },
        "product" : {
          "$ref" : "#/definitions/Product"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "brand" : {
          "$ref" : "#/definitions/Brand"
        },
        "netWeight" : {
          "type" : "string"
        },
        "ndcNumber" : {
          "type" : "string"
        },
        "unitWeightValue" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "unitWeightType" : {
          "type" : "string",
          "enum" : [ "NONE", "GRAM", "OUNCE", "FLUID_OUNCE", "MILLIGRAM" ]
        },
        "usableNetWeight" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "labResultData" : {
          "$ref" : "#/definitions/LabResultData"
        },
        "servingWeight" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "externalTransferId" : {
          "type" : "string"
        },
        "sample" : {
          "type" : "boolean"
        },
        "complianceSampleChecked" : {
          "type" : "boolean"
        },
        "prepaidTax" : {
          "type" : "boolean"
        },
        "complianceBatch" : {
          "type" : "boolean"
        }
      }
    },
    "ProductBatchLabel" : {
      "type" : "object",
      "properties" : {
        "labelType" : {
          "type" : "string",
          "enum" : [ "TEST_RESULT", "PRODUCT_ID" ]
        },
        "enabledProductName" : {
          "type" : "boolean"
        },
        "enablesBatchId" : {
          "type" : "boolean"
        },
        "enablesLotId" : {
          "type" : "boolean"
        },
        "enabledPackageId" : {
          "type" : "boolean"
        },
        "enablesNetWeight" : {
          "type" : "boolean"
        },
        "enabledBarCode" : {
          "type" : "boolean"
        },
        "enabledQRCode" : {
          "type" : "boolean"
        },
        "enableCultivationName" : {
          "type" : "boolean"
        },
        "enableTestResults" : {
          "type" : "boolean"
        },
        "enableTestDate" : {
          "type" : "boolean"
        }
      }
    },
    "ProductCategory" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "blazeCategoryId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "complianceId" : {
          "type" : "string"
        },
        "archived" : {
          "type" : "boolean"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "topLevelCategoryName" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "parentCategoryId" : {
          "type" : "string"
        },
        "companyCategoryId" : {
          "type" : "string"
        },
        "wmCategory" : {
          "type" : "string"
        },
        "wmCategoryName" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "masterId" : {
          "type" : "string"
        },
        "platformCategoryId" : {
          "type" : "string"
        },
        "platformParentCategoryId" : {
          "type" : "string"
        },
        "masterCategory" : {
          "$ref" : "#/definitions/MasterCategory"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "labelTemplateId" : {
          "type" : "string"
        },
        "categoryApp" : {
          "type" : "string",
          "enum" : [ "DISTRO", "MANUFACTURING" ]
        },
        "unitTrackingEnabled" : {
          "type" : "boolean"
        },
        "giftCard" : {
          "type" : "boolean"
        }
      }
    },
    "ProductPriceBreak" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "priceBreakType" : {
          "type" : "string",
          "enum" : [ "None", "HalfGramUnit", "OneGramUnit", "TwoGramUnits", "ThreeGramUnits", "FourGramUnits", "FiveGramUnits", "SixGramUnits", "SevenGramUnits", "EightGramUnits", "Custom" ]
        },
        "name" : {
          "type" : "string"
        },
        "displayName" : {
          "type" : "string"
        },
        "price" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "quantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "active" : {
          "type" : "boolean"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "salePrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "assignedPrice" : {
          "type" : "number"
        }
      }
    },
    "ProductPriceRange" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "weightToleranceId" : {
          "type" : "string"
        },
        "price" : {
          "type" : "number"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "weightTolerance" : {
          "$ref" : "#/definitions/ProductWeightTolerance"
        },
        "salePrice" : {
          "type" : "number"
        },
        "enabled" : {
          "type" : "boolean"
        },
        "assignedPrice" : {
          "type" : "number"
        }
      }
    },
    "ProductQuantity" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        }
      }
    },
    "ProductWeightTolerance" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "startWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "endWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightKey" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "enabled" : {
          "type" : "boolean"
        }
      }
    },
    "PurchaseLimit" : {
      "type" : "object",
      "properties" : {
        "cannabisTypeId" : {
          "type" : "string"
        },
        "value" : {
          "type" : "number"
        },
        "unitOfMeasure" : {
          "type" : "string",
          "enum" : [ "each", "milliliter", "gram", "milligram", "fluid_ounce", "ounce" ]
        }
      }
    },
    "QRCodeInfo" : {
      "type" : "object",
      "properties" : {
        "type" : {
          "type" : "string",
          "enum" : [ "CUSTOM" ]
        },
        "displayName" : {
          "type" : "string"
        },
        "label" : {
          "type" : "string"
        },
        "code" : {
          "type" : "string"
        }
      }
    },
    "Reason" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "source" : {
          "type" : "string"
        },
        "message" : {
          "type" : "string"
        }
      }
    },
    "ReceiptInfo" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "receiptType" : {
          "type" : "string",
          "enum" : [ "SALES", "FULFILLMENT", "DELIVERY", "INCOMING" ]
        },
        "enableMemberName" : {
          "type" : "boolean"
        },
        "enableMemberFullLastName" : {
          "type" : "boolean"
        },
        "enableMemberId" : {
          "type" : "boolean"
        },
        "enableMemberMedicalNumber" : {
          "type" : "boolean"
        },
        "enablePhysicianDirections" : {
          "type" : "boolean"
        },
        "enableMemberDeliveryAddress" : {
          "type" : "boolean"
        },
        "enableMemberAddress" : {
          "type" : "boolean"
        },
        "enableShopAddress" : {
          "type" : "boolean"
        },
        "enableShopPhoneNo" : {
          "type" : "boolean"
        },
        "enableIncludeItemInSKU" : {
          "type" : "boolean"
        },
        "enableExciseTaxAsItem" : {
          "type" : "boolean"
        },
        "enableTotalTax" : {
          "type" : "boolean"
        },
        "enableMemberLoyaltyPoints" : {
          "type" : "boolean"
        },
        "enableMemberLoyaltyTier" : {
          "type" : "boolean"
        },
        "enableNotes" : {
          "type" : "boolean"
        },
        "freeText" : {
          "type" : "string"
        },
        "enabledFreeText" : {
          "type" : "boolean"
        },
        "enabledBottomFreeText" : {
          "type" : "boolean"
        },
        "aboveFreeText" : {
          "type" : "string"
        },
        "enableEmployeeName" : {
          "type" : "boolean"
        },
        "enableEmployeeFullLastName" : {
          "type" : "boolean"
        },
        "enableDeliveryDriverName" : {
          "type" : "boolean"
        },
        "enableDeliveryDriverFullLastName" : {
          "type" : "boolean"
        },
        "enableDeliveryDriverId" : {
          "type" : "boolean"
        },
        "enablePreparedByEmployeeName" : {
          "type" : "boolean"
        },
        "enablePreparedByEmployeeFullLastName" : {
          "type" : "boolean"
        },
        "enablePackedByEmployeeName" : {
          "type" : "boolean"
        },
        "enablePackedByEmployeeFullLastName" : {
          "type" : "boolean"
        },
        "enableMemberPhoneNo" : {
          "type" : "boolean"
        },
        "enableBrand" : {
          "type" : "boolean"
        },
        "enableItemDiscount" : {
          "type" : "boolean"
        },
        "enableItemDiscountNotes" : {
          "type" : "boolean"
        },
        "enableOrderNotes" : {
          "type" : "boolean"
        },
        "enableOrderDateTime" : {
          "type" : "boolean"
        },
        "enableEmployeeId" : {
          "type" : "boolean"
        },
        "enablePreparedByEmployeeId" : {
          "type" : "boolean"
        },
        "enablePackedByEmployeeId" : {
          "type" : "boolean"
        },
        "enableShopLicenseNumber" : {
          "type" : "boolean"
        },
        "enableLicenseeBusinessName" : {
          "type" : "boolean"
        },
        "licenseeBusinessName" : {
          "type" : "string"
        },
        "emailMessage" : {
          "type" : "string"
        },
        "emailAttachment" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "enableSource" : {
          "type" : "boolean"
        },
        "enableMemberDOB" : {
          "type" : "boolean"
        },
        "enableQueueType" : {
          "type" : "boolean"
        },
        "enableWPU" : {
          "type" : "boolean"
        },
        "enableComplianceBarcode" : {
          "type" : "boolean"
        },
        "enableScheduledWindow" : {
          "type" : "boolean"
        },
        "enableSalesChannel" : {
          "type" : "boolean"
        },
        "enableProductDescription" : {
          "type" : "boolean"
        },
        "productDescriptionType" : {
          "type" : "string",
          "enum" : [ "CATEGORY_TYPE", "CANNABIS_TYPE", "COMPLIANCE_TYPE", "STATE_TYPE" ]
        },
        "enableBundleExpansion" : {
          "type" : "boolean"
        },
        "marketingCodes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/QRCodeInfo"
          }
        },
        "enablePurchaseType" : {
          "type" : "boolean"
        },
        "enablePromotions" : {
          "type" : "boolean"
        },
        "enableDiscountSubtractions" : {
          "type" : "boolean"
        },
        "enableBatchUniqueNumber" : {
          "type" : "boolean"
        },
        "enableOrderCode" : {
          "type" : "boolean"
        },
        "showProductDescription" : {
          "type" : "boolean"
        }
      }
    },
    "SearchResultProductBatch" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductBatch"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "Shop" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shortIdentifier" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "shopType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "emailAdress" : {
          "type" : "string"
        },
        "license" : {
          "type" : "string"
        },
        "deaNumber" : {
          "type" : "string"
        },
        "enableDeliveryFee" : {
          "type" : "boolean"
        },
        "acceptAdultUseOrders" : {
          "type" : "boolean"
        },
        "deliveryFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "taxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "showWalkInQueue" : {
          "type" : "boolean"
        },
        "showDeliveryQueue" : {
          "type" : "boolean"
        },
        "showOnlineQueue" : {
          "type" : "boolean"
        },
        "showSpecialQueue" : {
          "type" : "boolean"
        },
        "aliasQueueTypeName" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "walkInQueueDOV" : {
          "type" : "string",
          "enum" : [ "ByTerminal", "ByInventory" ]
        },
        "deliveryQueueDOV" : {
          "type" : "string",
          "enum" : [ "ByTerminal", "ByInventory" ]
        },
        "specialQueueDOV" : {
          "type" : "string",
          "enum" : [ "ByTerminal", "ByInventory" ]
        },
        "enableCashInOut" : {
          "type" : "boolean"
        },
        "timeZone" : {
          "type" : "string"
        },
        "latitude" : {
          "type" : "number",
          "format" : "double"
        },
        "longitude" : {
          "type" : "number",
          "format" : "double"
        },
        "active" : {
          "type" : "boolean"
        },
        "snapshopTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "nextSnapshotTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "defaultCountry" : {
          "type" : "string"
        },
        "onlineStoreInfo" : {
          "$ref" : "#/definitions/OnlineStoreInfo"
        },
        "deliveryFees" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/DeliveryFee"
          }
        },
        "enableSaleLogout" : {
          "type" : "boolean"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "enableBCCReceipt" : {
          "type" : "boolean"
        },
        "bccEmailAddress" : {
          "type" : "string"
        },
        "enableGPSTracking" : {
          "type" : "boolean"
        },
        "receivingInventoryId" : {
          "type" : "string"
        },
        "defaultPinTimeout" : {
          "type" : "integer",
          "format" : "int32"
        },
        "emailList" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "enableLowInventoryEmail" : {
          "type" : "boolean"
        },
        "restrictedViews" : {
          "type" : "boolean"
        },
        "emailMessage" : {
          "type" : "string"
        },
        "taxRoundOffType" : {
          "type" : "string",
          "enum" : [ "ONE_CENT", "FIVE_CENT", "NEAREST_DOLLAR", "UP_DOLLAR", "DOWN_DOLLAR" ]
        },
        "enforceCashDrawers" : {
          "type" : "boolean"
        },
        "useAssignedEmployee" : {
          "type" : "boolean"
        },
        "enforceBlindCashDrawer" : {
          "type" : "boolean"
        },
        "termSalesOption" : {
          "type" : "string",
          "enum" : [ "DeviceTerminal", "AssignedEmployeeTerminal", "SellerAssignedTerminal" ]
        },
        "showProductByAvailableQuantity" : {
          "type" : "boolean"
        },
        "autoCashDrawer" : {
          "type" : "boolean"
        },
        "numAllowActiveTrans" : {
          "type" : "integer",
          "format" : "int32"
        },
        "requireValidRecDate" : {
          "type" : "boolean"
        },
        "enableDeliverySignature" : {
          "type" : "boolean"
        },
        "restrictIncomingOrderNotifications" : {
          "type" : "boolean"
        },
        "restrictedNotificationTerminals" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "roundOffType" : {
          "type" : "string",
          "enum" : [ "NONE", "ROUND_UP", "ROUND_DOWN" ]
        },
        "roundUpMessage" : {
          "type" : "string"
        },
        "membersCountSyncDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "enableCannabisLimit" : {
          "type" : "boolean"
        },
        "useComplexTax" : {
          "type" : "boolean"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "exciseTaxType" : {
          "type" : "string",
          "enum" : [ "PER_ITEM", "TOTAL_AMOUNT" ]
        },
        "nalExciseFromRetailCost" : {
          "type" : "boolean"
        },
        "nalExciseAfterCityTax" : {
          "type" : "boolean"
        },
        "alExciseOnZeroPrice" : {
          "type" : "boolean"
        },
        "marketingSources" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productsTag" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "logo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "hubId" : {
          "type" : "string"
        },
        "hubName" : {
          "type" : "string"
        },
        "enableOnFleet" : {
          "type" : "boolean"
        },
        "onFleetApiKey" : {
          "type" : "string"
        },
        "onFleetOrganizationId" : {
          "type" : "string"
        },
        "onFleetOrganizationName" : {
          "type" : "string"
        },
        "onFleetTwoWay" : {
          "type" : "boolean"
        },
        "onFleetTwoWayUpdateSchedule" : {
          "type" : "boolean"
        },
        "onFleetTwoWayRevert" : {
          "type" : "boolean"
        },
        "onFleetTwoAutoPack" : {
          "type" : "boolean"
        },
        "onFleetAllowEmptyOrders" : {
          "type" : "boolean"
        },
        "autoOnFleetTeam" : {
          "type" : "string"
        },
        "enableUnAssignedOnfleetOrder" : {
          "type" : "boolean"
        },
        "emailAttachment" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "receiptInfo" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ReceiptInfo"
          }
        },
        "enablePinForCashDrawer" : {
          "type" : "boolean"
        },
        "cashDrawerQuickStartEnabled" : {
          "type" : "boolean"
        },
        "enableWooCommerce" : {
          "type" : "boolean"
        },
        "cartMinimums" : {
          "$ref" : "#/definitions/CartMinimums"
        },
        "creditCardFeeList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CreditCardFee"
          }
        },
        "blazePayFeeList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CreditCardFee"
          }
        },
        "strongholdFeeList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CreditCardFee"
          }
        },
        "achFeeList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CreditCardFee"
          }
        },
        "appTarget" : {
          "type" : "string",
          "enum" : [ "AuthenticationApp", "Retail", "Distribution", "Grow", "Dispatch", "Worker", "Insights" ]
        },
        "twilioNumber" : {
          "type" : "string"
        },
        "enableAgeLimit" : {
          "type" : "boolean"
        },
        "ageLimit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "medicinalAge" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableMedicinalAge" : {
          "type" : "boolean"
        },
        "deliveryRefundType" : {
          "type" : "string",
          "enum" : [ "NONE", "FULL", "PARTIAL" ]
        },
        "creditFefundType" : {
          "type" : "string",
          "enum" : [ "NONE", "FULL", "PARTIAL" ]
        },
        "enableSpringBig" : {
          "type" : "boolean"
        },
        "enableGrowthLoyalty" : {
          "type" : "boolean"
        },
        "enableDailySummaryEmail" : {
          "type" : "boolean"
        },
        "enableHarvestTax" : {
          "type" : "boolean"
        },
        "enableTookan" : {
          "type" : "boolean"
        },
        "legalLanguage" : {
          "type" : "string"
        },
        "enableExciseTaxWarning" : {
          "type" : "boolean"
        },
        "exciseTaxWarning" : {
          "type" : "string"
        },
        "orderTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "allowAnonymousOrders" : {
          "type" : "boolean"
        },
        "membersTag" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "poTermCondition" : {
          "type" : "string"
        },
        "poNote" : {
          "type" : "string"
        },
        "invoiceTermCondition" : {
          "type" : "string"
        },
        "invoiceNote" : {
          "type" : "string"
        },
        "defaultHandOverMin" : {
          "type" : "integer",
          "format" : "int32"
        },
        "getdraftOrderTimeout" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableTip" : {
          "type" : "boolean"
        },
        "flowerType" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "enableRefundNote" : {
          "type" : "boolean"
        },
        "enableAutoPrintAtFulfillment" : {
          "type" : "boolean"
        },
        "nonCannabisTaxes" : {
          "$ref" : "#/definitions/NonCannabisTaxInfo"
        },
        "appendBrandNameWM" : {
          "type" : "boolean"
        },
        "blazeConnections" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "enableLimitOnNetWeight" : {
          "type" : "boolean"
        },
        "disableMedicalProductsForAdultUse" : {
          "type" : "boolean"
        },
        "disableRecreationalProductsForMedical" : {
          "type" : "boolean"
        },
        "enableDiscountNotes" : {
          "type" : "boolean"
        },
        "enableCartDiscountNotes" : {
          "type" : "boolean"
        },
        "enableAfterTaxDiscountNotes" : {
          "type" : "boolean"
        },
        "checkDuplicateDl" : {
          "type" : "boolean"
        },
        "onFleetRequired" : {
          "type" : "boolean"
        },
        "enableColorPin" : {
          "type" : "boolean"
        },
        "colorSameDay" : {
          "type" : "string"
        },
        "colorNextDay" : {
          "type" : "string"
        },
        "colorBeyondNextDay" : {
          "type" : "string"
        },
        "tookanRequired" : {
          "type" : "boolean"
        },
        "enableDOBNameUniqueness" : {
          "type" : "boolean"
        },
        "enableWaive" : {
          "type" : "boolean"
        },
        "enableCustomerIdentification" : {
          "type" : "boolean"
        },
        "enableComplianceTesting" : {
          "type" : "boolean"
        },
        "requireEventTripExternalDeliveryLedgerId" : {
          "type" : "boolean"
        },
        "onfleetOverrideUrl" : {
          "type" : "string"
        },
        "enableTipsBlazePay" : {
          "type" : "boolean"
        },
        "enableIncomingOrders" : {
          "type" : "boolean"
        },
        "enableCommittedValidation" : {
          "type" : "boolean"
        },
        "enableAssignedOrdersCheckCommittedInventory" : {
          "type" : "boolean"
        },
        "enableMfg" : {
          "type" : "boolean"
        },
        "testShop" : {
          "type" : "boolean"
        },
        "billable" : {
          "type" : "boolean"
        },
        "validateRegion" : {
          "type" : "boolean"
        },
        "overrideMemberLimits" : {
          "type" : "boolean"
        },
        "requiredComplianceLabel" : {
          "type" : "boolean"
        },
        "enableQtyFlattening" : {
          "type" : "boolean"
        },
        "productInfoSourcingStrategy" : {
          "type" : "string",
          "enum" : [ "NONE", "MANUAL", "FIFO_BATCH", "LIFO_BATCH" ]
        },
        "allowDelivery" : {
          "type" : "boolean"
        },
        "nalTaxesOnly" : {
          "type" : "boolean"
        },
        "enableSkipAssignValidation" : {
          "type" : "boolean"
        },
        "website" : {
          "type" : "string"
        },
        "dispatchConfiguration" : {
          "$ref" : "#/definitions/DispatchConfiguration"
        },
        "rollingCashDrawer" : {
          "type" : "boolean"
        },
        "platformLocationId" : {
          "type" : "string"
        },
        "defaultPOCostSource" : {
          "type" : "string",
          "enum" : [ "COMPLIANCE_SYSTEM", "COMPANY_CATALOG", "MANUAL" ]
        },
        "memberAddressRequired" : {
          "type" : "boolean"
        },
        "exciseTaxInfo" : {
          "$ref" : "#/definitions/ExciseTaxInfo"
        },
        "inventoryCostOption" : {
          "type" : "string",
          "enum" : [ "LAST_COST", "WEIGHTED_AVERAGE", "MANUAL" ]
        },
        "purchaseFloorAmount" : {
          "type" : "string",
          "enum" : [ "PENNY", "NICKEL", "DIME" ]
        },
        "enableCannabisAdjustmentAfterRounding" : {
          "type" : "boolean"
        },
        "usePackageDateForExpiration" : {
          "type" : "boolean"
        },
        "labResultExpiration" : {
          "type" : "integer",
          "format" : "int32"
        },
        "requirePhoneNumber" : {
          "type" : "boolean"
        },
        "requiredMemberPhone" : {
          "type" : "boolean"
        },
        "deliveryMaxOrders" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableDeferTransactions" : {
          "type" : "boolean"
        },
        "pennyTransactionOption" : {
          "type" : "string",
          "enum" : [ "DISABLED", "PER_QUANTITY", "OVERALL_TRANSACTION" ]
        },
        "defaultMetrcLocation" : {
          "$ref" : "#/definitions/MetricsLocation"
        },
        "canAssignLocationsToPackages" : {
          "type" : "boolean"
        },
        "canUpdateLocationsOnPackages" : {
          "type" : "boolean"
        },
        "autoArchiveBatches" : {
          "type" : "boolean"
        },
        "autoArchiveBatchesAfterNDays" : {
          "type" : "integer",
          "format" : "int32"
        },
        "productPriceIncludeExciseTax" : {
          "type" : "boolean"
        },
        "checkoutType" : {
          "type" : "string",
          "enum" : [ "Direct", "Fulfillment", "FulfillmentThreeStep" ]
        },
        "timezoneOffsetInMinutes" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "TaxInfo" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "cityTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "stateTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "federalTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "activeCDTFATax" : {
          "type" : "boolean"
        }
      }
    },
    "Vendor" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "importId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "phone" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "fax" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "description" : {
          "type" : "string"
        },
        "website" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "licenseNumber" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "backOrderEnabled" : {
          "type" : "boolean"
        },
        "licenseExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "armsLengthType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "brands" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbVendorRef" : {
          "type" : "array",
          "items" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        },
        "companyType" : {
          "type" : "string",
          "enum" : [ "DISTRIBUTOR", "CULTIVATOR", "RETAILER", "MANUFACTURER", "TRANSPORTER", "OTHER", "TESTING_FACILITY" ]
        },
        "additionalAddressList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "credits" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "mobileNumber" : {
          "type" : "string"
        },
        "licenceType" : {
          "type" : "string",
          "enum" : [ "RECREATIONAL", "MEDICINAL", "BOTH" ]
        },
        "relatedEntity" : {
          "type" : "boolean"
        },
        "vendorType" : {
          "type" : "string",
          "enum" : [ "CUSTOMER", "VENDOR", "BOTH" ]
        },
        "dbaName" : {
          "type" : "string"
        },
        "companyLicenses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyLicense"
          }
        },
        "createdBy" : {
          "type" : "string"
        },
        "accountOwnerId" : {
          "type" : "string"
        },
        "defaultPaymentTerm" : {
          "type" : "string"
        },
        "salesPerson" : {
          "type" : "string"
        },
        "contactPerson" : {
          "type" : "string"
        },
        "defaultContactId" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "toDefault" : {
          "type" : "boolean"
        },
        "connectedShop" : {
          "type" : "string"
        },
        "platformVendorId" : {
          "type" : "string"
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "vendorKey" : {
          "type" : "string",
          "readOnly" : true
        }
      }
    },
    "BatchQuantity" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "productId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "batchId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "committedQty" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "batchPurchaseDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "batchArchived" : {
          "type" : "boolean"
        },
        "unsellable" : {
          "type" : "boolean"
        },
        "sellableQty" : {
          "type" : "number",
          "readOnly" : true
        }
      }
    },
    "SearchResultBatchQuantity" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BatchQuantity"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "InventoryTransferHistory" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "ACCEPTED", "DECLINED", "PENDING" ]
        },
        "createByEmployeeId" : {
          "type" : "string"
        },
        "acceptByEmployeeId" : {
          "type" : "string"
        },
        "declineByEmployeeId" : {
          "type" : "string"
        },
        "fromShopId" : {
          "type" : "string"
        },
        "toShopId" : {
          "type" : "string"
        },
        "fromInventoryId" : {
          "type" : "string"
        },
        "toInventoryId" : {
          "type" : "string"
        },
        "prevFromInventoryId" : {
          "type" : "string"
        },
        "transferLogs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/InventoryTransferLog"
          }
        },
        "batchQuantityInfoMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "declinedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "acceptedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "transferNo" : {
          "type" : "string"
        },
        "completeTransfer" : {
          "type" : "boolean"
        },
        "transferByBatch" : {
          "type" : "boolean"
        },
        "processedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "processing" : {
          "type" : "boolean"
        },
        "driverId" : {
          "type" : "string"
        },
        "transactionId" : {
          "type" : "string"
        },
        "linkedSourceReq" : {
          "$ref" : "#/definitions/TransferLinkedSourceReq"
        },
        "orderNo" : {
          "type" : "string"
        },
        "activeTopUserId" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number"
        },
        "fromShopName" : {
          "type" : "string"
        },
        "toShopName" : {
          "type" : "string"
        },
        "fromInventoryName" : {
          "type" : "string"
        },
        "toInventoryName" : {
          "type" : "string"
        },
        "createdByEmployeeName" : {
          "type" : "string"
        },
        "acceptByEmployeeName" : {
          "type" : "string"
        },
        "declineByEmployeeName" : {
          "type" : "string"
        }
      }
    },
    "InventoryTransferLog" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "toProductId" : {
          "type" : "string"
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "failed" : {
          "type" : "boolean"
        },
        "transferAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalInventory" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "origFromQty" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalFromQty" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "origToQty" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "prevTransferAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fromBatchId" : {
          "type" : "string"
        },
        "fromBatchInfo" : {
          "type" : "string"
        },
        "prepackageName" : {
          "type" : "string"
        },
        "toBatchId" : {
          "type" : "string"
        },
        "toPrepackageItemId" : {
          "type" : "string"
        },
        "prevPrepackageItemId" : {
          "type" : "string"
        },
        "fromProductBatch" : {
          "$ref" : "#/definitions/ProductBatch"
        },
        "toProductBatch" : {
          "$ref" : "#/definitions/ProductBatch"
        },
        "batchQuantityMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "toBatchIds" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "toPrepackageItemIds" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "product" : {
          "$ref" : "#/definitions/Product"
        }
      }
    },
    "TransferLinkedSourceReq" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "reassign" : {
          "type" : "boolean"
        },
        "autoAccept" : {
          "type" : "boolean"
        }
      }
    },
    "PartnerInventoryTransferHistory" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "ACCEPTED", "DECLINED", "PENDING" ]
        },
        "createByEmployeeId" : {
          "type" : "string"
        },
        "acceptByEmployeeId" : {
          "type" : "string"
        },
        "declineByEmployeeId" : {
          "type" : "string"
        },
        "fromShopId" : {
          "type" : "string"
        },
        "toShopId" : {
          "type" : "string"
        },
        "fromInventoryId" : {
          "type" : "string"
        },
        "toInventoryId" : {
          "type" : "string"
        },
        "prevFromInventoryId" : {
          "type" : "string"
        },
        "transferLogs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/InventoryTransferLog"
          }
        },
        "batchQuantityInfoMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "declinedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "acceptedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "transferNo" : {
          "type" : "string"
        },
        "completeTransfer" : {
          "type" : "boolean"
        },
        "transferByBatch" : {
          "type" : "boolean"
        },
        "processedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "processing" : {
          "type" : "boolean"
        },
        "driverId" : {
          "type" : "string"
        },
        "transactionId" : {
          "type" : "string"
        },
        "linkedSourceReq" : {
          "$ref" : "#/definitions/TransferLinkedSourceReq"
        },
        "orderNo" : {
          "type" : "string"
        },
        "activeTopUserId" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number"
        },
        "fromShopName" : {
          "type" : "string"
        },
        "toShopName" : {
          "type" : "string"
        },
        "fromInventoryName" : {
          "type" : "string"
        },
        "toInventoryName" : {
          "type" : "string"
        },
        "createdByEmployeeName" : {
          "type" : "string"
        },
        "acceptByEmployeeName" : {
          "type" : "string"
        },
        "declineByEmployeeName" : {
          "type" : "string"
        },
        "currentEmployeeId" : {
          "type" : "string"
        }
      }
    },
    "PartnerInventoryTransferStatusRequest" : {
      "type" : "object",
      "properties" : {
        "currentEmployeeId" : {
          "type" : "string"
        }
      }
    },
    "CompanyContact" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "customerCompanyId" : {
          "type" : "string"
        },
        "salutation" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "role" : {
          "type" : "string"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "userPhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "note" : {
          "$ref" : "#/definitions/Note"
        },
        "officeNumber" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        }
      }
    },
    "PartnerCompanyContactRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "customerCompanyId" : {
          "type" : "string"
        },
        "salutation" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "role" : {
          "type" : "string"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "userPhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "note" : {
          "$ref" : "#/definitions/Note"
        },
        "officeNumber" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "employeeId" : {
          "type" : "string"
        }
      }
    },
    "CompanyContactResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "customerCompanyId" : {
          "type" : "string"
        },
        "salutation" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "role" : {
          "type" : "string"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "userPhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "note" : {
          "$ref" : "#/definitions/Note"
        },
        "officeNumber" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "customerCompany" : {
          "$ref" : "#/definitions/Vendor"
        }
      }
    },
    "SearchResultCompanyContact" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyContact"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "MsProductMain" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "platformProductId" : {
          "type" : "string"
        }
      }
    },
    "PartnerCompanyPromotionResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "scope" : {
          "type" : "string",
          "enum" : [ "Company", "Shop" ]
        },
        "companyPromoId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "promoDesc" : {
          "type" : "string"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountUnitType" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "promocode" : {
          "type" : "string"
        },
        "referralPrefix" : {
          "type" : "string"
        },
        "promoCodeRequired" : {
          "type" : "boolean"
        },
        "consumerFacing" : {
          "type" : "boolean"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "maxAvailable" : {
          "type" : "integer",
          "format" : "int32"
        },
        "usageCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableMaxAvailable" : {
          "type" : "boolean"
        },
        "limitPerCustomer" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableLimitPerCustomer" : {
          "type" : "boolean"
        },
        "restrictMemberGroups" : {
          "type" : "boolean"
        },
        "memberGroupIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "rules" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromotionRule"
          }
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "maxCashValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableBOGO" : {
          "type" : "boolean"
        },
        "enableDayDuration" : {
          "type" : "boolean"
        },
        "dayStartTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "dayEndTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "scalable" : {
          "type" : "boolean"
        },
        "targetPriceRange" : {
          "type" : "boolean"
        },
        "lowerPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "upperPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "version" : {
          "type" : "string",
          "enum" : [ "V1", "V2", "V3" ]
        },
        "referralPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "target" : {
          "$ref" : "#/definitions/PromotionTargetRule"
        },
        "exclusions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromoProductExclusion"
          }
        },
        "rank" : {
          "type" : "string",
          "enum" : [ "Highest", "High", "Medium", "Low", "Lowest" ]
        },
        "mon" : {
          "type" : "boolean"
        },
        "tues" : {
          "type" : "boolean"
        },
        "wed" : {
          "type" : "boolean"
        },
        "thur" : {
          "type" : "boolean"
        },
        "fri" : {
          "type" : "boolean"
        },
        "sat" : {
          "type" : "boolean"
        },
        "sun" : {
          "type" : "boolean"
        },
        "promoCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "promoSource" : {
          "type" : "string",
          "enum" : [ "Manual", "MemberGroup" ]
        },
        "stackable" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "lowestPriceFirst" : {
          "type" : "boolean"
        },
        "assigned" : {
          "type" : "boolean"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "restrictConsumerTypes" : {
          "type" : "boolean"
        },
        "consumerTypes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "salesChannels" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Any", "Ecommerce", "Mobile", "ScanToShop", "Retail", "Kiosk" ]
          }
        },
        "autoApply" : {
          "type" : "boolean"
        },
        "enableMultiApplies" : {
          "type" : "boolean"
        },
        "maxApplies" : {
          "type" : "integer",
          "format" : "int32"
        },
        "groupProductsBy" : {
          "type" : "string",
          "enum" : [ "None", "Brand", "Category", "Vendor" ]
        },
        "autoApplyRequested" : {
          "type" : "boolean"
        },
        "enableUsageCooldownInDays" : {
          "type" : "boolean"
        },
        "thirdPartyLoyaltyEnabled" : {
          "type" : "boolean"
        },
        "usageCooldownInDays" : {
          "type" : "integer",
          "format" : "int32"
        },
        "includeAnonymous" : {
          "type" : "boolean"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "startTime" : {
          "type" : "string"
        },
        "endTime" : {
          "type" : "string"
        },
        "source" : {
          "type" : "string"
        },
        "promotionIdsByShopId" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "validVarietyBundle" : {
          "type" : "boolean"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "criteriaGroups" : {
          "type" : "array",
          "items" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/PromotionRule"
            }
          }
        }
      }
    },
    "ProductMainPricingDTO" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "discountEnabled" : {
          "type" : "boolean"
        }
      }
    },
    "ProductPricingDTO" : {
      "type" : "object",
      "properties" : {
        "discountEnabled" : {
          "type" : "boolean"
        }
      }
    },
    "PromoProductExclusion" : {
      "type" : "object",
      "properties" : {
        "ruleType" : {
          "type" : "string",
          "enum" : [ "None", "LastVisit", "FirstTimeMember", "LastVist", "CartOrderMin", "NumberMinOrders", "ProductTag", "ByVendor", "ProductCategory", "Product", "ByBrand", "OneFromVendors", "OneFromCategories", "OneFromProducts", "OneFromProductTags", "OneFromBrands", "AnyFromMatching", "OneFromMatching", "OneUnitFromMatchingSet", "GetYFromSmartCollection", "OneSetFromSmartCollection", "GetAnyYFromSmartCollection", "AllProductsExcept" ]
        },
        "categoryIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "brandIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "smartCollectionIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "currentProducts" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductMainPricingDTO"
          }
        },
        "vendorId" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        }
      }
    },
    "PromotionRule" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "ruleType" : {
          "type" : "string",
          "enum" : [ "None", "LastVisit", "FirstTimeMember", "LastVist", "CartOrderMin", "NumberMinOrders", "ProductTag", "ByVendor", "ProductCategory", "Product", "ByBrand", "OneFromVendors", "OneFromCategories", "OneFromProducts", "OneFromProductTags", "OneFromBrands", "AnyFromMatching", "OneFromMatching", "OneUnitFromMatchingSet", "GetYFromSmartCollection", "OneSetFromSmartCollection", "GetAnyYFromSmartCollection", "AllProductsExcept" ]
        },
        "categoryIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "brandIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "smartCollectionIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "currentproducts" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Product"
          }
        },
        "categoryId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "minAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "maxAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "all" : {
          "type" : "boolean"
        }
      }
    },
    "PromotionTargetRule" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "ruleType" : {
          "type" : "string",
          "enum" : [ "None", "LastVisit", "FirstTimeMember", "LastVist", "CartOrderMin", "NumberMinOrders", "ProductTag", "ByVendor", "ProductCategory", "Product", "ByBrand", "OneFromVendors", "OneFromCategories", "OneFromProducts", "OneFromProductTags", "OneFromBrands", "AnyFromMatching", "OneFromMatching", "OneUnitFromMatchingSet", "GetYFromSmartCollection", "OneSetFromSmartCollection", "GetAnyYFromSmartCollection", "AllProductsExcept" ]
        },
        "categoryIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "brandIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "smartCollectionIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "currentproducts" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Product"
          }
        },
        "categoryId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "minAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "maxAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "all" : {
          "type" : "boolean"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "unitWeight" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "discountQty" : {
          "type" : "number"
        }
      }
    },
    "CompanyPromotionAddRequest" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "promoSource" : {
          "type" : "string",
          "enum" : [ "Manual", "MemberGroup" ]
        },
        "discountAmt" : {
          "type" : "number"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "active" : {
          "type" : "boolean"
        },
        "stackable" : {
          "type" : "boolean"
        },
        "shopId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "boolean"
        },
        "includeAnonymous" : {
          "type" : "boolean"
        },
        "version" : {
          "type" : "string",
          "enum" : [ "V1", "V2", "V3" ]
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "PartnerCompanyPromotionAddRequest" : {
      "type" : "object",
      "properties" : {
        "promotion" : {
          "$ref" : "#/definitions/CompanyPromotionAddRequest"
        }
      }
    },
    "CompanyPromotionUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "scope" : {
          "type" : "string",
          "enum" : [ "Company", "Shop" ]
        },
        "companyPromoId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "promoDesc" : {
          "type" : "string"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountUnitType" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "promocode" : {
          "type" : "string"
        },
        "referralPrefix" : {
          "type" : "string"
        },
        "promoCodeRequired" : {
          "type" : "boolean"
        },
        "consumerFacing" : {
          "type" : "boolean"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "maxAvailable" : {
          "type" : "integer",
          "format" : "int32"
        },
        "usageCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableMaxAvailable" : {
          "type" : "boolean"
        },
        "limitPerCustomer" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableLimitPerCustomer" : {
          "type" : "boolean"
        },
        "restrictMemberGroups" : {
          "type" : "boolean"
        },
        "memberGroupIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "rules" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromotionRule"
          }
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "maxCashValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableBOGO" : {
          "type" : "boolean"
        },
        "enableDayDuration" : {
          "type" : "boolean"
        },
        "dayStartTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "dayEndTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "scalable" : {
          "type" : "boolean"
        },
        "targetPriceRange" : {
          "type" : "boolean"
        },
        "lowerPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "upperPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "version" : {
          "type" : "string",
          "enum" : [ "V1", "V2", "V3" ]
        },
        "referralPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "target" : {
          "$ref" : "#/definitions/PromotionTargetRule"
        },
        "exclusions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromoProductExclusion"
          }
        },
        "rank" : {
          "type" : "string",
          "enum" : [ "Highest", "High", "Medium", "Low", "Lowest" ]
        },
        "mon" : {
          "type" : "boolean"
        },
        "tues" : {
          "type" : "boolean"
        },
        "wed" : {
          "type" : "boolean"
        },
        "thur" : {
          "type" : "boolean"
        },
        "fri" : {
          "type" : "boolean"
        },
        "sat" : {
          "type" : "boolean"
        },
        "sun" : {
          "type" : "boolean"
        },
        "promoCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "promoSource" : {
          "type" : "string",
          "enum" : [ "Manual", "MemberGroup" ]
        },
        "stackable" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "lowestPriceFirst" : {
          "type" : "boolean"
        },
        "assigned" : {
          "type" : "boolean"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "restrictConsumerTypes" : {
          "type" : "boolean"
        },
        "consumerTypes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "salesChannels" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Any", "Ecommerce", "Mobile", "ScanToShop", "Retail", "Kiosk" ]
          }
        },
        "autoApply" : {
          "type" : "boolean"
        },
        "enableMultiApplies" : {
          "type" : "boolean"
        },
        "maxApplies" : {
          "type" : "integer",
          "format" : "int32"
        },
        "groupProductsBy" : {
          "type" : "string",
          "enum" : [ "None", "Brand", "Category", "Vendor" ]
        },
        "autoApplyRequested" : {
          "type" : "boolean"
        },
        "enableUsageCooldownInDays" : {
          "type" : "boolean"
        },
        "thirdPartyLoyaltyEnabled" : {
          "type" : "boolean"
        },
        "usageCooldownInDays" : {
          "type" : "integer",
          "format" : "int32"
        },
        "includeAnonymous" : {
          "type" : "boolean"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "startTime" : {
          "type" : "string"
        },
        "endTime" : {
          "type" : "string"
        },
        "validVarietyBundle" : {
          "type" : "boolean"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "criteriaGroups" : {
          "type" : "array",
          "items" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/PromotionRule"
            }
          }
        }
      }
    },
    "PartnerCompanyPromotionUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "promotion" : {
          "$ref" : "#/definitions/CompanyPromotionUpdateRequest"
        }
      }
    },
    "ConsumerAsset" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "key" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Photo", "Document", "Kml" ]
        },
        "active" : {
          "type" : "boolean"
        },
        "documentId" : {
          "type" : "string"
        },
        "assetType" : {
          "type" : "string",
          "enum" : [ "Photo", "Document", "Kml" ]
        }
      }
    },
    "ConsumerMemberStatus" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "consumerId" : {
          "type" : "string"
        },
        "memberId" : {
          "type" : "string"
        },
        "accepted" : {
          "type" : "boolean"
        },
        "acceptedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "reason" : {
          "type" : "string"
        },
        "lastSyncDate" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "ConsumerUser" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "password" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "middleName" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "dob" : {
          "type" : "integer",
          "format" : "int64"
        },
        "birthdate" : {
          "type" : "string"
        },
        "localDob" : {
          "type" : "string"
        },
        "primaryPhone" : {
          "type" : "string"
        },
        "cpn" : {
          "type" : "string"
        },
        "textOptIn" : {
          "type" : "boolean"
        },
        "emailOptIn" : {
          "type" : "boolean"
        },
        "medical" : {
          "type" : "boolean"
        },
        "searchText" : {
          "type" : "string"
        },
        "anonymous" : {
          "type" : "boolean"
        },
        "sex" : {
          "type" : "string",
          "enum" : [ "MALE", "FEMALE", "OTHER" ]
        },
        "marketingSource" : {
          "type" : "string"
        },
        "sourceCompanyId" : {
          "type" : "string"
        },
        "verifyMethod" : {
          "type" : "string",
          "enum" : [ "Website", "Phone" ]
        },
        "verificationWebsite" : {
          "type" : "string"
        },
        "verificationPhone" : {
          "type" : "string"
        },
        "doctorFirstName" : {
          "type" : "string"
        },
        "doctorLastName" : {
          "type" : "string"
        },
        "doctorLicense" : {
          "type" : "string"
        },
        "dlNo" : {
          "type" : "string"
        },
        "dlExpiration" : {
          "type" : "integer",
          "format" : "int64"
        },
        "localDlExpiration" : {
          "type" : "string"
        },
        "dlState" : {
          "type" : "string"
        },
        "dlPhoto" : {
          "$ref" : "#/definitions/ConsumerAsset"
        },
        "recPhoto" : {
          "$ref" : "#/definitions/ConsumerAsset"
        },
        "recNo" : {
          "type" : "string"
        },
        "recExpiration" : {
          "type" : "integer",
          "format" : "int64"
        },
        "recIssueDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "notificationType" : {
          "type" : "string",
          "enum" : [ "None", "Email", "Text" ]
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "verified" : {
          "type" : "boolean"
        },
        "active" : {
          "type" : "boolean"
        },
        "memberIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "memberStatuses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ConsumerMemberStatus"
          }
        },
        "signedContracts" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/SignedContract"
          }
        },
        "source" : {
          "type" : "string",
          "enum" : [ "Blaze", "WooCommerce" ]
        },
        "importId" : {
          "type" : "string"
        },
        "memberId" : {
          "type" : "string"
        },
        "accepted" : {
          "type" : "boolean"
        },
        "acceptedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "reason" : {
          "type" : "string"
        },
        "lastSyncDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "rejectedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "addresses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "growthLoyaltyEnrolled" : {
          "type" : "boolean"
        },
        "growthLoyaltyEnrolledUpdatedAt" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "SignedContract" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "contractId" : {
          "type" : "string"
        },
        "membershipId" : {
          "type" : "string"
        },
        "signedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "signaturePhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "signedDigitally" : {
          "type" : "boolean"
        },
        "consumerId" : {
          "type" : "string"
        },
        "memberName" : {
          "type" : "string"
        },
        "employeeName" : {
          "type" : "string"
        },
        "employeeSignaturePhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "witnessName" : {
          "type" : "string"
        },
        "witnessSignaturePhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        }
      }
    },
    "ConsumerAuthResult" : {
      "type" : "object",
      "properties" : {
        "accessToken" : {
          "type" : "string"
        },
        "assetAccessToken" : {
          "type" : "string"
        },
        "user" : {
          "$ref" : "#/definitions/ConsumerUser"
        },
        "loginTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "expirationTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sessionId" : {
          "type" : "string"
        }
      }
    },
    "ConsumerLoginRequest" : {
      "type" : "object",
      "properties" : {
        "email" : {
          "type" : "string"
        },
        "password" : {
          "type" : "string"
        },
        "timezone" : {
          "type" : "string"
        },
        "appTarget" : {
          "type" : "string",
          "enum" : [ "AuthenticationApp", "Retail", "Distribution", "Grow", "Dispatch", "Worker", "Insights" ]
        }
      }
    },
    "ConsumerCreateRequest" : {
      "type" : "object",
      "properties" : {
        "email" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "password" : {
          "type" : "string"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "dob" : {
          "type" : "integer",
          "format" : "int64"
        },
        "birthdate" : {
          "type" : "string"
        },
        "localDob" : {
          "type" : "string"
        },
        "marketingSource" : {
          "type" : "string"
        },
        "agreement" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "sex" : {
          "type" : "string",
          "enum" : [ "MALE", "FEMALE", "OTHER" ]
        },
        "contractId" : {
          "type" : "string"
        }
      }
    },
    "AdjustmentInfo" : {
      "type" : "object",
      "properties" : {
        "adjustmentId" : {
          "type" : "string"
        },
        "negative" : {
          "type" : "boolean"
        },
        "amount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "BaseTaxRateDetail" : {
      "type" : "object",
      "properties" : {
        "taxRateId" : {
          "type" : "string"
        },
        "taxRateAmount" : {
          "type" : "number"
        },
        "preTax" : {
          "type" : "boolean"
        }
      }
    },
    "BlazePayRequest" : {
      "type" : "object",
      "properties" : {
        "tip" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cashBack" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCharged" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "BundledTaxResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "totalPreCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPostCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCityTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCountyTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalStateTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalFedTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCityPreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCountyPreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalStatePreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalFedPreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalNALPreExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalALExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalALPostExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cultivationTaxResult" : {
          "$ref" : "#/definitions/CultivationTaxResult"
        },
        "totalDeliveryFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "surchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "surchargeFeeExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "citySurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "countySurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "stateSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fedSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxMappingInfo" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "productId" : {
          "type" : "string"
        },
        "origPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "bundleDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalUnitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "processed" : {
          "type" : "boolean"
        }
      }
    },
    "CannabisUsageInfo" : {
      "type" : "object",
      "properties" : {
        "internal" : {
          "type" : "number"
        },
        "external" : {
          "type" : "number"
        }
      }
    },
    "CardFeesLog" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "feeName" : {
          "type" : "string"
        },
        "feeType" : {
          "type" : "string",
          "enum" : [ "CreditCard", "CashlessAtm", "BLAZEPAY", "ACH", "Stronghold" ]
        },
        "enabled" : {
          "type" : "boolean"
        },
        "fee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "subTotalThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "includedInTotals" : {
          "type" : "boolean"
        },
        "feeAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "Cart" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "promoCode" : {
          "type" : "string"
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "cashReceived" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "changeDue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "paymentOption" : {
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        },
        "cfdPaymentMethodIntent" : {
          "type" : "boolean"
        },
        "subTotal" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "calcCartDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "subTotalDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "loyaltyDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "total" : {
          "type" : "number"
        },
        "feeTotal" : {
          "type" : "number"
        },
        "feeTotalRefunded" : {
          "type" : "number"
        },
        "taxRateTotalRefunded" : {
          "type" : "number"
        },
        "totalBeforeTaxRounding" : {
          "type" : "number"
        },
        "totalAfterTaxRounding" : {
          "type" : "number"
        },
        "taxTable" : {
          "$ref" : "#/definitions/CompoundTaxTable"
        },
        "tax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxResult" : {
          "$ref" : "#/definitions/TaxResult"
        },
        "taxRateDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/TaxRateDetail"
          }
        },
        "totalCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPreCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "refundAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableDeliveryFee" : {
          "type" : "boolean"
        },
        "deliveryFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "deliveryDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "deliveryDiscountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "deliveryPromotionId" : {
          "type" : "string"
        },
        "afterTaxDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "appliedAfterTaxDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "roundAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "pointSpent" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "items" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/OrderItem"
          }
        },
        "promotionReqs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/PromotionReq"
          }
        },
        "promotionReqLogs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/PromotionReqLog"
          }
        },
        "splitPayment" : {
          "$ref" : "#/definitions/SplitPayment"
        },
        "blazePayRequest" : {
          "$ref" : "#/definitions/BlazePayRequest"
        },
        "paymentType" : {
          "type" : "string",
          "enum" : [ "Full", "Split" ]
        },
        "totalExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalALExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "balanceDue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "creditCardFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lastCreditCardFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "currentSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableCreditCardFee" : {
          "type" : "boolean"
        },
        "refundOption" : {
          "type" : "string",
          "enum" : [ "Retail", "Void" ]
        },
        "refundOrderItemRequests" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/RefundOrderItemRequest"
          }
        },
        "requestRefundAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalRefundAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "adjustmentAmount" : {
          "type" : "number"
        },
        "adjustmentInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/AdjustmentInfo"
          }
        },
        "taxRoundOffType" : {
          "type" : "string",
          "enum" : [ "ONE_CENT", "FIVE_CENT", "NEAREST_DOLLAR", "UP_DOLLAR", "DOWN_DOLLAR" ]
        },
        "tipAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "nonCannabisTaxTable" : {
          "$ref" : "#/definitions/CompoundTaxTable"
        },
        "cartDiscountNotes" : {
          "type" : "string"
        },
        "afterTaxDiscountNotes" : {
          "type" : "string"
        },
        "cardFeesLogs" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CardFeesLog"
          }
        },
        "currentAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalFees" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "deliveryDiscountAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "origDeliveryFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "refundLog" : {
          "$ref" : "#/definitions/RefundLog"
        },
        "cdtfaTaxRate" : {
          "type" : "number"
        },
        "activeCDTFATax" : {
          "type" : "boolean"
        },
        "shopType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "externalPaymentProvider" : {
          "type" : "string"
        },
        "storageLocation" : {
          "type" : "string",
          "enum" : [ "CashVault", "CashDrawer" ]
        }
      }
    },
    "CheckCannabisLimitResult" : {
      "type" : "object",
      "properties" : {
        "passed" : {
          "type" : "boolean"
        },
        "currentCartScheduled" : {
          "type" : "boolean"
        },
        "usageResult" : {
          "$ref" : "#/definitions/CurrentMemberCannabisUsageResult"
        }
      }
    },
    "ConsumerCart" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "consumerId" : {
          "type" : "string"
        },
        "memberId" : {
          "type" : "string"
        },
        "assignedNearbyDriverId" : {
          "type" : "string"
        },
        "cart" : {
          "$ref" : "#/definitions/Cart"
        },
        "orderPlacedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "acceptedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packagedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "onTheWayTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "canceledTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "declinedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "placed" : {
          "type" : "boolean"
        },
        "accepted" : {
          "type" : "boolean"
        },
        "completed" : {
          "type" : "boolean"
        },
        "packaged" : {
          "type" : "boolean"
        },
        "onTheWay" : {
          "type" : "boolean"
        },
        "anonymous" : {
          "type" : "boolean"
        },
        "eta" : {
          "type" : "integer",
          "format" : "int32"
        },
        "reason" : {
          "type" : "string"
        },
        "sessionId" : {
          "type" : "string"
        },
        "publicKey" : {
          "type" : "string"
        },
        "committed" : {
          "type" : "boolean"
        },
        "cartStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "Placed", "Accepted", "Completed", "Declined", "CanceledByConsumer", "CanceledByDispensary" ]
        },
        "trackingStatus" : {
          "type" : "string",
          "enum" : [ "NotStarted", "Placed", "Accepted", "Packaged", "OnTheWay", "Delivered", "WaitingPickup", "Declined" ]
        },
        "pickupType" : {
          "type" : "string",
          "enum" : [ "Pickup", "Delivery", "Ship" ]
        },
        "source" : {
          "type" : "string"
        },
        "salesChannel" : {
          "type" : "string"
        },
        "partnerId" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "transactionId" : {
          "type" : "string"
        },
        "reqLinkedTransId" : {
          "type" : "string"
        },
        "transNo" : {
          "type" : "string"
        },
        "orderNo" : {
          "type" : "string"
        },
        "employeeName" : {
          "type" : "string"
        },
        "memo" : {
          "type" : "string"
        },
        "additionalNotes" : {
          "type" : "string"
        },
        "pickUpDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "transactionSource" : {
          "type" : "string",
          "enum" : [ "Retail", "Widget", "WooCommerce", "Weedmaps" ]
        },
        "assignedEmployeeId" : {
          "type" : "string"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "memberGroup" : {
          "$ref" : "#/definitions/WooMemberGroupResult"
        },
        "errorMsg" : {
          "type" : "string"
        },
        "completeAfter" : {
          "type" : "integer",
          "format" : "int64"
        },
        "orderTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "slugRewardErrorMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "rewardErrorMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "rewardName" : {
          "type" : "string"
        },
        "prepaid" : {
          "type" : "boolean"
        },
        "consumerUser" : {
          "$ref" : "#/definitions/ConsumerUser"
        },
        "disableAutoAssignment" : {
          "type" : "boolean"
        },
        "disableAutoRegionDispatch" : {
          "type" : "boolean"
        },
        "overrideRegionId" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "dispatchRegionId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "overrideInventoryId" : {
          "type" : "string"
        },
        "activeInventoryIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "expiredAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "orderMenuType" : {
          "type" : "string",
          "enum" : [ "Standard", "Scheduled", "Express" ]
        },
        "integrations" : {
          "$ref" : "#/definitions/ConsumerCartIntegrations"
        },
        "externalPaymentIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "externalPaymentConfigId" : {
          "type" : "string"
        },
        "currentItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/OrderItem"
          }
        },
        "cannabislimits" : {
          "readOnly" : true,
          "$ref" : "#/definitions/CheckCannabisLimitResult"
        }
      }
    },
    "ConsumerCartIntegrations" : {
      "type" : "object",
      "properties" : {
        "stronghold" : {
          "$ref" : "#/definitions/StrongholdIntegration"
        }
      }
    },
    "CultivationTaxResult" : {
      "type" : "object",
      "properties" : {
        "totalFlowerTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalLeafTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalFlowerOz" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalLeafOz" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCultivationTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leafTaxOz" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "flowerTaxOz" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPlantTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "plantTaxOz" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPlantOz" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "CurrentCannabisProfile" : {
      "type" : "object",
      "properties" : {
        "timeframe" : {
          "type" : "integer",
          "format" : "int32"
        },
        "timeunit" : {
          "type" : "string",
          "enum" : [ "day", "period" ]
        },
        "type" : {
          "type" : "string"
        },
        "label" : {
          "type" : "string"
        },
        "usages" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CurrentCannabisUsage"
          }
        }
      }
    },
    "CurrentCannabisUsage" : {
      "type" : "object",
      "properties" : {
        "key" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "usage" : {
          "type" : "number"
        },
        "limit" : {
          "type" : "number"
        },
        "uom" : {
          "type" : "string"
        },
        "usageInfo" : {
          "$ref" : "#/definitions/CannabisUsageInfo"
        },
        "limitValue" : {
          "type" : "string"
        }
      }
    },
    "CurrentMemberCannabisUsageResult" : {
      "type" : "object",
      "properties" : {
        "limits" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CurrentCannabisProfile"
          }
        }
      }
    },
    "ExternalReward" : {
      "type" : "object",
      "properties" : {
        "externalId" : {
          "type" : "string"
        },
        "externalProvider" : {
          "type" : "string"
        },
        "externalName" : {
          "type" : "string"
        },
        "redemptionId" : {
          "type" : "string"
        }
      }
    },
    "FeeDetail" : {
      "type" : "object",
      "properties" : {
        "feeId" : {
          "type" : "string"
        },
        "feeName" : {
          "type" : "string"
        },
        "feeAmount" : {
          "type" : "number"
        }
      }
    },
    "FeeDetailRefund" : {
      "type" : "object",
      "properties" : {
        "feeId" : {
          "type" : "string"
        },
        "feeName" : {
          "type" : "string"
        },
        "feeAmount" : {
          "type" : "number"
        },
        "childTransactionId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number"
        }
      }
    },
    "OrderItem" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "parentId" : {
          "type" : "string"
        },
        "orderItemId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "availableDiscountQty" : {
          "type" : "number"
        },
        "activeDiscountQty" : {
          "type" : "number"
        },
        "unitQty" : {
          "type" : "integer",
          "format" : "int32"
        },
        "useUnitQty" : {
          "type" : "boolean"
        },
        "inventoryDeducted" : {
          "type" : "boolean"
        },
        "weightKey" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "qtyFlattened" : {
          "type" : "boolean"
        },
        "orderItemIdFlattened" : {
          "type" : "string"
        },
        "weightToleranceId" : {
          "type" : "string"
        },
        "productName" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "productSku" : {
          "type" : "string"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "origQuantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "discountedQty" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "remarks" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "cost" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "unitRetailPrice" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "propCartDiscount" : {
          "type" : "number",
          "format" : "double"
        },
        "calcDiscount" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "finalPrice" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "calcTax" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "taxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "exciseTax" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "taxTable" : {
          "$ref" : "#/definitions/CompoundTaxTable"
        },
        "taxResult" : {
          "$ref" : "#/definitions/TaxResult"
        },
        "taxRateTotalRefundedDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/TaxRateDetailRefund"
          }
        },
        "taxRateDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BaseTaxRateDetail"
          }
        },
        "calcPreTax" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "status" : {
          "type" : "string",
          "enum" : [ "Active", "Refunded", "Exchange", "Void" ]
        },
        "quantityLogs" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/QuantityLog"
          }
        },
        "mixMatched" : {
          "type" : "boolean"
        },
        "ignoreMixMatch" : {
          "type" : "boolean"
        },
        "promotionReqs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/PromotionReq"
          }
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "batchId" : {
          "type" : "string"
        },
        "prepackageId" : {
          "type" : "string"
        },
        "prepackage" : {
          "$ref" : "#/definitions/Prepackage"
        },
        "prepackageProductItem" : {
          "$ref" : "#/definitions/PrepackageProductItem"
        },
        "taxEntityType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "preparedQty" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "fulfilled" : {
          "type" : "boolean"
        },
        "totalRefundAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalRefundQty" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "exchangeAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "exchangeQty" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "overridePrice" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "feeTotal" : {
          "type" : "number"
        },
        "feeTotalRefunded" : {
          "type" : "number"
        },
        "taxRateTotalRefunded" : {
          "type" : "number"
        },
        "feeTotalRefundedDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/FeeDetailRefund"
          }
        },
        "feeDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/FeeDetail"
          }
        },
        "uomSelected" : {
          "type" : "string"
        },
        "cogs" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "origOrderItemId" : {
          "type" : "string"
        },
        "txnLineID" : {
          "type" : "string"
        },
        "txnLineIDMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "product" : {
          "$ref" : "#/definitions/Product"
        },
        "batchSku" : {
          "type" : "string"
        },
        "perUnitRefundAmt" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "inventoryId" : {
          "type" : "string"
        },
        "finalized" : {
          "type" : "boolean"
        },
        "finalizedProductId" : {
          "type" : "string"
        },
        "calcCultivationTax" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "discountNotes" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "batchUniId" : {
          "type" : "string"
        },
        "bundleTaxResults" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundledTaxResult"
          }
        },
        "bundle" : {
          "type" : "boolean"
        },
        "bundleParentId" : {
          "type" : "string"
        },
        "bundleParent" : {
          "$ref" : "#/definitions/Product"
        },
        "bundleParentQty" : {
          "type" : "number"
        },
        "autoApplyRequested" : {
          "type" : "boolean"
        },
        "loyaltyAccrual" : {
          "type" : "boolean"
        },
        "adjustmentAmount" : {
          "type" : "number"
        },
        "adjustmentAmountDetails" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "minimumPennyPerQty" : {
          "type" : "number"
        },
        "minimumPennies" : {
          "type" : "boolean"
        }
      }
    },
    "Prepackage" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "customWeight" : {
          "type" : "boolean"
        },
        "toleranceId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "price" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "name" : {
          "type" : "string"
        },
        "runningQuantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "sku" : {
          "type" : "string"
        }
      }
    },
    "PrepackageProductItem" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "productId" : {
          "type" : "string"
        },
        "batchId" : {
          "type" : "string"
        },
        "batchSKU" : {
          "type" : "string"
        },
        "prepackageId" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "runningQuantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "totalCommittedQuantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "totalSellableQuantity" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "PromotionReq" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "promotionId" : {
          "type" : "string"
        },
        "rewardId" : {
          "type" : "string"
        },
        "companyPromoId" : {
          "type" : "string"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "referralMemberId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "string"
        },
        "assigned" : {
          "type" : "boolean"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "REWARD", "OFFER" ]
        },
        "name" : {
          "type" : "string"
        },
        "externalReward" : {
          "$ref" : "#/definitions/ExternalReward"
        }
      }
    },
    "PromotionReqLog" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "promotionId" : {
          "type" : "string"
        },
        "rewardId" : {
          "type" : "string"
        },
        "companyPromoId" : {
          "type" : "string"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "referralMemberId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "string"
        },
        "assigned" : {
          "type" : "boolean"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "REWARD", "OFFER" ]
        },
        "name" : {
          "type" : "string"
        },
        "externalReward" : {
          "$ref" : "#/definitions/ExternalReward"
        },
        "amount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "promoCode" : {
          "type" : "string"
        },
        "pointsUsed" : {
          "type" : "integer",
          "format" : "int32"
        },
        "stackable" : {
          "type" : "boolean"
        },
        "rewardSystem" : {
          "type" : "string",
          "enum" : [ "BLAZE", "SPRING_BIG" ]
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "appliedCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "autoApplied" : {
          "type" : "boolean",
          "readOnly" : true
        }
      }
    },
    "QuantityLog" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number"
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "batchId" : {
          "type" : "string"
        },
        "packageLabel" : {
          "type" : "string"
        },
        "cannabisUsage" : {
          "$ref" : "#/definitions/CurrentMemberCannabisUsageResult"
        }
      }
    },
    "RefundLog" : {
      "type" : "object",
      "properties" : {
        "pointsUsed" : {
          "type" : "integer",
          "format" : "int32"
        },
        "pointsRefunded" : {
          "type" : "integer",
          "format" : "int32"
        },
        "totalAmount" : {
          "type" : "number"
        },
        "promotionReqLogs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "rewardSystem" : {
          "type" : "string",
          "enum" : [ "BLAZE", "SPRING_BIG" ]
        }
      }
    },
    "RefundOrderItemRequest" : {
      "type" : "object",
      "properties" : {
        "orderItemId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "categoryType" : {
          "type" : "string"
        },
        "productName" : {
          "type" : "string"
        },
        "refundAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "refundDiscountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "createdById" : {
          "type" : "string"
        },
        "refundAs" : {
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        },
        "refundType" : {
          "type" : "string",
          "enum" : [ "Refund", "Exchange", "Void" ]
        },
        "note" : {
          "type" : "string"
        },
        "withInventory" : {
          "type" : "boolean"
        },
        "createdUser" : {
          "type" : "string"
        }
      }
    },
    "SplitPayment" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "cashAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "creditDebitAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "checkAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "storeCreditAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cashlessAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "achAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "giftCardAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "spenceAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "strongholdAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalSplits" : {
          "type" : "number"
        }
      }
    },
    "StrongholdIntegration" : {
      "type" : "object",
      "properties" : {
        "chargeId" : {
          "type" : "string"
        }
      }
    },
    "TaxRateDetail" : {
      "type" : "object",
      "properties" : {
        "taxRateId" : {
          "type" : "string"
        },
        "taxRateAmount" : {
          "type" : "number"
        },
        "preTax" : {
          "type" : "boolean"
        },
        "taxRateName" : {
          "type" : "string"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "City", "County", "State", "Federal", "Excise", "Municipal" ]
        },
        "exciseTax" : {
          "type" : "boolean"
        }
      }
    },
    "TaxRateDetailRefund" : {
      "type" : "object",
      "properties" : {
        "taxRateId" : {
          "type" : "string"
        },
        "taxRateAmount" : {
          "type" : "number"
        },
        "preTax" : {
          "type" : "boolean"
        },
        "childTransactionId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number"
        }
      }
    },
    "TaxResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "totalPreCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPostCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCityTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCountyTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalStateTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalFedTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCityPreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCountyPreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalStatePreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalFedPreTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalNALPreExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalALExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalALPostExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cultivationTaxResult" : {
          "$ref" : "#/definitions/CultivationTaxResult"
        },
        "totalDeliveryFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "surchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "surchargeFeeExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "citySurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "countySurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "stateSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fedSurchargeFeeTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxMappingInfo" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        }
      }
    },
    "WooMemberGroupResult" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        }
      }
    },
    "ConsumerCartAddPaymentRequest" : {
      "type" : "object",
      "properties" : {
        "orderTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "paymentOption" : {
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        },
        "paymentReceived" : {
          "type" : "number"
        }
      }
    },
    "SearchResultConsumerCart" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ConsumerCart"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "AllotmentOverride" : {
      "type" : "object",
      "properties" : {
        "currentAllotment" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "externalDispense" : {
          "type" : "number"
        },
        "updateDate" : {
          "type" : "string"
        },
        "expirationDate" : {
          "type" : "string"
        }
      }
    },
    "BlazeKmlAsset" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "key" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        },
        "secured" : {
          "type" : "boolean"
        }
      }
    },
    "BlazeKmlCoordinate" : {
      "type" : "object",
      "properties" : {
        "lat" : {
          "type" : "number",
          "format" : "double"
        },
        "lng" : {
          "type" : "number",
          "format" : "double"
        }
      }
    },
    "BlazeKmlEdge" : {
      "type" : "object",
      "properties" : {
        "active" : {
          "type" : "boolean"
        },
        "coordinates" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BlazeKmlCoordinate"
          }
        },
        "asset" : {
          "$ref" : "#/definitions/BlazeKmlAsset"
        }
      }
    },
    "BlazeRegion" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "latitude" : {
          "type" : "number",
          "format" : "double"
        },
        "longitude" : {
          "type" : "number",
          "format" : "double"
        },
        "regionDefault" : {
          "type" : "boolean"
        },
        "deliveryFee" : {
          "type" : "number"
        },
        "openAt" : {
          "type" : "string"
        },
        "openAtNumeric" : {
          "type" : "integer",
          "format" : "int32"
        },
        "closeAtNumeric" : {
          "type" : "integer",
          "format" : "int32"
        },
        "closeAt" : {
          "type" : "string"
        },
        "daysClose" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "minOrderAmount" : {
          "type" : "number"
        },
        "freeDeliveryAfter" : {
          "type" : "number"
        },
        "zoneType" : {
          "type" : "string",
          "enum" : [ "zipCode", "kml" ]
        },
        "fileZone" : {
          "type" : "string"
        },
        "taxRuleId" : {
          "type" : "string"
        },
        "deliveryCharge" : {
          "type" : "number"
        },
        "kmlEdges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BlazeKmlEdge"
          }
        },
        "drivers" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Employee"
          }
        },
        "terminals" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Terminal"
          }
        },
        "shopName" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "inventories" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Inventory"
          }
        },
        "daysOperation" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "zipCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "kmlColor" : {
          "type" : "string"
        },
        "inventoryTerminalDriverResult" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/InventoryTerminalDriverResult"
          }
        },
        "allowedConsumerTypes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
          }
        }
      }
    },
    "BulkInventoryTransferRequest" : {
      "type" : "object",
      "properties" : {
        "fromShopId" : {
          "type" : "string"
        },
        "toShopId" : {
          "type" : "string"
        },
        "transfers" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/InventoryTransferRequest"
          }
        }
      }
    },
    "CareGiver" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "textOptIn" : {
          "type" : "boolean"
        },
        "license" : {
          "type" : "string"
        },
        "registryId" : {
          "type" : "string"
        },
        "licenseExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dob" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sex" : {
          "type" : "string",
          "enum" : [ "MALE", "FEMALE", "OTHER" ]
        }
      }
    },
    "ConsumerCartResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "consumerId" : {
          "type" : "string"
        },
        "memberId" : {
          "type" : "string"
        },
        "assignedNearbyDriverId" : {
          "type" : "string"
        },
        "cart" : {
          "$ref" : "#/definitions/Cart"
        },
        "orderPlacedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "acceptedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packagedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "onTheWayTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "canceledTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "declinedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "placed" : {
          "type" : "boolean"
        },
        "accepted" : {
          "type" : "boolean"
        },
        "completed" : {
          "type" : "boolean"
        },
        "packaged" : {
          "type" : "boolean"
        },
        "onTheWay" : {
          "type" : "boolean"
        },
        "anonymous" : {
          "type" : "boolean"
        },
        "eta" : {
          "type" : "integer",
          "format" : "int32"
        },
        "reason" : {
          "type" : "string"
        },
        "sessionId" : {
          "type" : "string"
        },
        "publicKey" : {
          "type" : "string"
        },
        "committed" : {
          "type" : "boolean"
        },
        "cartStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "Placed", "Accepted", "Completed", "Declined", "CanceledByConsumer", "CanceledByDispensary" ]
        },
        "trackingStatus" : {
          "type" : "string",
          "enum" : [ "NotStarted", "Placed", "Accepted", "Packaged", "OnTheWay", "Delivered", "WaitingPickup", "Declined" ]
        },
        "pickupType" : {
          "type" : "string",
          "enum" : [ "Pickup", "Delivery", "Ship" ]
        },
        "source" : {
          "type" : "string"
        },
        "salesChannel" : {
          "type" : "string"
        },
        "partnerId" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "transactionId" : {
          "type" : "string"
        },
        "reqLinkedTransId" : {
          "type" : "string"
        },
        "transNo" : {
          "type" : "string"
        },
        "orderNo" : {
          "type" : "string"
        },
        "employeeName" : {
          "type" : "string"
        },
        "memo" : {
          "type" : "string"
        },
        "additionalNotes" : {
          "type" : "string"
        },
        "pickUpDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "transactionSource" : {
          "type" : "string",
          "enum" : [ "Retail", "Widget", "WooCommerce", "Weedmaps" ]
        },
        "assignedEmployeeId" : {
          "type" : "string"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "memberGroup" : {
          "$ref" : "#/definitions/WooMemberGroupResult"
        },
        "errorMsg" : {
          "type" : "string"
        },
        "completeAfter" : {
          "type" : "integer",
          "format" : "int64"
        },
        "orderTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "slugRewardErrorMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "rewardErrorMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "rewardName" : {
          "type" : "string"
        },
        "prepaid" : {
          "type" : "boolean"
        },
        "consumerUser" : {
          "$ref" : "#/definitions/ConsumerUser"
        },
        "disableAutoAssignment" : {
          "type" : "boolean"
        },
        "disableAutoRegionDispatch" : {
          "type" : "boolean"
        },
        "overrideRegionId" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "dispatchRegionId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "overrideInventoryId" : {
          "type" : "string"
        },
        "activeInventoryIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "expiredAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "orderMenuType" : {
          "type" : "string",
          "enum" : [ "Standard", "Scheduled", "Express" ]
        },
        "integrations" : {
          "$ref" : "#/definitions/ConsumerCartIntegrations"
        },
        "externalPaymentIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "externalPaymentConfigId" : {
          "type" : "string"
        },
        "membershipAccepted" : {
          "type" : "boolean"
        },
        "member" : {
          "$ref" : "#/definitions/Member"
        },
        "transaction" : {
          "$ref" : "#/definitions/Transaction"
        },
        "dispatchShop" : {
          "$ref" : "#/definitions/Shop"
        },
        "consumerAddress" : {
          "type" : "string"
        },
        "currentItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/OrderItem"
          }
        },
        "cannabislimits" : {
          "readOnly" : true,
          "$ref" : "#/definitions/CheckCannabisLimitResult"
        }
      }
    },
    "CreditCardReader" : {
      "type" : "object",
      "properties" : {
        "encryptionType" : {
          "type" : "string",
          "enum" : [ "BlazeSymmetricEncryption", "DUKPT" ]
        },
        "secretKey" : {
          "type" : "string"
        }
      }
    },
    "DejavooTerminalConfig" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "terminalId" : {
          "type" : "string"
        },
        "enabled" : {
          "type" : "boolean"
        },
        "manual" : {
          "type" : "boolean"
        },
        "online" : {
          "type" : "boolean"
        },
        "authKey" : {
          "type" : "string"
        },
        "registerId" : {
          "type" : "string"
        },
        "serialNumber" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "processors" : {
          "type" : "array",
          "items" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      }
    },
    "DeviceDetail" : {
      "type" : "object",
      "properties" : {
        "deviceId" : {
          "type" : "string"
        },
        "version" : {
          "type" : "string"
        },
        "deviceToken" : {
          "type" : "string"
        },
        "appType" : {
          "type" : "string",
          "enum" : [ "Connect", "Blaze", "Developer", "StoreWidget", "Distribution", "Grow", "Zeus", "DeliveryApp", "POS" ]
        },
        "deviceType" : {
          "type" : "string",
          "enum" : [ "Android", "iOS", "Desktop", "Web" ]
        },
        "deviceVersion" : {
          "type" : "string"
        },
        "sdkVersion" : {
          "type" : "string"
        },
        "deviceModel" : {
          "type" : "string"
        },
        "deviceName" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        }
      }
    },
    "Doctor" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "importId" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "license" : {
          "type" : "string"
        },
        "website" : {
          "type" : "string"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "fax" : {
          "type" : "string"
        },
        "degree" : {
          "type" : "string"
        },
        "state" : {
          "type" : "string"
        },
        "searchText" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "active" : {
          "type" : "boolean"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "deaNumber" : {
          "type" : "string"
        },
        "npiNumber" : {
          "type" : "string"
        }
      }
    },
    "Employee" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "authUserId" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "pin" : {
          "type" : "string"
        },
        "roleId" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "password" : {
          "type" : "string"
        },
        "driversLicense" : {
          "type" : "string"
        },
        "occupationLicenseNumber" : {
          "type" : "string"
        },
        "dlExpirationDate" : {
          "type" : "string"
        },
        "vehicleMake" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "shops" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "disabled" : {
          "type" : "boolean"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "assignedInventoryId" : {
          "type" : "string"
        },
        "assignedTerminalId" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "terminalName" : {
          "type" : "string"
        },
        "cashDrawerStatus" : {
          "type" : "string",
          "enum" : [ "Open", "Closed" ]
        },
        "inventoryName" : {
          "type" : "string"
        },
        "timecardId" : {
          "type" : "string"
        },
        "timeCard" : {
          "$ref" : "#/definitions/TimeCard"
        },
        "role" : {
          "$ref" : "#/definitions/Role"
        },
        "canApplyCustomDiscount" : {
          "type" : "boolean"
        },
        "insuranceExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "insuranceCompanyName" : {
          "type" : "string"
        },
        "policyNumber" : {
          "type" : "string"
        },
        "registrationExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "vehiclePin" : {
          "type" : "string"
        },
        "vinNo" : {
          "type" : "string"
        },
        "vehicleModel" : {
          "type" : "string"
        },
        "vehicleLicensePlate" : {
          "type" : "string"
        },
        "tripId" : {
          "type" : "string"
        },
        "recentLocation" : {
          "$ref" : "#/definitions/TerminalLocation"
        },
        "employeeOnFleetInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeOnFleetInfo"
          }
        },
        "appAccessList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "AuthenticationApp", "Retail", "Distribution", "Grow", "Dispatch", "Worker", "Insights" ]
          }
        },
        "tookanInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeTookanInfo"
          }
        },
        "lastLoggedInShopId" : {
          "type" : "string"
        },
        "lastLoginTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "driver" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "organizationIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "yellowfinRoleCode" : {
          "type" : "string",
          "enum" : [ "NONE", "YFADMIN", "BASICINSIGHTS", "YFCORPWRITER", "BASICINSIGHTSDASHBOARDS", "BASICINSIGHTSREPORTING", "INSIGHTSSTANDARD1", "INSIGHTSSTANDARD2", "INSIGHTSSTANDARD3", "INSIGHTSSTANDARD4", "ADVANCEDINSIGHTS1", "ADVANCEDINSIGHTS2", "ADVANCEDINSIGHTS3", "ADVANCEDINSIGHTS4" ]
        },
        "defaultVehicleId" : {
          "type" : "string"
        },
        "biotrack" : {
          "type" : "boolean"
        },
        "biotrackTransId" : {
          "type" : "string"
        },
        "biotrackTransIdOriginal" : {
          "type" : "string"
        },
        "birthDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "hireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sessionTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastPasswordChangedOn" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packer" : {
          "type" : "boolean"
        },
        "internal" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "metrcRetailerDeliveryId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "platformUserId" : {
          "type" : "string"
        },
        "platformCognitoId" : {
          "type" : "string"
        },
        "permissions" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "None", "iPadMemberAdd", "iPadMemberEdit", "iPadQueueAddMember", "iPadEditMemberLoyaltyPoints", "iPadTransactionsViews", "iPadProcessSales", "iPadRefund", "iPadTransactionsVoid", "iPadApplyCartDiscounts", "iPadApplyLineItemDiscounts", "iPadApplyCoupons", "iPadCashDrawerOpen", "iPadCashDrawerCloseOut", "iPadPopUpCashDrawer", "iPadTransactionsLookup", "iPadInitiation", "iPadQuickPinLogin", "iPadManageSettingsView", "iPadManagerSettingsManage", "iPadApplyRewards", "iPadScanOptional", "WebAdminLogin", "WebAllMembersView", "WebMembersView", "WebMembersManage", "WebMembersAddToQueue", "WebEditMemberLoyaltyPoints", "WebPromotionsView", "WebPromotionsManage", "WebTransactionsView", "WebTransactionsRefund", "WebInventoryView", "WebInventoryManage", "WebInventoryTransfer", "WebInventoryCategoryManage", "WebMasterProductCatalog", "WebMasterCategoryCatalog", "WebShopLevelProductCatalog", "WebShopLevelCategoryCatalog", "WebEmployeeView", "WebEmployeeManage", "WebEmployeeClockout", "WebVendorView", "WebVendorManage", "WebSettingsView", "WebSettingsManage", "WebPhysiciansView", "WebPhysiciansManage", "WebManufacturingWorker", "WebBlazeCapitalView", "WebBlazeCapitalLendingView", "WebReportsView", "WebDeliveryView", "WebCashDrawerView", "WebPopUpCashDrawer", "WebUnlockOrder", "WebEditBatch", "WebAddBatch", "WebInvoiceView", "WebInvoiceManage", "WebInventoryReconciliation", "WebDeleteProduct", "WebUndeleteProduct", "WebDashboardView", "WebInsightsDashboardView", "WebInsightsHomeQuickSummaryView", "WebInsightsReportView", "WebInsightsRole1", "WebInsightsRole2", "WebInsightsRole3", "WebInsightsRole4", "webInsightsPermission1", "webInsightsPermission2", "webInsightsPermission3", "webInsightsPermission4", "webInsightsPermission5", "webInsightsPermission6", "WebEditBroadcast", "WebViewBroadcast", "WebPurchaseOrderView", "WebPurchaseOrderManage", "WebPurchaseOrderCostManage", "WebExpenseView", "WebExpenseManage", "WebQuickBookManage", "WebInvoiceManifestChange", "WebEditPosPayment", "WebTransactionsVoid", "WebCancelPosOrders", "WebApplyCartDiscounts", "WebApplyLineItemDiscounts", "WebApplyPromotions", "WebApplyRewards", "WebApplyAfterTaxDiscounts", "WebTaxRatesManage", "EmployeeCanExportMembers" ]
          }
        },
        "isBlazeAdmin" : {
          "type" : "boolean"
        },
        "isSuperAdmin" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "EmployeeOnFleetInfo" : {
      "type" : "object",
      "properties" : {
        "shopId" : {
          "type" : "string"
        },
        "onFleetWorkerId" : {
          "type" : "string"
        },
        "onFleetTeamList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "onFleetWorkerName" : {
          "type" : "string"
        }
      }
    },
    "EmployeeSession" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "terminalId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "timeCardId" : {
          "type" : "string"
        },
        "startTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endTime" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "EmployeeTookanInfo" : {
      "type" : "object",
      "properties" : {
        "shopId" : {
          "type" : "string"
        },
        "tookanAgentId" : {
          "type" : "string"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "AVAILABLE", "OFFLINE", "BUSY" ]
        },
        "teamId" : {
          "type" : "string"
        }
      }
    },
    "Identification" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "verified" : {
          "type" : "boolean"
        },
        "licenseNumber" : {
          "type" : "string"
        },
        "expirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "expirationDateUTC" : {
          "type" : "string"
        },
        "localExpirationDate" : {
          "type" : "string"
        },
        "frontPhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "state" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Drivers", "Passport", "StateId", "Other" ]
        }
      }
    },
    "IntegrationProviderInfo" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "dtoId" : {
          "type" : "string"
        },
        "dispatchOrderId" : {
          "type" : "string"
        },
        "externalDispatchOrderId" : {
          "type" : "string"
        },
        "externalDispatchOrderNumber" : {
          "type" : "string"
        },
        "dispatchDriverId" : {
          "type" : "string"
        },
        "dispatchProvider" : {
          "type" : "string",
          "enum" : [ "None", "Blaze", "WMDispatch", "Onfleet", "SpringBig" ]
        },
        "dispatchErrorMsg" : {
          "type" : "string"
        },
        "dispatchMetaData" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "dispatchedStatus" : {
          "type" : "string"
        }
      }
    },
    "Inventory" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Storage", "Field", "Quarantine" ]
        },
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "regionIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "externalId" : {
          "type" : "string"
        },
        "dryRoom" : {
          "type" : "boolean"
        },
        "quantity" : {
          "type" : "number"
        },
        "complianceInvRoomName" : {
          "type" : "string"
        },
        "complianceInvRoomId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "roomType" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "FRONT_OF_HOUSE", "BACK_OF_HOUSE" ]
          }
        },
        "numTerminals" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "InventoryTerminalDriverResult" : {
      "type" : "object",
      "properties" : {
        "item" : {
          "type" : "integer",
          "format" : "int32"
        },
        "terminalId" : {
          "type" : "string"
        },
        "terminalName" : {
          "type" : "string"
        },
        "cashDrawerStatus" : {
          "type" : "string",
          "enum" : [ "Open", "Closed" ]
        },
        "inventoryId" : {
          "type" : "string"
        },
        "inventoryName" : {
          "type" : "string"
        },
        "driverId" : {
          "type" : "string"
        },
        "driverFirstName" : {
          "type" : "string"
        },
        "driverLastName" : {
          "type" : "string"
        }
      }
    },
    "InventoryTransferRequest" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "fromInventoryId" : {
          "type" : "string"
        },
        "fromBatchId" : {
          "type" : "string"
        },
        "toInventoryId" : {
          "type" : "string"
        },
        "toBatchId" : {
          "type" : "string"
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "transferAmount" : {
          "type" : "number"
        }
      }
    },
    "LoyaltyTierInfo" : {
      "type" : "object",
      "properties" : {
        "provider" : {
          "type" : "string"
        },
        "tierName" : {
          "type" : "string"
        },
        "tierIconId" : {
          "type" : "string"
        },
        "pointsBalance" : {
          "type" : "number",
          "format" : "double"
        },
        "availablePoints" : {
          "type" : "number",
          "format" : "double"
        },
        "tierColor" : {
          "type" : "string"
        },
        "tierTextColor" : {
          "type" : "string"
        }
      }
    },
    "ManagerPinOverride" : {
      "type" : "object",
      "properties" : {
        "action" : {
          "type" : "string"
        },
        "approvedByEmployeeId" : {
          "type" : "string"
        },
        "activeEmployeeId" : {
          "type" : "string"
        },
        "scope" : {
          "type" : "string",
          "enum" : [ "PRODUCT", "CART", "PROMOTION" ]
        },
        "targetId" : {
          "type" : "string"
        },
        "targetName" : {
          "type" : "string"
        },
        "createdAt" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "Member" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "middleName" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "uppercaseCity" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "dob" : {
          "type" : "integer",
          "format" : "int64"
        },
        "birthdate" : {
          "type" : "string"
        },
        "localDob" : {
          "type" : "string"
        },
        "localDobUTC" : {
          "type" : "integer",
          "format" : "int64"
        },
        "primaryPhone" : {
          "type" : "string"
        },
        "cpn" : {
          "type" : "string"
        },
        "textOptIn" : {
          "type" : "boolean"
        },
        "emailOptIn" : {
          "type" : "boolean"
        },
        "medical" : {
          "type" : "boolean"
        },
        "searchText" : {
          "type" : "string"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "nickname" : {
          "type" : "string"
        },
        "sex" : {
          "type" : "string",
          "enum" : [ "MALE", "FEMALE", "OTHER" ]
        },
        "anonymous" : {
          "type" : "boolean"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "Active", "Pending", "Inactive" ]
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "contracts" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/SignedContract"
          }
        },
        "preferences" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Preference"
          }
        },
        "identifications" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Identification"
          }
        },
        "recommendations" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Recommendation"
          }
        },
        "lastVisitDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "importId" : {
          "type" : "string"
        },
        "memberGroupId" : {
          "type" : "string"
        },
        "memberGroup" : {
          "$ref" : "#/definitions/MemberGroup"
        },
        "recentProducts" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "dlExpired" : {
          "type" : "boolean"
        },
        "recommendationExpired" : {
          "type" : "boolean"
        },
        "agreementExpired" : {
          "type" : "boolean"
        },
        "emailVerified" : {
          "type" : "boolean"
        },
        "consumerUserId" : {
          "type" : "string"
        },
        "marketingSource" : {
          "type" : "string"
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "alternateEmails" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "enableLoyalty" : {
          "type" : "boolean"
        },
        "loyaltyPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lifetimePoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enabledCareGiver" : {
          "type" : "boolean"
        },
        "careGivers" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "regionId" : {
          "type" : "string"
        },
        "addresses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "qbCustomerRef" : {
          "type" : "array",
          "items" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        },
        "eligibleForFTMPromos" : {
          "type" : "boolean"
        },
        "banPatient" : {
          "type" : "boolean"
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "recommendationExpiryLeft" : {
          "type" : "integer",
          "format" : "int64"
        },
        "referralCode" : {
          "type" : "string"
        },
        "complianceCardSessionId" : {
          "type" : "string"
        },
        "sbid" : {
          "type" : "integer",
          "format" : "int64"
        },
        "exemptFromLimits" : {
          "type" : "boolean"
        },
        "alternatePhones" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "listedByElastic" : {
          "type" : "boolean",
          "description" : "Member listed using ElasticSearch"
        },
        "strongholdCustomerId" : {
          "type" : "string"
        },
        "growthLoyaltyTier" : {
          "readOnly" : true,
          "$ref" : "#/definitions/LoyaltyTierInfo"
        },
        "allotmentOverride" : {
          "$ref" : "#/definitions/AllotmentOverride"
        },
        "expStatuses" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "lastestRecommendation" : {
          "$ref" : "#/definitions/Recommendation"
        },
        "latestRecommendation" : {
          "$ref" : "#/definitions/Recommendation"
        },
        "state" : {
          "type" : "string"
        }
      }
    },
    "MemberGroup" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "defaultGroup" : {
          "type" : "boolean"
        },
        "active" : {
          "type" : "boolean"
        },
        "memberCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "memberCountTextOptIn" : {
          "type" : "integer",
          "format" : "int32"
        },
        "memberCountEmailOptIn" : {
          "type" : "integer",
          "format" : "int32"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "enablePromotion" : {
          "type" : "boolean"
        },
        "promotionId" : {
          "type" : "string"
        },
        "promotionShopMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        }
      }
    },
    "PSPaymentContext" : {
      "type" : "object",
      "properties" : {
        "memberCpn" : {
          "type" : "string"
        },
        "paymentTypes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "configUuid" : {
          "type" : "string"
        },
        "finalTotal" : {
          "type" : "integer",
          "format" : "int32"
        },
        "surchargeFeeAmount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "surchargeTaxAmount" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "PaymentCardPayment" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "Pending", "Paid", "Declined" ]
        },
        "processedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "Linx", "Clover", "Mtrac" ]
        },
        "paymentCardNumber" : {
          "type" : "string"
        },
        "amount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "statusMessage" : {
          "type" : "string"
        },
        "balance" : {
          "type" : "number"
        },
        "paymentId" : {
          "type" : "string"
        },
        "currency" : {
          "type" : "string"
        },
        "last4" : {
          "type" : "string"
        },
        "expYear" : {
          "type" : "integer",
          "format" : "int32"
        },
        "first6" : {
          "type" : "string"
        },
        "cardEncrypted" : {
          "type" : "string"
        },
        "expMonth" : {
          "type" : "integer",
          "format" : "int32"
        },
        "cvv" : {
          "type" : "string"
        },
        "first_name" : {
          "type" : "string"
        },
        "last_name" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "phone_number" : {
          "type" : "string"
        },
        "exp_date" : {
          "type" : "string"
        }
      }
    },
    "Preference" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "Recommendation" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "recommendationNumber" : {
          "type" : "string"
        },
        "registryId" : {
          "type" : "string"
        },
        "verifyWebsite" : {
          "type" : "string"
        },
        "verifyPhoneNumber" : {
          "type" : "string"
        },
        "state" : {
          "type" : "string"
        },
        "issueDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "expirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "frontPhoto" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "doctorId" : {
          "type" : "string"
        },
        "temporary" : {
          "type" : "boolean"
        },
        "limitExemption" : {
          "type" : "boolean"
        },
        "verified" : {
          "type" : "boolean"
        },
        "verifyMethod" : {
          "type" : "string",
          "enum" : [ "DEFAULT", "MANUAL", "HELLOMD" ]
        },
        "doctor" : {
          "$ref" : "#/definitions/Doctor"
        },
        "refillsAuthorized" : {
          "type" : "integer",
          "format" : "int32"
        },
        "directions" : {
          "type" : "string"
        }
      }
    },
    "Role" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "permissions" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "None", "iPadMemberAdd", "iPadMemberEdit", "iPadQueueAddMember", "iPadEditMemberLoyaltyPoints", "iPadTransactionsViews", "iPadProcessSales", "iPadRefund", "iPadTransactionsVoid", "iPadApplyCartDiscounts", "iPadApplyLineItemDiscounts", "iPadApplyCoupons", "iPadCashDrawerOpen", "iPadCashDrawerCloseOut", "iPadPopUpCashDrawer", "iPadTransactionsLookup", "iPadInitiation", "iPadQuickPinLogin", "iPadManageSettingsView", "iPadManagerSettingsManage", "iPadApplyRewards", "iPadScanOptional", "WebAdminLogin", "WebAllMembersView", "WebMembersView", "WebMembersManage", "WebMembersAddToQueue", "WebEditMemberLoyaltyPoints", "WebPromotionsView", "WebPromotionsManage", "WebTransactionsView", "WebTransactionsRefund", "WebInventoryView", "WebInventoryManage", "WebInventoryTransfer", "WebInventoryCategoryManage", "WebMasterProductCatalog", "WebMasterCategoryCatalog", "WebShopLevelProductCatalog", "WebShopLevelCategoryCatalog", "WebEmployeeView", "WebEmployeeManage", "WebEmployeeClockout", "WebVendorView", "WebVendorManage", "WebSettingsView", "WebSettingsManage", "WebPhysiciansView", "WebPhysiciansManage", "WebManufacturingWorker", "WebBlazeCapitalView", "WebBlazeCapitalLendingView", "WebReportsView", "WebDeliveryView", "WebCashDrawerView", "WebPopUpCashDrawer", "WebUnlockOrder", "WebEditBatch", "WebAddBatch", "WebInvoiceView", "WebInvoiceManage", "WebInventoryReconciliation", "WebDeleteProduct", "WebUndeleteProduct", "WebDashboardView", "WebInsightsDashboardView", "WebInsightsHomeQuickSummaryView", "WebInsightsReportView", "WebInsightsRole1", "WebInsightsRole2", "WebInsightsRole3", "WebInsightsRole4", "webInsightsPermission1", "webInsightsPermission2", "webInsightsPermission3", "webInsightsPermission4", "webInsightsPermission5", "webInsightsPermission6", "WebEditBroadcast", "WebViewBroadcast", "WebPurchaseOrderView", "WebPurchaseOrderManage", "WebPurchaseOrderCostManage", "WebExpenseView", "WebExpenseManage", "WebQuickBookManage", "WebInvoiceManifestChange", "WebEditPosPayment", "WebTransactionsVoid", "WebCancelPosOrders", "WebApplyCartDiscounts", "WebApplyLineItemDiscounts", "WebApplyPromotions", "WebApplyRewards", "WebApplyAfterTaxDiscounts", "WebTaxRatesManage", "EmployeeCanExportMembers" ]
          }
        },
        "name" : {
          "type" : "string"
        },
        "roleLevel" : {
          "type" : "string",
          "enum" : [ "ADMIN", "MANAGER", "SHOP_MANAGER_AND_DISPATCHER", "OTHER", "INACTIVE" ]
        }
      }
    },
    "SummaryPaymentInfo" : {
      "type" : "object",
      "properties" : {
        "totalFees" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "feeSummary" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "total" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "changeDue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cashBack" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "Terminal" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "active" : {
          "type" : "boolean"
        },
        "deviceId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "deviceModel" : {
          "type" : "string"
        },
        "deviceVersion" : {
          "type" : "string"
        },
        "deviceName" : {
          "type" : "string"
        },
        "appVersion" : {
          "type" : "string"
        },
        "deviceToken" : {
          "type" : "string"
        },
        "deviceType" : {
          "type" : "string"
        },
        "assignedInventoryId" : {
          "type" : "string"
        },
        "cvAccountId" : {
          "type" : "string"
        },
        "currentEmployeeId" : {
          "type" : "string"
        },
        "terminalType" : {
          "type" : "string",
          "enum" : [ "NotAssigned", "WalkIn", "Delivery", "SelfCheckout", "Event" ]
        },
        "posTerminal" : {
          "type" : "string"
        },
        "regionId" : {
          "type" : "string"
        },
        "creditCardReader" : {
          "$ref" : "#/definitions/CreditCardReader"
        },
        "onPremEnabled" : {
          "type" : "boolean"
        },
        "assignSafeInventory" : {
          "type" : "boolean"
        },
        "brandIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "terminalLocations" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/TerminalLocation"
          }
        },
        "checkoutType" : {
          "type" : "string",
          "enum" : [ "Direct", "Fulfillment", "FulfillmentThreeStep" ]
        },
        "deviceDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/DeviceDetail"
          }
        },
        "quickStartAmount" : {
          "type" : "number"
        }
      }
    },
    "TerminalLocation" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "terminalId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "timeCardId" : {
          "type" : "string"
        },
        "deviceId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "loc" : {
          "type" : "array",
          "items" : {
            "type" : "number",
            "format" : "double"
          }
        }
      }
    },
    "TimeCard" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "employeeId" : {
          "type" : "string"
        },
        "clockInTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "clockOutTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "clockin" : {
          "type" : "boolean"
        },
        "sessions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeSession"
          }
        }
      }
    },
    "Transaction" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "requestId" : {
          "type" : "string"
        },
        "processTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcSaleTime" : {
          "type" : "string"
        },
        "traceSubmitTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "traceSubmitStatus" : {
          "type" : "string",
          "enum" : [ "None", "SubmissionError", "SubmissionPending", "SubmissionInProgress", "SubmissionWaitingID", "Completed", "Deleted", "Submitted", "Rescheduled" ]
        },
        "traceMessage" : {
          "type" : "string"
        },
        "complianceDeliverySaleType" : {
          "type" : "string",
          "enum" : [ "None", "Planned", "Unplanned" ]
        },
        "tripId" : {
          "type" : "string"
        },
        "orderMenuType" : {
          "type" : "string",
          "enum" : [ "Standard", "Scheduled", "Express" ]
        },
        "transNo" : {
          "type" : "string"
        },
        "parentTransactionId" : {
          "type" : "string"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int64"
        },
        "createdById" : {
          "type" : "string"
        },
        "sellerId" : {
          "type" : "string"
        },
        "memberId" : {
          "type" : "string"
        },
        "associateCaregiver" : {
          "type" : "boolean"
        },
        "caregiverId" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "sellerTerminalId" : {
          "type" : "string"
        },
        "overrideInventoryId" : {
          "type" : "string"
        },
        "checkinTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "startTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "queueType" : {
          "type" : "string",
          "enum" : [ "WalkIn", "Delivery", "Online", "None", "Special" ]
        },
        "status" : {
          "type" : "string",
          "enum" : [ "Queued", "Hold", "InProgress", "Completed", "Pending", "Canceled", "RefundWithInventory", "RefundWithoutInventory", "Void", "VoidSales", "Draft" ]
        },
        "note" : {
          "$ref" : "#/definitions/Note"
        },
        "memo" : {
          "type" : "string"
        },
        "deleteNote" : {
          "$ref" : "#/definitions/Note"
        },
        "cart" : {
          "$ref" : "#/definitions/Cart"
        },
        "processedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "paid" : {
          "type" : "boolean"
        },
        "paidTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dispatchCreatedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dispatchRegionId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "onlineInventoryId" : {
          "type" : "string"
        },
        "autoAccepted" : {
          "type" : "boolean"
        },
        "loc" : {
          "type" : "array",
          "items" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "transType" : {
          "type" : "string",
          "enum" : [ "Sale", "Refund", "Adjustment", "Transfer", "Exchange", "ReturnToVendor", "ShippingManifest", "Void" ]
        },
        "assignedEmployeeId" : {
          "type" : "string"
        },
        "transporterName" : {
          "type" : "string"
        },
        "transporterLicense" : {
          "type" : "string"
        },
        "timeZone" : {
          "type" : "string"
        },
        "deliveryAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "locked" : {
          "type" : "boolean"
        },
        "hypurPin" : {
          "type" : "string"
        },
        "hypurCheckinISN" : {
          "type" : "string"
        },
        "entityISN" : {
          "type" : "string"
        },
        "fulfillmentStep" : {
          "type" : "string",
          "enum" : [ "Prepare", "Fulfill", "ReadyForDelivery", "OutForDelivery" ]
        },
        "checkoutType" : {
          "type" : "string",
          "enum" : [ "Direct", "Fulfillment", "FulfillmentThreeStep" ]
        },
        "startRouteDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "routing" : {
          "type" : "boolean"
        },
        "startRouteLocation" : {
          "type" : "array",
          "items" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "endRouteDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endRouteLocation" : {
          "type" : "array",
          "items" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "pointsEarned" : {
          "type" : "number"
        },
        "memberSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "transferShopId" : {
          "type" : "string"
        },
        "transferRequest" : {
          "$ref" : "#/definitions/BulkInventoryTransferRequest"
        },
        "consumerCartId" : {
          "type" : "string"
        },
        "temporary" : {
          "type" : "boolean"
        },
        "source" : {
          "type" : "string"
        },
        "salesChannel" : {
          "type" : "string"
        },
        "internalSalesChannel" : {
          "type" : "string",
          "enum" : [ "Any", "Ecommerce", "Mobile", "ScanToShop", "Retail", "Kiosk" ]
        },
        "consumerOrderNo" : {
          "type" : "string"
        },
        "eta" : {
          "type" : "integer",
          "format" : "int32"
        },
        "trackingStatus" : {
          "type" : "string",
          "enum" : [ "NotStarted", "Placed", "Accepted", "Packaged", "OnTheWay", "Delivered", "WaitingPickup", "Declined" ]
        },
        "mileageCalculated" : {
          "type" : "boolean"
        },
        "mileage" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "paymentCardPayments" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PaymentCardPayment"
          }
        },
        "payments" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/TransactionPayment"
          }
        },
        "previousBalance" : {
          "type" : "number"
        },
        "balance" : {
          "type" : "number"
        },
        "paymentReceived" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "paidAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "blazeTip" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "blazeFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "blazeTotalCharged" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "blazeCashBack" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "member" : {
          "$ref" : "#/definitions/Member"
        },
        "seller" : {
          "$ref" : "#/definitions/Employee"
        },
        "sellerTerminal" : {
          "$ref" : "#/definitions/Terminal"
        },
        "assignedEmployee" : {
          "$ref" : "#/definitions/Employee"
        },
        "preparedBy" : {
          "type" : "string"
        },
        "preparedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packedBy" : {
          "type" : "string"
        },
        "packedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "pickUpDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "preparedByEmployee" : {
          "$ref" : "#/definitions/Employee"
        },
        "packedByEmployee" : {
          "$ref" : "#/definitions/Employee"
        },
        "createdByEmployee" : {
          "$ref" : "#/definitions/Employee"
        },
        "terminal" : {
          "$ref" : "#/definitions/Terminal"
        },
        "dispatchRegion" : {
          "$ref" : "#/definitions/BlazeRegion"
        },
        "inventory" : {
          "$ref" : "#/definitions/Inventory"
        },
        "dispatchShop" : {
          "$ref" : "#/definitions/Shop"
        },
        "draftCreatedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "defaultRegionByAddress" : {
          "type" : "boolean"
        },
        "deferred" : {
          "type" : "boolean"
        },
        "deferredTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deferredNote" : {
          "$ref" : "#/definitions/Note"
        },
        "dispatchedProcessor" : {
          "type" : "string"
        },
        "integrationData" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/IntegrationProviderInfo"
          }
        },
        "dispatched" : {
          "type" : "boolean"
        },
        "onFleetTaskId" : {
          "type" : "string"
        },
        "onFleetError" : {
          "type" : "string"
        },
        "createOnfleetTask" : {
          "type" : "boolean"
        },
        "onfleetTwoWaySuccess" : {
          "type" : "boolean"
        },
        "state" : {
          "type" : "integer",
          "format" : "int32"
        },
        "shortId" : {
          "type" : "string"
        },
        "onFleetTaskStatus" : {
          "type" : "string",
          "enum" : [ "TASK_NONE", "TASK_ARRIVAL", "TASK_COMPLETED", "TASK_FAILED", "TASK_ASSIGNED_PARTIAL", "TASK_ASSIGNED", "TASK_DELETED" ]
        },
        "onFleetTeamId" : {
          "type" : "string"
        },
        "qbSalesReceiptRef" : {
          "type" : "string"
        },
        "qbRefundReceipt" : {
          "type" : "string"
        },
        "qbJournalEntryRef" : {
          "type" : "string"
        },
        "transactionRefundStatus" : {
          "type" : "string",
          "enum" : [ "None", "In_Progress", "Complete_Refund", "Partial_Refund" ]
        },
        "assigned" : {
          "type" : "boolean"
        },
        "tookanTaskId" : {
          "type" : "string"
        },
        "orderTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "mtracTxnId" : {
          "type" : "string"
        },
        "refundVersion" : {
          "type" : "string",
          "enum" : [ "NEW", "OLD" ]
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completeBy" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completeAfter" : {
          "type" : "integer",
          "format" : "int64"
        },
        "addressUpdate" : {
          "type" : "boolean"
        },
        "paymentEditedBy" : {
          "type" : "string"
        },
        "paymentEditedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dejavooTerminalConfig" : {
          "$ref" : "#/definitions/DejavooTerminalConfig"
        },
        "identifications" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Identification"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "metrcDeliveryId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcDeliveryLedgerId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcDeliverySubmitTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcSubmissionDeleteTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcSubmissionCompleteTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcDeliverySubmitStatus" : {
          "type" : "string",
          "enum" : [ "None", "SubmissionError", "SubmissionPending", "SubmissionInProgress", "SubmissionWaitingID", "Completed", "Deleted", "Submitted", "Rescheduled" ]
        },
        "deliveryTraceMessage" : {
          "type" : "string"
        },
        "waivedStatus" : {
          "type" : "boolean"
        },
        "waivedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "message" : {
          "type" : "string"
        },
        "voidDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "voidedByEmployeeId" : {
          "type" : "string"
        },
        "sessionId" : {
          "type" : "string"
        },
        "queueBlazePayId" : {
          "type" : "string"
        },
        "pin" : {
          "type" : "string"
        },
        "action" : {
          "type" : "string"
        },
        "overrideScope" : {
          "type" : "string",
          "enum" : [ "PRODUCT", "CART", "PROMOTION" ]
        },
        "targetId" : {
          "type" : "string"
        },
        "targetName" : {
          "type" : "string"
        },
        "managerPinOverrides" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ManagerPinOverride"
          }
        },
        "enableBlazePayTips" : {
          "type" : "boolean"
        },
        "roundUpEnabled" : {
          "type" : "boolean"
        },
        "estimatedLoyaltyPoints" : {
          "type" : "boolean"
        },
        "summaryPaymentInfo" : {
          "$ref" : "#/definitions/SummaryPaymentInfo"
        },
        "cardComplianceId" : {
          "type" : "string"
        },
        "complianceId" : {
          "type" : "string"
        },
        "nmCcdCheckoutUuid" : {
          "type" : "string"
        },
        "nmCcdVoidUuid" : {
          "type" : "string"
        },
        "nmCcdBarCode" : {
          "type" : "string"
        },
        "refundComplianceId" : {
          "type" : "string"
        },
        "compliance" : {
          "type" : "boolean"
        },
        "complianceSaleTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "complianceValidItems" : {
          "type" : "object"
        },
        "listedByElastic" : {
          "type" : "boolean"
        },
        "transferId" : {
          "type" : "string"
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "purchaseType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "complianceDeliveryId" : {
          "type" : "string"
        },
        "complianceDeliveryTransactionId" : {
          "type" : "string"
        },
        "complianceLedgerId" : {
          "type" : "string"
        },
        "complianceSubmitStatus" : {
          "type" : "string",
          "enum" : [ "None", "SubmissionError", "SubmissionPending", "SubmissionInProgress", "SubmissionWaitingID", "Completed", "Deleted", "Submitted", "Rescheduled" ]
        },
        "inventoryProcessed" : {
          "type" : "boolean"
        },
        "canAutoApplyPromo" : {
          "type" : "boolean"
        },
        "processingTimeMs" : {
          "type" : "integer",
          "format" : "int64"
        },
        "waitingTimeMs" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastStartTimestamp" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastHoldTimestamp" : {
          "type" : "integer",
          "format" : "int64"
        },
        "externalPaymentContext" : {
          "$ref" : "#/definitions/PSPaymentContext"
        },
        "caregiver" : {
          "$ref" : "#/definitions/CareGiver"
        },
        "activeInventoryIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "deliveryStatus" : {
          "type" : "string",
          "enum" : [ "Created", "Ready", "Delivered", "Canceled" ]
        },
        "externalPaymentConfigId" : {
          "type" : "string"
        },
        "createTookanTask" : {
          "type" : "boolean"
        },
        "refundPaymentOptions" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
          }
        },
        "deletingPayment" : {
          "type" : "boolean"
        },
        "preparingFulfillment" : {
          "type" : "boolean"
        },
        "fulfillingFulfillment" : {
          "type" : "boolean"
        },
        "payingWithPaymentCard" : {
          "type" : "boolean"
        },
        "timeCollected" : {
          "type" : "integer",
          "format" : "int64"
        },
        "currentPaymentAmount" : {
          "type" : "number",
          "format" : "double"
        }
      }
    },
    "TransactionPayment" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "transactionId" : {
          "type" : "string"
        },
        "transNo" : {
          "type" : "string"
        },
        "paymentOption" : {
          "type" : "string",
          "enum" : [ "Cash", "Credit", "Check", "Hypur", "Split", "StoreCredit", "Linx", "CashlessATM", "Mtrac", "None", "Clover", "BlazePay", "ACH", "GiftCard", "LoyaltyPoints", "Spence", "Stronghold", "PlasticPay" ]
        },
        "paymentProcessor" : {
          "type" : "string",
          "enum" : [ "Hypur", "Mtrac", "None", "Clover", "TransactFirst", "Paybiotic", "Bankcard", "Linx", "Birchmount", "Spence", "Stronghold", "tfi" ]
        },
        "posDisplayName" : {
          "type" : "string"
        },
        "merchantDisplayName" : {
          "type" : "string"
        },
        "provider" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "loyaltyPoints" : {
          "type" : "integer",
          "format" : "int64",
          "minimum" : 0
        },
        "amount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "changeDue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "paymentReceived" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "calculatedAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cashBack" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "tips" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "transactionFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "total" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cardFee" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "creditAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "feeAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cardFeesLog" : {
          "$ref" : "#/definitions/CardFeesLog"
        },
        "surchargeTax" : {
          "$ref" : "#/definitions/TaxResult"
        },
        "requestId" : {
          "type" : "string"
        },
        "split" : {
          "type" : "boolean"
        },
        "manual" : {
          "type" : "boolean"
        },
        "voidT" : {
          "type" : "boolean"
        },
        "terminal" : {
          "$ref" : "#/definitions/Terminal"
        },
        "posTerminal" : {
          "$ref" : "#/definitions/DejavooTerminalConfig"
        },
        "refID" : {
          "type" : "string"
        },
        "batchNum" : {
          "type" : "integer",
          "format" : "int32"
        },
        "invNum" : {
          "type" : "integer",
          "format" : "int32"
        },
        "processor" : {
          "type" : "integer",
          "format" : "int32"
        },
        "deletedBy" : {
          "type" : "string"
        },
        "fromIncomingOrder" : {
          "type" : "boolean"
        },
        "paymentFlowType" : {
          "type" : "string"
        },
        "cardMaskedPan" : {
          "type" : "string"
        },
        "cardReaderId" : {
          "type" : "string"
        },
        "balance" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "isBlazePay" : {
          "type" : "boolean"
        },
        "deferredCapture" : {
          "type" : "boolean"
        },
        "externalStatus" : {
          "type" : "string"
        },
        "refundedAmount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "reconciled" : {
          "type" : "boolean"
        }
      }
    },
    "ProductCostResult" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "cost" : {
          "type" : "number"
        }
      }
    },
    "ProductCostRequest" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        }
      }
    },
    "ConsumerOrderQuantity" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "regionId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "consumerCartId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "processedTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "submitted" : {
          "type" : "boolean"
        }
      }
    },
    "ContractSignRequest" : {
      "type" : "object",
      "properties" : {
        "contractId" : {
          "type" : "string"
        }
      }
    },
    "PatientVerificationStatus" : {
      "type" : "object",
      "properties" : {
        "patientName" : {
          "type" : "string"
        },
        "recommendationExpDate" : {
          "type" : "string"
        },
        "recommendationIssueDate" : {
          "type" : "string"
        },
        "recommendationStatus" : {
          "type" : "string"
        }
      }
    },
    "DeliveryDriverEmployeeResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "authUserId" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "pin" : {
          "type" : "string"
        },
        "roleId" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "password" : {
          "type" : "string"
        },
        "driversLicense" : {
          "type" : "string"
        },
        "occupationLicenseNumber" : {
          "type" : "string"
        },
        "dlExpirationDate" : {
          "type" : "string"
        },
        "vehicleMake" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "shops" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "disabled" : {
          "type" : "boolean"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "assignedInventoryId" : {
          "type" : "string"
        },
        "assignedTerminalId" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "terminalName" : {
          "type" : "string"
        },
        "cashDrawerStatus" : {
          "type" : "string",
          "enum" : [ "Open", "Closed" ]
        },
        "inventoryName" : {
          "type" : "string"
        },
        "timecardId" : {
          "type" : "string"
        },
        "timeCard" : {
          "$ref" : "#/definitions/TimeCard"
        },
        "role" : {
          "$ref" : "#/definitions/Role"
        },
        "canApplyCustomDiscount" : {
          "type" : "boolean"
        },
        "insuranceExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "insuranceCompanyName" : {
          "type" : "string"
        },
        "policyNumber" : {
          "type" : "string"
        },
        "registrationExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "vehiclePin" : {
          "type" : "string"
        },
        "vinNo" : {
          "type" : "string"
        },
        "vehicleModel" : {
          "type" : "string"
        },
        "vehicleLicensePlate" : {
          "type" : "string"
        },
        "tripId" : {
          "type" : "string"
        },
        "recentLocation" : {
          "$ref" : "#/definitions/TerminalLocation"
        },
        "employeeOnFleetInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeOnFleetInfo"
          }
        },
        "appAccessList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "AuthenticationApp", "Retail", "Distribution", "Grow", "Dispatch", "Worker", "Insights" ]
          }
        },
        "tookanInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeTookanInfo"
          }
        },
        "lastLoggedInShopId" : {
          "type" : "string"
        },
        "lastLoginTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "driver" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "organizationIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "yellowfinRoleCode" : {
          "type" : "string",
          "enum" : [ "NONE", "YFADMIN", "BASICINSIGHTS", "YFCORPWRITER", "BASICINSIGHTSDASHBOARDS", "BASICINSIGHTSREPORTING", "INSIGHTSSTANDARD1", "INSIGHTSSTANDARD2", "INSIGHTSSTANDARD3", "INSIGHTSSTANDARD4", "ADVANCEDINSIGHTS1", "ADVANCEDINSIGHTS2", "ADVANCEDINSIGHTS3", "ADVANCEDINSIGHTS4" ]
        },
        "defaultVehicleId" : {
          "type" : "string"
        },
        "biotrack" : {
          "type" : "boolean"
        },
        "biotrackTransId" : {
          "type" : "string"
        },
        "biotrackTransIdOriginal" : {
          "type" : "string"
        },
        "birthDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "hireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sessionTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastPasswordChangedOn" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packer" : {
          "type" : "boolean"
        },
        "internal" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "metrcRetailerDeliveryId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "platformUserId" : {
          "type" : "string"
        },
        "platformCognitoId" : {
          "type" : "string"
        },
        "permissions" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "None", "iPadMemberAdd", "iPadMemberEdit", "iPadQueueAddMember", "iPadEditMemberLoyaltyPoints", "iPadTransactionsViews", "iPadProcessSales", "iPadRefund", "iPadTransactionsVoid", "iPadApplyCartDiscounts", "iPadApplyLineItemDiscounts", "iPadApplyCoupons", "iPadCashDrawerOpen", "iPadCashDrawerCloseOut", "iPadPopUpCashDrawer", "iPadTransactionsLookup", "iPadInitiation", "iPadQuickPinLogin", "iPadManageSettingsView", "iPadManagerSettingsManage", "iPadApplyRewards", "iPadScanOptional", "WebAdminLogin", "WebAllMembersView", "WebMembersView", "WebMembersManage", "WebMembersAddToQueue", "WebEditMemberLoyaltyPoints", "WebPromotionsView", "WebPromotionsManage", "WebTransactionsView", "WebTransactionsRefund", "WebInventoryView", "WebInventoryManage", "WebInventoryTransfer", "WebInventoryCategoryManage", "WebMasterProductCatalog", "WebMasterCategoryCatalog", "WebShopLevelProductCatalog", "WebShopLevelCategoryCatalog", "WebEmployeeView", "WebEmployeeManage", "WebEmployeeClockout", "WebVendorView", "WebVendorManage", "WebSettingsView", "WebSettingsManage", "WebPhysiciansView", "WebPhysiciansManage", "WebManufacturingWorker", "WebBlazeCapitalView", "WebBlazeCapitalLendingView", "WebReportsView", "WebDeliveryView", "WebCashDrawerView", "WebPopUpCashDrawer", "WebUnlockOrder", "WebEditBatch", "WebAddBatch", "WebInvoiceView", "WebInvoiceManage", "WebInventoryReconciliation", "WebDeleteProduct", "WebUndeleteProduct", "WebDashboardView", "WebInsightsDashboardView", "WebInsightsHomeQuickSummaryView", "WebInsightsReportView", "WebInsightsRole1", "WebInsightsRole2", "WebInsightsRole3", "WebInsightsRole4", "webInsightsPermission1", "webInsightsPermission2", "webInsightsPermission3", "webInsightsPermission4", "webInsightsPermission5", "webInsightsPermission6", "WebEditBroadcast", "WebViewBroadcast", "WebPurchaseOrderView", "WebPurchaseOrderManage", "WebPurchaseOrderCostManage", "WebExpenseView", "WebExpenseManage", "WebQuickBookManage", "WebInvoiceManifestChange", "WebEditPosPayment", "WebTransactionsVoid", "WebCancelPosOrders", "WebApplyCartDiscounts", "WebApplyLineItemDiscounts", "WebApplyPromotions", "WebApplyRewards", "WebApplyAfterTaxDiscounts", "WebTaxRatesManage", "EmployeeCanExportMembers" ]
          }
        },
        "routing" : {
          "type" : "boolean"
        },
        "activeTransaction" : {
          "type" : "integer",
          "format" : "int64"
        },
        "assignedRegionId" : {
          "type" : "string"
        },
        "assignedRegion" : {
          "$ref" : "#/definitions/BlazeRegion"
        },
        "assignedShop" : {
          "type" : "string"
        },
        "assignedShopId" : {
          "type" : "string"
        },
        "externalTripError" : {
          "type" : "string"
        },
        "tripStatus" : {
          "type" : "string",
          "enum" : [ "DEPARTED", "COMPLETED" ]
        },
        "externalDeliveryLedgerId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "tripShopId" : {
          "type" : "string"
        },
        "tripShopName" : {
          "type" : "string"
        },
        "trip" : {
          "$ref" : "#/definitions/Trip"
        },
        "isBlazeAdmin" : {
          "type" : "boolean"
        },
        "isSuperAdmin" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "Trip" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "driverId" : {
          "type" : "string"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "DEPARTED", "COMPLETED" ]
        },
        "startTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "externalDeliveryLedgerId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "terminalId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "endTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "externalErrorMessage" : {
          "type" : "string"
        },
        "startedBy" : {
          "type" : "string"
        },
        "endedBy" : {
          "type" : "string"
        },
        "tripNo" : {
          "type" : "integer",
          "format" : "int64"
        },
        "transactionIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "tripType" : {
          "type" : "string",
          "enum" : [ "DELIVERY", "EVENT" ]
        },
        "eventPermitNumber" : {
          "type" : "string"
        },
        "eventAddress" : {
          "$ref" : "#/definitions/Address"
        }
      }
    },
    "EmployeeOnFleetInfoResult" : {
      "type" : "object",
      "properties" : {
        "shopId" : {
          "type" : "string"
        },
        "onFleetWorkerId" : {
          "type" : "string"
        },
        "onFleetTeamList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "onFleetWorkerName" : {
          "type" : "string"
        },
        "shopName" : {
          "type" : "string"
        },
        "employeeOnFleetTeams" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        }
      }
    },
    "EmployeeResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "authUserId" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "pin" : {
          "type" : "string"
        },
        "roleId" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "password" : {
          "type" : "string"
        },
        "driversLicense" : {
          "type" : "string"
        },
        "occupationLicenseNumber" : {
          "type" : "string"
        },
        "dlExpirationDate" : {
          "type" : "string"
        },
        "vehicleMake" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "shops" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "disabled" : {
          "type" : "boolean"
        },
        "phoneNumber" : {
          "type" : "string"
        },
        "assignedInventoryId" : {
          "type" : "string"
        },
        "assignedTerminalId" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "terminalName" : {
          "type" : "string"
        },
        "cashDrawerStatus" : {
          "type" : "string",
          "enum" : [ "Open", "Closed" ]
        },
        "inventoryName" : {
          "type" : "string"
        },
        "timecardId" : {
          "type" : "string"
        },
        "timeCard" : {
          "$ref" : "#/definitions/TimeCard"
        },
        "role" : {
          "$ref" : "#/definitions/Role"
        },
        "canApplyCustomDiscount" : {
          "type" : "boolean"
        },
        "insuranceExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "insuranceCompanyName" : {
          "type" : "string"
        },
        "policyNumber" : {
          "type" : "string"
        },
        "registrationExpireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "vehiclePin" : {
          "type" : "string"
        },
        "vinNo" : {
          "type" : "string"
        },
        "vehicleModel" : {
          "type" : "string"
        },
        "vehicleLicensePlate" : {
          "type" : "string"
        },
        "tripId" : {
          "type" : "string"
        },
        "recentLocation" : {
          "$ref" : "#/definitions/TerminalLocation"
        },
        "employeeOnFleetInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeOnFleetInfo"
          }
        },
        "appAccessList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "AuthenticationApp", "Retail", "Distribution", "Grow", "Dispatch", "Worker", "Insights" ]
          }
        },
        "tookanInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeTookanInfo"
          }
        },
        "lastLoggedInShopId" : {
          "type" : "string"
        },
        "lastLoginTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "driver" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "organizationIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "yellowfinRoleCode" : {
          "type" : "string",
          "enum" : [ "NONE", "YFADMIN", "BASICINSIGHTS", "YFCORPWRITER", "BASICINSIGHTSDASHBOARDS", "BASICINSIGHTSREPORTING", "INSIGHTSSTANDARD1", "INSIGHTSSTANDARD2", "INSIGHTSSTANDARD3", "INSIGHTSSTANDARD4", "ADVANCEDINSIGHTS1", "ADVANCEDINSIGHTS2", "ADVANCEDINSIGHTS3", "ADVANCEDINSIGHTS4" ]
        },
        "defaultVehicleId" : {
          "type" : "string"
        },
        "biotrack" : {
          "type" : "boolean"
        },
        "biotrackTransId" : {
          "type" : "string"
        },
        "biotrackTransIdOriginal" : {
          "type" : "string"
        },
        "birthDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "hireDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sessionTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastPasswordChangedOn" : {
          "type" : "integer",
          "format" : "int64"
        },
        "packer" : {
          "type" : "boolean"
        },
        "internal" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "metrcRetailerDeliveryId" : {
          "type" : "integer",
          "format" : "int64"
        },
        "platformUserId" : {
          "type" : "string"
        },
        "platformCognitoId" : {
          "type" : "string"
        },
        "permissions" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "None", "iPadMemberAdd", "iPadMemberEdit", "iPadQueueAddMember", "iPadEditMemberLoyaltyPoints", "iPadTransactionsViews", "iPadProcessSales", "iPadRefund", "iPadTransactionsVoid", "iPadApplyCartDiscounts", "iPadApplyLineItemDiscounts", "iPadApplyCoupons", "iPadCashDrawerOpen", "iPadCashDrawerCloseOut", "iPadPopUpCashDrawer", "iPadTransactionsLookup", "iPadInitiation", "iPadQuickPinLogin", "iPadManageSettingsView", "iPadManagerSettingsManage", "iPadApplyRewards", "iPadScanOptional", "WebAdminLogin", "WebAllMembersView", "WebMembersView", "WebMembersManage", "WebMembersAddToQueue", "WebEditMemberLoyaltyPoints", "WebPromotionsView", "WebPromotionsManage", "WebTransactionsView", "WebTransactionsRefund", "WebInventoryView", "WebInventoryManage", "WebInventoryTransfer", "WebInventoryCategoryManage", "WebMasterProductCatalog", "WebMasterCategoryCatalog", "WebShopLevelProductCatalog", "WebShopLevelCategoryCatalog", "WebEmployeeView", "WebEmployeeManage", "WebEmployeeClockout", "WebVendorView", "WebVendorManage", "WebSettingsView", "WebSettingsManage", "WebPhysiciansView", "WebPhysiciansManage", "WebManufacturingWorker", "WebBlazeCapitalView", "WebBlazeCapitalLendingView", "WebReportsView", "WebDeliveryView", "WebCashDrawerView", "WebPopUpCashDrawer", "WebUnlockOrder", "WebEditBatch", "WebAddBatch", "WebInvoiceView", "WebInvoiceManage", "WebInventoryReconciliation", "WebDeleteProduct", "WebUndeleteProduct", "WebDashboardView", "WebInsightsDashboardView", "WebInsightsHomeQuickSummaryView", "WebInsightsReportView", "WebInsightsRole1", "WebInsightsRole2", "WebInsightsRole3", "WebInsightsRole4", "webInsightsPermission1", "webInsightsPermission2", "webInsightsPermission3", "webInsightsPermission4", "webInsightsPermission5", "webInsightsPermission6", "WebEditBroadcast", "WebViewBroadcast", "WebPurchaseOrderView", "WebPurchaseOrderManage", "WebPurchaseOrderCostManage", "WebExpenseView", "WebExpenseManage", "WebQuickBookManage", "WebInvoiceManifestChange", "WebEditPosPayment", "WebTransactionsVoid", "WebCancelPosOrders", "WebApplyCartDiscounts", "WebApplyLineItemDiscounts", "WebApplyPromotions", "WebApplyRewards", "WebApplyAfterTaxDiscounts", "WebTaxRatesManage", "EmployeeCanExportMembers" ]
          }
        },
        "employeeOnFleetInfoResults" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeOnFleetInfoResult"
          }
        },
        "isBlazeAdmin" : {
          "type" : "boolean"
        },
        "isSuperAdmin" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "SearchResultEmployeeResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/EmployeeResult"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "DeliveryEmployeeDetails" : {
      "type" : "object",
      "properties" : {
        "driverName" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "distance" : {
          "type" : "number",
          "format" : "double"
        },
        "terminalId" : {
          "type" : "string"
        },
        "terminalName" : {
          "type" : "string"
        },
        "inventoryName" : {
          "type" : "string"
        },
        "online" : {
          "type" : "boolean"
        }
      }
    },
    "Promotion" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "scope" : {
          "type" : "string",
          "enum" : [ "Company", "Shop" ]
        },
        "companyPromoId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "promoDesc" : {
          "type" : "string"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountUnitType" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "promocode" : {
          "type" : "string"
        },
        "referralPrefix" : {
          "type" : "string"
        },
        "promoCodeRequired" : {
          "type" : "boolean"
        },
        "consumerFacing" : {
          "type" : "boolean"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "maxAvailable" : {
          "type" : "integer",
          "format" : "int32"
        },
        "usageCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableMaxAvailable" : {
          "type" : "boolean"
        },
        "limitPerCustomer" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableLimitPerCustomer" : {
          "type" : "boolean"
        },
        "restrictMemberGroups" : {
          "type" : "boolean"
        },
        "memberGroupIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "rules" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromotionRule"
          }
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "maxCashValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableBOGO" : {
          "type" : "boolean"
        },
        "enableDayDuration" : {
          "type" : "boolean"
        },
        "dayStartTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "dayEndTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "scalable" : {
          "type" : "boolean"
        },
        "targetPriceRange" : {
          "type" : "boolean"
        },
        "lowerPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "upperPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "version" : {
          "type" : "string",
          "enum" : [ "V1", "V2", "V3" ]
        },
        "referralPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "target" : {
          "$ref" : "#/definitions/PromotionTargetRule"
        },
        "exclusions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromoProductExclusion"
          }
        },
        "rank" : {
          "type" : "string",
          "enum" : [ "Highest", "High", "Medium", "Low", "Lowest" ]
        },
        "mon" : {
          "type" : "boolean"
        },
        "tues" : {
          "type" : "boolean"
        },
        "wed" : {
          "type" : "boolean"
        },
        "thur" : {
          "type" : "boolean"
        },
        "fri" : {
          "type" : "boolean"
        },
        "sat" : {
          "type" : "boolean"
        },
        "sun" : {
          "type" : "boolean"
        },
        "promoCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "promoSource" : {
          "type" : "string",
          "enum" : [ "Manual", "MemberGroup" ]
        },
        "stackable" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "lowestPriceFirst" : {
          "type" : "boolean"
        },
        "assigned" : {
          "type" : "boolean"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "restrictConsumerTypes" : {
          "type" : "boolean"
        },
        "consumerTypes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "salesChannels" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Any", "Ecommerce", "Mobile", "ScanToShop", "Retail", "Kiosk" ]
          }
        },
        "autoApply" : {
          "type" : "boolean"
        },
        "enableMultiApplies" : {
          "type" : "boolean"
        },
        "maxApplies" : {
          "type" : "integer",
          "format" : "int32"
        },
        "groupProductsBy" : {
          "type" : "string",
          "enum" : [ "None", "Brand", "Category", "Vendor" ]
        },
        "autoApplyRequested" : {
          "type" : "boolean"
        },
        "enableUsageCooldownInDays" : {
          "type" : "boolean"
        },
        "thirdPartyLoyaltyEnabled" : {
          "type" : "boolean"
        },
        "usageCooldownInDays" : {
          "type" : "integer",
          "format" : "int32"
        },
        "includeAnonymous" : {
          "type" : "boolean"
        },
        "validVarietyBundle" : {
          "type" : "boolean"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "criteriaGroups" : {
          "type" : "array",
          "items" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/PromotionRule"
            }
          }
        }
      }
    },
    "SearchResultPromotion" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Promotion"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "PromotionMemberResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "scope" : {
          "type" : "string",
          "enum" : [ "Company", "Shop" ]
        },
        "companyPromoId" : {
          "type" : "string"
        },
        "referralCode" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "promoDesc" : {
          "type" : "string"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountUnitType" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "promocode" : {
          "type" : "string"
        },
        "referralPrefix" : {
          "type" : "string"
        },
        "promoCodeRequired" : {
          "type" : "boolean"
        },
        "consumerFacing" : {
          "type" : "boolean"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "maxAvailable" : {
          "type" : "integer",
          "format" : "int32"
        },
        "usageCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableMaxAvailable" : {
          "type" : "boolean"
        },
        "limitPerCustomer" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableLimitPerCustomer" : {
          "type" : "boolean"
        },
        "restrictMemberGroups" : {
          "type" : "boolean"
        },
        "memberGroupIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "rules" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromotionRule"
          }
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "maxCashValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableBOGO" : {
          "type" : "boolean"
        },
        "enableDayDuration" : {
          "type" : "boolean"
        },
        "dayStartTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "dayEndTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "scalable" : {
          "type" : "boolean"
        },
        "targetPriceRange" : {
          "type" : "boolean"
        },
        "lowerPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "upperPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "version" : {
          "type" : "string",
          "enum" : [ "V1", "V2", "V3" ]
        },
        "referralPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "target" : {
          "$ref" : "#/definitions/PromotionTargetRule"
        },
        "exclusions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromoProductExclusion"
          }
        },
        "rank" : {
          "type" : "string",
          "enum" : [ "Highest", "High", "Medium", "Low", "Lowest" ]
        },
        "mon" : {
          "type" : "boolean"
        },
        "tues" : {
          "type" : "boolean"
        },
        "wed" : {
          "type" : "boolean"
        },
        "thur" : {
          "type" : "boolean"
        },
        "fri" : {
          "type" : "boolean"
        },
        "sat" : {
          "type" : "boolean"
        },
        "sun" : {
          "type" : "boolean"
        },
        "promoCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "promoSource" : {
          "type" : "string",
          "enum" : [ "Manual", "MemberGroup" ]
        },
        "stackable" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "lowestPriceFirst" : {
          "type" : "boolean"
        },
        "assigned" : {
          "type" : "boolean"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "restrictConsumerTypes" : {
          "type" : "boolean"
        },
        "consumerTypes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "salesChannels" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Any", "Ecommerce", "Mobile", "ScanToShop", "Retail", "Kiosk" ]
          }
        },
        "autoApply" : {
          "type" : "boolean"
        },
        "enableMultiApplies" : {
          "type" : "boolean"
        },
        "maxApplies" : {
          "type" : "integer",
          "format" : "int32"
        },
        "groupProductsBy" : {
          "type" : "string",
          "enum" : [ "None", "Brand", "Category", "Vendor" ]
        },
        "autoApplyRequested" : {
          "type" : "boolean"
        },
        "enableUsageCooldownInDays" : {
          "type" : "boolean"
        },
        "thirdPartyLoyaltyEnabled" : {
          "type" : "boolean"
        },
        "usageCooldownInDays" : {
          "type" : "integer",
          "format" : "int32"
        },
        "includeAnonymous" : {
          "type" : "boolean"
        },
        "memberId" : {
          "type" : "string"
        },
        "validVarietyBundle" : {
          "type" : "boolean"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "criteriaGroups" : {
          "type" : "array",
          "items" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/PromotionRule"
            }
          }
        }
      }
    },
    "PartnerAddPromotionRequest" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "promoDesc" : {
          "type" : "string"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountUnitType" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "promocode" : {
          "type" : "string"
        },
        "promoCodeRequired" : {
          "type" : "boolean"
        },
        "consumerFacing" : {
          "type" : "boolean"
        },
        "salesChannels" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Any", "Ecommerce", "Mobile", "ScanToShop", "Retail", "Kiosk" ]
          }
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "active" : {
          "type" : "boolean"
        },
        "maxAvailable" : {
          "type" : "integer",
          "format" : "int32"
        },
        "usageCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableMaxAvailable" : {
          "type" : "boolean"
        },
        "limitPerCustomer" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableLimitPerCustomer" : {
          "type" : "boolean"
        },
        "restrictMemberGroups" : {
          "type" : "boolean"
        },
        "memberGroupIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "rules" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromotionRule"
          }
        },
        "promotionType" : {
          "type" : "string",
          "enum" : [ "Cart", "Product", "DeliveryFee", "BOGO", "Bundle", "VarietyBundle" ]
        },
        "maxCashValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableBOGO" : {
          "type" : "boolean"
        },
        "version" : {
          "type" : "string"
        },
        "enableDayDuration" : {
          "type" : "boolean"
        },
        "dayStartTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "dayEndTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "scalable" : {
          "type" : "boolean"
        },
        "targetPriceRange" : {
          "type" : "boolean"
        },
        "lowerPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "upperPriceBound" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "criteriaGroups" : {
          "type" : "array",
          "items" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/PromotionRule"
            }
          }
        },
        "target" : {
          "$ref" : "#/definitions/PromotionTargetRule"
        },
        "exclusions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PromoProductExclusion"
          }
        },
        "mon" : {
          "type" : "boolean"
        },
        "tues" : {
          "type" : "boolean"
        },
        "wed" : {
          "type" : "boolean"
        },
        "thur" : {
          "type" : "boolean"
        },
        "fri" : {
          "type" : "boolean"
        },
        "sat" : {
          "type" : "boolean"
        },
        "sun" : {
          "type" : "boolean"
        },
        "promoCodes" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "promoSource" : {
          "type" : "string",
          "enum" : [ "Manual", "MemberGroup" ]
        },
        "stackable" : {
          "type" : "boolean"
        },
        "enablePromoCode" : {
          "type" : "boolean"
        },
        "enableMultiApps" : {
          "type" : "boolean"
        },
        "maxApps" : {
          "type" : "integer",
          "format" : "int32"
        },
        "enableLimitPerXDays" : {
          "type" : "boolean"
        },
        "limitPerXDays" : {
          "type" : "integer",
          "format" : "int32"
        },
        "includeAnonymous" : {
          "type" : "boolean"
        }
      }
    },
    "MemberLoyaltyPoints" : {
      "type" : "object",
      "properties" : {
        "memberId" : {
          "type" : "string"
        },
        "loyaltyPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lifetimePoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "UpdateLoyaltyPointRequest" : {
      "type" : "object",
      "properties" : {
        "memberId" : {
          "type" : "string"
        },
        "consumerUserId" : {
          "type" : "string"
        },
        "action" : {
          "type" : "string"
        },
        "note" : {
          "type" : "string"
        },
        "points" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "LoyaltyMemberReward" : {
      "type" : "object",
      "properties" : {
        "rewardId" : {
          "type" : "string"
        },
        "rewardName" : {
          "type" : "string"
        },
        "rewardDescription" : {
          "type" : "string"
        },
        "pointsRequired" : {
          "type" : "integer",
          "format" : "int32"
        },
        "memberId" : {
          "type" : "string"
        },
        "rewardState" : {
          "type" : "string",
          "enum" : [ "Used", "Available", "Locked" ]
        },
        "usedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "availableDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "discountInfo" : {
          "type" : "string"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "type" : {
          "type" : "string",
          "enum" : [ "REWARD", "OFFER" ]
        },
        "expirationDate" : {
          "type" : "string"
        },
        "redemptionsAvailable" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "SearchResultLoyaltyMemberReward" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/LoyaltyMemberReward"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "LoyaltyReward" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "rewardNo" : {
          "type" : "string"
        },
        "slug" : {
          "type" : "string"
        },
        "points" : {
          "type" : "integer",
          "format" : "int32",
          "minimum" : 0
        },
        "name" : {
          "type" : "string"
        },
        "detail" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "loyaltyType" : {
          "type" : "string",
          "enum" : [ "Regular", "Promotion" ]
        },
        "published" : {
          "type" : "boolean"
        },
        "publishedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "unpublishedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "type" : {
          "type" : "string",
          "enum" : [ "REWARD", "OFFER" ]
        },
        "promotionId" : {
          "type" : "string"
        },
        "productIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "categoryIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "productTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "discountAmt" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discountUnitType" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "endDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "rewardTarget" : {
          "type" : "string",
          "enum" : [ "WholeCart", "DiscountedSubtotal", "DeliveryFee", "AllSelectedProducts", "OneFromProducts", "OneFromCategories", "OneFromVendors", "OneFromProductTags" ]
        },
        "assigned" : {
          "type" : "boolean"
        },
        "finalizedDiscountId" : {
          "type" : "string"
        },
        "autoApplyRequested" : {
          "type" : "boolean"
        },
        "rank" : {
          "type" : "string",
          "enum" : [ "Highest", "High", "Medium", "Low", "Lowest" ]
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "SearchResultLoyaltyReward" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/LoyaltyReward"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "LoyaltyActivityLog" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "activityType" : {
          "type" : "string",
          "enum" : [ "Accrue", "Usage", "Add", "Subtract", "Replace" ]
        },
        "memberId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "transactionId" : {
          "type" : "string"
        },
        "rewardNo" : {
          "type" : "string"
        },
        "rewardId" : {
          "type" : "string"
        },
        "referralMemberId" : {
          "type" : "string"
        },
        "amount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "referralAmount" : {
          "type" : "number"
        },
        "activityDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "transNo" : {
          "type" : "string"
        },
        "transStatus" : {
          "type" : "string",
          "enum" : [ "Queued", "Hold", "InProgress", "Completed", "Pending", "Canceled", "RefundWithInventory", "RefundWithoutInventory", "Void", "VoidSales", "Draft" ]
        },
        "note" : {
          "type" : "string"
        },
        "source" : {
          "type" : "string"
        },
        "rewardSystem" : {
          "type" : "string",
          "enum" : [ "BLAZE", "SPRING_BIG" ]
        },
        "typeOfPromo" : {
          "type" : "string",
          "enum" : [ "REWARD", "OFFER" ]
        },
        "springbigType" : {
          "type" : "string",
          "enum" : [ "REDEMPTION", "VISIT", "ADJUSTMENTS", "ERROR", "ALL" ]
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "SearchResultLoyaltyActivityLog" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/LoyaltyActivityLog"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "ListResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "ListResultMember" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Member"
          }
        }
      }
    },
    "MembershipUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "middleName" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "uppercaseCity" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "dob" : {
          "type" : "integer",
          "format" : "int64"
        },
        "birthdate" : {
          "type" : "string"
        },
        "localDob" : {
          "type" : "string"
        },
        "localDobUTC" : {
          "type" : "integer",
          "format" : "int64"
        },
        "primaryPhone" : {
          "type" : "string"
        },
        "cpn" : {
          "type" : "string"
        },
        "textOptIn" : {
          "type" : "boolean"
        },
        "emailOptIn" : {
          "type" : "boolean"
        },
        "medical" : {
          "type" : "boolean"
        },
        "searchText" : {
          "type" : "string"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "nickname" : {
          "type" : "string"
        },
        "sex" : {
          "type" : "string",
          "enum" : [ "MALE", "FEMALE", "OTHER" ]
        },
        "anonymous" : {
          "type" : "boolean"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "Active", "Pending", "Inactive" ]
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "contracts" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/SignedContract"
          }
        },
        "preferences" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Preference"
          }
        },
        "identifications" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Identification"
          }
        },
        "recommendations" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Recommendation"
          }
        },
        "lastVisitDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "importId" : {
          "type" : "string"
        },
        "memberGroupId" : {
          "type" : "string"
        },
        "memberGroup" : {
          "$ref" : "#/definitions/MemberGroup"
        },
        "recentProducts" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "dlExpired" : {
          "type" : "boolean"
        },
        "recommendationExpired" : {
          "type" : "boolean"
        },
        "agreementExpired" : {
          "type" : "boolean"
        },
        "emailVerified" : {
          "type" : "boolean"
        },
        "consumerUserId" : {
          "type" : "string"
        },
        "marketingSource" : {
          "type" : "string"
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "alternateEmails" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "enableLoyalty" : {
          "type" : "boolean"
        },
        "loyaltyPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lifetimePoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enabledCareGiver" : {
          "type" : "boolean"
        },
        "careGivers" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "regionId" : {
          "type" : "string"
        },
        "addresses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "qbCustomerRef" : {
          "type" : "array",
          "items" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        },
        "eligibleForFTMPromos" : {
          "type" : "boolean"
        },
        "banPatient" : {
          "type" : "boolean"
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "recommendationExpiryLeft" : {
          "type" : "integer",
          "format" : "int64"
        },
        "referralCode" : {
          "type" : "string"
        },
        "complianceCardSessionId" : {
          "type" : "string"
        },
        "sbid" : {
          "type" : "integer",
          "format" : "int64"
        },
        "exemptFromLimits" : {
          "type" : "boolean"
        },
        "alternatePhones" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "listedByElastic" : {
          "type" : "boolean",
          "description" : "Member listed using ElasticSearch"
        },
        "strongholdCustomerId" : {
          "type" : "string"
        },
        "growthLoyaltyTier" : {
          "readOnly" : true,
          "$ref" : "#/definitions/LoyaltyTierInfo"
        },
        "allotmentOverride" : {
          "$ref" : "#/definitions/AllotmentOverride"
        },
        "expStatuses" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "lastestRecommendation" : {
          "$ref" : "#/definitions/Recommendation"
        },
        "latestRecommendation" : {
          "$ref" : "#/definitions/Recommendation"
        },
        "state" : {
          "type" : "string"
        }
      }
    },
    "SearchResultMember" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Member"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "MetadataUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        }
      }
    },
    "MemberLimit" : {
      "type" : "object",
      "properties" : {
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "state" : {
          "type" : "string",
          "enum" : [ "NON_US", "AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY", "GU", "PR", "VI", "DC" ]
        },
        "concentrates" : {
          "type" : "number"
        },
        "nonConcentrates" : {
          "type" : "number"
        },
        "plants" : {
          "type" : "number"
        },
        "seeds" : {
          "type" : "number"
        },
        "max" : {
          "type" : "number"
        },
        "thc" : {
          "type" : "number"
        },
        "duration" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "MembershipAddRequest" : {
      "type" : "object",
      "properties" : {
        "importId" : {
          "type" : "string"
        },
        "identifications" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Identification"
          }
        },
        "recommendations" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Recommendation"
          }
        },
        "id" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "middleName" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "dob" : {
          "type" : "integer",
          "format" : "int64"
        },
        "birthdate" : {
          "type" : "string"
        },
        "primaryPhone" : {
          "type" : "string"
        },
        "textOptIn" : {
          "type" : "boolean"
        },
        "email" : {
          "type" : "string"
        },
        "emailOptIn" : {
          "type" : "boolean"
        },
        "medical" : {
          "type" : "boolean"
        },
        "enableLoyalty" : {
          "type" : "boolean"
        },
        "banned" : {
          "type" : "boolean"
        },
        "searchText" : {
          "type" : "string"
        },
        "photoId" : {
          "type" : "string"
        },
        "sex" : {
          "type" : "string",
          "enum" : [ "MALE", "FEMALE", "OTHER" ]
        },
        "doctorImportId" : {
          "type" : "string"
        },
        "memberGroupId" : {
          "type" : "string"
        },
        "startDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "status" : {
          "type" : "string",
          "enum" : [ "Active", "Pending", "Inactive" ]
        },
        "marketingSource" : {
          "type" : "string"
        },
        "loyaltyPoints" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "consumerType" : {
          "type" : "string",
          "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
        },
        "addresses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "exemptFromLimits" : {
          "type" : "boolean"
        },
        "nickname" : {
          "type" : "string"
        },
        "lastVisitDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "dlExpired" : {
          "type" : "boolean"
        },
        "alternateEmails" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "alternatePhones" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "anonymous" : {
          "type" : "boolean"
        },
        "enabledCareGiver" : {
          "type" : "boolean"
        },
        "enabledCannabisLimit" : {
          "type" : "boolean"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "careGivers" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "allotmentOverride" : {
          "$ref" : "#/definitions/AllotmentOverride"
        }
      }
    },
    "LoadPaymentCardResponse" : {
      "type" : "object",
      "properties" : {
        "loadedTotal" : {
          "type" : "number"
        },
        "feeTotal" : {
          "type" : "number"
        },
        "chargedTotal" : {
          "type" : "number"
        }
      }
    },
    "CreditCard" : {
      "type" : "object",
      "properties" : {
        "number" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "cvv" : {
          "type" : "string"
        },
        "expirationMonth" : {
          "type" : "string"
        },
        "expirationYear" : {
          "type" : "string"
        },
        "zipCode" : {
          "type" : "string"
        },
        "expiration_month" : {
          "type" : "string"
        },
        "expiration_year" : {
          "type" : "string"
        },
        "zip_code" : {
          "type" : "string"
        }
      }
    },
    "LoadPaymentCardRequest" : {
      "type" : "object",
      "properties" : {
        "type" : {
          "type" : "string",
          "enum" : [ "Linx", "Clover", "Mtrac" ]
        },
        "paymentCardNumber" : {
          "type" : "string"
        },
        "amount" : {
          "type" : "number"
        },
        "creditCard" : {
          "$ref" : "#/definitions/CreditCard"
        },
        "linxCardNumber" : {
          "type" : "string"
        },
        "transactionId" : {
          "type" : "string"
        }
      }
    },
    "PaymentCardBalanceCheckResponse" : {
      "type" : "object",
      "properties" : {
        "status" : {
          "type" : "string"
        },
        "balance" : {
          "type" : "number"
        },
        "cardStatus" : {
          "type" : "string"
        }
      }
    },
    "PaymentCardBalanceCheckRequest" : {
      "type" : "object",
      "properties" : {
        "type" : {
          "type" : "string",
          "enum" : [ "Linx", "Clover", "Mtrac" ]
        },
        "paymentCardNumber" : {
          "type" : "string"
        },
        "linxCardNumber" : {
          "type" : "string"
        }
      }
    },
    "BatchUnitScannedReq" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "barcode" : {
          "type" : "string"
        },
        "createDate" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "DistributorInformation" : {
      "type" : "object",
      "properties" : {
        "licenseId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "companyContactId" : {
          "type" : "string"
        },
        "customerCompanyId" : {
          "type" : "string"
        }
      }
    },
    "MetrcPackageDetails" : {
      "type" : "object",
      "properties" : {
        "batchId" : {
          "type" : "string"
        },
        "reqMetrcLabel" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "metrcStatus" : {
          "type" : "string",
          "enum" : [ "Created", "Error", "NotCreated" ]
        },
        "productName" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "batchSku" : {
          "type" : "string"
        },
        "metrcLabel" : {
          "type" : "string"
        },
        "errorMessage" : {
          "type" : "string"
        }
      }
    },
    "POBatchAddRequest" : {
      "type" : "object",
      "properties" : {
        "batchSku" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number"
        },
        "testId" : {
          "type" : "string"
        },
        "testingCompanyId" : {
          "type" : "string"
        },
        "dateSent" : {
          "type" : "integer",
          "format" : "int64"
        },
        "trackHarvestBatchId" : {
          "type" : "string"
        },
        "trackHarvestBatchDate" : {
          "type" : "string"
        },
        "batchExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcLabel" : {
          "type" : "string"
        },
        "sellBy" : {
          "type" : "integer",
          "format" : "int64"
        },
        "batchId" : {
          "type" : "string"
        },
        "producerName" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "packageDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "bundleItemsBatches" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POBundleBatchAddRequest"
          }
        },
        "connectedBatchId" : {
          "type" : "string"
        },
        "batchInfo" : {
          "$ref" : "#/definitions/ProductBatch"
        },
        "complianceLabel" : {
          "type" : "string"
        },
        "qaTestResult" : {
          "$ref" : "#/definitions/QATestResult"
        },
        "unitBarcodes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "units" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BatchUnitScannedReq"
          }
        }
      }
    },
    "POBatchItem" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sku" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number"
        },
        "retailIdCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "retailIdTraceMessage" : {
          "type" : "string"
        },
        "trackPackageLabel" : {
          "type" : "string"
        },
        "trackTraceSystem" : {
          "type" : "string",
          "enum" : [ "MANUAL", "METRC", "BIOTRACK", "UTAH_ICS", "NM_CCD", "OTHER" ]
        }
      }
    },
    "POBundleBatchAddRequest" : {
      "type" : "object",
      "properties" : {
        "batchSku" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number"
        },
        "testId" : {
          "type" : "string"
        },
        "testingCompanyId" : {
          "type" : "string"
        },
        "dateSent" : {
          "type" : "integer",
          "format" : "int64"
        },
        "trackHarvestBatchId" : {
          "type" : "string"
        },
        "trackHarvestBatchDate" : {
          "type" : "string"
        },
        "batchExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "metrcLabel" : {
          "type" : "string"
        },
        "sellBy" : {
          "type" : "integer",
          "format" : "int64"
        },
        "batchId" : {
          "type" : "string"
        },
        "producerName" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "packageDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "bundleItemsBatches" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POBundleBatchAddRequest"
          }
        },
        "connectedBatchId" : {
          "type" : "string"
        },
        "batchInfo" : {
          "$ref" : "#/definitions/ProductBatch"
        },
        "complianceLabel" : {
          "type" : "string"
        },
        "qaTestResult" : {
          "$ref" : "#/definitions/QATestResult"
        },
        "unitBarcodes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "units" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BatchUnitScannedReq"
          }
        },
        "productId" : {
          "type" : "string"
        }
      }
    },
    "POProductRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "categoryId" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "productName" : {
          "type" : "string"
        },
        "requestStatus" : {
          "type" : "string",
          "enum" : [ "PENDING", "DECLINED", "ACCEPTED" ]
        },
        "requestQuantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "receivedQuantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "trackTraceSystem" : {
          "type" : "string",
          "enum" : [ "MANUAL", "METRC", "BIOTRACK", "UTAH_ICS", "NM_CCD", "OTHER" ]
        },
        "trackingPackagesList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/TrackingPackages"
          }
        },
        "notes" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "exciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCultivationTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "declineReason" : {
          "type" : "string"
        },
        "batchQuantityMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "batches" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POBatchItem"
          }
        },
        "receiveBatchStatus" : {
          "type" : "string",
          "enum" : [ "IN_TRANSFER", "RECEIVED", "IN_TESTING", "READY_FOR_SALE", "PROCESSING", "ERROR", "FINISHED" ]
        },
        "batchAddDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POBatchAddRequest"
          }
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalTotalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "txnLineID" : {
          "type" : "string"
        },
        "txnLineIDMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "qaTestResult" : {
          "$ref" : "#/definitions/QATestResult"
        }
      }
    },
    "ProductMetrcInfo" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "productName" : {
          "type" : "string"
        },
        "orderItemId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "batchDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ShippingBatchDetails"
          }
        }
      }
    },
    "PurchaseOrder" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "poNumber" : {
          "type" : "string"
        },
        "parentPOId" : {
          "type" : "string"
        },
        "parentPONumber" : {
          "type" : "string"
        },
        "approvedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "approvedBy" : {
          "type" : "string"
        },
        "approvedSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "poPaymentTerms" : {
          "type" : "string",
          "enum" : [ "NET_30", "COD", "NET_45", "NET_60", "NET_15", "NET_7", "CUSTOM_DATE" ]
        },
        "purchaseOrderStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "ReceivingShipment", "RequiredApproval", "Approved", "WaitingShipment", "Closed", "Cancel", "Decline", "ReceivedShipment" ]
        },
        "poPaymentOptions" : {
          "type" : "string",
          "enum" : [ "CASH", "CREDIT", "DEBIT", "COD", "ACH_TRANSFER", "CHEQUE", "BLAZECAPITAL", "OTHER" ]
        },
        "companyAssetList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "poProductRequestList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POProductRequest"
          }
        },
        "vendorId" : {
          "type" : "string"
        },
        "receivedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveredBy" : {
          "type" : "string"
        },
        "receivedByEmployeeId" : {
          "type" : "string"
        },
        "createdByEmployeeId" : {
          "type" : "string"
        },
        "completedByEmployeeId" : {
          "type" : "string"
        },
        "poType" : {
          "type" : "string",
          "enum" : [ "Normal", "BackOrder" ]
        },
        "completedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "notes" : {
          "type" : "string"
        },
        "declineReason" : {
          "type" : "string"
        },
        "declineDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "amountPaid" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "submitForApprovalDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archive" : {
          "type" : "boolean"
        },
        "archiveDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "customTermDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "managerReceiveSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "reference" : {
          "type" : "string"
        },
        "qbPurchaseOrderRef" : {
          "type" : "string"
        },
        "grandTotal" : {
          "type" : "number"
        },
        "totalTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPreCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxResult" : {
          "$ref" : "#/definitions/TaxResult"
        },
        "transactionType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "customerType" : {
          "type" : "string",
          "enum" : [ "VENDOR", "CUSTOMER_COMPANY" ]
        },
        "deliveryAddress" : {
          "type" : "string"
        },
        "deliveryTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "termsAndCondition" : {
          "type" : "string"
        },
        "deliveryCharge" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableDeliveryCharge" : {
          "type" : "boolean"
        },
        "poQrCodeAsset" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "poQrCodeUrl" : {
          "type" : "string"
        },
        "flowerSourceType" : {
          "type" : "string",
          "enum" : [ "CULTIVATOR_DIRECT", "DISTRIBUTOR" ]
        },
        "shipmentBillId" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fees" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchaseOrderDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dueDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "licenseId" : {
          "type" : "string"
        },
        "manualClose" : {
          "type" : "boolean"
        },
        "complianceManifestNumber" : {
          "type" : "string"
        },
        "complianceId" : {
          "type" : "string"
        },
        "totalDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "adjustmentInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/AdjustmentInfo"
          }
        },
        "purchaseOrderPreviousStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "ReceivingShipment", "RequiredApproval", "Approved", "WaitingShipment", "Closed", "Cancel", "Decline", "ReceivedShipment" ]
        },
        "assignedShipments" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shipment"
          }
        },
        "inventoryId" : {
          "type" : "string"
        },
        "costSource" : {
          "type" : "string"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "approvedByMember" : {
          "$ref" : "#/definitions/Employee"
        },
        "dateForExciseTaxCalculation" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "QATestResult" : {
      "type" : "object",
      "properties" : {
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "thcName" : {
          "type" : "string"
        },
        "cbnName" : {
          "type" : "string"
        },
        "cbdName" : {
          "type" : "string"
        },
        "cbdaName" : {
          "type" : "string"
        },
        "thcaName" : {
          "type" : "string"
        },
        "cbgName" : {
          "type" : "string"
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        }
      }
    },
    "Shipment" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "shippingManifestId" : {
          "type" : "string"
        },
        "shippingManifestNo" : {
          "type" : "string"
        },
        "productMetrcInfo" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductMetrcInfo"
          }
        },
        "shipperInformation" : {
          "$ref" : "#/definitions/ShipperInformation"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "shippedDateTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "estimatedArrival" : {
          "type" : "integer",
          "format" : "int64"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "distributorInformation" : {
          "$ref" : "#/definitions/DistributorInformation"
        },
        "shipmentStatus" : {
          "type" : "string",
          "enum" : [ "Incoming", "Accepted", "Rejected" ]
        },
        "acceptedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "acceptedBy" : {
          "type" : "string"
        },
        "acceptedSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "assigned" : {
          "type" : "boolean"
        }
      }
    },
    "ShipperInformation" : {
      "type" : "object",
      "properties" : {
        "companyId" : {
          "type" : "string"
        },
        "customerCompanyId" : {
          "type" : "string"
        },
        "companyContactId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "licenseId" : {
          "type" : "string"
        },
        "vendorName" : {
          "type" : "string"
        }
      }
    },
    "ShippingBatchDetails" : {
      "type" : "object",
      "properties" : {
        "batchId" : {
          "type" : "string"
        },
        "batchSku" : {
          "type" : "string"
        },
        "metrcLabel" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "trackHarvestBatchId" : {
          "type" : "string"
        },
        "trackHarvestDate" : {
          "type" : "string"
        },
        "batchPurchaseDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "overrideInventoryId" : {
          "type" : "string"
        },
        "reqMetrcLabel" : {
          "type" : "string"
        },
        "metrcStatus" : {
          "type" : "string",
          "enum" : [ "Created", "Error", "NotCreated" ]
        },
        "errorMessage" : {
          "type" : "string"
        },
        "metrcPackageDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MetrcPackageDetails"
          }
        },
        "sellBy" : {
          "type" : "integer",
          "format" : "int64"
        },
        "expirationDate" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "TrackingPackages" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "packageLabel" : {
          "type" : "string"
        },
        "batchSku" : {
          "type" : "string"
        },
        "referenceNo" : {
          "type" : "string"
        },
        "dateSent" : {
          "type" : "integer",
          "format" : "int64"
        },
        "testingCompanyId" : {
          "type" : "string"
        },
        "trackHarvestBatchId" : {
          "type" : "string"
        },
        "trackHarvestBatchDate" : {
          "type" : "string"
        },
        "batchExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "sellBy" : {
          "type" : "integer",
          "format" : "int64"
        },
        "batchAddRequest" : {
          "$ref" : "#/definitions/POBatchAddRequest"
        }
      }
    },
    "POProductAddRequest" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "requestQuantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "notes" : {
          "type" : "string"
        },
        "totalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalTotalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        }
      }
    },
    "PartnerPurchaseOrderAddRequest" : {
      "type" : "object",
      "properties" : {
        "vendorId" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "string"
        },
        "poPaymentTerms" : {
          "type" : "string"
        },
        "paymentType" : {
          "type" : "string"
        },
        "poProductAddRequestList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POProductAddRequest"
          }
        },
        "customTermDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "reference" : {
          "type" : "string"
        },
        "transactionType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fees" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "customerType" : {
          "type" : "string",
          "enum" : [ "VENDOR", "CUSTOMER_COMPANY" ]
        },
        "deliveryAddress" : {
          "type" : "string"
        },
        "deliveryTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "termsAndCondition" : {
          "type" : "string"
        },
        "flowerSourceType" : {
          "type" : "string",
          "enum" : [ "CULTIVATOR_DIRECT", "DISTRIBUTOR" ]
        },
        "purchaseOrderDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "licenseId" : {
          "type" : "string"
        },
        "adjustmentInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/AdjustmentInfo"
          }
        },
        "inventoryId" : {
          "type" : "string"
        },
        "complianceManifestNumber" : {
          "type" : "string"
        },
        "costSource" : {
          "type" : "string"
        },
        "currentEmployeeId" : {
          "type" : "string"
        },
        "dateForExciseTaxCalculation" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "PartnerPurchaseOrderUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "poNumber" : {
          "type" : "string"
        },
        "parentPOId" : {
          "type" : "string"
        },
        "parentPONumber" : {
          "type" : "string"
        },
        "approvedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "approvedBy" : {
          "type" : "string"
        },
        "approvedSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "poPaymentTerms" : {
          "type" : "string",
          "enum" : [ "NET_30", "COD", "NET_45", "NET_60", "NET_15", "NET_7", "CUSTOM_DATE" ]
        },
        "purchaseOrderStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "ReceivingShipment", "RequiredApproval", "Approved", "WaitingShipment", "Closed", "Cancel", "Decline", "ReceivedShipment" ]
        },
        "poPaymentOptions" : {
          "type" : "string",
          "enum" : [ "CASH", "CREDIT", "DEBIT", "COD", "ACH_TRANSFER", "CHEQUE", "BLAZECAPITAL", "OTHER" ]
        },
        "companyAssetList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "poProductRequestList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POProductRequest"
          }
        },
        "vendorId" : {
          "type" : "string"
        },
        "receivedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveredBy" : {
          "type" : "string"
        },
        "receivedByEmployeeId" : {
          "type" : "string"
        },
        "createdByEmployeeId" : {
          "type" : "string"
        },
        "completedByEmployeeId" : {
          "type" : "string"
        },
        "poType" : {
          "type" : "string",
          "enum" : [ "Normal", "BackOrder" ]
        },
        "completedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "notes" : {
          "type" : "string"
        },
        "declineReason" : {
          "type" : "string"
        },
        "declineDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "amountPaid" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "submitForApprovalDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archive" : {
          "type" : "boolean"
        },
        "archiveDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "customTermDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "managerReceiveSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "reference" : {
          "type" : "string"
        },
        "qbPurchaseOrderRef" : {
          "type" : "string"
        },
        "grandTotal" : {
          "type" : "number"
        },
        "totalTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPreCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxResult" : {
          "$ref" : "#/definitions/TaxResult"
        },
        "transactionType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "customerType" : {
          "type" : "string",
          "enum" : [ "VENDOR", "CUSTOMER_COMPANY" ]
        },
        "deliveryAddress" : {
          "type" : "string"
        },
        "deliveryTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "termsAndCondition" : {
          "type" : "string"
        },
        "deliveryCharge" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableDeliveryCharge" : {
          "type" : "boolean"
        },
        "poQrCodeAsset" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "poQrCodeUrl" : {
          "type" : "string"
        },
        "flowerSourceType" : {
          "type" : "string",
          "enum" : [ "CULTIVATOR_DIRECT", "DISTRIBUTOR" ]
        },
        "shipmentBillId" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fees" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchaseOrderDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dueDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "licenseId" : {
          "type" : "string"
        },
        "manualClose" : {
          "type" : "boolean"
        },
        "complianceManifestNumber" : {
          "type" : "string"
        },
        "complianceId" : {
          "type" : "string"
        },
        "totalDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "adjustmentInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/AdjustmentInfo"
          }
        },
        "purchaseOrderPreviousStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "ReceivingShipment", "RequiredApproval", "Approved", "WaitingShipment", "Closed", "Cancel", "Decline", "ReceivedShipment" ]
        },
        "assignedShipments" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shipment"
          }
        },
        "inventoryId" : {
          "type" : "string"
        },
        "costSource" : {
          "type" : "string"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "approvedByMember" : {
          "$ref" : "#/definitions/Employee"
        },
        "currentEmployeeId" : {
          "type" : "string"
        },
        "dateForExciseTaxCalculation" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "BundleItemResult" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "productName" : {
          "type" : "string"
        },
        "productIdBSON" : {
          "$ref" : "#/definitions/ObjectId"
        }
      }
    },
    "POActivity" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "purchaseOrderId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "log" : {
          "type" : "string"
        },
        "activityType" : {
          "type" : "string",
          "enum" : [ "NORMAL_LOG", "COMMENT" ]
        }
      }
    },
    "POProductRequestResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "categoryId" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "productName" : {
          "type" : "string"
        },
        "requestStatus" : {
          "type" : "string",
          "enum" : [ "PENDING", "DECLINED", "ACCEPTED" ]
        },
        "requestQuantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "receivedQuantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "trackTraceSystem" : {
          "type" : "string",
          "enum" : [ "MANUAL", "METRC", "BIOTRACK", "UTAH_ICS", "NM_CCD", "OTHER" ]
        },
        "trackingPackagesList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/TrackingPackages"
          }
        },
        "notes" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "exciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalExciseTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCultivationTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "declineReason" : {
          "type" : "string"
        },
        "batchQuantityMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "batches" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POBatchItem"
          }
        },
        "receiveBatchStatus" : {
          "type" : "string",
          "enum" : [ "IN_TRANSFER", "RECEIVED", "IN_TESTING", "READY_FOR_SALE", "PROCESSING", "ERROR", "FINISHED" ]
        },
        "batchAddDetails" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POBatchAddRequest"
          }
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "finalTotalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "txnLineID" : {
          "type" : "string"
        },
        "txnLineIDMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "qaTestResult" : {
          "$ref" : "#/definitions/QATestResult"
        },
        "product" : {
          "$ref" : "#/definitions/Product"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItemResult"
          }
        }
      }
    },
    "PurchaseOrderItemResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "poNumber" : {
          "type" : "string"
        },
        "parentPOId" : {
          "type" : "string"
        },
        "parentPONumber" : {
          "type" : "string"
        },
        "approvedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "approvedBy" : {
          "type" : "string"
        },
        "approvedSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "poPaymentTerms" : {
          "type" : "string",
          "enum" : [ "NET_30", "COD", "NET_45", "NET_60", "NET_15", "NET_7", "CUSTOM_DATE" ]
        },
        "purchaseOrderStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "ReceivingShipment", "RequiredApproval", "Approved", "WaitingShipment", "Closed", "Cancel", "Decline", "ReceivedShipment" ]
        },
        "poPaymentOptions" : {
          "type" : "string",
          "enum" : [ "CASH", "CREDIT", "DEBIT", "COD", "ACH_TRANSFER", "CHEQUE", "BLAZECAPITAL", "OTHER" ]
        },
        "companyAssetList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "poProductRequestList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POProductRequest"
          }
        },
        "vendorId" : {
          "type" : "string"
        },
        "receivedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveredBy" : {
          "type" : "string"
        },
        "receivedByEmployeeId" : {
          "type" : "string"
        },
        "createdByEmployeeId" : {
          "type" : "string"
        },
        "completedByEmployeeId" : {
          "type" : "string"
        },
        "poType" : {
          "type" : "string",
          "enum" : [ "Normal", "BackOrder" ]
        },
        "completedDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "notes" : {
          "type" : "string"
        },
        "declineReason" : {
          "type" : "string"
        },
        "declineDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalCost" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "amountPaid" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "submitForApprovalDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archive" : {
          "type" : "boolean"
        },
        "archiveDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "customTermDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "managerReceiveSignature" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "reference" : {
          "type" : "string"
        },
        "qbPurchaseOrderRef" : {
          "type" : "string"
        },
        "grandTotal" : {
          "type" : "number"
        },
        "totalTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalPreCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "totalCalcTax" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "taxResult" : {
          "$ref" : "#/definitions/TaxResult"
        },
        "transactionType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "customerType" : {
          "type" : "string",
          "enum" : [ "VENDOR", "CUSTOMER_COMPANY" ]
        },
        "deliveryAddress" : {
          "type" : "string"
        },
        "deliveryTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "termsAndCondition" : {
          "type" : "string"
        },
        "deliveryCharge" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "enableDeliveryCharge" : {
          "type" : "boolean"
        },
        "poQrCodeAsset" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "poQrCodeUrl" : {
          "type" : "string"
        },
        "flowerSourceType" : {
          "type" : "string",
          "enum" : [ "CULTIVATOR_DIRECT", "DISTRIBUTOR" ]
        },
        "shipmentBillId" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "fees" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchaseOrderDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dueDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "licenseId" : {
          "type" : "string"
        },
        "manualClose" : {
          "type" : "boolean"
        },
        "complianceManifestNumber" : {
          "type" : "string"
        },
        "complianceId" : {
          "type" : "string"
        },
        "totalDiscount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "adjustmentInfoList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/AdjustmentInfo"
          }
        },
        "purchaseOrderPreviousStatus" : {
          "type" : "string",
          "enum" : [ "InProgress", "ReceivingShipment", "RequiredApproval", "Approved", "WaitingShipment", "Closed", "Cancel", "Decline", "ReceivedShipment" ]
        },
        "assignedShipments" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shipment"
          }
        },
        "inventoryId" : {
          "type" : "string"
        },
        "costSource" : {
          "type" : "string"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "approvedByMember" : {
          "$ref" : "#/definitions/Employee"
        },
        "poProductRequestResultList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POProductRequestResult"
          }
        },
        "poActivityLog" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/POActivity"
          }
        },
        "companyLogo" : {
          "type" : "string"
        },
        "dateForExciseTaxCalculation" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "SearchResultPurchaseOrderItemResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PurchaseOrderItemResult"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "InventoryOperation" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "action" : {
          "type" : "string",
          "enum" : [ "Adjust", "Revert" ]
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "runningTotal" : {
          "type" : "number",
          "minimum" : 0.0,
          "exclusiveMinimum" : false
        },
        "prepackaged" : {
          "type" : "boolean"
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "batchId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "sourceType" : {
          "type" : "string",
          "enum" : [ "None", "PurchaseOrder", "Transaction", "RefundTransaction", "Transfer", "Reconciliation", "ProductBatch", "Prepackage", "ShippingManifest", "StockReset", "Product", "System", "DerivedProduct", "BundleProduct", "RevertShippingManifest", "RejectShippingManifest", "MetrcProductBatch", "VoidTransaction" ]
        },
        "sourceId" : {
          "type" : "string"
        },
        "sourceChildId" : {
          "type" : "string"
        },
        "requestId" : {
          "type" : "string"
        },
        "subSourceAction" : {
          "type" : "string",
          "enum" : [ "AddBatch", "DestroyBatch", "UpdateBatch", "MergeBatch", "AddPrepackage", "UpdatePrepackage", "ReducePrepackage", "DeletePrepackage", "DeletePrepackageItem", "Sale", "Refund", "Reconcile", "Transfer", "AddTestSample", "DeleteTestSample", "UpdateTestSample", "ConvertToProduct", "OutgoingMetrcTransfer", "Void", "SplitBatch" ]
        },
        "reverted" : {
          "type" : "boolean"
        },
        "appliedFIFO" : {
          "type" : "boolean"
        }
      }
    },
    "ReconciliationHistory" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "requestNo" : {
          "type" : "integer",
          "format" : "int64"
        },
        "employeeId" : {
          "type" : "string"
        },
        "transNo" : {
          "type" : "string"
        },
        "metrcAdjustmentOption" : {
          "type" : "string",
          "enum" : [ "ADJUST_BY_DIFFERENCE", "ADJUST_BY_FINAL_AMOUNT", "DO_NOT_ADJUST_METRC" ]
        },
        "complianceAdjustmentOption" : {
          "type" : "string",
          "enum" : [ "ADJUST_BY_DIFFERENCE", "ADJUST_BY_FINAL_AMOUNT", "DO_NOT_ADJUST" ]
        },
        "complianceFinishedPackageTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "reconciliations" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ReconciliationHistoryList"
          }
        },
        "batchQuantityInfoMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "batchReconcile" : {
          "type" : "boolean"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "audit" : {
          "type" : "boolean"
        },
        "note" : {
          "type" : "string"
        },
        "blind" : {
          "type" : "boolean"
        },
        "forceScan" : {
          "type" : "boolean"
        },
        "fullInventory" : {
          "type" : "boolean"
        },
        "complianceReason" : {
          "type" : "string"
        },
        "reconciliationReason" : {
          "type" : "string",
          "enum" : [ "AUDIT", "DAMAGED", "WASTE_DISPLAY", "WASTE_EXPIRED", "WASTE_RETURN", "WASTE_DISPOSAL", "DISPLAY_SAMPLE", "FREE_MEDICINAL_CANNABIS_GOODS", "INCORRECT_QUANTITY", "MANDATED_DESTRUCTION", "OVERSOLD", "PUBLIC_SAFETY_RECALL", "SCALE_VARIANCE", "THEFT", "UNDERSOLD", "VOLUNTARY_SURRENDER", "STORE_TRANSFER", "PO_ERROR", "SAMPLES", "RETURN_TO_VENDOR", "OTHER" ]
        }
      }
    },
    "ReconciliationHistoryList" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "productName" : {
          "type" : "string"
        },
        "oldQuantity" : {
          "type" : "number"
        },
        "newQuantity" : {
          "type" : "number"
        },
        "prePackageItemId" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "errorMsg" : {
          "type" : "string"
        },
        "reportLoss" : {
          "type" : "boolean"
        },
        "reconciliationReason" : {
          "type" : "string",
          "enum" : [ "AUDIT", "DAMAGED", "WASTE_DISPLAY", "WASTE_EXPIRED", "WASTE_RETURN", "WASTE_DISPOSAL", "DISPLAY_SAMPLE", "FREE_MEDICINAL_CANNABIS_GOODS", "INCORRECT_QUANTITY", "MANDATED_DESTRUCTION", "OVERSOLD", "PUBLIC_SAFETY_RECALL", "SCALE_VARIANCE", "THEFT", "UNDERSOLD", "VOLUNTARY_SURRENDER", "STORE_TRANSFER", "PO_ERROR", "SAMPLES", "RETURN_TO_VENDOR", "OTHER" ]
        },
        "note" : {
          "$ref" : "#/definitions/Note"
        },
        "batchId" : {
          "type" : "string"
        },
        "batchSku" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "metrcReason" : {
          "type" : "string"
        },
        "complianceReason" : {
          "type" : "string"
        },
        "operations" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/InventoryOperation"
          }
        }
      }
    },
    "SearchResultReconciliationHistory" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ReconciliationHistory"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "PartnerReconciliationRequest" : {
      "type" : "object",
      "properties" : {
        "terminalId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "reportLoss" : {
          "type" : "boolean"
        },
        "note" : {
          "type" : "string"
        },
        "productLossRequests" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductLossRequest"
          }
        },
        "batchReconcile" : {
          "type" : "boolean"
        },
        "metrcAdjustmentOption" : {
          "type" : "string",
          "enum" : [ "ADJUST_BY_DIFFERENCE", "ADJUST_BY_FINAL_AMOUNT", "DO_NOT_ADJUST_METRC" ]
        },
        "complianceAdjustmentOption" : {
          "type" : "string",
          "enum" : [ "ADJUST_BY_DIFFERENCE", "ADJUST_BY_FINAL_AMOUNT", "DO_NOT_ADJUST" ]
        },
        "audit" : {
          "type" : "boolean"
        },
        "blind" : {
          "type" : "boolean"
        },
        "forceScan" : {
          "type" : "boolean"
        },
        "fullInventory" : {
          "type" : "boolean"
        },
        "complianceReason" : {
          "type" : "string"
        },
        "reconciliationReason" : {
          "type" : "string",
          "enum" : [ "AUDIT", "DAMAGED", "WASTE_DISPLAY", "WASTE_EXPIRED", "WASTE_RETURN", "WASTE_DISPOSAL", "DISPLAY_SAMPLE", "FREE_MEDICINAL_CANNABIS_GOODS", "INCORRECT_QUANTITY", "MANDATED_DESTRUCTION", "OVERSOLD", "PUBLIC_SAFETY_RECALL", "SCALE_VARIANCE", "THEFT", "UNDERSOLD", "VOLUNTARY_SURRENDER", "STORE_TRANSFER", "PO_ERROR", "SAMPLES", "RETURN_TO_VENDOR", "OTHER" ]
        },
        "employeeId" : {
          "type" : "string"
        }
      }
    },
    "ProductLossRequest" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "batchId" : {
          "type" : "string"
        },
        "prepackageItemId" : {
          "type" : "string"
        },
        "reconciliationReason" : {
          "type" : "string",
          "enum" : [ "AUDIT", "DAMAGED", "WASTE_DISPLAY", "WASTE_EXPIRED", "WASTE_RETURN", "WASTE_DISPOSAL", "DISPLAY_SAMPLE", "FREE_MEDICINAL_CANNABIS_GOODS", "INCORRECT_QUANTITY", "MANDATED_DESTRUCTION", "OVERSOLD", "PUBLIC_SAFETY_RECALL", "SCALE_VARIANCE", "THEFT", "UNDERSOLD", "VOLUNTARY_SURRENDER", "STORE_TRANSFER", "PO_ERROR", "SAMPLES", "RETURN_TO_VENDOR", "OTHER" ]
        },
        "note" : {
          "type" : "string"
        },
        "batchSku" : {
          "type" : "string"
        },
        "metrcReason" : {
          "type" : "string"
        },
        "complianceReason" : {
          "type" : "string"
        }
      }
    },
    "SearchResultBlazeRegion" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BlazeRegion"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SearchResultProductCategory" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductCategory"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "ProductWithInfo" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "checkSum" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archived" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "importSrc" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchasePrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "active" : {
          "type" : "boolean"
        },
        "genetics" : {
          "type" : "string"
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "priceBreaks" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceBreak"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "quantities" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductQuantity"
          }
        },
        "instock" : {
          "type" : "boolean"
        },
        "brandId" : {
          "type" : "string"
        },
        "category" : {
          "$ref" : "#/definitions/ProductCategory"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "customTaxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "brand" : {
          "$ref" : "#/definitions/Brand"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbItemRef" : {
          "type" : "string"
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "companyPricingTemplateId" : {
          "type" : "string"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "complianceId" : {
          "type" : "string"
        },
        "toleranceId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "salesPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lastWMSyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncStatus" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "wmOnlineSellable" : {
          "type" : "boolean"
        },
        "totalCommittedQuantity" : {
          "type" : "number"
        },
        "totalSellableQuantity" : {
          "type" : "number"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "dispatchPrepackageItemId" : {
          "type" : "string"
        },
        "committedQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "sellableQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "prepackageQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/PrepackageQuantity"
          }
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmBrandId" : {
          "type" : "string"
        },
        "wmTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "secondaryVendorsName" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "totalRemaining" : {
          "type" : "number"
        },
        "totalConsumerOrderQuantity" : {
          "type" : "number"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "secondaryShopIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorName" : {
          "type" : "string"
        },
        "secondaryVendorsIds" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "shopName" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "totalInventory" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "armsLengthType" : {
          "type" : "string"
        },
        "purchaseLimits" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PurchaseLimit"
          }
        },
        "productInfoSourcingStrategy" : {
          "type" : "string",
          "enum" : [ "NONE", "MANUAL", "FIFO_BATCH", "LIFO_BATCH" ]
        },
        "activeBatchId" : {
          "type" : "string"
        },
        "activeBatchSku" : {
          "type" : "string"
        },
        "listedByElastic" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "masterId" : {
          "type" : "string"
        },
        "companyProductId" : {
          "type" : "string"
        },
        "parentId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shopsList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shop"
          }
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "component" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "productFamilyId" : {
          "type" : "string"
        },
        "selectedInventories" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "trackPackageLabels" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "provider" : {
          "type" : "string"
        },
        "loyaltyAccrual" : {
          "type" : "boolean"
        },
        "metadataMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "potency" : {
          "type" : "boolean"
        },
        "childProduct" : {
          "type" : "boolean"
        },
        "companyLinkId" : {
          "type" : "string",
          "readOnly" : true
        },
        "syncToThirdPartyMenus" : {
          "type" : "boolean",
          "readOnly" : true
        }
      }
    },
    "SearchResultProduct" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Product"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SearchResultProductWithInfo" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductWithInfo"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "BrandResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "website" : {
          "type" : "string"
        },
        "phoneNo" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "brandLogo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "vendorList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "externalId" : {
          "type" : "string"
        },
        "platformBrandId" : {
          "type" : "string"
        },
        "globalBrandId" : {
          "type" : "string"
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int64"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int64"
        },
        "vendors" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Vendor"
          }
        },
        "thirdPartyBrandName" : {
          "type" : "string"
        },
        "default" : {
          "type" : "boolean"
        }
      }
    },
    "SearchResultBrandResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BrandResult"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "ListResultInventory" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Inventory"
          }
        }
      }
    },
    "ListResultTerminal" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Terminal"
          }
        }
      }
    },
    "ProductInventoryInfo" : {
      "type" : "object",
      "properties" : {
        "productId" : {
          "type" : "string"
        },
        "lowThreshold" : {
          "type" : "number"
        },
        "quantities" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductQuantity"
          }
        }
      }
    },
    "ProductWithRelatedQuantities" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "checkSum" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archived" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "importSrc" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchasePrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "active" : {
          "type" : "boolean"
        },
        "genetics" : {
          "type" : "string"
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "priceBreaks" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceBreak"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "quantities" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductQuantity"
          }
        },
        "instock" : {
          "type" : "boolean"
        },
        "brandId" : {
          "type" : "string"
        },
        "category" : {
          "$ref" : "#/definitions/ProductCategory"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "customTaxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "brand" : {
          "$ref" : "#/definitions/Brand"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbItemRef" : {
          "type" : "string"
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "companyPricingTemplateId" : {
          "type" : "string"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "complianceId" : {
          "type" : "string"
        },
        "toleranceId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "salesPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lastWMSyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncStatus" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "wmOnlineSellable" : {
          "type" : "boolean"
        },
        "totalCommittedQuantity" : {
          "type" : "number"
        },
        "totalSellableQuantity" : {
          "type" : "number"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "dispatchPrepackageItemId" : {
          "type" : "string"
        },
        "committedQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "sellableQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "prepackageQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/PrepackageQuantity"
          }
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmBrandId" : {
          "type" : "string"
        },
        "wmTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "secondaryVendorsName" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "totalRemaining" : {
          "type" : "number"
        },
        "totalConsumerOrderQuantity" : {
          "type" : "number"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "secondaryShopIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorName" : {
          "type" : "string"
        },
        "secondaryVendorsIds" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "shopName" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "totalInventory" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "armsLengthType" : {
          "type" : "string"
        },
        "purchaseLimits" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PurchaseLimit"
          }
        },
        "productInfoSourcingStrategy" : {
          "type" : "string",
          "enum" : [ "NONE", "MANUAL", "FIFO_BATCH", "LIFO_BATCH" ]
        },
        "activeBatchId" : {
          "type" : "string"
        },
        "activeBatchSku" : {
          "type" : "string"
        },
        "listedByElastic" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "masterId" : {
          "type" : "string"
        },
        "companyProductId" : {
          "type" : "string"
        },
        "parentId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shopsList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shop"
          }
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "component" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "productFamilyId" : {
          "type" : "string"
        },
        "selectedInventories" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "trackPackageLabels" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "provider" : {
          "type" : "string"
        },
        "loyaltyAccrual" : {
          "type" : "boolean"
        },
        "metadataMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "otherLocations" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/ProductInventoryInfo"
          }
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "potency" : {
          "type" : "boolean"
        },
        "childProduct" : {
          "type" : "boolean"
        },
        "companyLinkId" : {
          "type" : "string",
          "readOnly" : true
        },
        "syncToThirdPartyMenus" : {
          "type" : "boolean",
          "readOnly" : true
        }
      }
    },
    "Contract" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "text" : {
          "type" : "string"
        },
        "version" : {
          "type" : "integer",
          "format" : "int32"
        },
        "required" : {
          "type" : "boolean"
        },
        "pdfFile" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "enableWitnessSignature" : {
          "type" : "boolean"
        },
        "enableEmployeeSignature" : {
          "type" : "boolean"
        },
        "contentType" : {
          "type" : "string",
          "enum" : [ "TEXT", "PDF" ]
        }
      }
    },
    "StoreInfoResult" : {
      "type" : "object",
      "properties" : {
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "contract" : {
          "$ref" : "#/definitions/Contract"
        },
        "toleranceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/ProductWeightTolerance"
          }
        },
        "companyLogoURL" : {
          "type" : "string"
        }
      }
    },
    "SearchResultDoctor" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Doctor"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "PartnerWebHook" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "url" : {
          "type" : "string"
        },
        "webHookType" : {
          "type" : "string",
          "enum" : [ "NEW_CONSUMER_ORDER", "NEW_CONSUMER_SIGNUP", "UPDATE_CONSUMER_ORDER", "UPDATE_CONSUMER_USER", "NEW_MEMBER", "UPDATE_MEMBER", "CREATE_TRANSACTION", "UPDATE_TRANSACTION", "CANCEL_TRANSACTION", "COMPLETE_TRANSACTION", "UPDATE_PRODUCT" ]
        },
        "webHookUrls" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "PartnerWebHookAddRequest" : {
      "type" : "object",
      "required" : [ "webHookType", "webHookUrls" ],
      "properties" : {
        "url" : {
          "type" : "string"
        },
        "webHookType" : {
          "type" : "string",
          "enum" : [ "NEW_CONSUMER_ORDER", "NEW_CONSUMER_SIGNUP", "UPDATE_CONSUMER_ORDER", "UPDATE_CONSUMER_USER", "NEW_MEMBER", "UPDATE_MEMBER", "CREATE_TRANSACTION", "UPDATE_TRANSACTION", "CANCEL_TRANSACTION", "COMPLETE_TRANSACTION", "UPDATE_PRODUCT" ]
        },
        "shopId" : {
          "type" : "string"
        },
        "webHookUrls" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "TaxInfoResult" : {
      "type" : "object",
      "properties" : {
        "taxTerritory" : {
          "type" : "string",
          "enum" : [ "Default", "City", "County", "State", "Federal" ]
        },
        "name" : {
          "type" : "string"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "City", "County", "State", "Federal", "Excise", "Municipal" ]
        },
        "appendTax" : {
          "type" : "boolean"
        }
      }
    },
    "SearchResultInventory" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Inventory"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SearchResultTerminal" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Terminal"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SearchResultTransaction" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Transaction"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "EmployeePackByRequest" : {
      "type" : "object",
      "properties" : {
        "packedBy" : {
          "type" : "string"
        }
      }
    },
    "EmployeePrepareByRequest" : {
      "type" : "object",
      "properties" : {
        "preparedBy" : {
          "type" : "string"
        }
      }
    },
    "PartnerQueueAddMemberRequest" : {
      "type" : "object",
      "properties" : {
        "memberId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "associatePickerUpOrder" : {
          "type" : "string"
        },
        "createOnFleetTask" : {
          "type" : "boolean"
        },
        "memo" : {
          "type" : "string"
        },
        "onFleetTeamId" : {
          "type" : "string"
        },
        "createTookanTask" : {
          "type" : "boolean"
        },
        "tookanTeamId" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "orderTags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "kioskCheckInId" : {
          "type" : "string"
        },
        "deliveryDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "pickUpDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completeAfter" : {
          "type" : "integer",
          "format" : "int64"
        },
        "dispatchRegionId" : {
          "type" : "string"
        },
        "inventoryId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "defaultRegionByAddress" : {
          "type" : "boolean"
        }
      }
    },
    "PartnerOrderScheduleUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "scheduleDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "completeAfter" : {
          "type" : "integer",
          "format" : "int64"
        },
        "employeeId" : {
          "type" : "string"
        }
      }
    },
    "PartnerTransactionDeleteRequest" : {
      "type" : "object",
      "properties" : {
        "reason" : {
          "type" : "string"
        },
        "pin" : {
          "type" : "string"
        },
        "action" : {
          "type" : "string"
        },
        "overrideScope" : {
          "type" : "string",
          "enum" : [ "PRODUCT", "CART", "PROMOTION" ]
        },
        "targetId" : {
          "type" : "string"
        },
        "targetName" : {
          "type" : "string"
        },
        "terminalId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        }
      }
    },
    "PartnerVendorUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "importId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "phone" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "fax" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "description" : {
          "type" : "string"
        },
        "website" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "licenseNumber" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "backOrderEnabled" : {
          "type" : "boolean"
        },
        "licenseExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "armsLengthType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "brands" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbVendorRef" : {
          "type" : "array",
          "items" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        },
        "companyType" : {
          "type" : "string",
          "enum" : [ "DISTRIBUTOR", "CULTIVATOR", "RETAILER", "MANUFACTURER", "TRANSPORTER", "OTHER", "TESTING_FACILITY" ]
        },
        "additionalAddressList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "credits" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "mobileNumber" : {
          "type" : "string"
        },
        "licenceType" : {
          "type" : "string",
          "enum" : [ "RECREATIONAL", "MEDICINAL", "BOTH" ]
        },
        "relatedEntity" : {
          "type" : "boolean"
        },
        "vendorType" : {
          "type" : "string",
          "enum" : [ "CUSTOMER", "VENDOR", "BOTH" ]
        },
        "dbaName" : {
          "type" : "string"
        },
        "companyLicenses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyLicense"
          }
        },
        "createdBy" : {
          "type" : "string"
        },
        "accountOwnerId" : {
          "type" : "string"
        },
        "defaultPaymentTerm" : {
          "type" : "string"
        },
        "salesPerson" : {
          "type" : "string"
        },
        "contactPerson" : {
          "type" : "string"
        },
        "defaultContactId" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "toDefault" : {
          "type" : "boolean"
        },
        "connectedShop" : {
          "type" : "string"
        },
        "platformVendorId" : {
          "type" : "string"
        },
        "employeeId" : {
          "type" : "string"
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "vendorKey" : {
          "type" : "string",
          "readOnly" : true
        }
      }
    },
    "VendorResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "importId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "phone" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "fax" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "description" : {
          "type" : "string"
        },
        "website" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "licenseNumber" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "backOrderEnabled" : {
          "type" : "boolean"
        },
        "licenseExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "armsLengthType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "brands" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbVendorRef" : {
          "type" : "array",
          "items" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        },
        "companyType" : {
          "type" : "string",
          "enum" : [ "DISTRIBUTOR", "CULTIVATOR", "RETAILER", "MANUFACTURER", "TRANSPORTER", "OTHER", "TESTING_FACILITY" ]
        },
        "additionalAddressList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "credits" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "mobileNumber" : {
          "type" : "string"
        },
        "licenceType" : {
          "type" : "string",
          "enum" : [ "RECREATIONAL", "MEDICINAL", "BOTH" ]
        },
        "relatedEntity" : {
          "type" : "boolean"
        },
        "vendorType" : {
          "type" : "string",
          "enum" : [ "CUSTOMER", "VENDOR", "BOTH" ]
        },
        "dbaName" : {
          "type" : "string"
        },
        "companyLicenses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyLicense"
          }
        },
        "createdBy" : {
          "type" : "string"
        },
        "accountOwnerId" : {
          "type" : "string"
        },
        "defaultPaymentTerm" : {
          "type" : "string"
        },
        "salesPerson" : {
          "type" : "string"
        },
        "contactPerson" : {
          "type" : "string"
        },
        "defaultContactId" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "toDefault" : {
          "type" : "boolean"
        },
        "connectedShop" : {
          "type" : "string"
        },
        "platformVendorId" : {
          "type" : "string"
        },
        "brandList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Brand"
          }
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "vendorKey" : {
          "type" : "string",
          "readOnly" : true
        }
      }
    },
    "SearchResultVendor" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Vendor"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "VendorAddRequest" : {
      "type" : "object",
      "properties" : {
        "importId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "medical" : {
          "type" : "boolean"
        },
        "phone" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "website" : {
          "type" : "string"
        },
        "fax" : {
          "type" : "string"
        },
        "address" : {
          "$ref" : "#/definitions/Address"
        },
        "description" : {
          "type" : "string"
        },
        "contactFirstName" : {
          "type" : "string"
        },
        "contactLastName" : {
          "type" : "string"
        },
        "licenseNumber" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "licenseExpirationDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "armsLengthType" : {
          "type" : "string",
          "enum" : [ "ARMS_LENGTH", "NON_ARMS_LENGTH" ]
        },
        "brands" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "companyType" : {
          "type" : "string",
          "enum" : [ "DISTRIBUTOR", "CULTIVATOR", "RETAILER", "MANUFACTURER", "TRANSPORTER", "OTHER", "TESTING_FACILITY" ]
        },
        "additionalAddressList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Address"
          }
        },
        "licenceType" : {
          "type" : "string",
          "enum" : [ "RECREATIONAL", "MEDICINAL", "BOTH" ]
        },
        "relatedEntity" : {
          "type" : "boolean"
        },
        "mobileNumber" : {
          "type" : "string"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "vendorType" : {
          "type" : "string",
          "enum" : [ "CUSTOMER", "VENDOR", "BOTH" ]
        },
        "dbaName" : {
          "type" : "string"
        },
        "companyLicenses" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyLicense"
          }
        },
        "employeeId" : {
          "type" : "string"
        },
        "accountOwnerId" : {
          "type" : "string"
        },
        "defaultPaymentTerm" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "salesPerson" : {
          "type" : "string"
        },
        "contactPerson" : {
          "type" : "string"
        },
        "defaultContactId" : {
          "type" : "string"
        },
        "connectedShop" : {
          "type" : "string"
        },
        "backOrderEnabled" : {
          "type" : "boolean"
        },
        "platformVendorId" : {
          "type" : "string"
        }
      }
    },
    "SearchResultPartnerWebHook" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PartnerWebHook"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "BrandAddRequest" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "website" : {
          "type" : "string"
        },
        "phoneNo" : {
          "type" : "string"
        },
        "email" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "brandLogo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "logoUrl" : {
          "type" : "string"
        },
        "vendorList" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "platformBrandId" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int64"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "ProductCategoryView" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "blazeCategoryId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "complianceId" : {
          "type" : "string"
        },
        "archived" : {
          "type" : "boolean"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "topLevelCategoryName" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "parentCategoryId" : {
          "type" : "string"
        },
        "companyCategoryId" : {
          "type" : "string"
        },
        "wmCategory" : {
          "type" : "string"
        },
        "wmCategoryName" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "masterId" : {
          "type" : "string"
        },
        "platformCategoryId" : {
          "type" : "string"
        },
        "platformParentCategoryId" : {
          "type" : "string"
        },
        "masterCategory" : {
          "$ref" : "#/definitions/MasterCategory"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "labelTemplateId" : {
          "type" : "string"
        },
        "categoryApp" : {
          "type" : "string",
          "enum" : [ "DISTRO", "MANUFACTURING" ]
        },
        "unitTrackingEnabled" : {
          "type" : "boolean"
        },
        "giftCard" : {
          "type" : "boolean"
        }
      }
    },
    "ListResultProductCategoryView" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductCategoryView"
          }
        }
      }
    },
    "ProductCategoryAddRequest" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "active" : {
          "type" : "boolean"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "wmCategory" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "complianceId" : {
          "type" : "string"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "parentId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "categoryApp" : {
          "type" : "string",
          "enum" : [ "DISTRO", "MANUFACTURING" ]
        },
        "labelTemplateId" : {
          "type" : "string"
        },
        "platformCategoryId" : {
          "type" : "string"
        },
        "platformParentCategoryId" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        }
      }
    },
    "DateSearchResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "beforeDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "afterDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "nextCursor" : {
          "type" : "string"
        }
      }
    },
    "DateSearchResultPartnerCompanyCategoryResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PartnerCompanyCategoryResult"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "beforeDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "afterDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "nextCursor" : {
          "type" : "string"
        }
      }
    },
    "PartnerCompanyCategoryResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "lowThreshold" : {
          "type" : "number"
        },
        "active" : {
          "type" : "boolean"
        },
        "archived" : {
          "type" : "boolean"
        },
        "imageUrl" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "CategoryLocationOverridePatch" : {
      "type" : "object",
      "properties" : {
        "shopId" : {
          "type" : "string"
        },
        "lowThresholdOverride" : {
          "type" : "number"
        },
        "labelTemplateIdOverride" : {
          "type" : "string"
        },
        "clearedFields" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "CompanyCategoryUpdateRequest" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "blazeCategoryId" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "complianceId" : {
          "type" : "string"
        },
        "archived" : {
          "type" : "boolean"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "topLevelCategoryName" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "parentCategoryId" : {
          "type" : "string"
        },
        "companyCategoryId" : {
          "type" : "string"
        },
        "wmCategory" : {
          "type" : "string"
        },
        "wmCategoryName" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "masterId" : {
          "type" : "string"
        },
        "platformCategoryId" : {
          "type" : "string"
        },
        "platformParentCategoryId" : {
          "type" : "string"
        },
        "masterCategory" : {
          "$ref" : "#/definitions/MasterCategory"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "labelTemplateId" : {
          "type" : "string"
        },
        "categoryApp" : {
          "type" : "string",
          "enum" : [ "DISTRO", "MANUFACTURING" ]
        },
        "unitTrackingEnabled" : {
          "type" : "boolean"
        },
        "locationOverrides" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CategoryLocationOverridePatch"
          }
        },
        "giftCard" : {
          "type" : "boolean"
        }
      }
    },
    "CompanyCategoryAddRequest" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "unitType" : {
          "type" : "string",
          "enum" : [ "units", "grams" ]
        },
        "priority" : {
          "type" : "integer",
          "format" : "int32"
        },
        "active" : {
          "type" : "boolean"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "wmCategory" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "complianceId" : {
          "type" : "string"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "parentId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "topLevelCategoryId" : {
          "type" : "string"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "photo" : {
          "$ref" : "#/definitions/CompanyAsset"
        },
        "categoryApp" : {
          "type" : "string",
          "enum" : [ "DISTRO", "MANUFACTURING" ]
        },
        "labelTemplateId" : {
          "type" : "string"
        },
        "platformCategoryId" : {
          "type" : "string"
        },
        "platformParentCategoryId" : {
          "type" : "string"
        },
        "normalizedCategoryId" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "PartnerCompanyProductResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "externalId" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "companyCategoryId" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "brandId" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "vendorName" : {
          "type" : "string"
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "unitPrice" : {
          "type" : "number"
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "potencyMeasurements" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PotencyMeasurement"
          }
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "unitValue" : {
          "type" : "number"
        },
        "customWeight" : {
          "type" : "number"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "byGram" : {
          "type" : "boolean"
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "flowerType" : {
          "type" : "string"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "active" : {
          "type" : "boolean"
        },
        "wmOnlineSellable" : {
          "type" : "boolean"
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "imageUrl" : {
          "type" : "string"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "PotencyMeasurement" : {
      "type" : "object",
      "properties" : {
        "cannabinoid" : {
          "type" : "string"
        },
        "unit" : {
          "type" : "string"
        },
        "amount" : {
          "type" : "number"
        }
      }
    },
    "CompanyProductAddRequest" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "importId" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "vendorId" : {
          "type" : "string"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "vendorImportId" : {
          "type" : "string"
        },
        "brandId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number"
        },
        "purchasePrice" : {
          "type" : "number"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "genetics" : {
          "type" : "string"
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "lowThreshold" : {
          "type" : "number"
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "active" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "externalId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "toleranceId" : {
          "type" : "string"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "masterId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "syncToThirdParty" : {
          "type" : "boolean"
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "mfgProduct" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "component" : {
          "type" : "boolean"
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceId" : {
          "type" : "string"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "shopIds" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "companyPricingTemplateId" : {
          "type" : "string"
        },
        "imageUrls" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "companyCategoryId" : {
          "type" : "string"
        },
        "potencyMeasurements" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PotencyMeasurement"
          }
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "potency" : {
          "type" : "boolean"
        }
      }
    },
    "JsonNode" : {
      "type" : "object"
    },
    "LocationOverridePatch" : {
      "type" : "object",
      "properties" : {
        "shopId" : {
          "type" : "string"
        },
        "skuOverride" : {
          "type" : "string"
        },
        "priceOverride" : {
          "type" : "number"
        },
        "costOverride" : {
          "type" : "number"
        },
        "descriptionOverride" : {
          "type" : "string"
        },
        "nameOverride" : {
          "type" : "string"
        },
        "tagsOverride" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "activeOverride" : {
          "type" : "boolean"
        },
        "availableOnlineOverride" : {
          "type" : "boolean"
        },
        "pricingTemplateIdOverride" : {
          "type" : "string"
        },
        "companyPricingTemplateIdOverride" : {
          "type" : "string"
        },
        "potencyOverride" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PotencyMeasurement"
          }
        },
        "priceRangesOverride" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "metadataOverride" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MetadataEntry"
          }
        },
        "clearedFields" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "MetadataEntry" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "dataType" : {
          "type" : "string",
          "enum" : [ "BOOLEAN", "INTEGER", "DECIMAL", "STRING" ]
        },
        "value" : {
          "type" : "string"
        },
        "fieldId" : {
          "type" : "string"
        }
      }
    },
    "DateSearchResultPartnerCompanyProductResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PartnerCompanyProductResult"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "beforeDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "afterDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "nextCursor" : {
          "type" : "string"
        }
      }
    },
    "ProductAddRequest" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "importId" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "vendorId" : {
          "type" : "string"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "vendorImportId" : {
          "type" : "string"
        },
        "brandId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number"
        },
        "purchasePrice" : {
          "type" : "number"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "genetics" : {
          "type" : "string"
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "lowThreshold" : {
          "type" : "number"
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "active" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "externalId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "toleranceId" : {
          "type" : "string"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "masterId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "syncToThirdParty" : {
          "type" : "boolean"
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "mfgProduct" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "component" : {
          "type" : "boolean"
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceId" : {
          "type" : "string"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "potency" : {
          "type" : "boolean"
        }
      }
    },
    "PartnerProductUpdateRequest" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "checkSum" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archived" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "importSrc" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchasePrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "active" : {
          "type" : "boolean"
        },
        "genetics" : {
          "type" : "string"
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "priceBreaks" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceBreak"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "quantities" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductQuantity"
          }
        },
        "instock" : {
          "type" : "boolean"
        },
        "brandId" : {
          "type" : "string"
        },
        "category" : {
          "$ref" : "#/definitions/ProductCategory"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "customTaxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "brand" : {
          "$ref" : "#/definitions/Brand"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbItemRef" : {
          "type" : "string"
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "companyPricingTemplateId" : {
          "type" : "string"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "complianceId" : {
          "type" : "string"
        },
        "toleranceId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "salesPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lastWMSyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncStatus" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "wmOnlineSellable" : {
          "type" : "boolean"
        },
        "totalCommittedQuantity" : {
          "type" : "number"
        },
        "totalSellableQuantity" : {
          "type" : "number"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "dispatchPrepackageItemId" : {
          "type" : "string"
        },
        "committedQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "sellableQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "prepackageQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/PrepackageQuantity"
          }
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmBrandId" : {
          "type" : "string"
        },
        "wmTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "secondaryVendorsName" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "totalRemaining" : {
          "type" : "number"
        },
        "totalConsumerOrderQuantity" : {
          "type" : "number"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "secondaryShopIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorName" : {
          "type" : "string"
        },
        "secondaryVendorsIds" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "shopName" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "totalInventory" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "armsLengthType" : {
          "type" : "string"
        },
        "purchaseLimits" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PurchaseLimit"
          }
        },
        "productInfoSourcingStrategy" : {
          "type" : "string",
          "enum" : [ "NONE", "MANUAL", "FIFO_BATCH", "LIFO_BATCH" ]
        },
        "activeBatchId" : {
          "type" : "string"
        },
        "activeBatchSku" : {
          "type" : "string"
        },
        "listedByElastic" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "masterId" : {
          "type" : "string"
        },
        "companyProductId" : {
          "type" : "string"
        },
        "parentId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shopsList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shop"
          }
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "component" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "productFamilyId" : {
          "type" : "string"
        },
        "selectedInventories" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "trackPackageLabels" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "provider" : {
          "type" : "string"
        },
        "loyaltyAccrual" : {
          "type" : "boolean"
        },
        "metadataMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "employeeId" : {
          "type" : "string"
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "potency" : {
          "type" : "boolean"
        },
        "childProduct" : {
          "type" : "boolean"
        },
        "companyLinkId" : {
          "type" : "string",
          "readOnly" : true
        },
        "syncToThirdPartyMenus" : {
          "type" : "boolean",
          "readOnly" : true
        }
      }
    },
    "SearchRegionResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "regionId" : {
          "type" : "string"
        }
      }
    },
    "SearchRegionResultProduct" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Product"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "regionId" : {
          "type" : "string"
        }
      }
    },
    "DateSearchResultPricingGroupRes" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PricingGroupRes"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        },
        "beforeDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "afterDate" : {
          "type" : "integer",
          "format" : "int64"
        },
        "nextCursor" : {
          "type" : "string"
        }
      }
    },
    "PriceBreakRes" : {
      "type" : "object",
      "properties" : {
        "type" : {
          "type" : "string",
          "enum" : [ "None", "HalfGramUnit", "OneGramUnit", "TwoGramUnits", "ThreeGramUnits", "FourGramUnits", "FiveGramUnits", "SixGramUnits", "SevenGramUnits", "EightGramUnits", "Custom" ]
        },
        "displayName" : {
          "type" : "string"
        },
        "quantity" : {
          "type" : "integer",
          "format" : "int32"
        },
        "price" : {
          "type" : "number"
        },
        "salePrice" : {
          "type" : "number"
        },
        "enabled" : {
          "type" : "boolean"
        }
      }
    },
    "PriceRangeRes" : {
      "type" : "object",
      "properties" : {
        "weightKey" : {
          "type" : "string",
          "enum" : [ "UNIT", "HALF_GRAM", "GRAM", "TWO_GRAMS", "THREE_GRAMS", "ONE_EIGHTTH", "QUARTER", "HALF", "OUNCE", "CUSTOM", "POUND", "FLUID_OZ", "MILLILITER", "METRC_OUNCE", "METRC_ONE_EIGHTH", "MILLIGRAM", "METRC_QUARTER" ]
        },
        "weightToleranceId" : {
          "type" : "string"
        },
        "displayName" : {
          "type" : "string"
        },
        "weightValue" : {
          "type" : "number"
        },
        "price" : {
          "type" : "number"
        },
        "salePrice" : {
          "type" : "number"
        },
        "enabled" : {
          "type" : "boolean"
        }
      }
    },
    "PricingGroupRes" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "productId" : {
          "type" : "string"
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "enabled" : {
          "type" : "boolean"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "rule" : {
          "$ref" : "#/definitions/PricingGroupRule"
        },
        "priceBreaks" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PriceBreakRes"
          }
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PriceRangeRes"
          }
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "PricingGroupRule" : {
      "type" : "object",
      "properties" : {
        "consumerTypeList" : {
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "Other", "AdultUse", "MedicinalState", "MedicinalThirdParty" ]
          }
        },
        "memberGroupList" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "ProductResponse" : {
      "type" : "object",
      "required" : [ "name" ],
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "checkSum" : {
          "type" : "integer",
          "format" : "int64"
        },
        "archived" : {
          "type" : "boolean"
        },
        "importId" : {
          "type" : "string"
        },
        "importSrc" : {
          "type" : "string"
        },
        "categoryId" : {
          "type" : "string"
        },
        "sku" : {
          "type" : "string"
        },
        "vendorId" : {
          "type" : "string"
        },
        "productSaleType" : {
          "type" : "string",
          "enum" : [ "Medicinal", "Recreational", "Both" ]
        },
        "name" : {
          "type" : "string",
          "description" : "product name"
        },
        "description" : {
          "type" : "string"
        },
        "flowerType" : {
          "type" : "string"
        },
        "unitPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "purchasePrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "weightPerUnit" : {
          "type" : "string",
          "enum" : [ "EACH", "HALF_GRAM", "FULL_GRAM", "TWO_GRAMS", "EIGHTH", "FOURTH", "HALF_OUNCE", "OUNCE", "CUSTOM_GRAMS", "POUND", "FLUID_OZ" ]
        },
        "unitValue" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "thc" : {
          "type" : "number",
          "format" : "double"
        },
        "cbn" : {
          "type" : "number",
          "format" : "double"
        },
        "cbd" : {
          "type" : "number",
          "format" : "double"
        },
        "cbda" : {
          "type" : "number",
          "format" : "double"
        },
        "thca" : {
          "type" : "number",
          "format" : "double"
        },
        "cbg" : {
          "type" : "number",
          "format" : "double"
        },
        "totalCannabinoids" : {
          "type" : "number",
          "format" : "double"
        },
        "totalTerpenes" : {
          "type" : "number",
          "format" : "double"
        },
        "terpenoids" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "active" : {
          "type" : "boolean"
        },
        "genetics" : {
          "type" : "string"
        },
        "medicalConditions" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MedicalCondition"
          }
        },
        "priceRanges" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceRange"
          }
        },
        "priceBreaks" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductPriceBreak"
          }
        },
        "assets" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompanyAsset"
          }
        },
        "quantities" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductQuantity"
          }
        },
        "instock" : {
          "type" : "boolean"
        },
        "brandId" : {
          "type" : "string"
        },
        "category" : {
          "$ref" : "#/definitions/ProductCategory"
        },
        "notes" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Note"
          }
        },
        "enableMixMatch" : {
          "type" : "boolean"
        },
        "enableWeedmap" : {
          "type" : "boolean"
        },
        "showInWidget" : {
          "type" : "boolean"
        },
        "taxType" : {
          "type" : "string",
          "enum" : [ "Default", "Inherit", "Custom", "Exempt" ]
        },
        "taxOrder" : {
          "type" : "string",
          "enum" : [ "PostTaxed", "PreTaxed" ]
        },
        "customTaxInfo" : {
          "$ref" : "#/definitions/TaxInfo"
        },
        "discountable" : {
          "type" : "boolean"
        },
        "discountEnabled" : {
          "type" : "boolean"
        },
        "vendor" : {
          "$ref" : "#/definitions/Vendor"
        },
        "brand" : {
          "$ref" : "#/definitions/Brand"
        },
        "lowThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lowInventoryNotification" : {
          "type" : "boolean"
        },
        "medicinal" : {
          "type" : "boolean"
        },
        "byGram" : {
          "type" : "boolean"
        },
        "byPrepackage" : {
          "type" : "boolean"
        },
        "enableExciseTax" : {
          "type" : "boolean"
        },
        "priceIncludesExcise" : {
          "type" : "boolean"
        },
        "priceIncludesALExcise" : {
          "type" : "boolean"
        },
        "cannabisType" : {
          "type" : "string",
          "enum" : [ "NONE", "DEFAULT", "NON_CANNABIS", "CBD", "CBD_CANNABIS", "CBD_CANNABIS_FLOWER", "CONCENTRATE", "NON_CONCENTRATE", "PLANT", "EDIBLE", "EXTRACT", "DRY_FLOWER", "KIEF", "DRY_LEAF", "LIQUID", "SUPPOSITORY", "TINCTURE", "TOPICAL", "OIL", "SEEDS", "THC", "LIVE_PLANT", "IMMATURE_PLANT", "CLONE_CUTTING", "CLONE_TISSUE_CULTURE", "PRE_ROLL_FLOWER", "PRE_ROLL_LEAF", "PRE_ROLL_INFUSED", "SEEDS_EA", "PRE_ROLL", "PRE_ROLL_CBD", "CAPSULE", "COMBINED", "LOZENGES", "EXTRACT_INHALED", "BEVERAGES", "GEL_BASED_FOOD", "ORAL_LIQUID", "RESIN", "SOLID_CHOCOLATE", "WATER_SOLUBLE_EDIBLE", "WAX", "CANNABIS_FLOWER_PRODUCT", "OIL_FOR_VAPORIZATION", "TABLE_CAPSULE_LOZENGE", "CANNABINOID_PROD_FOR_INHALATION" ]
        },
        "potencyAmount" : {
          "$ref" : "#/definitions/PotencyMG"
        },
        "taxTables" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/CompoundTaxTable"
          }
        },
        "tags" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "qbItemRef" : {
          "type" : "string"
        },
        "customWeight" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "automaticReOrder" : {
          "type" : "boolean"
        },
        "reOrderLevel" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "leadTime" : {
          "type" : "integer",
          "format" : "int32"
        },
        "minDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "maxDaysOnHand" : {
          "type" : "integer",
          "format" : "int32"
        },
        "customGramType" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "pricingTemplateId" : {
          "type" : "string"
        },
        "companyPricingTemplateId" : {
          "type" : "string"
        },
        "productType" : {
          "type" : "string",
          "enum" : [ "REGULAR", "DERIVED", "BUNDLE", "GIFT_CARD" ]
        },
        "bundleItems" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/BundleItem"
          }
        },
        "complianceId" : {
          "type" : "string"
        },
        "toleranceId" : {
          "type" : "string"
        },
        "producerMfg" : {
          "type" : "string"
        },
        "producerLicense" : {
          "type" : "string"
        },
        "producerAddress" : {
          "$ref" : "#/definitions/Address"
        },
        "sellable" : {
          "type" : "boolean"
        },
        "wmThreshold" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "salesPrice" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "lastWMSyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncTime" : {
          "type" : "integer",
          "format" : "int64"
        },
        "lastLeaflySyncStatus" : {
          "type" : "boolean"
        },
        "overrideMetrcCategoryId" : {
          "type" : "string"
        },
        "wmOnlineSellable" : {
          "type" : "boolean"
        },
        "totalCommittedQuantity" : {
          "type" : "number"
        },
        "totalSellableQuantity" : {
          "type" : "number"
        },
        "usableMarijuana" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "dispatchPrepackageItemId" : {
          "type" : "string"
        },
        "committedQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "sellableQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "number"
          }
        },
        "prepackageQuantities" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/PrepackageQuantity"
          }
        },
        "secondaryVendors" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "wmProductId" : {
          "type" : "string"
        },
        "wmBrandId" : {
          "type" : "string"
        },
        "wmTags" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "maxThc" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbn" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbd" : {
          "type" : "number",
          "format" : "double"
        },
        "maxCbda" : {
          "type" : "number",
          "format" : "double"
        },
        "maxThca" : {
          "type" : "number",
          "format" : "double"
        },
        "complianceInfo" : {
          "$ref" : "#/definitions/ComplianceProductInfo"
        },
        "secondaryVendorsName" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "totalRemaining" : {
          "type" : "number"
        },
        "totalConsumerOrderQuantity" : {
          "type" : "number"
        },
        "metadata" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Metadata"
          }
        },
        "secondaryShopIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorIds" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "vendorName" : {
          "type" : "string"
        },
        "secondaryVendorsIds" : {
          "type" : "string"
        },
        "brandName" : {
          "type" : "string"
        },
        "shopName" : {
          "type" : "string"
        },
        "categoryName" : {
          "type" : "string"
        },
        "totalInventory" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "armsLengthType" : {
          "type" : "string"
        },
        "purchaseLimits" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/PurchaseLimit"
          }
        },
        "productInfoSourcingStrategy" : {
          "type" : "string",
          "enum" : [ "NONE", "MANUAL", "FIFO_BATCH", "LIFO_BATCH" ]
        },
        "activeBatchId" : {
          "type" : "string"
        },
        "activeBatchSku" : {
          "type" : "string"
        },
        "listedByElastic" : {
          "type" : "boolean"
        },
        "externalId" : {
          "type" : "string"
        },
        "masterId" : {
          "type" : "string"
        },
        "companyProductId" : {
          "type" : "string"
        },
        "parentId" : {
          "type" : "string"
        },
        "globalProductId" : {
          "type" : "string"
        },
        "platformProductId" : {
          "type" : "string"
        },
        "shop" : {
          "$ref" : "#/definitions/Shop"
        },
        "sourceMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "shopsList" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/Shop"
          }
        },
        "menuApiBrandName" : {
          "type" : "string"
        },
        "menuApiProductName" : {
          "type" : "string"
        },
        "menuApiProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiVariantProductId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "menuApiBrandId" : {
          "type" : "integer",
          "format" : "int32"
        },
        "metadataModifiedAt" : {
          "type" : "integer",
          "format" : "int64"
        },
        "component" : {
          "type" : "boolean"
        },
        "item" : {
          "type" : "boolean"
        },
        "productFamilyId" : {
          "type" : "string"
        },
        "selectedInventories" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "trackPackageLabels" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "provider" : {
          "type" : "string"
        },
        "loyaltyAccrual" : {
          "type" : "boolean"
        },
        "metadataMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        },
        "giftCard" : {
          "type" : "boolean"
        },
        "cannabis" : {
          "type" : "boolean"
        },
        "potency" : {
          "type" : "boolean"
        },
        "childProduct" : {
          "type" : "boolean"
        },
        "companyLinkId" : {
          "type" : "string",
          "readOnly" : true
        },
        "syncToThirdPartyMenus" : {
          "type" : "boolean",
          "readOnly" : true
        }
      }
    },
    "SearchResultProductResponse" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ProductResponse"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "MemberGroupResult" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "created" : {
          "type" : "integer",
          "format" : "int64"
        },
        "modified" : {
          "type" : "integer",
          "format" : "int64"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "updated" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "shopId" : {
          "type" : "string"
        },
        "dirty" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        },
        "discount" : {
          "type" : "number",
          "minimum" : 0,
          "exclusiveMinimum" : false
        },
        "defaultGroup" : {
          "type" : "boolean"
        },
        "active" : {
          "type" : "boolean"
        },
        "memberCount" : {
          "type" : "integer",
          "format" : "int32"
        },
        "memberCountTextOptIn" : {
          "type" : "integer",
          "format" : "int32"
        },
        "memberCountEmailOptIn" : {
          "type" : "integer",
          "format" : "int32"
        },
        "discountType" : {
          "type" : "string",
          "enum" : [ "Cash", "Percentage", "FinalPrice" ]
        },
        "enablePromotion" : {
          "type" : "boolean"
        },
        "promotionId" : {
          "type" : "string"
        },
        "promotionShopMap" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "string"
          }
        }
      }
    },
    "SearchResultMemberGroupResult" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/MemberGroupResult"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SearchResultSmartCollectionRes" : {
      "type" : "object",
      "properties" : {
        "values" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/SmartCollectionRes"
          }
        },
        "skip" : {
          "type" : "integer",
          "format" : "int32"
        },
        "limit" : {
          "type" : "integer",
          "format" : "int32"
        },
        "total" : {
          "type" : "integer",
          "format" : "int64"
        },
        "searchAfter" : {
          "type" : "array",
          "items" : {
            "type" : "object"
          }
        }
      }
    },
    "SmartCollectionRes" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "deleted" : {
          "type" : "boolean"
        },
        "companyId" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "rules" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/SmartCollectionRule"
          }
        }
      }
    },
    "SmartCollectionRule" : {
      "type" : "object",
      "properties" : {
        "ruleAction" : {
          "type" : "string",
          "enum" : [ "INCLUDE", "EXCLUDE" ]
        },
        "criteriaRule" : {
          "type" : "string",
          "enum" : [ "ALL", "BRAND", "CATEGORY", "CATEGORY_NAME", "COMPANY_CATEGORY", "PRODUCT", "TAG", "VENDOR", "COMPANY_PRODUCT", "SHOP_PRODUCT", "WEIGHT_PER_UNIT", "WEIGHT_PER_UNIT_CUSTOM", "BATCH_AGE", "SUB_CATEGORY", "ON_SALE" ]
        },
        "values" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "type" : "string"
          }
        },
        "measurement" : {
          "type" : "string",
          "enum" : [ "GRAM", "MILLIGRAM", "MILLILITER", "FLUID_OUNCE", "OUNCE" ]
        },
        "startRange" : {
          "type" : "number"
        },
        "endRange" : {
          "type" : "number"
        }
      }
    }
  }
}