constCONDITIONAL_NOTE='Runtime applies additional conditional validation rules that are documented in descriptions instead of nested schema conditionals.';
constSINGLE_OR_ARRAY_NOTE='Runtime also accepts a single object here, but the documented shape uses the array form because it is more stable for API reference UIs and generated clients.';
typeSchemaKind='request'|'response';
typeBuildOpenApiDocumentOptions={
title: string;
version: string;
description: string;
routes: IRegisteredApiSchema[];
};
typeNormalizeOptions={
componentName: string;
requestMode: boolean;
localDefs: Map<string,string>;
};
typeTransformState={
components: Record<string,AnySchemaObject>;
componentNames: WeakMap<object,string>;
usedNames: Set<string>;
};
functionisSchemaObject(value: unknown): value is AnySchemaObject{