---
schema_version: "1"
id: ff36415c078179fc9362f7d0e198c78ef1d15cf9740ba84860ab6a91ce643eb6
title: Define Metadata for Components with the Metadata Editor
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/studio/metadata-editor-concept.md
canonical_url: https://docs.mulesoft.com/studio/metadata-editor-concept
source_site: docs.mulesoft.com
content_type: documentation
content_hash: ee426a0a217e7ec1932038d5819bb35b650bf3d56df1d7d567a09e48bdacec70
description: MuleSoft Documentation Site
latest: true
---
---
product: Studio
---

# Define Metadata for Components with the Metadata Editor

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

The Anypoint Studio metadata editor lets you define metadata for components that don’t expose it
automatically, either manually, through an example, or through a schema.

Several elements in your Mule flow automatically expose metadata about the expected input and
output.

This metadata is handled by DataSense and exposed during design time on every component of your
flows, helping you debug your application and know if the expected data structure differs from
what’s truly being sent. It also provides smart autocomplete options.  
To use the drag and drop UI of the Transform Message Component, you must define its input and output
metadata.

All metadata classes that you defined in the current Mule project are displayed in the Metadata
Editor for you to select one if appropriate:

![A form for selecting a metadata type, with options to add, delete, and filter user-defined types](/mulesoft/current/en-us/studio/_images/dw-define-type1.png)

When defining the structure through the editor, you’re implicitly creating a schema for that type.
These schemas are stored in your project’s `src/main/resources` folder, and you can open these and
edit them freely on Anypoint Studio.

After you create a new type, you can associate any new metadata you create with this new type to
avoid having to define it again.

## See Also

- [To Access the Metadata Editor](https://docs.mulesoft.com/studio/access-metadata-editor-task)

- [To Create Metadata Class](https://docs.mulesoft.com/studio/create-metadata-class-task)
