schema.relationshipconstraint.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/schema > RelationshipConstraint
RelationshipConstraint interface
Signature:
export interface RelationshipConstraint
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| accepts | Profile[] | The kinds of profiles that are accepted in this relationship | |
| description? | string | (Optional) Description of the named resource. | |
| multi? | boolean | (Optional) Whether multiple relationships of this kind may be defined on a resource Defaults to false | |
| rel | string | The relationship definition | |
| title? | string | (Optional) Friendly name of the relationship type. Used for display only. |