SweepValidationService

Existence and dependency validation of sweeps.

Tracks every registered sweep and verifies at use time that a referenced sweep exists and its exchange dependency is valid. Registration here is uniqueness-guarded, unlike the schema registry where re-registering replaces the record.

constructor();
loggerService: any
exchangeValidationService: any
_sweepMap: any
addSweep: (sweepName: string, sweepSchema: ISweepSchema) => void

Tracks a sweep for validation. Called on schema registration; duplicate names are rejected.

validate: (sweepName: string, source: string) => void

Validates that a sweep is registered and its exchange dependency passes validation. Memoized by sweep name — the check runs once per name, later calls are no-ops.

list: () => Promise<ISweepSchema[]>

Lists every tracked sweep schema.