# FieldProps

> Type reference for FieldProps in the Rippling SDK, including its public shape and related types.

## Type definition

```
export interface FieldProps {
    apiName: string;
    displayName: string;
    fieldType?: FieldType | undefined;
    dataType?: Config['data_type'] | undefined;
    description: string;
    required?: boolean | null | undefined;
    unique?: boolean | null | undefined;
    indexed?: boolean | null | undefined;
    rqlFormula?: string | null | undefined;
    formulaAttrMetas?: Config['formula_attr_metas'] | undefined;
    derivedAggregatedField?: Config['derived_aggregated_field'] | undefined;
    derivedFieldFormula?: string | null | undefined;
    section: CustomObjectFieldSection | null;
    maxLength?: number | undefined;
    decimalPlaces?: number | undefined;
    currency?: string | undefined;
    options?: string[] | undefined;
    supportedTypes?: string[] | undefined;
    targetModelRqlName?: string | undefined;
    databaseModel?: string | undefined;
    referenceStorageType?: string | undefined;
    edgeType?: 'LOOKUP' | 'PARENT_CHILD' | undefined;
    parentChildType?: 'PRIMARY' | 'SECONDARY' | undefined;
    enableParentOwnerInheritance?: boolean | undefined;
    relatedDataLabel?: string | undefined;
    lookupFilterRqlCondition?: string | undefined;
    lookupFilterRqlMeta?: Config['data_type']['lookup_filter_rql_meta'];
    allowOther?: boolean | undefined;
    detailedOptions?: Config['data_type']['detailed_options_list'];
    summarySpec?: SummarySpec | undefined;
}
```

## Related types

-   [FieldType](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FieldType-1e382120)
-   [CustomObjectFieldSection](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FieldSectionReference-f076b56f)
-   [SummarySpec](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/SummarySpec-831699e9)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FieldProps-d32a6388

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
