Skip to main content

Interface: ValidateSchema

Defined in: packages/core/src/application/use-cases/validate-schema.ts:33

Validates a schema via one of four modes: project (fully resolved), project-raw (base only, no plugins/overrides), file (external file with extends chain resolution), or ref (schema reference resolved through the registry with extends chain resolution).

Returns structured results — never throws for validation failures.

Methods

execute()

execute(input): Promise<ValidateSchemaResult>

Defined in: packages/core/src/application/use-cases/validate-schema.ts:73

Executes schema validation.

Parameters

input

ValidateSchemaInput

The validation mode and parameters

Returns

Promise<ValidateSchemaResult>

A structured result — success with Schema, or failure with errors