> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/api/references/data-governance/derived-relation-types.md).

# Derived Relation Types

## Find derived relation types matching criteria

> Returns derived relation types matching the given search criteria. Only parameters that are specified in this request and have not \<code>null\</code> values are used for filtering. All other parameters are ignored. By default a result containing 1000 derived relation types is returned.\
> \
> This endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.

```json
{"openapi":"3.0.3","info":{"title":"Collibra Data Governance Center Core API","version":"2.0"},"servers":[{"url":"/rest/2.0","variables":{}}],"security":[{"basicAuth":[]},{"jwtAuth":[]},{"oauth2":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"http","description":"Collibra REST API authentication using JSON Web Token.","scheme":"bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"Collibra REST API authentication using OAuth 2.","flows":{"clientCredentials":{"tokenUrl":"/rest/oauth/v2/token","scopes":{"sys.admin":"System administration","kg.manage-all":"Manage all knowledge graph resources","kg.view-all":"View any knowledge graph resource","kg.manage-tags":"Manage tags","insights.download":"Download insights reporting zip files","wf.administration":"Workflow administration","wf.use-message-events":"Use workflow events"}}}}},"schemas":{"DerivedRelationTypePagedResponse":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of results.","format":"int64"},"offset":{"type":"integer","description":"The offset for the results.","format":"int64"},"limit":{"type":"integer","description":"The maximum number of results to be returned.","format":"int64"},"results":{"type":"array","description":"The list of results.","items":{"$ref":"#/components/schemas/DerivedRelationTypeImpl"}}}},"DerivedRelationTypeImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the represented object (entity).","format":"uuid"},"createdBy":{"type":"string","description":"The id of the user that created this resource.","format":"uuid"},"createdOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the creation of this resource.","format":"int64"},"lastModifiedBy":{"type":"string","description":"The id of the user who modified this resource the last time.","format":"uuid"},"lastModifiedOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the last modification of this resource.","format":"int64"},"system":{"type":"boolean","description":"Whether this is a system resource or not."},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...].\nThis property is deprecated and will be removed in the future. To stay backwards compatible while\nstill allowing new types of resources to be introduced, a resource discriminator property (of type\nString) has been added to the subtypes of Resource where it adds value,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nA discriminator is only added on subtypes whose declared return type can represent more than one\nkind of resource; it is omitted where the return type can only ever be a single kind, as it would\nthen always hold the same value and carry no additional information. For new types of resource\nthat didn't exist before this change, the resourceType will be BaseDataType.\n","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"publicId":{"type":"string","description":"The public id of the Derived Relation Type."},"description":{"type":"string","description":"The description of the Derived Relation Type."},"sourceType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"targetType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"role":{"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeImpl"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeImpl"},"intermediateNodes":{"type":"array","description":"The intermediate nodes for this Derived Relation Type.","items":{"$ref":"#/components/schemas/PathIntermediateNodeImpl"}}}},"MetaNamedResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"name":{"type":"string","description":"The name of the referenced resource."},"publicId":{"type":"string"}},"description":"    The reference to the target type of the relation. The reference can only have a\n    resourceDiscriminator of value 'AssetType', 'ComplexRelationType' or 'Trait'.\n"},"PathSourceNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The source node for this Derived Relation Type."},"PathEdgeImpl":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"direction":{"type":"string","description":"The direction of the Relation Type represented by the edge. Note : this is not the direction of the edge in the graph.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_SOURCE","TO_TARGET"]},"repetitionDepth":{"type":"integer","description":"The repetition depth, which indicates whether an edge is repeatable and to which depth. The value is 1 for an edge which is not repeatable. If the repetition depth is N > 1, the source and target types of the edge relation  type must be compatible. The edge represents a subgraph consisting of N simple, parallel paths, with lengths  1, 2, ..., N, where the type and direction of every expanded edge are the same as the original edge.","format":"int32","default":1},"nodeName":{"type":"string","description":"The name of the Path Node where the edge ends."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."}},"description":"The outgoing Path Edges. This list is never empty."},"MetaResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"publicId":{"type":"string"}},"description":"The type MetaResourceReference for this relation collection filter."},"PathNodeFilterImpl":{"type":"object","properties":{"and":{"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"or":{"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"type":{"$ref":"#/components/schemas/TypeFilterImpl"},"status":{"$ref":"#/components/schemas/StatusFilterImpl"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterImpl"},"createdOn":{"$ref":"#/components/schemas/DateFilterImpl"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterImpl"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterImpl"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterImpl"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterImpl"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterImpl"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterImpl"},"asset":{"$ref":"#/components/schemas/AssetFilterImpl"},"domain":{"$ref":"#/components/schemas/DomainFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterImpl"}},"description":"The filter for this intermediate node."},"TypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The type (asset type or trait) filter."},"MetaResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}}},"description":"Filters on the public ID of the domain type."},"StatusFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The status filter."},"ResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/ResourceReference"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/ResourceReference"}}},"description":"Filters on the id of the community."},"ResourceReference":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."}},"description":"Represents reference to the resource."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of).","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of)."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of).","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of)."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of).","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of)."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of).","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of)."}}},"description":"Filters on the name of the community."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"The tags filter."},"DateFilterImpl":{"type":"object","properties":{"lt":{"type":"string","description":"The less than date.","format":"date"},"lte":{"type":"string","description":"The less than or equal date.","format":"date"},"gt":{"type":"string","description":"The greater than date.","format":"date"},"gte":{"type":"string","description":"The greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of last days to filter.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"The ANY filter - matches if any of the date attributes match this filter."},"StringAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"The string attributes filter."},"NumericAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/NumericFilterImpl"},"any":{"$ref":"#/components/schemas/NumericFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"The numeric attributes filter."},"NumericFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of values to match (in).","items":{"type":"number","description":"The list of values to match (in).","format":"double"}},"gt":{"type":"number","description":"The greater than value.","format":"double"},"gte":{"type":"number","description":"The greater than or equal value.","format":"double"},"lt":{"type":"number","description":"The less than value.","format":"double"},"lte":{"type":"number","description":"The less than or equal value.","format":"double"}},"description":"The ANY filter - matches if any of the numeric attributes match this filter."},"BooleanAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/BooleanFilterImpl"},"any":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ANY filter - matches if any of the boolean attributes match this filter."},"DateAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/DateFilterImpl"},"any":{"$ref":"#/components/schemas/DateFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/AssetFilterImpl"},"any":{"$ref":"#/components/schemas/AssetFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"The outgoing relations filter."},"AssetFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The asset filter."},"ResponsibilityRoleCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterImpl"},"any":{"$ref":"#/components/schemas/RoleFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"The responsibility roles filter."},"RoleFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the responsibility roles match this filter."},"DomainFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The domain filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterImpl"},"any":{"$ref":"#/components/schemas/CommunityFilterImpl"}},"description":"The communities filter."},"CommunityFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the communities match this filter."},"DomainTypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The domain type filter."},"PathTargetNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The target node for this Derived Relation Type."},"PathIntermediateNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The intermediate nodes for this Derived Relation Type."}}},"paths":{"/derivedRelationTypes":{"get":{"tags":["Derived Relation Types"],"summary":"Find derived relation types matching criteria","description":"Returns derived relation types matching the given search criteria. Only parameters that are specified in this request and have not <code>null</code> values are used for filtering. All other parameters are ignored. By default a result containing 1000 derived relation types is returned.\n\nThis endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.","operationId":"findDerivedRelationTypes","parameters":[{"name":"sourceTypeId","in":"query","schema":{"type":"string","description":"The id of the source Type of the Derived Relation Types to search for.","format":"uuid"}},{"name":"sourceTypeName","in":"query","schema":{"type":"string","description":"The name of the source Type of the Derived Relation Types to search for."}},{"name":"role","in":"query","schema":{"type":"string","description":"The role of the Derived Relation Types to search for."}},{"name":"coRole","in":"query","schema":{"type":"string","description":"The co-role of the Derived Relation Types to search for."}},{"name":"targetTypeId","in":"query","schema":{"type":"string","description":"The id of the target Type of the Derived Relation Types to search for.","format":"uuid"}},{"name":"targetTypeName","in":"query","schema":{"type":"string","description":"The name of the target Type of the Derived Relation Types to search for."}},{"name":"sortField","in":"query","schema":{"type":"string","description":"The field that should be used as reference for sorting.","enum":["ROLE","CO_ROLE"],"default":"ROLE"}},{"name":"sortOrder","in":"query","schema":{"type":"string","description":"The order in which the results will be returned.","enum":["ASC","DESC","ASC","DESC"],"default":"ASC"}},{"name":"offset","in":"query","schema":{"type":"integer","description":"The first result to retrieve. If not set (offset = <code>0</code>), results will be retrieved starting from row <code>0</code>.","format":"int32","default":0}},{"name":"limit","in":"query","schema":{"maximum":1000,"type":"integer","description":"The maximum number of results to retrieve. If not set (limit = <code>0</code>), the default limit will be used. The maximum allowed limit is 1000.","format":"int32","default":0}},{"name":"countLimit","in":"query","schema":{"type":"integer","description":"Allows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped.","format":"int32","default":-1}}],"responses":{"200":{"description":"Search ran successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DerivedRelationTypePagedResponse"}}}}}}}}}
```

