mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-30 18:26:58 +00:00 
			
		
		
		
	 1283dd3ff4
			
		
	
	
		1283dd3ff4
		
			
		
	
	
	
	
		
			
			Use the automated tool in https://linkedin.github.io/rest.li/pdl_migration Also update all relevant docs
		
			
				
	
	
	
		
			962 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			962 B
		
	
	
	
	
	
	
	
How to model metadata ?
GMA uses rest.li, which is LinkedIn's open source REST framework. All metadata in GMA needs to be modelled using Pegasus schema (PDL) which is the data schema for rest.li.
Conceptually we’re modelling metadata as a hybrid graph of nodes (entities) and edges (relationships), with additional documents (metadata aspects) attached to each node. You can also think of it as a modified Entity-Relationship Model.
Here is an example graph consisting of 3 types of entities (User, Group, Dataset), 3 types of relationships (OwnedBy, HasAdmin, HasMember), and 3 types of metadata aspects (Ownership, Profile, and Membership).
