Skip to content

Home > intention-kernel > RuntimeSchema

RuntimeSchema interface ​

Vendor-neutral runtime schema used at every trust boundary.

Signature:

typescript
export interface RuntimeSchema<T>

Properties ​

Property

Modifiers

Type

Description

jsonSchema?

readonly

() => JsonSchema | Promise<JsonSchema>

(Optional) Optional provider-neutral schema projection used for structured models.

validate

readonly

(value: unknown) => Promise<ValidationResult<T>>

Validate an untrusted value and return a normalized result.

vendor

readonly

string

Validator or adapter name used for diagnostics.