## Add a derived relation type

> Adds a new derived relation type with the given parameters.\
> \
> Note: The request body format of this API differs from the JSON format used in the Collibra UI's derived relation type editor. The API uses a structured path model with sourceNode, intermediateNodes, and targetNode objects. Do not copy JSON directly from the UI editor into API requests.\
> \
> This endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.

```json
{"openapi":"3.0.3","info":{"title":"Collibra Data Governance Center Core API","version":"2.0"},"servers":[{"url":"/rest/2.0","variables":{}}],"security":[{"basicAuth":[]},{"jwtAuth":[]},{"oauth2":["sys.admin"]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"http","description":"Collibra REST API authentication using JSON Web Token.","scheme":"bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"Collibra REST API authentication using OAuth 2.","flows":{"clientCredentials":{"tokenUrl":"/rest/oauth/v2/token","scopes":{"sys.admin":"System administration","kg.manage-all":"Manage all knowledge graph resources","kg.view-all":"View any knowledge graph resource","kg.manage-tags":"Manage tags","insights.download":"Download insights reporting zip files","wf.administration":"Workflow administration","wf.use-message-events":"Use workflow events"}}}}},"schemas":{"AddDerivedRelationTypeRequest":{"required":["coRole","intermediateNodes","role","sourceNode","sourceTypePublicId","targetNode","targetTypePublicId"],"type":"object","properties":{"id":{"type":"string","description":"The id of the Derived Relation Type. If not specified, a unique id will be generated.","format":"uuid"},"publicId":{"maxLength":260,"minLength":1,"type":"string","description":"The public id of the Derived Relation Type. If not specified, a unique public id will be generated."},"description":{"maxLength":4000,"minLength":0,"type":"string","description":"The description of the Derived Relation Type."},"sourceTypePublicId":{"maxLength":260,"minLength":1,"type":"string","description":"The public id of the source type of the Derived Relation Type."},"targetTypePublicId":{"maxLength":260,"minLength":1,"type":"string","description":"The public id of the target type of the Derived Relation Type."},"role":{"maxLength":255,"minLength":1,"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"maxLength":255,"minLength":1,"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeRequest"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeRequest"},"intermediateNodes":{"minItems":1,"type":"array","description":"The intermediate nodes of the Derived Relation Type. This list must not be empty.","items":{"$ref":"#/components/schemas/PathIntermediateNodeRequest"}}},"description":"A request to add a Derived Relation Type."},"PathSourceNodeRequest":{"required":["name","outgoingEdges"],"type":"object","properties":{"name":{"type":"string","description":"The name. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"minItems":1,"type":"array","description":"The outgoing Path Edges. This list cannot be empty.","items":{"$ref":"#/components/schemas/PathEdgeRequest"}},"filter":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"description":"Specifies the details for a Path Graph source node. This contains the list of outgoing edges.","nullable":true},"PathEdgeRequest":{"required":["direction","nodeName","typePublicId"],"type":"object","properties":{"typePublicId":{"type":"string","description":"The public id of the Relation Type represented by the edge."},"nodeName":{"type":"string","description":"The name of the node the edge connects to. This must be the name of another node in the Path Graph."},"direction":{"type":"string","description":"The direction of the Relation Type. This is only relevant when the edge represents a Relation Type.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_TARGET","TO_SOURCE"]},"repetitionDepth":{"type":"integer","description":"The number of times the edge can be repeated. This can only be a value larger than 1 when the source and target types of the edge relation type are compatible.","format":"int32","default":1}},"description":"Specifies the details for a Path Graph edge."},"PathNodeFilterRequest":{"type":"object","properties":{"and":{"minItems":2,"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"or":{"minItems":2,"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"type":{"$ref":"#/components/schemas/TypeFilterRequest"},"status":{"$ref":"#/components/schemas/StatusFilterRequest"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterRequest"},"createdOn":{"$ref":"#/components/schemas/DateFilterRequest"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterRequest"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterRequest"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterRequest"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterRequest"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterRequest"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterRequest"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterRequest"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterRequest"},"asset":{"$ref":"#/components/schemas/AssetFilterRequest"},"domain":{"$ref":"#/components/schemas/DomainFilterRequest"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterRequest"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterRequest"}},"description":"Specifies the details for a filter. Exactly one field must be set: either a combinator (and / or) whose operands are themselves filters, or a single filter targeting one entity (e.g. type, status, tags, ...)."},"TypeFilterRequest":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"}},"description":"Specifies the details for a type (asset type or trait) filter. Each property of the type is filtered individually; currently only publicId is supported."},"PublicIdFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of public IDs to include.","items":{"type":"string","description":"The list of public IDs to include."}},"notIn":{"type":"array","description":"The list of public IDs to exclude.","items":{"type":"string","description":"The list of public IDs to exclude."}}},"description":"Specifies the details for a public ID filter."},"StatusFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a status filter. Each property of the status is filtered individually (id or name)."},"UuidFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of UUIDs to include.","items":{"type":"string","description":"The list of UUIDs to include.","format":"uuid"}},"notIn":{"type":"array","description":"The list of UUIDs to exclude.","items":{"type":"string","description":"The list of UUIDs to exclude.","format":"uuid"}}},"description":"Specifies the details for a UUID filter."},"StringFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of). Not allowed inside a collection filter."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of). Not allowed inside a collection filter."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of). Not allowed inside a collection filter."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of). Not allowed inside a collection filter."}}},"description":"Specifies the details for a string filter."},"TagCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterRequest"},"any":{"$ref":"#/components/schemas/StringFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"Specifies the details for a tag collection filter."},"DateFilterRequest":{"type":"object","properties":{"lt":{"type":"string","description":"Less than date.","format":"date"},"lte":{"type":"string","description":"Less than or equal date.","format":"date"},"gt":{"type":"string","description":"Greater than date.","format":"date"},"gte":{"type":"string","description":"Greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of days to look back from today.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"Specifies the details for a date filter."},"StringAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/StringFilterRequest"},"any":{"$ref":"#/components/schemas/StringFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"Specifies the details for a string attribute collection filter."},"NumericAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/NumericFilterRequest"},"any":{"$ref":"#/components/schemas/NumericFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"Specifies the details for a numeric attribute collection filter."},"NumericFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of numeric values to include.","items":{"type":"number","description":"The list of numeric values to include.","format":"double"}},"gt":{"type":"number","description":"Greater than value.","format":"double"},"gte":{"type":"number","description":"Greater than or equal value.","format":"double"},"lt":{"type":"number","description":"Less than value.","format":"double"},"lte":{"type":"number","description":"Less than or equal value.","format":"double"}},"description":"Specifies the details for a numeric filter."},"BooleanAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/BooleanFilterRequest"},"any":{"$ref":"#/components/schemas/BooleanFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"Specifies the details for a boolean attribute collection filter."},"BooleanFilterRequest":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match."}},"description":"Specifies the details for a boolean filter."},"DateAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/DateFilterRequest"},"any":{"$ref":"#/components/schemas/DateFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"Specifies the details for a date attribute collection filter."},"RelationCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this relation collection filter."},"none":{"$ref":"#/components/schemas/AssetFilterRequest"},"any":{"$ref":"#/components/schemas/AssetFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"Specifies the details for a relation collection filter."},"AssetFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for an asset filter. Each property of the asset is filtered individually (id or name)."},"ResponsibilityRoleCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterRequest"},"any":{"$ref":"#/components/schemas/RoleFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"Specifies the details for a responsibility role collection filter."},"RoleFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a responsibility role filter. Each property of the role is filtered individually (id or name)."},"DomainFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a domain filter. Each property of the domain is filtered individually (id or name)."},"CommunityCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterRequest"},"any":{"$ref":"#/components/schemas/CommunityFilterRequest"}},"description":"Specifies the details for a community collection filter."},"CommunityFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a community filter. Each property of the community is filtered individually (id or name)."},"DomainTypeFilterRequest":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"}},"description":"Specifies the details for a domain type filter. Each property of the domain type is filtered individually; currently only publicId is supported."},"PathTargetNodeRequest":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"The name. This string uniquely identifies the node within the Path Graph."},"filter":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"description":"Specifies the details for a Path Graph target node.","nullable":true},"PathIntermediateNodeRequest":{"required":["name","outgoingEdges"],"type":"object","properties":{"name":{"type":"string","description":"The name. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"minItems":1,"type":"array","description":"The outgoing Path Edges. This list cannot be empty.","items":{"$ref":"#/components/schemas/PathEdgeRequest"}},"filter":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"description":"Specifies the details for a Path Graph intermediate node."},"DerivedRelationTypeImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the represented object (entity).","format":"uuid"},"createdBy":{"type":"string","description":"The id of the user that created this resource.","format":"uuid"},"createdOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the creation of this resource.","format":"int64"},"lastModifiedBy":{"type":"string","description":"The id of the user who modified this resource the last time.","format":"uuid"},"lastModifiedOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the last modification of this resource.","format":"int64"},"system":{"type":"boolean","description":"Whether this is a system resource or not."},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...].\nThis property is deprecated and will be removed in the future. To stay backwards compatible while\nstill allowing new types of resources to be introduced, a resource discriminator property (of type\nString) has been added to the subtypes of Resource where it adds value,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nA discriminator is only added on subtypes whose declared return type can represent more than one\nkind of resource; it is omitted where the return type can only ever be a single kind, as it would\nthen always hold the same value and carry no additional information. For new types of resource\nthat didn't exist before this change, the resourceType will be BaseDataType.\n","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"publicId":{"type":"string","description":"The public id of the Derived Relation Type."},"description":{"type":"string","description":"The description of the Derived Relation Type."},"sourceType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"targetType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"role":{"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeImpl"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeImpl"},"intermediateNodes":{"type":"array","description":"The intermediate nodes for this Derived Relation Type.","items":{"$ref":"#/components/schemas/PathIntermediateNodeImpl"}}}},"MetaNamedResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"name":{"type":"string","description":"The name of the referenced resource."},"publicId":{"type":"string"}},"description":"    The reference to the target type of the relation. The reference can only have a\n    resourceDiscriminator of value 'AssetType', 'ComplexRelationType' or 'Trait'.\n"},"PathSourceNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The source node for this Derived Relation Type."},"PathEdgeImpl":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"direction":{"type":"string","description":"The direction of the Relation Type represented by the edge. Note : this is not the direction of the edge in the graph.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_SOURCE","TO_TARGET"]},"repetitionDepth":{"type":"integer","description":"The repetition depth, which indicates whether an edge is repeatable and to which depth. The value is 1 for an edge which is not repeatable. If the repetition depth is N > 1, the source and target types of the edge relation  type must be compatible. The edge represents a subgraph consisting of N simple, parallel paths, with lengths  1, 2, ..., N, where the type and direction of every expanded edge are the same as the original edge.","format":"int32","default":1},"nodeName":{"type":"string","description":"The name of the Path Node where the edge ends."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."}},"description":"The outgoing Path Edges. This list is never empty."},"MetaResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"publicId":{"type":"string"}},"description":"The type MetaResourceReference for this relation collection filter."},"PathNodeFilterImpl":{"type":"object","properties":{"and":{"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"or":{"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"type":{"$ref":"#/components/schemas/TypeFilterImpl"},"status":{"$ref":"#/components/schemas/StatusFilterImpl"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterImpl"},"createdOn":{"$ref":"#/components/schemas/DateFilterImpl"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterImpl"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterImpl"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterImpl"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterImpl"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterImpl"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterImpl"},"asset":{"$ref":"#/components/schemas/AssetFilterImpl"},"domain":{"$ref":"#/components/schemas/DomainFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterImpl"}},"description":"The filter for this intermediate node."},"TypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The type (asset type or trait) filter."},"MetaResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}}},"description":"Filters on the public ID of the domain type."},"StatusFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The status filter."},"ResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/ResourceReference"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/ResourceReference"}}},"description":"Filters on the id of the community."},"ResourceReference":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."}},"description":"Represents reference to the resource."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of).","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of)."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of).","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of)."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of).","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of)."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of).","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of)."}}},"description":"Filters on the name of the community."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"The tags filter."},"DateFilterImpl":{"type":"object","properties":{"lt":{"type":"string","description":"The less than date.","format":"date"},"lte":{"type":"string","description":"The less than or equal date.","format":"date"},"gt":{"type":"string","description":"The greater than date.","format":"date"},"gte":{"type":"string","description":"The greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of last days to filter.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"The ANY filter - matches if any of the date attributes match this filter."},"StringAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"The string attributes filter."},"NumericAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/NumericFilterImpl"},"any":{"$ref":"#/components/schemas/NumericFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"The numeric attributes filter."},"NumericFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of values to match (in).","items":{"type":"number","description":"The list of values to match (in).","format":"double"}},"gt":{"type":"number","description":"The greater than value.","format":"double"},"gte":{"type":"number","description":"The greater than or equal value.","format":"double"},"lt":{"type":"number","description":"The less than value.","format":"double"},"lte":{"type":"number","description":"The less than or equal value.","format":"double"}},"description":"The ANY filter - matches if any of the numeric attributes match this filter."},"BooleanAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/BooleanFilterImpl"},"any":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ANY filter - matches if any of the boolean attributes match this filter."},"DateAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/DateFilterImpl"},"any":{"$ref":"#/components/schemas/DateFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/AssetFilterImpl"},"any":{"$ref":"#/components/schemas/AssetFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"The outgoing relations filter."},"AssetFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The asset filter."},"ResponsibilityRoleCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterImpl"},"any":{"$ref":"#/components/schemas/RoleFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"The responsibility roles filter."},"RoleFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the responsibility roles match this filter."},"DomainFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The domain filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterImpl"},"any":{"$ref":"#/components/schemas/CommunityFilterImpl"}},"description":"The communities filter."},"CommunityFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the communities match this filter."},"DomainTypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The domain type filter."},"PathTargetNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The target node for this Derived Relation Type."},"PathIntermediateNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The intermediate nodes for this Derived Relation Type."}}},"paths":{"/derivedRelationTypes":{"post":{"tags":["Derived Relation Types"],"summary":"Add a derived relation type","description":"Adds a new derived relation type with the given parameters.\n\nNote: The request body format of this API differs from the JSON format used in the Collibra UI's derived relation type editor. The API uses a structured path model with sourceNode, intermediateNodes, and targetNode objects. Do not copy JSON directly from the UI editor into API requests.\n\nThis endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.","operationId":"addDerivedRelationType","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddDerivedRelationTypeRequest"}}}},"responses":{"201":{"description":"Derived relation type successfully added.","headers":{"Location":{"description":"URI of the created derived relation type","style":"simple","schema":{"type":"string","format":"uri"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DerivedRelationTypeImpl"}}}},"400":{"description":"The given parameters are invalid or a derived relation type with the given public ID already exists"},"403":{"description":"Forbidden - Insufficient permissions to perform the requested operation."}}}}}}
```

