Shared Verb definition
A shared Verb definition declares a Verb that acts on more than one Noun, such as close, once for all of them.
| Property | Value |
|---|---|
| Path | verbs/ |
| Holds | Verb |
| Kind | file |
| Leaders | db-first, git-first |
| Team | Engineering Team |
| Written by | Change.merge |
| Compiled by | SoftwareBuilder |
Example
verbs/ in a Startup repository. Closewise, a sample business, declares a Close Noun.
---
nouns: [Close, Period]
inverse: reopen
input:
reviewer: Role
---
Closing locks a month: no entry posts to it until it is reopened, with a reason.Props
The frontmatter keys the file takes. The body is its prose.
| Prop | Type | Required | Description |
|---|---|---|---|
nouns | list of Noun | required | The Nouns that take the Verb. |
inverse | string | The Verb that undoes it. | |
input | json | The input every Noun’s form shares, keyed by name with its type. | |
forms | json | Irregular forms only, such as doneBy. |
Generates
SoftwareBuilder compiles it into these records, Verbs and routes.