I need a DSL (for Xtext) for describing a pretty standard object model:
- There are entities
- They have fields which can either be primitives or references to other entities
- References can be 1:1, 1:N, N:1 or N:M
Not wanting to reinvent the wheel, what DSLs exist that implements this?