## Get derived relation type by ID

> Returns the derived relation type having the given ID.\
> \
> This endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.

```json
{"openapi":"3.0.3","info":{"title":"Collibra Data Governance Center Core API","version":"2.0"},"servers":[{"url":"/rest/2.0","variables":{}}],"security":[{"basicAuth":[]},{"jwtAuth":[]},{"oauth2":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"http","description":"Collibra REST API authentication using JSON Web Token.","scheme":"bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"Collibra REST API authentication using OAuth 2.","flows":{"clientCredentials":{"tokenUrl":"/rest/oauth/v2/token","scopes":{"sys.admin":"System administration","kg.manage-all":"Manage all knowledge graph resources","kg.view-all":"View any knowledge graph resource","kg.manage-tags":"Manage tags","insights.download":"Download insights reporting zip files","wf.administration":"Workflow administration","wf.use-message-events":"Use workflow events"}}}}},"schemas":{"DerivedRelationTypeImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the represented object (entity).","format":"uuid"},"createdBy":{"type":"string","description":"The id of the user that created this resource.","format":"uuid"},"createdOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the creation of this resource.","format":"int64"},"lastModifiedBy":{"type":"string","description":"The id of the user who modified this resource the last time.","format":"uuid"},"lastModifiedOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the last modification of this resource.","format":"int64"},"system":{"type":"boolean","description":"Whether this is a system resource or not."},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...].\nThis property is deprecated and will be removed in the future. To stay backwards compatible while\nstill allowing new types of resources to be introduced, a resource discriminator property (of type\nString) has been added to the subtypes of Resource where it adds value,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nA discriminator is only added on subtypes whose declared return type can represent more than one\nkind of resource; it is omitted where the return type can only ever be a single kind, as it would\nthen always hold the same value and carry no additional information. For new types of resource\nthat didn't exist before this change, the resourceType will be BaseDataType.\n","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"publicId":{"type":"string","description":"The public id of the Derived Relation Type."},"description":{"type":"string","description":"The description of the Derived Relation Type."},"sourceType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"targetType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"role":{"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeImpl"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeImpl"},"intermediateNodes":{"type":"array","description":"The intermediate nodes for this Derived Relation Type.","items":{"$ref":"#/components/schemas/PathIntermediateNodeImpl"}}}},"MetaNamedResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"name":{"type":"string","description":"The name of the referenced resource."},"publicId":{"type":"string"}},"description":"    The reference to the target type of the relation. The reference can only have a\n    resourceDiscriminator of value 'AssetType', 'ComplexRelationType' or 'Trait'.\n"},"PathSourceNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The source node for this Derived Relation Type."},"PathEdgeImpl":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"direction":{"type":"string","description":"The direction of the Relation Type represented by the edge. Note : this is not the direction of the edge in the graph.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_SOURCE","TO_TARGET"]},"repetitionDepth":{"type":"integer","description":"The repetition depth, which indicates whether an edge is repeatable and to which depth. The value is 1 for an edge which is not repeatable. If the repetition depth is N > 1, the source and target types of the edge relation  type must be compatible. The edge represents a subgraph consisting of N simple, parallel paths, with lengths  1, 2, ..., N, where the type and direction of every expanded edge are the same as the original edge.","format":"int32","default":1},"nodeName":{"type":"string","description":"The name of the Path Node where the edge ends."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."}},"description":"The outgoing Path Edges. This list is never empty."},"MetaResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"publicId":{"type":"string"}},"description":"The type MetaResourceReference for this relation collection filter."},"PathNodeFilterImpl":{"type":"object","properties":{"and":{"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"or":{"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"type":{"$ref":"#/components/schemas/TypeFilterImpl"},"status":{"$ref":"#/components/schemas/StatusFilterImpl"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterImpl"},"createdOn":{"$ref":"#/components/schemas/DateFilterImpl"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterImpl"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterImpl"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterImpl"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterImpl"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterImpl"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterImpl"},"asset":{"$ref":"#/components/schemas/AssetFilterImpl"},"domain":{"$ref":"#/components/schemas/DomainFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterImpl"}},"description":"The filter for this intermediate node."},"TypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The type (asset type or trait) filter."},"MetaResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}}},"description":"Filters on the public ID of the domain type."},"StatusFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The status filter."},"ResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/ResourceReference"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/ResourceReference"}}},"description":"Filters on the id of the community."},"ResourceReference":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."}},"description":"Represents reference to the resource."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of).","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of)."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of).","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of)."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of).","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of)."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of).","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of)."}}},"description":"Filters on the name of the community."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"The tags filter."},"DateFilterImpl":{"type":"object","properties":{"lt":{"type":"string","description":"The less than date.","format":"date"},"lte":{"type":"string","description":"The less than or equal date.","format":"date"},"gt":{"type":"string","description":"The greater than date.","format":"date"},"gte":{"type":"string","description":"The greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of last days to filter.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"The ANY filter - matches if any of the date attributes match this filter."},"StringAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"The string attributes filter."},"NumericAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/NumericFilterImpl"},"any":{"$ref":"#/components/schemas/NumericFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"The numeric attributes filter."},"NumericFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of values to match (in).","items":{"type":"number","description":"The list of values to match (in).","format":"double"}},"gt":{"type":"number","description":"The greater than value.","format":"double"},"gte":{"type":"number","description":"The greater than or equal value.","format":"double"},"lt":{"type":"number","description":"The less than value.","format":"double"},"lte":{"type":"number","description":"The less than or equal value.","format":"double"}},"description":"The ANY filter - matches if any of the numeric attributes match this filter."},"BooleanAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/BooleanFilterImpl"},"any":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ANY filter - matches if any of the boolean attributes match this filter."},"DateAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/DateFilterImpl"},"any":{"$ref":"#/components/schemas/DateFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/AssetFilterImpl"},"any":{"$ref":"#/components/schemas/AssetFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"The outgoing relations filter."},"AssetFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The asset filter."},"ResponsibilityRoleCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterImpl"},"any":{"$ref":"#/components/schemas/RoleFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"The responsibility roles filter."},"RoleFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the responsibility roles match this filter."},"DomainFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The domain filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterImpl"},"any":{"$ref":"#/components/schemas/CommunityFilterImpl"}},"description":"The communities filter."},"CommunityFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the communities match this filter."},"DomainTypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The domain type filter."},"PathTargetNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The target node for this Derived Relation Type."},"PathIntermediateNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The intermediate nodes for this Derived Relation Type."}}},"paths":{"/derivedRelationTypes/{derivedRelationTypeId}":{"get":{"tags":["Derived Relation Types"],"summary":"Get derived relation type by ID","description":"Returns the derived relation type having the given ID.\n\nThis endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.","operationId":"getDerivedRelationType","parameters":[{"name":"derivedRelationTypeId","in":"path","description":"The ID of the derived relation type","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Derived relation type found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DerivedRelationTypeImpl"}}}},"404":{"description":"Derived relation type not found"}}}}}}
```

