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

# JSON

> Submitting the data as JSON is preferable to CSV. The JSON format allows for stricter client side validation, and does not require the repetition of data.

<Note>
  In the Payt documentation and interface "CSV" is still often used where it should say "CSV/XML/JSON".
</Note>

### Schema

The formal definition describing how the JSON must be structured. The schema itself contains some basic documentation per element.

The schema can be used to build and/or validate json files before submitting them to Payt. This schema is also used by Payt during the import to validate the file before extracting the data. If the file is invalid then the validation errors are presented in the Payt interface.

<Warning>
  The schema validation is skipped during the import for json files larger than 50MB, because it would impact import performance too much. Validate large files client side before submitting.
</Warning>

[Download schema](https://backend.paytsoftware.com/docs/payt_schema.json)

### Complete example

This example contains all available fields at least once.

[Download example](https://backend.paytsoftware.com/docs/example_complete.json)

### Minimal example

This example contains only the required fields.

[Download example](https://backend.paytsoftware.com/docs/example_minimal.json)
