> ## Documentation Index
> Fetch the complete documentation index at: https://docs-eos.fpt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Data governance

> Define the metadata schema shared across the workspace.

**Data governance** is where you define the **metadata schema** - The shared set of information fields attached to documents, used for filtering at retrieval time and as MCP tool filters.

## Metadata schema

Go to **Data governance**, **Metadata schema** tab. The schema defines the metadata fields shared across the workspace - Used for filtering at retrieval time, as MCP tool filters and as columns when exporting / importing CSV.

| Field type | Content |
| - | - |
| System fields | Always present, read-only: source, path, file name, format, size, uploader, upload date, date modified at source, page count |
| Workspace fields | Created by you, up to 40 fields. Each field has a code, display label, type (picklist, date…), whether it is required, allowed values and the number of KBs using it |

**1. Add a field**

Click **Add field**, set the code (e.g. `muc_do_mat`), display label, type and allowed values. Mark it **Required** if every document must have it.

**2. Use it in KBs**

New fields are on by default in KBs. Go to the KB's Settings tab to choose which fields are MCP filters.

**3. Fill in values**

Assign them on each file, use folder metadata rules, or **Edit in Excel** on the source page.

The **Export / import schema** block (**Export JSON**, **Import JSON**) recreates the exact field set in another environment; import shows which fields are added, changed or in conflict. **Schema change history** records who changed what, when and with what impact.

> [!WARNING]
>
> **Note:** Field codes cannot be changed after creation. Display labels can be renamed freely, but codes go straight into MCP tool parameters and CSV columns - Changing a code breaks every running integration.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.