## Remove derived relation type by ID

> Removes the derived relation type having the given ID. Removal is idempotent: removing a derived relation type that no longer exists also succeeds.\
> \
> This endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.

```json
{"openapi":"3.0.3","info":{"title":"Collibra Data Governance Center Core API","version":"2.0"},"servers":[{"url":"/rest/2.0","variables":{}}],"security":[{"basicAuth":[]},{"jwtAuth":[]},{"oauth2":["sys.admin"]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"http","description":"Collibra REST API authentication using JSON Web Token.","scheme":"bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"Collibra REST API authentication using OAuth 2.","flows":{"clientCredentials":{"tokenUrl":"/rest/oauth/v2/token","scopes":{"sys.admin":"System administration","kg.manage-all":"Manage all knowledge graph resources","kg.view-all":"View any knowledge graph resource","kg.manage-tags":"Manage tags","insights.download":"Download insights reporting zip files","wf.administration":"Workflow administration","wf.use-message-events":"Use workflow events"}}}}}},"paths":{"/derivedRelationTypes/{derivedRelationTypeId}":{"delete":{"tags":["Derived Relation Types"],"summary":"Remove derived relation type by ID","description":"Removes the derived relation type having the given ID. Removal is idempotent: removing a derived relation type that no longer exists also succeeds.\n\nThis endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.","operationId":"removeDerivedRelationType","parameters":[{"name":"derivedRelationTypeId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Derived relation type successfully removed"},"400":{"description":"Derived relation type cannot be removed because it is used in data quality rules or is referenced by other derived relation types"},"403":{"description":"Forbidden - Insufficient permissions to perform the requested operation."}}}}}}
```

