schema.resourceschema.rel.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/schema > ResourceSchema > rel
ResourceSchema.rel property
The relationship of this resource to the parent resource.
Note: If the resource is a profile-free reference object (e.g. { "rel": "input", "path": "path/to/datatable.json" },
Then the relationship is _external_ the target resource and should not be persisted in the object )
Signature:
rel?: Rel | string;