| title | DocumentMetadata |
|---|---|
| description | DocumentMetadata Schema Reference |
| Property | Type | Required | Description |
|---|---|---|---|
| source | string |
✅ | Document source (file path, URL, etc.) |
| sourceType | Enum<'file' | 'url' | 'api' | 'database' | 'custom'> |
optional | |
| title | string |
optional | |
| author | string |
optional | |
| createdAt | string |
optional | ISO timestamp |
| updatedAt | string |
optional | ISO timestamp |
| tags | string[] |
optional | |
| category | string |
optional | |
| language | string |
optional | Document language (ISO 639-1 code) |
| custom | Record<string, any> |
optional | Custom metadata fields |