CustomerAttributeMetadata
Customer attribute metadata.
type CustomerAttributeMetadata = CustomAttributeMetadataInterface & {
__typename?: 'CustomerAttributeMetadata'; /** The unique identifier for an attribute code. This value should be in lowercase letters without spaces. */
code: Scalars['ID']['output']; /** Default attribute value. */
default_value?: Maybe<Scalars['String']['output']>; /** The type of entity that defines the attribute. */
entity_type: AttributeEntityTypeEnum; /** The frontend class of the attribute. */
frontend_class?: Maybe<Scalars['String']['output']>; /** The frontend input type of the attribute. */
frontend_input?: Maybe<AttributeFrontendInputEnum>; /** The template used for the input of the attribute (e.g., 'date'). */
input_filter?: Maybe<InputFilterEnum>; /** Whether the attribute value is required. */
is_required: Scalars['Boolean']['output']; /** Whether the attribute value must be unique. */
is_unique: Scalars['Boolean']['output']; /** The label assigned to the attribute. */
label?: Maybe<Scalars['String']['output']>; /** The number of lines of the attribute value. */
multiline_count?: Maybe<Scalars['Int']['output']>; /** Attribute options. */
options: Array<Maybe<CustomAttributeOptionInterface>>; /** The position of the attribute in the form. */
sort_order?: Maybe<Scalars['Int']['output']>; /** The validation rules of the attribute value. */
validate_rules?: Maybe<Array<Maybe<ValidationRule>>>;
};