InputSchemaDocument
A JSON Schema (draft 2020-12) document produced by generateInputSchema.
This document sits outside the definition-document family. It holds one branch for a single invocable command, a oneOf union for several, and a bare object schema when a CLI has none.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/json-schema/index.ts - Source link:
src/core/json-schema/index.ts:356
Signatures
ts
type InputSchemaDocument = { $schema: string; } & InputSchemaBranch | { $schema: string; oneOf: readonly InputSchemaBranch[]; } | { $schema: string; type: "object"; };