Consider the following aspect definition from <htt...
# getting-started
w
Consider the following aspect definition from https://datahubproject.io/docs/metadata-modeling/extending-the-metadata-model/
Copy code
namespace com.linkedin.metadata.key

@Aspect = {
  "name": "dashboardKey",
}
record DashboardKey {
  @Searchable = {
    ...
  }
  dashboardTool: string

  dashboardId: string
}
The Urn representation of the Key shown above would be:
urn:li:dashboard:(<tool>,<id>)
Question: in the just above line, where is the 3rd component, i.e.
dashboard
declared as a type in the Key Aspect
dashboardKey
or entity definition itself?
âś… 1
🙌 1
m
@witty-keyboard-20400: the “string” name for an entity comes from the Entity definition itself… you’ll find it attached to the
DatasetSnapshot
model for example. This string name determines the urn structure:
urn:li:entity_name:(key_parts)
is the overall pattern