# LedgerLeaf Import Validation

The server accepts `.md` and `.markdown` files up to 5 MB. It rejects empty files, unsafe filenames, binary content, unrecognized MIME types, and metadata that does not match the LedgerLeaf schema.

Validation endpoint:

```http
POST https://app.783e0811.prd.gh0stcloud.de/api/reports/validate
Content-Type: application/json
```

```json
{ "filename": "report.md", "content": "---\ntitle: ...\n---\n# Report" }
```
