Skip to main content

Interface: ValidateSpecs

Defined in: packages/core/src/application/use-cases/validate-specs.ts:53

Validates spec artifacts against the active schema's structural rules.

Supports validating a single spec, all specs in a workspace, or all specs across all workspaces. Only scope: 'spec' artifacts from the schema are validated — change-scoped artifacts are ignored.

Methods

execute()

execute(input): Promise<ValidateSpecsResult>

Defined in: packages/core/src/application/use-cases/validate-specs.ts:82

Executes the use case.

Parameters

input

ValidateSpecsInput

Validation parameters

Returns

Promise<ValidateSpecsResult>

Aggregated validation result

Throws

If the schema reference cannot be resolved