## Change derived relation type

> Changes the derived relation type using the given parameters. Only properties that are specified in this request and have not \<code>null\</code> values are updated. All other properties are ignored.\
> \
> Note: The request body format of this API differs from the JSON format used in the Collibra UI's derived relation type editor. The API uses a structured path model with sourceNode, intermediateNodes, and targetNode objects. Do not copy JSON directly from the UI editor into API requests.\
> \
> This endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.

```json
{"openapi":"3.0.3","info":{"title":"Collibra Data Governance Center Core API","version":"2.0"},"servers":[{"url":"/rest/2.0","variables":{}}],"security":[{"basicAuth":[]},{"jwtAuth":[]},{"oauth2":["sys.admin"]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"http","description":"Collibra REST API authentication using JSON Web Token.","scheme":"bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"Collibra REST API authentication using OAuth 2.","flows":{"clientCredentials":{"tokenUrl":"/rest/oauth/v2/token","scopes":{"sys.admin":"System administration","kg.manage-all":"Manage all knowledge graph resources","kg.view-all":"View any knowledge graph resource","kg.manage-tags":"Manage tags","insights.download":"Download insights reporting zip files","wf.administration":"Workflow administration","wf.use-message-events":"Use workflow events"}}}}},"schemas":{"ChangeDerivedRelationTypeRequest":{"type":"object","properties":{"publicId":{"maxLength":260,"minLength":1,"type":"string","description":"The public id of the Derived Relation Type."},"description":{"maxLength":4000,"minLength":0,"type":"string","description":"The description of the Derived Relation Type."},"sourceTypePublicId":{"type":"string","description":"The public id of the source type of the Derived Relation Type."},"targetTypePublicId":{"type":"string","description":"The public id of the target type of the Derived Relation Type."},"role":{"maxLength":255,"minLength":1,"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"maxLength":255,"minLength":1,"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeRequest"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeRequest"},"intermediateNodes":{"minItems":1,"type":"array","description":"The intermediate nodes of the Derived Relation Type.","nullable":true,"items":{"$ref":"#/components/schemas/PathIntermediateNodeRequest"}}},"description":"A request to change a Derived Relation Type."},"PathSourceNodeRequest":{"required":["name","outgoingEdges"],"type":"object","properties":{"name":{"type":"string","description":"The name. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"minItems":1,"type":"array","description":"The outgoing Path Edges. This list cannot be empty.","items":{"$ref":"#/components/schemas/PathEdgeRequest"}},"filter":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"description":"Specifies the details for a Path Graph source node. This contains the list of outgoing edges.","nullable":true},"PathEdgeRequest":{"required":["direction","nodeName","typePublicId"],"type":"object","properties":{"typePublicId":{"type":"string","description":"The public id of the Relation Type represented by the edge."},"nodeName":{"type":"string","description":"The name of the node the edge connects to. This must be the name of another node in the Path Graph."},"direction":{"type":"string","description":"The direction of the Relation Type. This is only relevant when the edge represents a Relation Type.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_TARGET","TO_SOURCE"]},"repetitionDepth":{"type":"integer","description":"The number of times the edge can be repeated. This can only be a value larger than 1 when the source and target types of the edge relation type are compatible.","format":"int32","default":1}},"description":"Specifies the details for a Path Graph edge."},"PathNodeFilterRequest":{"type":"object","properties":{"and":{"minItems":2,"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"or":{"minItems":2,"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"type":{"$ref":"#/components/schemas/TypeFilterRequest"},"status":{"$ref":"#/components/schemas/StatusFilterRequest"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterRequest"},"createdOn":{"$ref":"#/components/schemas/DateFilterRequest"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterRequest"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterRequest"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterRequest"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterRequest"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterRequest"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterRequest"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterRequest"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterRequest"},"asset":{"$ref":"#/components/schemas/AssetFilterRequest"},"domain":{"$ref":"#/components/schemas/DomainFilterRequest"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterRequest"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterRequest"}},"description":"Specifies the details for a filter. Exactly one field must be set: either a combinator (and / or) whose operands are themselves filters, or a single filter targeting one entity (e.g. type, status, tags, ...)."},"TypeFilterRequest":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"}},"description":"Specifies the details for a type (asset type or trait) filter. Each property of the type is filtered individually; currently only publicId is supported."},"PublicIdFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of public IDs to include.","items":{"type":"string","description":"The list of public IDs to include."}},"notIn":{"type":"array","description":"The list of public IDs to exclude.","items":{"type":"string","description":"The list of public IDs to exclude."}}},"description":"Specifies the details for a public ID filter."},"StatusFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a status filter. Each property of the status is filtered individually (id or name)."},"UuidFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of UUIDs to include.","items":{"type":"string","description":"The list of UUIDs to include.","format":"uuid"}},"notIn":{"type":"array","description":"The list of UUIDs to exclude.","items":{"type":"string","description":"The list of UUIDs to exclude.","format":"uuid"}}},"description":"Specifies the details for a UUID filter."},"StringFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of). Not allowed inside a collection filter."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of). Not allowed inside a collection filter."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of). Not allowed inside a collection filter."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of). Not allowed inside a collection filter.","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of). Not allowed inside a collection filter."}}},"description":"Specifies the details for a string filter."},"TagCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterRequest"},"any":{"$ref":"#/components/schemas/StringFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"Specifies the details for a tag collection filter."},"DateFilterRequest":{"type":"object","properties":{"lt":{"type":"string","description":"Less than date.","format":"date"},"lte":{"type":"string","description":"Less than or equal date.","format":"date"},"gt":{"type":"string","description":"Greater than date.","format":"date"},"gte":{"type":"string","description":"Greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of days to look back from today.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"Specifies the details for a date filter."},"StringAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/StringFilterRequest"},"any":{"$ref":"#/components/schemas/StringFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"Specifies the details for a string attribute collection filter."},"NumericAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/NumericFilterRequest"},"any":{"$ref":"#/components/schemas/NumericFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"Specifies the details for a numeric attribute collection filter."},"NumericFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of numeric values to include.","items":{"type":"number","description":"The list of numeric values to include.","format":"double"}},"gt":{"type":"number","description":"Greater than value.","format":"double"},"gte":{"type":"number","description":"Greater than or equal value.","format":"double"},"lt":{"type":"number","description":"Less than value.","format":"double"},"lte":{"type":"number","description":"Less than or equal value.","format":"double"}},"description":"Specifies the details for a numeric filter."},"BooleanAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/BooleanFilterRequest"},"any":{"$ref":"#/components/schemas/BooleanFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"Specifies the details for a boolean attribute collection filter."},"BooleanFilterRequest":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match."}},"description":"Specifies the details for a boolean filter."},"DateAttributeCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this attribute collection filter."},"none":{"$ref":"#/components/schemas/DateFilterRequest"},"any":{"$ref":"#/components/schemas/DateFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"Specifies the details for a date attribute collection filter."},"RelationCollectionFilterRequest":{"type":"object","properties":{"typePublicId":{"type":"string","description":"The type public ID for this relation collection filter."},"none":{"$ref":"#/components/schemas/AssetFilterRequest"},"any":{"$ref":"#/components/schemas/AssetFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"Specifies the details for a relation collection filter."},"AssetFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for an asset filter. Each property of the asset is filtered individually (id or name)."},"ResponsibilityRoleCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterRequest"},"any":{"$ref":"#/components/schemas/RoleFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"Specifies the details for a responsibility role collection filter."},"RoleFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a responsibility role filter. Each property of the role is filtered individually (id or name)."},"DomainFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a domain filter. Each property of the domain is filtered individually (id or name)."},"CommunityCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterRequest"},"any":{"$ref":"#/components/schemas/CommunityFilterRequest"}},"description":"Specifies the details for a community collection filter."},"CommunityFilterRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/UuidFilterRequest"},"name":{"$ref":"#/components/schemas/StringFilterRequest"}},"description":"Specifies the details for a community filter. Each property of the community is filtered individually (id or name)."},"DomainTypeFilterRequest":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"}},"description":"Specifies the details for a domain type filter. Each property of the domain type is filtered individually; currently only publicId is supported."},"PathTargetNodeRequest":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"The name. This string uniquely identifies the node within the Path Graph."},"filter":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"description":"Specifies the details for a Path Graph target node.","nullable":true},"PathIntermediateNodeRequest":{"required":["name","outgoingEdges"],"type":"object","properties":{"name":{"type":"string","description":"The name. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"minItems":1,"type":"array","description":"The outgoing Path Edges. This list cannot be empty.","items":{"$ref":"#/components/schemas/PathEdgeRequest"}},"filter":{"$ref":"#/components/schemas/PathNodeFilterRequest"}},"description":"Specifies the details for a Path Graph intermediate node."},"DerivedRelationTypeImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the represented object (entity).","format":"uuid"},"createdBy":{"type":"string","description":"The id of the user that created this resource.","format":"uuid"},"createdOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the creation of this resource.","format":"int64"},"lastModifiedBy":{"type":"string","description":"The id of the user who modified this resource the last time.","format":"uuid"},"lastModifiedOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the last modification of this resource.","format":"int64"},"system":{"type":"boolean","description":"Whether this is a system resource or not."},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...].\nThis property is deprecated and will be removed in the future. To stay backwards compatible while\nstill allowing new types of resources to be introduced, a resource discriminator property (of type\nString) has been added to the subtypes of Resource where it adds value,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nA discriminator is only added on subtypes whose declared return type can represent more than one\nkind of resource; it is omitted where the return type can only ever be a single kind, as it would\nthen always hold the same value and carry no additional information. For new types of resource\nthat didn't exist before this change, the resourceType will be BaseDataType.\n","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"publicId":{"type":"string","description":"The public id of the Derived Relation Type."},"description":{"type":"string","description":"The description of the Derived Relation Type."},"sourceType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"targetType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"role":{"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeImpl"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeImpl"},"intermediateNodes":{"type":"array","description":"The intermediate nodes for this Derived Relation Type.","items":{"$ref":"#/components/schemas/PathIntermediateNodeImpl"}}}},"MetaNamedResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"name":{"type":"string","description":"The name of the referenced resource."},"publicId":{"type":"string"}},"description":"    The reference to the target type of the relation. The reference can only have a\n    resourceDiscriminator of value 'AssetType', 'ComplexRelationType' or 'Trait'.\n"},"PathSourceNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The source node for this Derived Relation Type."},"PathEdgeImpl":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"direction":{"type":"string","description":"The direction of the Relation Type represented by the edge. Note : this is not the direction of the edge in the graph.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_SOURCE","TO_TARGET"]},"repetitionDepth":{"type":"integer","description":"The repetition depth, which indicates whether an edge is repeatable and to which depth. The value is 1 for an edge which is not repeatable. If the repetition depth is N > 1, the source and target types of the edge relation  type must be compatible. The edge represents a subgraph consisting of N simple, parallel paths, with lengths  1, 2, ..., N, where the type and direction of every expanded edge are the same as the original edge.","format":"int32","default":1},"nodeName":{"type":"string","description":"The name of the Path Node where the edge ends."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."}},"description":"The outgoing Path Edges. This list is never empty."},"MetaResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"publicId":{"type":"string"}},"description":"The type MetaResourceReference for this relation collection filter."},"PathNodeFilterImpl":{"type":"object","properties":{"and":{"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"or":{"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"type":{"$ref":"#/components/schemas/TypeFilterImpl"},"status":{"$ref":"#/components/schemas/StatusFilterImpl"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterImpl"},"createdOn":{"$ref":"#/components/schemas/DateFilterImpl"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterImpl"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterImpl"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterImpl"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterImpl"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterImpl"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterImpl"},"asset":{"$ref":"#/components/schemas/AssetFilterImpl"},"domain":{"$ref":"#/components/schemas/DomainFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterImpl"}},"description":"The filter for this intermediate node."},"TypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The type (asset type or trait) filter."},"MetaResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}}},"description":"Filters on the public ID of the domain type."},"StatusFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The status filter."},"ResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/ResourceReference"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/ResourceReference"}}},"description":"Filters on the id of the community."},"ResourceReference":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."}},"description":"Represents reference to the resource."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of).","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of)."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of).","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of)."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of).","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of)."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of).","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of)."}}},"description":"Filters on the name of the community."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"The tags filter."},"DateFilterImpl":{"type":"object","properties":{"lt":{"type":"string","description":"The less than date.","format":"date"},"lte":{"type":"string","description":"The less than or equal date.","format":"date"},"gt":{"type":"string","description":"The greater than date.","format":"date"},"gte":{"type":"string","description":"The greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of last days to filter.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"The ANY filter - matches if any of the date attributes match this filter."},"StringAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"The string attributes filter."},"NumericAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/NumericFilterImpl"},"any":{"$ref":"#/components/schemas/NumericFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"The numeric attributes filter."},"NumericFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of values to match (in).","items":{"type":"number","description":"The list of values to match (in).","format":"double"}},"gt":{"type":"number","description":"The greater than value.","format":"double"},"gte":{"type":"number","description":"The greater than or equal value.","format":"double"},"lt":{"type":"number","description":"The less than value.","format":"double"},"lte":{"type":"number","description":"The less than or equal value.","format":"double"}},"description":"The ANY filter - matches if any of the numeric attributes match this filter."},"BooleanAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/BooleanFilterImpl"},"any":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ANY filter - matches if any of the boolean attributes match this filter."},"DateAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/DateFilterImpl"},"any":{"$ref":"#/components/schemas/DateFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/AssetFilterImpl"},"any":{"$ref":"#/components/schemas/AssetFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"The outgoing relations filter."},"AssetFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The asset filter."},"ResponsibilityRoleCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterImpl"},"any":{"$ref":"#/components/schemas/RoleFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"The responsibility roles filter."},"RoleFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the responsibility roles match this filter."},"DomainFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The domain filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterImpl"},"any":{"$ref":"#/components/schemas/CommunityFilterImpl"}},"description":"The communities filter."},"CommunityFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the communities match this filter."},"DomainTypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The domain type filter."},"PathTargetNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The target node for this Derived Relation Type."},"PathIntermediateNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The intermediate nodes for this Derived Relation Type."}}},"paths":{"/derivedRelationTypes/{derivedRelationTypeId}":{"patch":{"tags":["Derived Relation Types"],"summary":"Change derived relation type","description":"Changes the derived relation type using the given parameters. Only properties that are specified in this request and have not <code>null</code> values are updated. All other properties are ignored.\n\nNote: The request body format of this API differs from the JSON format used in the Collibra UI's derived relation type editor. The API uses a structured path model with sourceNode, intermediateNodes, and targetNode objects. Do not copy JSON directly from the UI editor into API requests.\n\nThis endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.","operationId":"changeDerivedRelationType","parameters":[{"name":"derivedRelationTypeId","in":"path","description":"The unique identifier of the derived relationType","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeDerivedRelationTypeRequest"}}}},"responses":{"200":{"description":"Derived relation type changed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DerivedRelationTypeImpl"}}}},"400":{"description":"The given parameters are invalid or a derived relation type with the given public ID already exists"},"403":{"description":"Forbidden - Insufficient permissions to perform the requested operation."},"404":{"description":"Derived relation type not found"}}}}}}
```

