ChromaticHQ / jsonmonger

23 stars 1 forks source link

Define a way to support relationship metadata in related objects #10

Open agarzola opened 6 years ago

agarzola commented 6 years ago

Currently, related objects themselves are used in place of the relationships. The relationships aren’t very useful most of the time, so that’s usually fine, but there are times when the relatinship includes metadata not about the related object itself, but about how it relates to the main (parent) object.'

One example of this is media entities with crops, sizes, or alt text, etc which are unique to the parent object’s particular use of that media entity. This data would be in the relationship object’s meta property.