Skip to content

validators — Code View

← Back to Container | ← Back to System


Component Information

Field Value
Component validators
Container Application
Type module
Description Validation stage of the AAC pipeline | Base IR validator for Archlette pipeline
---

Code Structure

Class Diagram

Class Diagram

Code Elements

2 code element(s) #### Functions ##### `run()` Execute the validation stage | Field | Value | | --- | --- | | **Type** | `function` | | **Visibility** | `public` | | **Async** | Yes || **Returns** | `Promise` || **Location** | `C:/Users/chris/git/archlette/src/2-validate/index.ts:38` | **Parameters:** - `ctx`: import("C:/Users/chris/git/archlette/src/core/types").PipelineContext — - Pipeline context with configuration, logging, and aggregated IR --- ##### `baseValidator()` Validates the IR against the Zod schema. Throws if invalid. | Field | Value | | --- | --- | | **Type** | `function` | | **Visibility** | `private` | | **Returns** | `z.infer` - The same IR if valid || **Location** | `C:/Users/chris/git/archlette/src/validators/builtin/base-validator.ts:26` | **Parameters:** - `ir`: z.infer — - The input ArchletteIR ---