{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "MerchantObject",
  "title": "MerchantObject",
  "properties": {
    "publicMerchantId": {
      "type": "string"
    },
    "processorPublicMerchantId": {
      "type": "string"
    },
    "webhookSignature": {
      "type": "string"
    },
    "privateMerchantId": {
      "type": "string"
    },
    "entityCode": {
      "type": "string"
    },
    "serviceCode": {
      "type": "string"
    },
    "url": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "type": {
      "type": "string",
      "enum": ["AGGREGATOR", "GATEWAY"]
    },
    "merchantType": {
      "type": "string"
    },
    "taxId": {
      "type": "string"
    },
    "businessType": {
      "type": "string"
    }
  },
  "required": [
    "publicMerchantId",
    "privateMerchantId",
    "type",
    "webhookSignature"
  ],
  "type": "object"
}
