---
title: MetafieldDefinitionType - Shop Users API
description: A metafield definition type provides basic foundation and validation for a metafield.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-users/latest/objects/MetafieldDefinitionType
  md: https://shopify.dev/docs/api/shop-users/latest/objects/MetafieldDefinitionType.md
---

# Metafield​Definition​Type

object

A metafield definition type provides basic foundation and validation for a metafield.

## Fields

* category

  [String!](https://shopify.dev/docs/api/shop-users/latest/scalars/String)

  non-null

  The category associated with the metafield definition type.

* name

  [String!](https://shopify.dev/docs/api/shop-users/latest/scalars/String)

  non-null

  The name of the type for the metafield definition.

***

## Map

### Fields with this object

* [MetafieldDefinition.type](https://shopify.dev/docs/api/shop-users/latest/objects/MetafieldDefinition#field-MetafieldDefinition.fields.type)