> 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. In order to stay backwards compatible\nand to enable introduction of new types of resources, where necessary, a resource discriminator\nproperty (of type String) has been added to specific subtypes of Resource,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nFor new types of resource that didn't exist before this change, the resourceType will be\nBaseDataType.\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/MetaResourceFilterImpl"},"status":{"$ref":"#/components/schemas/ResourceFilterImpl"},"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/ResourceExistsFilterImpl"},"asset":{"$ref":"#/components/schemas/ResourceFilterImpl"},"domain":{"$ref":"#/components/schemas/ResourceFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The filter for this intermediate node."},"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":"The domain type public ID 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":"The ANY filter - matches if any of the communities match this filter."},"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."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The tags filter."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"The ANY filter - matches if any of the string attributes match this filter. Not supported for MULTI_VALUE_LIST attribute kinds; use isEmpty instead."},"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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ALL filter - matches if all 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 empty collections."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The outgoing relations filter."},"ResourceExistsFilterImpl":{"type":"object","properties":{"resource":{"$ref":"#/components/schemas/ResourceReference"},"isEmpty":{"type":"boolean","description":"Whether to match if the resource exists."}},"description":"The responsibility roles filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"}},"description":"The communities 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"],"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"}},"typePublicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"},"statusId":{"$ref":"#/components/schemas/UuidFilterRequest"},"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/ResourceExistsFilterRequest"},"assetId":{"$ref":"#/components/schemas/UuidFilterRequest"},"domainId":{"$ref":"#/components/schemas/UuidFilterRequest"},"communityIds":{"$ref":"#/components/schemas/CommunityCollectionFilterRequest"},"domainTypePublicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"}},"description":"Specifies the details for a filter."},"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."},"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."},"TagCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterRequest"},"any":{"$ref":"#/components/schemas/StringFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"Specifies the details for a tag collection filter."},"StringFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"Specifies the details for a string 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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"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 empty collections."}},"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/UuidFilterRequest"},"any":{"$ref":"#/components/schemas/UuidFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"Specifies the details for a relation collection filter."},"ResourceExistsFilterRequest":{"type":"object","properties":{"resourceId":{"type":"string","description":"The resource ID to check.","format":"uuid"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"Specifies the details for a resource exists filter."},"CommunityCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/UuidFilterRequest"},"any":{"$ref":"#/components/schemas/UuidFilterRequest"}},"description":"Specifies the details for a community collection filter."},"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. In order to stay backwards compatible\nand to enable introduction of new types of resources, where necessary, a resource discriminator\nproperty (of type String) has been added to specific subtypes of Resource,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nFor new types of resource that didn't exist before this change, the resourceType will be\nBaseDataType.\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/MetaResourceFilterImpl"},"status":{"$ref":"#/components/schemas/ResourceFilterImpl"},"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/ResourceExistsFilterImpl"},"asset":{"$ref":"#/components/schemas/ResourceFilterImpl"},"domain":{"$ref":"#/components/schemas/ResourceFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The filter for this intermediate node."},"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":"The domain type public ID 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":"The ANY filter - matches if any of the communities match this filter."},"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."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The tags filter."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"The ANY filter - matches if any of the string attributes match this filter. Not supported for MULTI_VALUE_LIST attribute kinds; use isEmpty instead."},"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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ALL filter - matches if all 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 empty collections."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The outgoing relations filter."},"ResourceExistsFilterImpl":{"type":"object","properties":{"resource":{"$ref":"#/components/schemas/ResourceReference"},"isEmpty":{"type":"boolean","description":"Whether to match if the resource exists."}},"description":"The responsibility roles filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"}},"description":"The communities 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. In order to stay backwards compatible\nand to enable introduction of new types of resources, where necessary, a resource discriminator\nproperty (of type String) has been added to specific subtypes of Resource,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nFor new types of resource that didn't exist before this change, the resourceType will be\nBaseDataType.\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/MetaResourceFilterImpl"},"status":{"$ref":"#/components/schemas/ResourceFilterImpl"},"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/ResourceExistsFilterImpl"},"asset":{"$ref":"#/components/schemas/ResourceFilterImpl"},"domain":{"$ref":"#/components/schemas/ResourceFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The filter for this intermediate node."},"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":"The domain type public ID 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":"The ANY filter - matches if any of the communities match this filter."},"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."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The tags filter."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"The ANY filter - matches if any of the string attributes match this filter. Not supported for MULTI_VALUE_LIST attribute kinds; use isEmpty instead."},"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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ALL filter - matches if all 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 empty collections."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The outgoing relations filter."},"ResourceExistsFilterImpl":{"type":"object","properties":{"resource":{"$ref":"#/components/schemas/ResourceReference"},"isEmpty":{"type":"boolean","description":"Whether to match if the resource exists."}},"description":"The responsibility roles filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"}},"description":"The communities 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"}},"typePublicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"},"statusId":{"$ref":"#/components/schemas/UuidFilterRequest"},"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/ResourceExistsFilterRequest"},"assetId":{"$ref":"#/components/schemas/UuidFilterRequest"},"domainId":{"$ref":"#/components/schemas/UuidFilterRequest"},"communityIds":{"$ref":"#/components/schemas/CommunityCollectionFilterRequest"},"domainTypePublicId":{"$ref":"#/components/schemas/PublicIdFilterRequest"}},"description":"Specifies the details for a filter."},"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."},"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."},"TagCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterRequest"},"any":{"$ref":"#/components/schemas/StringFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"Specifies the details for a tag collection filter."},"StringFilterRequest":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"Specifies the details for a string 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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"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 empty collections."}},"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/UuidFilterRequest"},"any":{"$ref":"#/components/schemas/UuidFilterRequest"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"Specifies the details for a relation collection filter."},"ResourceExistsFilterRequest":{"type":"object","properties":{"resourceId":{"type":"string","description":"The resource ID to check.","format":"uuid"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"Specifies the details for a resource exists filter."},"CommunityCollectionFilterRequest":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/UuidFilterRequest"},"any":{"$ref":"#/components/schemas/UuidFilterRequest"}},"description":"Specifies the details for a community collection filter."},"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. In order to stay backwards compatible\nand to enable introduction of new types of resources, where necessary, a resource discriminator\nproperty (of type String) has been added to specific subtypes of Resource,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nFor new types of resource that didn't exist before this change, the resourceType will be\nBaseDataType.\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/MetaResourceFilterImpl"},"status":{"$ref":"#/components/schemas/ResourceFilterImpl"},"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/ResourceExistsFilterImpl"},"asset":{"$ref":"#/components/schemas/ResourceFilterImpl"},"domain":{"$ref":"#/components/schemas/ResourceFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The filter for this intermediate node."},"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":"The domain type public ID 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":"The ANY filter - matches if any of the communities match this filter."},"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."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The tags filter."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"The ANY filter - matches if any of the string attributes match this filter. Not supported for MULTI_VALUE_LIST attribute kinds; use isEmpty instead."},"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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ALL filter - matches if all 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 empty collections."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The outgoing relations filter."},"ResourceExistsFilterImpl":{"type":"object","properties":{"resource":{"$ref":"#/components/schemas/ResourceReference"},"isEmpty":{"type":"boolean","description":"Whether to match if the resource exists."}},"description":"The responsibility roles filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"}},"description":"The communities 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. In order to stay backwards compatible\nand to enable introduction of new types of resources, where necessary, a resource discriminator\nproperty (of type String) has been added to specific subtypes of Resource,\ne.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute.\nFor new types of resource that didn't exist before this change, the resourceType will be\nBaseDataType.\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/MetaResourceFilterImpl"},"status":{"$ref":"#/components/schemas/ResourceFilterImpl"},"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/ResourceExistsFilterImpl"},"asset":{"$ref":"#/components/schemas/ResourceFilterImpl"},"domain":{"$ref":"#/components/schemas/ResourceFilterImpl"},"communities":{"$ref":"#/components/schemas/CommunityCollectionFilterImpl"},"domainType":{"$ref":"#/components/schemas/MetaResourceFilterImpl"}},"description":"The filter for this intermediate node."},"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":"The domain type public ID 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":"The ANY filter - matches if any of the communities match this filter."},"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."},"TagCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/StringFilterImpl"},"any":{"$ref":"#/components/schemas/StringFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The tags filter."},"StringFilterImpl":{"type":"object","properties":{"in":{"type":"array","description":"The list of strings to include.","items":{"type":"string","description":"The list of strings to include."}}},"description":"The ANY filter - matches if any of the string attributes match this filter. Not supported for MULTI_VALUE_LIST attribute kinds; use isEmpty instead."},"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 empty collections."}},"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 empty collections."}},"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"},"all":{"$ref":"#/components/schemas/BooleanFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The boolean attributes filter."},"BooleanFilterImpl":{"type":"object","properties":{"eq":{"type":"boolean","description":"The boolean value to match (equals)."}},"description":"The ALL filter - matches if all 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 empty collections."}},"description":"The date attributes filter."},"RelationCollectionFilterImpl":{"required":["type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/MetaResourceReferenceImpl"},"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"},"isEmpty":{"type":"boolean","description":"Whether to match empty collections."}},"description":"The outgoing relations filter."},"ResourceExistsFilterImpl":{"type":"object","properties":{"resource":{"$ref":"#/components/schemas/ResourceReference"},"isEmpty":{"type":"boolean","description":"Whether to match if the resource exists."}},"description":"The responsibility roles filter."},"CommunityCollectionFilterImpl":{"type":"object","properties":{"none":{"$ref":"#/components/schemas/ResourceFilterImpl"},"any":{"$ref":"#/components/schemas/ResourceFilterImpl"}},"description":"The communities 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"}}}}}}
```
