rosetta-models/common-domain-model — reverse-engineered prompt
Reverse engineered prompt
Build me an open source Common Domain Model project for financial markets. I want it to act like a shared digital standard that describes financial products, trades, trade events, and actions across the full transaction lifecycle, so different firms and platforms can understand the same trade data without constant reconciliation.
Please include the core domain model, Java build setup, examples, tests, and a simple documentation website that explains what the model is for, how it supports interoperability, regulatory reporting, mappings to existing industry formats, and embedded business logic. The docs should also cover design principles like normalisation, composability, modular layers, and contribution rules.
Make the repo feel ready for a standards community, with governance, roadmap, contribution guidance, licensing notes, and clear instructions for developers and business users. Add a few realistic example trade lifecycle scenarios so someone can see how the model would be used. Look up current CDM or FINOS docs online if you need context.
Want more depth? Deep Reverse