What is DNA?
DNA is a description language for business systems. You describe the organization in JSON, and from that description you can generate documentation, workflows, validation, and, increasingly, working software.
The layer documented today is Operational DNA: what the organization is, and what it does. It is written in two vocabularies that stay apart, so structure can be modelled first and given behaviour later.
- Structure (
structure/v1): domains, entities, attributes, and relationships. - Behaviour (
behaviour/v1): actions, operations, workflows, conditions, and policies, each naming the structure domain it describes.
Product (what gets built) and Technology (how it is bound and deployed) are the layers that follow. Their reference is not published yet. Coming soon on the docs landing names them.
Quickstart: a structure document and its behaviour
A structure document says what exists. This one is a lending vocabulary with a single entity, an application, whose status is a state attribute. Movement between those states is not structure. It is behaviour.
{
"dna": "structure/v1",
"id": "lending",
"name": "Lending",
"description": "A loan application and where it stands.",
"entities": [
{
"id": "application",
"name": "Application",
"description": "A request to borrow.",
"attributes": [
{
"name": "status",
"type": "state",
"description": "Where the application is. What moves it is behaviour.",
"states": ["received", "funded", "declined"],
"initial": "received"
}
]
}
]
}A behaviour document names that domain and attaches an action. fund is a capability of application. Its transition moves status from received to funded.
{
"dna": "behaviour/v1",
"id": "lending-behaviour",
"name": "Lending behaviour",
"description": "How an application is decided.",
"domain": "lending",
"actions": [
{
"id": "fund",
"entity": "application",
"name": "Fund",
"description": "Fund an application that is clear to close.",
"transition": { "from": ["received"], "to": "funded" }
}
]
}The Operational reference is generated from the schemas those documents have to match. The examples are the reference domains (checkout, origination, diligence, agent registration) the schemas are held to.
Where next?
- Operational reference: every structure and behaviour definition, with its fields and stability.
- Examples: checkout, origination, diligence, and agent registration.
- Framework comparisons: if you already model in DDD, BPMN, ArchiMate, C4, Event Storming, or TOGAF.