# Setting up JSON metadata for an input file

This section describes how to define a file connection and upload a JSON schema for an input file.

Now you can drag and drop the file connection or the schema of it from the Repository tree view onto the design workspace as a new tFileInputJSON or tExtractJSONFields component or onto an existing component to reuse the metadata. For further information about how to use the centralized metadata in a Job, see [Using centralized metadata in a Job](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/using-centralized-metadata-in-job) and [Setting a repository schema in a Job](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/basic-settings-tab?ver=35#setting-a-repository-schema-in-a-job_t).

To modify an existing file connection, right-click it from the Repository tree view, and select Edit JSON to open the file metadata setup wizard.

To add a new schema to an existing file connection, right-click the connection from the Repository tree view and select Retrieve Schema from the contextual menu.

To edit an existing file schema, right-click the schema from the Repository tree view and select Edit Schema from the contextual menu.

### In this section

* [Defining the general properties of the File JSON connection](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2026-09/defining-general-properties-of-file-json-connection)
* [Setting the type of metadata and loading the input file](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2026-09/setting-type-of-metadata-and-loading-input-file)
* [Defining the schema of your JSON file](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2026-09/defining-schema-of-your-json-file)
* [Finalizing the schema of your JSON file](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2026-09/finalizing-schema-of-your-json-file)