Home > @vsf-enterprise/commercetools-types > FieldDefinition

# FieldDefinition type

Field definitions describe custom fields and allow you to define some meta-information associated with the field.

Signature:

export declare type FieldDefinition = {
    __typename?: 'FieldDefinition';
    name: Scalars['String'];
    required: Scalars['Boolean'];
    inputHint: TextInputHint;
    label?: Maybe<Scalars['String']>;
    labelAllLocales: Array<LocalizedString>;
    type: FieldType;
};

References: Scalars, TextInputHint, Maybe, LocalizedString, FieldType