Edit on GitHub

Relationship

A schema that is used to validate a part of Laboperator workflow templates.

Defines a field of type relationship.

typerequired
string
must be: relationship
resourceTyperequired
string
one of: users devices measurements samples channels collections attachments
The type of resource referenced by this relationship.
multiple
boolean
default: false

A boolean flag indicating that multiple entities can be referenced.

filter
reference
Script

A filter expression that allows to filter available resources further. A resources attribute will be passed to the filter expression. Refer to the resource object descriptions of the API for more information about available attributes.

Examples:
device_class == 2000
email ~= "@partner.company.com"
unit == "mg"
Where is this used?
Other schemas that have a reference ($ref) to this schema.

No references found.