{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "PseCreateTransactionRequest",
  "title": "PseCreateTransactionRequest",
  "properties": {
    "financialInstitutionCode": {
      "type": "string",
      "pattern": "^[0-9]{6,}$"
    },
    "entityCode": {
      "type": "string",
      "pattern": "^[0-9]{6,}$"
    },
    "serviceCode": {
      "type": "string",
      "pattern": "^[0-9]{6,}$"
    },
    "transactionValue": {
      "type": "number",
      "minimum": 0
    },
    "vatValue": {
      "type": "number",
      "minimum": 0
    },
    "ticketId": {
      "type": "string",
      "pattern": "^[0-9]{6,}$"
    },
    "entityurl": {
      "type": "string"
    },
    "userType": {
      "type": "string",
      "enum": ["0", "1"]
    },
    "referenceNumber": {
      "type": "array",
      "element": {
        "type": "string"
      }
    },
    "soliciteDate": {
      "type": "string"
    },
    "paymentDescription": {
      "type": "string"
    }
  },
  "required": [
    "financialInstitutionCode",
    "entityCode",
    "serviceCode",
    "transactionValue",
    "vatValue",
    "ticketId",
    "entityurl",
    "userType",
    "referenceNumber",
    "soliciteDate"
  ],
  "type": "object"
}
