---
title: "FormDataJson"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/formdatajson/"
---

# FormDataJson

Defined in: [packages/sdk/src/types.ts:535](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L535)

Form data as [Document.fillForm](/reference/sdk/classes/document.md#fillform) takes it and [Document.exportFormData](/reference/sdk/classes/document.md#exportformdata) writes it
as JSON: `fields` by fully qualified name, each a string, `true` or `false` for a check box
with one on-state, an array of strings for a list box, or `null` for empty. `$schema` names
the format's schema and is ignored when read.

## Since

0.7.0

## Properties

### $schema?

```ts
readonly $schema?: string;
```

Defined in: [packages/sdk/src/types.ts:536](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L536)

***

### fields

```ts
readonly fields: Readonly<Record<string, string | number | boolean | readonly string[] | null>>;
```

Defined in: [packages/sdk/src/types.ts:537](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L537)
