<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [RelationshipConstraint](./schema.relationshipconstraint.md)

## RelationshipConstraint interface

<b>Signature:</b>

```typescript
export interface RelationshipConstraint 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [accepts](./schema.relationshipconstraint.accepts.md) |  | [Profile](./schema.profile.md)<!-- -->\[\] | The kinds of profiles that are accepted in this relationship |
|  [description?](./schema.relationshipconstraint.description.md) |  | string | <i>(Optional)</i> Description of the named resource. |
|  [multi?](./schema.relationshipconstraint.multi.md) |  | boolean | <i>(Optional)</i> Whether multiple relationships of this kind may be defined on a resource Defaults to false |
|  [rel](./schema.relationshipconstraint.rel.md) |  | string | The relationship definition |
|  [title?](./schema.relationshipconstraint.title.md) |  | string | <i>(Optional)</i> Friendly name of the relationship type. Used for display only. |

