Skip to main content

Interface: SchemaProvider

Defined in: packages/core/src/application/ports/schema-provider.ts:10

Provides the fully-resolved schema for the current project configuration.

Implementations may resolve lazily and cache the result. The returned schema includes extends chains, plugins, and schemaOverrides — callers never need to access SchemaRegistry directly.

Methods​

get()​

get(): Promise<Schema>

Defined in: packages/core/src/application/ports/schema-provider.ts:18

Returns the fully-resolved schema for the current project configuration.

Returns​

Promise<Schema>

The resolved schema

Throws​

If the schema reference cannot be resolved

Throws​

If the resolved schema is invalid