{
  "$id": "schema.json",
  "type": "object",
  "schema": "http://json-schema.org/draft-07/schema#",
  "translate": true,
  "dynamicfields": true,
  "properties": {
    "ph_request_type": {
      "type": "string",
      "description": "type of request (internal to adapter)",
      "default": "removeTag4",
      "enum": [
        "removeTag4",
        "bulkRemoveTags4",
        "getPurchaseById",
        "updatePurchase",
        "updatePurchaseInventory1",
        "getAirbill",
        "updateCurrency1",
        "searchAutoPurchases",
        "addPurchaseNote",
        "search6",
        "insertPurchase",
        "getPurchaseLines",
        "insertPurchaseLine",
        "getPurchaseLine",
        "updatePurchaseLine",
        "replacePurchaseLine",
        "getPurchaseLineTickets",
        "cancelPurchaseLine",
        "multiWithPurchaseId",
        "send1",
        "tag4",
        "update10",
        "delete7",
        "print1",
        "search7"
      ],
      "external_name": "ph_request_type"
    },
    "purchaseId": {
      "type": "number",
      "description": "The id of the purchase",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "purchase-id"
    },
    "lineId": {
      "type": "number",
      "description": "The line id of the purchase",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "line-id"
    }
  },
  "definitions": {}
}