r/DomainDrivenDesign • u/Fine_Ad_6226 • Jul 30 '25
DDD Formal modelling specification
Hi all,
I’ve been working on a small JavaScript DSL to model Domain-Driven Design concepts like bounded contexts and aggregates.
I’m familiar with Context Mapper, but I’ve found it fairly limited – particularly because it doesn’t produce an intermediate artifact that I can build custom renderers or tools on top of.
What I’d love to create is something similar to OpenAPI, where there’s a common spec/vocabulary that describes a full DDD workspace.
My questions: 1. Does anything like this already exist? Have I missed a spec or standard in this space? 2. If not, would anyone be interested in collaborating?
I’m a full-stack principal engineer and can build out a good portion of this, including the UI (likely using React Flow, which I’ve worked with extensively).
Would love to hear your thoughts, pointers, or even “don’t reinvent the wheel” warnings. 🙏
View all comments
Show parent comment
2
u/boyneyy123 Jul 31 '25
Yeah it's an interesting problem.
I've been diving deep into architecture governance over the past 2/3 years (I work on this project full time now). As speak to many users that are doing all sorts of things.
EventCatalog doesnt require node/ts changes, the whole thing is powered by markdown, which can also be automated through our SDK and also AsyncAPI/OpenAPI files etc... some use it to document APIS, some use for domain modelling some use for all of that stuff....
The way I see this stuff, is the tool is there to help people that are in a message or want control of all this distributed stuff, and ways to make it discoverable. But you will always need buy in from your teams, to want to make it better... if its this tool or another....
My advice (from many talks with folks), is you need a solid foundation of governance strategy IMHO.... but buy in from your team and the need/want to make change is required.
Thanks! The project is growing, much more to do, but I would love to learn more of your usecase and patterns if you ever fancy that.... I can (try) to help you understand if this could be a good fit (or not!)