@canard/schema-form
Version:
React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components
10 lines (9 loc) • 385 B
TypeScript
import type { ArraySchema } from '../../../types';
/**
* Validates an array schema to ensure it has a valid structure for ArrayNode creation.
*
* @param jsonSchema - The JSON Schema to validate
* @throws {JsonSchemaError} If the schema structure is invalid
* @returns true if the schema is valid
*/
export declare const validateArraySchema: (jsonSchema: ArraySchema) => boolean;