{
  "$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": "getInvoiceById",
      "enum": [
        "getInvoiceById",
        "updateInvoice",
        "getInvoiceTicketsByExternalRef",
        "getInvoiceTicketsByExternalRefV2",
        "getInvoiceLines",
        "insertInvoiceLine",
        "getInvoiceLine",
        "updateInvoiceLine",
        "deleteInvoiceLine",
        "getInvoiceLineTickets",
        "getAssets",
        "search5",
        "insertInvoice",
        "removeTag3",
        "bulkRemoveTags3",
        "processPayment",
        "getTransactionHistory",
        "processRefund",
        "printCustomAuthForm",
        "updateCurrency",
        "send",
        "tag3",
        "update9",
        "delete5",
        "print"
      ],
      "external_name": "ph_request_type"
    },
    "invoiceId": {
      "type": "number",
      "description": "The id of the invoice",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "invoice-id"
    },
    "externalRef": {
      "type": "string",
      "description": "The external ref of the invoice",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "external-ref"
    },
    "lineId": {
      "type": "number",
      "description": "The line id of the invoice",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "line-id"
    },
    "transactionId": {
      "type": "number",
      "description": "The transaction id",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "transaction-id"
    }
  },
  "definitions": {}
}