Created
September 3, 2022 02:12
-
-
Save wizardxz/8530f0afeafa7d2eed4ec2f00da99133 to your computer and use it in GitHub Desktop.
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
namespace com.linkedin.pinterest | |
import com.linkedin.common.Urn | |
/** | |
* Properties of an applied DataElement. For now, just an Urn. In the future we can extend this with other properties, e.g. | |
* propagation parameters. | |
*/ | |
record DataElementAssociation { | |
/** | |
* Urn of the applied dataElement | |
*/ | |
@Relationship = { | |
"name": "DataElementWith", | |
"entityTypes": [ "dataElement" ] | |
} | |
@Searchable = { | |
"fieldName": "dataElements", | |
"fieldType": "URN", | |
"hasValuesFieldName": "hasDataElements", | |
"addToFilters": true, | |
"filterNameOverride": "Data Element" | |
} | |
urn: DataElementUrn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment