Schema Editor - Entity Enricher Documentation

Schema Editor

A visual tree editor for managing your enrichment schemas — with drag-and-drop reordering, inline editing, keyboard navigation, and AI-assisted modifications.

Overview

The Schema Editor lets you view and modify your enrichment schemas without writing JSON by hand. Properties are displayed as an interactive tree grouped by expertise domain, so you can see at a glance which fields belong to which specialist area. Every change is tracked with undo/redo history and auto-saved after a 2-second debounce.

Key Capabilities

Expertise Grouping

Properties grouped by expertise domain with collapsible sections. Toggle grouping on/off.

Drag-and-Drop

Reorder properties within or across groups by dragging. Visual drop target indicators show where items will land.

Inline Editing

Click any property to edit its name, type, description, and examples directly in the tree.

Keyboard Navigation

Arrow keys to navigate, Enter to edit, Delete to remove. Full keyboard-driven workflow.

Search & Filter

Text search across property names and descriptions to find fields in large schemas.

Undo / Redo

Full history stack for manual edits. AI-generated changes replace without adding undo entries.

The Property Tree

Each row in the editor represents a schema property with its key attributes visible at a glance:

SelProperty NameTypeDescription
□company_name🔍stringLegal company name
□revenuenumberAnnual revenue in USD
□headquartersobjectCorporate headquarters
□ citystringMunicipality name
□ country🔍stringNation where HQ is located
□gmp_statusbooleanGMP certification status

Nested properties (like city under headquarters) are indented to show hierarchy. The magnifying glass icon marks search keys — fields used to identify the entity.

Editing Properties

Click a property row or press Enter to switch to edit mode. In edit mode, you can modify:

NameThe property key in the JSON output. Use snake_case for consistency.
TypeSelect from string, number, integer, boolean, array, or object. Changing type updates the enrichment output format.
DescriptionContextual description that guides the AI during enrichment. More detail leads to better results.
ExamplesTwo or three realistic example values. These help the AI understand the expected format and content.
ExpertiseWhich domain expert provides this value. Determines grouping in multi-expertise enrichment.
NullableWhether null is an acceptable value. Non-nullable fields trigger AI retries if left empty.
MultilingualWhether the field should be enriched in multiple languages.
PreserveWhether to keep the original input value unchanged.

Keyboard Shortcuts

The schema editor supports a full keyboard-driven workflow for efficient editing:

ShortcutAction
Arrow Up / DownNavigate between properties
EnterToggle edit mode on selected property
Delete / BackspaceRemove selected property
Ctrl+Z / Cmd+ZUndo last change
Ctrl+Shift+Z / Cmd+Shift+ZRedo last undone change
EscapeExit edit mode or clear selection

Drag-and-Drop Reordering

Reorder properties by dragging them to a new position. A visual insertion line shows exactly where the property will be placed. You can drag properties within an expertise group or across groups to change their domain assignment.

When expertise grouping is enabled, dropping a property into a different group automatically updates its expertise assignment. This makes reorganizing large schemas intuitive — just drag a field from “Financial Analyst” to “Regulatory Expert” and its expertise updates accordingly.

AI Edit Pane

Below the property tree, the AI edit pane lets you modify the schema using natural language. Type an instruction like “add a parent_company reference” and the AI applies the change while preserving your existing structure.

AI Suggestions

After each generation or edit, the AI provides 5 improvement suggestions displayed as clickable chips. Click a suggestion to automatically fill the edit input and apply it. Suggestions cover data completeness, quality, relationships, internationalization, and domain-specific enhancements.

Learn more about AI schema editing in the AI Schema Generation guide.

Schema Management

The schema selector lets you create, load, pin, duplicate, and delete schemas. Schemas are saved per organization and accessible to all team members.

Auto-Save

Changes are saved automatically after a 2-second pause, with content-hash deduplication to avoid unnecessary writes.

Pin Schemas

Pin frequently used schemas to keep them at the top of the selector list.

Duplicate

Create a copy of any schema to experiment with changes without affecting the original.

Soft Delete

Deleted schemas can be restored. Permanent deletion is a separate action.

Next Steps