SomeJTDSchemaType: ({
    ref: string;
} | {
    type: NumberType | StringType | "boolean";
} | {
    enum: string[];
} | {
    elements: SomeJTDSchemaType;
} | {
    values: SomeJTDSchemaType;
} | {
    additionalProperties?: boolean;
    optionalProperties?: Record<string, SomeJTDSchemaType>;
    properties: Record<string, SomeJTDSchemaType>;
} | {
    additionalProperties?: boolean;
    optionalProperties: Record<string, SomeJTDSchemaType>;
    properties?: Record<string, SomeJTDSchemaType>;
} | {
    discriminator: string;
    mapping: Record<string, SomeJTDSchemaType>;
} | {}) & {
    definitions?: Record<string, SomeJTDSchemaType>;
    metadata?: Record<string, unknown>;
    nullable?: boolean;
}

Generic JTD Schema without inference of the represented type

Type declaration