from babregen.schema import schema_text
print(schema_text("architecture")[:60]){
"$schema": "http://json-schema.org/draft-07/schema#",
The JSON text of the schema of kind: indent 2, a trailing newline, stable.
| Name | Type | Description | Default |
|---|---|---|---|
| kind | str | "architecture", "unit" or "decision". |
required |
| Name | Type | Description |
|---|---|---|
| str | str | The text that babregen schema KIND prints and that the files below regen/schemas/ hold. |
| Name | Type | Description |
|---|---|---|
| KeyError | If kind is not a record kind. |