Files
smom-dbis-138/packages/integration-foundation/dist/iso20022/schema-validation.js
defiQUG 11c97777d4
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m11s
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m4s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 31s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 29s
Verify Deployment / Verify Deployment (push) Failing after 57s
feat(chain138): Monad CCIP, token aggregation OMNL gates, HYBX client, and PMM deploy updates.
Relay router, reserve system, oracle publisher, token-aggregation compliance middleware, and Monad deployment scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 00:11:33 -07:00

22 lines
793 B
JavaScript

"use strict";
/**
* ISO 20022 XSD validation interface.
* Full XSD catalog validation is deferred; this hook enables server wiring and tests.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PassthroughSchemaValidator = void 0;
/** Structural pre-check until official XSD bundles are mounted in services. */
class PassthroughSchemaValidator {
async validate(xml, messageFamily) {
const errors = [];
if (!xml?.trim())
errors.push('empty_xml');
if (!messageFamily?.trim())
errors.push('missing_message_family');
if (xml && !xml.includes('<'))
errors.push('not_xml');
return { valid: errors.length === 0, errors };
}
}
exports.PassthroughSchemaValidator = PassthroughSchemaValidator;