key:
String!
The unique identifier for the metafield definition within its namespace.
metafieldsCount:
Int!
The count of the metafields that belong to the metafield definition.
name:
String!
The human-readable name of the metafield definition.
namespace:
String!
The container for a group of metafields that the metafield definition is associated with.
ownerType:
MetafieldOwnerType!
The resource type that the metafield definition is attached to.
pinnedPosition:
Int
The position of the metafield definition in the pinned list.
standardTemplate:
StandardMetafieldDefinitionTemplate
The standard metafield definition template associated with the metafield definition.
type:
MetafieldDefinitionType!
The type of data that each of the metafields that belong to the metafield definition will store.
Refer to the list of [supported types](https://shopify.dev/apps/metafields/types).
useAsCollectionCondition:
Boolean!
Whether the metafield definition can be used as a collection condition.
validationStatus:
MetafieldDefinitionValidationStatus!
The validation status for the metafields that belong to the metafield definition.
validations:
MetafieldDefinitionValidation!
A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for
the metafields that belong to the metafield definition. For example, for a metafield definition with the
type `date`, you can set a minimum date validation so that each of the metafields that belong to it can only
store dates after the specified minimum.
visibleToStorefrontApi:
Boolean!
Whether each of the metafields that belong to the metafield definition are visible from the Storefront API.