Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetafieldDefinitionType
A metafield definition type provides basic foundation and validation for a metafield.
Signature:
export interface MetafieldDefinitionType
| Property | Modifiers | Type | Description |
|---|---|---|---|
| category | Scalars[‘String’][‘output’] | The category associated with the metafield definition type. | |
| name | Scalars[‘String’][‘output’] | The name of the type for the metafield definition. See the list of [supported types](https://shopify.dev/apps/metafields/types). | |
| supportedValidations | Array<MetafieldDefinitionSupportedValidation> | The supported validations for a metafield definition type. | |
| supportsDefinitionMigrations | Scalars[‘Boolean’][‘output’] | Whether metafields without a definition can be migrated to a definition of this type. | |
| valueType | MetafieldValueType | `${MetafieldValueType}` | The value type for a metafield created with this definition type. |