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

# Data Format Reference

> Understand how Formbase stores submission data.

Formbase stores submission data as a JSON object with dynamic keys. Each key corresponds to a `name` attribute from your form.

This reference helps you understand what appears in the dashboard and what shows up in JSON exports.

## Basic example

```json theme={null}
{
  "name": "Ada Lovelace",
  "email": "ada@example.com",
  "message": "Hello from Formbase"
}
```

## File uploads

When a submission includes a file, Formbase stores a URL under `file` or `image` based on the MIME type.

```json theme={null}
{
  "name": "Ada Lovelace",
  "file": "https://storage.example.com/.../resume.pdf",
  "image": "https://storage.example.com/.../photo.jpg"
}
```

## Notes

* Keys are created automatically from field names.
* JSON submissions can include arrays or nested objects.
* CSV exports flatten only the top-level keys.

<Callout type="note">
  If multiple file inputs are submitted in one request, only one `file` and one `image` URL are kept.
</Callout>
