Product definition
A Product definition names what a Customer gets and references its Nouns by id, so one Noun serves many Products.
| Property | Value |
|---|---|
| Path | products/ |
| Holds | Product |
| Kind | file |
| Leaders | db-first, git-first |
| Team | Product Team |
| Written by | Change.merge |
| Compiled by | SoftwareBuilder |
Example
products/ in a Startup repository. Closewise, a sample business, declares a Close Noun.
---
$type: [Service, API]
nouns: [Close]
verbs: [Close.reconcile, Close.close]
---
Books done within three business days of month end, tied out to the bank.Props
The frontmatter keys the file takes. The body is its prose.
| Prop | Type | Required | Description |
|---|---|---|---|
nouns | list of Noun | The Nouns it exposes, by id. Nouns stay at the root, so two Products share one. | |
verbs | string[] | The Verbs it exposes, by id. | |
interfaces | list of Interface | The Interfaces it serves on. | |
role | Role | For an Agent, the Role in agents/ it fills. |
Generates
SoftwareBuilder compiles it into these records, Verbs and routes.