Montran · Schema

ValidationResult

Message validation result

BankingCentral BankingFinancial ServicesISO 20022Market InfrastructureMessagingPaymentsReal-Time PaymentsSWIFT

Properties

Name Type Description
valid boolean Whether the message is valid
errors array
View JSON Schema on GitHub

JSON Schema

montran-validationresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ValidationResult",
  "title": "ValidationResult",
  "type": "object",
  "description": "Message validation result",
  "properties": {
    "valid": {
      "type": "boolean",
      "description": "Whether the message is valid"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "severity": {
            "type": "string",
            "enum": [
              "ERROR",
              "WARNING"
            ]
          },
          "field": {
            "type": "string"
          },
          "rule": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}