> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Metadata fields

export const Link = ({href, children, className, ...props}) => {
  const localizedHref = href;
  return <a href={localizedHref} className={className} {...props}>
      {children}
    </a>;
};

A <Link href="/reference/resources/metadata-template/#param-fields">metadata template field</Link> describes a specific
piece of data within a metadata template. For example, the ID of an invoice
might be represented as an `id` field on an `invoiceData` template.

Every metadata template contains a list of `field` objects, and each field is of
one of the following types:

|                                                                        |                                               |
| ---------------------------------------------------------------------- | --------------------------------------------- |
| <Link href="/guides/metadata/fields/string">`string`</Link>            | A text field                                  |
| <Link href="/guides/metadata/fields/float">`float`</Link>              | A numeric input field                         |
| <Link href="/guides/metadata/fields/date">`date`</Link>                | A date picker field                           |
| <Link href="/guides/metadata/fields/enum">`enum`</Link>                | A dropdown list for selecting a single value  |
| <Link href="/guides/metadata/fields/multi-select">`multiSelect`</Link> | A dropdown list for selecting multiple values |

## Basic field types

The basic field types are a `string` for a text field, `float` for a numeric
field, and `date` for a date-time picker field.

## Lists field types

Additionally, metadata templates support two field types to represent dropdown
lists. An `enum` field represents a list of predefined items that a user can
select, while a `multiSelect` field represents a list of items where the user
can select more than one value.