## Get the derived relation type by public ID

> Returns the derived relation type identified by the given public ID.\
> \
> This endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.

```json
{"openapi":"3.0.3","info":{"title":"Collibra Data Governance Center Core API","version":"2.0"},"servers":[{"url":"/rest/2.0","variables":{}}],"security":[{"basicAuth":[]},{"jwtAuth":[]},{"oauth2":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"http","description":"Collibra REST API authentication using JSON Web Token.","scheme":"bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"Collibra REST API authentication using OAuth 2.","flows":{"clientCredentials":{"tokenUrl":"/rest/oauth/v2/token","scopes":{"sys.admin":"System administration","kg.manage-all":"Manage all knowledge graph resources","kg.view-all":"View any knowledge graph resource","kg.manage-tags":"Manage tags","insights.download":"Download insights reporting zip files","wf.administration":"Workflow administration","wf.use-message-events":"Use workflow events"}}}}},"schemas":{"DerivedRelationTypeImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the represented object (entity).","format":"uuid"},"createdBy":{"type":"string","description":"The id of the user that created this resource.","format":"uuid"},"createdOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the creation of this resource.","format":"int64"},"lastModifiedBy":{"type":"string","description":"The id of the user who modified this resource the last time.","format":"uuid"},"lastModifiedOn":{"type":"integer","description":"The timestamp (in UTC time standard) of the last modification of this resource.","format":"int64"},"system":{"type":"boolean","description":"Whether this is a system resource or not."},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...].\nThis property is deprecated and will be removed in the future. To stay backwards compatible while\nstill allowing new types of resources to be introduced, a resource discriminator property (of type\nString) has been added to the subtypes of Resource where it adds value,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nA discriminator is only added on subtypes whose declared return type can represent more than one\nkind of resource; it is omitted where the return type can only ever be a single kind, as it would\nthen always hold the same value and carry no additional information. For new types of resource\nthat didn't exist before this change, the resourceType will be BaseDataType.\n","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"publicId":{"type":"string","description":"The public id of the Derived Relation Type."},"description":{"type":"string","description":"The description of the Derived Relation Type."},"sourceType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"targetType":{"$ref":"#/components/schemas/MetaNamedResourceReferenceImpl"},"role":{"type":"string","description":"The role of the Derived Relation Type."},"coRole":{"type":"string","description":"The co-role of the Derived Relation Type."},"sourceNode":{"$ref":"#/components/schemas/PathSourceNodeImpl"},"targetNode":{"$ref":"#/components/schemas/PathTargetNodeImpl"},"intermediateNodes":{"type":"array","description":"The intermediate nodes for this Derived Relation Type.","items":{"$ref":"#/components/schemas/PathIntermediateNodeImpl"}}}},"MetaNamedResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"name":{"type":"string","description":"The name of the referenced resource."},"publicId":{"type":"string"}},"description":"    The reference to the target type of the relation. The reference can only have a\n    resourceDiscriminator of value 'AssetType', 'ComplexRelationType' or 'Trait'.\n"},"PathSourceNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The source node for this Derived Relation Type."},"PathEdgeImpl":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"direction":{"type":"string","description":"The direction of the Relation Type represented by the edge. Note : this is not the direction of the edge in the graph.","enum":["TO_SOURCE","TO_TARGET","BOTH","NONE","TO_SOURCE","TO_TARGET"]},"repetitionDepth":{"type":"integer","description":"The repetition depth, which indicates whether an edge is repeatable and to which depth. The value is 1 for an edge which is not repeatable. If the repetition depth is N > 1, the source and target types of the edge relation  type must be compatible. The edge represents a subgraph consisting of N simple, parallel paths, with lengths  1, 2, ..., N, where the type and direction of every expanded edge are the same as the original edge.","format":"int32","default":1},"nodeName":{"type":"string","description":"The name of the Path Node where the edge ends."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."}},"description":"The outgoing Path Edges. This list is never empty."},"MetaResourceReferenceImpl":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."},"publicId":{"type":"string"}},"description":"The type MetaResourceReference for this relation collection filter."},"PathNodeFilterImpl":{"type":"object","properties":{"and":{"type":"array","description":"The AND filter list. All filters in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"or":{"type":"array","description":"The OR filter list. At least one filter in this list must match.","items":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"type":{"$ref":"#/components/schemas/TypeFilterImpl"},"status":{"$ref":"#/components/schemas/StatusFilterImpl"},"tags":{"$ref":"#/components/schemas/TagCollectionFilterImpl"},"createdOn":{"$ref":"#/components/schemas/DateFilterImpl"},"lastModifiedOn":{"$ref":"#/components/schemas/DateFilterImpl"},"stringAttributes":{"$ref":"#/components/schemas/StringAttributeCollectionFilterImpl"},"numericAttributes":{"$ref":"#/components/schemas/NumericAttributeCollectionFilterImpl"},"booleanAttributes":{"$ref":"#/components/schemas/BooleanAttributeCollectionFilterImpl"},"dateAttributes":{"$ref":"#/components/schemas/DateAttributeCollectionFilterImpl"},"incomingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"outgoingRelations":{"$ref":"#/components/schemas/RelationCollectionFilterImpl"},"responsibilityRoles":{"$ref":"#/components/schemas/ResponsibilityRoleCollectionFilterImpl"},"asset":{"$ref":"#/components/schemas/AssetFilterImpl"},"domain":{"$ref":"#/components/schemas/DomainFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/DomainTypeFilterImpl"}},"description":"The filter for this intermediate node."},"TypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The type (asset type or trait) filter."},"MetaResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"}}},"description":"Filters on the public ID of the domain type."},"StatusFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The status filter."},"ResourceFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of ResourceReferences to include.","items":{"$ref":"#/components/schemas/ResourceReference"}},"notIn":{"type":"array","description":"The list of ResourceReferences to exclude.","items":{"$ref":"#/components/schemas/ResourceReference"}}},"description":"Filters on the id of the community."},"ResourceReference":{"required":["id","resourceType"],"type":"object","properties":{"id":{"type":"string","description":"The id of the referenced resource.","format":"uuid"},"resourceType":{"type":"string","description":"The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable us to introduce new types of resources, we are replacing the ResourceType enum with a String. For new types of resources that didn't exist before this change, resourceType will be BaseDataType. Please use the resourceDiscriminator property instead. Refer to the object containing the ResourceReference for possible values.","deprecated":true,"enum":["View","Asset","Community","Domain","AssetType","DomainType","Status","User","ClassificationMatch","UserGroup","Attribute","StringAttribute","ScriptAttribute","BooleanAttribute","DateAttribute","NumericAttribute","SingleValueListAttribute","MultiValueListAttribute","Comment","Attachment","Responsibility","Workflow","Job","Relation","RelationType","ComplexRelation","ComplexRelationType","ArticulationRule","Assignment","Scope","RelationTrace","ValidationRule","DataQualityRule","DataQualityMetric","Address","InstantMessagingAccount","Email","PhoneNumber","Website","Activity","FormProperty","WorkflowTask","ActivityChange","WorkflowInstance","Role","AttributeType","BooleanAttributeType","DateAttributeType","DateTimeAttributeType","MultiValueListAttributeType","NumericAttributeType","ScriptAttributeType","SingleValueListAttributeType","StringAttributeType","ViewSharingRule","ViewAssignmentRule","JdbcDriverFile","JdbcDriver","JdbcIngestionProperties","CsvIngestionProperties","ExcelIngestionProperties","ConnectionStringParameter","AssignedCharacteristicType","Notification","Tag","ComplexRelationLegType","ComplexRelationAttributeType","ComplexRelationLeg","BaseDataType","AdvancedDataType","DiagramPicture","DiagramPictureSharingRule","DiagramPictureAssignmentRule","Rating","Classification","PhysicalDataConnector","Context"]},"resourceDiscriminator":{"type":"string","description":"The resource discriminator, which indicates the type of the referenced resource, e.g. \"Community\", \"Asset\", ... Check the documentation of the class using the resource reference for detailed documentation regarding the possible resource discriminator values."}},"description":"Represents reference to the resource."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include (exact match, any-of).","items":{"type":"string","description":"The list of strings to include (exact match, any-of)."}},"notIn":{"type":"array","description":"The list of strings to exclude (exact match, none-of).","items":{"type":"string","description":"The list of strings to exclude (exact match, none-of)."}},"contains":{"type":"array","description":"The list of substrings to match anywhere in the value (any-of).","items":{"type":"string","description":"The list of substrings to match anywhere in the value (any-of)."}},"notContains":{"type":"array","description":"The list of substrings that must not appear anywhere in the value (none-of).","items":{"type":"string","description":"The list of substrings that must not appear anywhere in the value (none-of)."}},"startsWith":{"type":"array","description":"The list of prefixes the value must start with (any-of).","items":{"type":"string","description":"The list of prefixes the value must start with (any-of)."}},"notStartsWith":{"type":"array","description":"The list of prefixes the value must not start with (none-of).","items":{"type":"string","description":"The list of prefixes the value must not start with (none-of)."}},"endsWith":{"type":"array","description":"The list of suffixes the value must end with (any-of).","items":{"type":"string","description":"The list of suffixes the value must end with (any-of)."}},"notEndsWith":{"type":"array","description":"The list of suffixes the value must not end with (none-of).","items":{"type":"string","description":"The list of suffixes the value must not end with (none-of)."}}},"description":"Filters on the name of the community."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no tags at all."}},"description":"The tags filter."},"DateFilterImpl":{"type":"object","properties":{"lt":{"type":"string","description":"The less than date.","format":"date"},"lte":{"type":"string","description":"The less than or equal date.","format":"date"},"gt":{"type":"string","description":"The greater than date.","format":"date"},"gte":{"type":"string","description":"The greater than or equal date.","format":"date"},"lastXDays":{"type":"integer","description":"The number of last days to filter.","format":"int32"},"olderThanXDays":{"type":"integer","description":"The number of days; selects dates older than this many days ago.","format":"int32"}},"description":"The ANY filter - matches if any of the date attributes match this filter."},"StringAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no string attributes of the type given by typePublicId."}},"description":"The string attributes filter."},"NumericAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/NumericFilterImpl"},"any":{"$ref":"#/components/schemas/NumericFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no numeric attributes of the type given by typePublicId."}},"description":"The numeric attributes filter."},"NumericFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of values to match (in).","items":{"type":"number","description":"The list of values to match (in).","format":"double"}},"gt":{"type":"number","description":"The greater than value.","format":"double"},"gte":{"type":"number","description":"The greater than or equal value.","format":"double"},"lt":{"type":"number","description":"The less than value.","format":"double"},"lte":{"type":"number","description":"The less than or equal value.","format":"double"}},"description":"The ANY filter - matches if any of the numeric attributes match this filter."},"BooleanAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/BooleanFilterImpl"},"any":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no boolean attributes of the type given by typePublicId."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ANY filter - matches if any of the boolean attributes match this filter."},"DateAttributeCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/DateFilterImpl"},"any":{"$ref":"#/components/schemas/DateFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no date attributes of the type given by typePublicId."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/AssetFilterImpl"},"any":{"$ref":"#/components/schemas/AssetFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no relations of the type given by typePublicId."}},"description":"The outgoing relations filter."},"AssetFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The asset filter."},"ResponsibilityRoleCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/RoleFilterImpl"},"any":{"$ref":"#/components/schemas/RoleFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match on an empty collection, i.e. assets with no responsibility roles at all."}},"description":"The responsibility roles filter."},"RoleFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the responsibility roles match this filter."},"DomainFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The domain filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/CommunityFilterImpl"},"any":{"$ref":"#/components/schemas/CommunityFilterImpl"}},"description":"The communities filter."},"CommunityFilterImpl":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceFilterImpl"},"name":{"$ref":"#/components/schemas/StringFilterImpl"}},"description":"The ANY filter - matches if any of the communities match this filter."},"DomainTypeFilterImpl":{"type":"object","properties":{"publicId":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The domain type filter."},"PathTargetNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The target node for this Derived Relation Type."},"PathIntermediateNodeImpl":{"type":"object","properties":{"name":{"type":"string","description":"The name of the node. This string uniquely identifies the node within the Path Graph."},"outgoingEdges":{"type":"array","description":"The outgoing Path Edges. This list is never empty.","items":{"$ref":"#/components/schemas/PathEdgeImpl"}},"system":{"type":"boolean","description":"True if this is a system part. False otherwise."},"filter":{"$ref":"#/components/schemas/PathNodeFilterImpl"}},"description":"The intermediate nodes for this Derived Relation Type."}}},"paths":{"/derivedRelationTypes/publicId/{publicId}":{"get":{"tags":["Derived Relation Types"],"summary":"Get the derived relation type by public ID","description":"Returns the derived relation type identified by the given public ID.\n\nThis endpoint is part of a public preview feature and is subject to change. It is only available in commercial environments. This endpoint is not available for Collibra Platform for Government and Collibra Platform Self-Hosted.","operationId":"getDerivedRelationTypeByPublicId","parameters":[{"name":"publicId","in":"path","description":"The public identifier of the derived relation type","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Derived relation type found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DerivedRelationTypeImpl"}}}},"404":{"description":"Derived relation type not found"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.collibra.com/api/references/data-governance/derived-relation-types.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
