# defineCustomObject sections type reference

> Inspect the exact accepted type for sections in defineCustomObject, including nested options and constraints.

The `sections` property is an input to [defineCustomObject](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/defineCustomObject).

Field sections keyed by API names ending in `__c`; any explicit `sectionId` also needs `__c`.

## Input shape

```
SectionDefinitions
```

## Exact accepted type

```
S & ApiNamedMap<S>
```

TypeScript signature and generic parameters

```ts
defineCustomObject<const A extends `${string}__c`, const F extends FieldDefinitions = {}, C extends string = `${Unsuffixed<A>}_category`, S extends SectionDefinitions = {}, N extends NameFieldDefinition = { kind: "text"; }>(props: DefineCustomObjectProps<A, F, C, S, N>): DefinedCustomObject<CustomObjectDefinition<LogicalCustomObjectName<Unsuffixed<A>>, LogicalCategoryName<C>, S, F, N>>;
```

## Related types

-   [ApiNamedMap](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/ApiNamedMap-f49c575d)
-   [SectionDefinitions](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/SectionDefinitions-cba292ee)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/defineCustomObject-sections-02b44cad

> 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.
