Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetafieldDefinitionSupportedValidation
The type and name for the optional validation configuration of a metafield.
For example, a supported validation might consist of a max name and a number_integer type. This validation can then be used to enforce a maximum character length for a single_line_text_field metafield.
Signature:
export interface MetafieldDefinitionSupportedValidation
| Property | Modifiers | Type | Description |
|---|---|---|---|
| name | Scalars[‘String’][‘output’] | The name of the metafield definition validation. | |
| type | Scalars[‘String’][‘output’] | The type of input for the validation. |