-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
258 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...test-models/src/main/pegasus/com/linkedin/testing/localrelationship/AssetRelationship.pdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace com.linkedin.testing.localrelationship | ||
|
||
|
||
/** | ||
* A union of all supported relationship types. | ||
*/ | ||
record AssetRelationship { | ||
|
||
/** | ||
* Source asset urn in the relationship | ||
*/ | ||
source: optional string = "" | ||
|
||
/** | ||
* The union of specific relationship models, which contains the destination entity reference | ||
* and other relationship specific attributes, such as lineageType in DownstreamOf relationship | ||
*/ | ||
relatedTo: optional union[ | ||
reportsTo: ReportsTo, | ||
belongsToV2: BelongsToV2 | ||
] | ||
} |