---
title: RelationDefinition
slug: data-platform/connect-platform/node-sdk-api-reference-odp-interfaces-relationdefinition
docTags: 
createdAt: 2026-08-05T20:06:38.960Z
---

[ODP Node SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[ODP Node SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / [ODP](docId\:R8vto_M9Wlz5ke8bcr-Ht) / RelationDefinition

# Interface: RelationDefinition

Defined in: [src/Api/Types/Schema.ts:72](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/Types/Schema.ts#L72)

The ODP Relation definition payload for schema APIs.
See [V3 Schema API](docId\:gI_5WZ_wMuZ3A267LnyOq)
for details.

## Properties

### child\_object

:::BlockQuote
**child\_object**: `string`
:::

Defined in: [src/Api/Types/Schema.ts:86](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/Types/Schema.ts#L86)

The child or "target" object of this relation.

***

### display\_name

:::BlockQuote
**display\_name**: `string`
:::

Defined in: [src/Api/Types/Schema.ts:82](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/Types/Schema.ts#L82)

The user-friendly name used within ODP.
Must be unique across all relation and field display names within the object.

***

### join\_fields

:::BlockQuote
**join\_fields**: `JoinField`\[]
:::

Defined in: [src/Api/Types/Schema.ts:91](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/Types/Schema.ts#L91)

Collection of parent/child field pairs that define how to join the parent object to the child object.
Multiple pairs are allowed to support objects with compound primary keys.

***

### name

:::BlockQuote
**name**: `string`
:::

Defined in: [src/Api/Types/Schema.ts:77](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/Types/Schema.ts#L77)

The name of the relation. Lower snake case, alphanumeric, must start with an alpha character.
Must be unique across all relation and field names within the object.
