import { SchemaDefinition, SchemaPropertyType, SchemaStringFormat } from '../../schemas/types/schema'; export type SchemaPropertiesResponse = Record; export type SchemaDefinitionsResponse = Record; export type SchemaPropertyResponse = { position?: number; block_type_slug?: string; $ref?: SchemaDefinition; anyOf?: SchemaPropertyResponse[]; allOf?: SchemaPropertyResponse[]; example?: string; default?: unknown; const?: unknown; description?: string; enum?: unknown[]; format?: SchemaStringFormat; items?: SchemaPropertyResponse | SchemaPropertyResponse[]; prefixItems?: SchemaPropertyResponse[]; maxItems?: number; minItems?: number; properties?: SchemaPropertiesResponse; required?: string[]; title?: string; type?: SchemaPropertyType; }; export type SchemaResponse = SchemaPropertyResponse & { definitions?: SchemaDefinitionsResponse; };