/** * Schema + validation for `lobu memory seed` data records (`./data/*.yaml` — * seed entity + relationship instances). Entity/relationship/automation *types* * are declared in `lobu.config.ts` (via `@lobu/cli/config`), not here. * * Bump CURRENT_SCHEMA_VERSION when making breaking changes. */ export type DataRecordType = "entity" | "relationship"; export interface SeedEntitySchema { version?: number; type: "entity"; entity_type: string; slug: string; name: string; content?: string; parent?: string; metadata?: Record; enabled_classifiers?: string[]; } export interface SeedRelationshipSchema { version?: number; type: "relationship"; relationship_type: string; from: string; to: string; metadata?: Record; confidence?: number; source?: "ui" | "llm" | "feed" | "api"; } export interface ValidationError { file: string; field: string; message: string; } export declare function validateDataRecord(parsed: Record, file: string): ValidationError[]; //# sourceMappingURL=schema.d.ts.map