diff --git a/docs/adr/2021-05-17-use-markdown-architectural-decision-records.md b/docs/adr/2021-05-17-use-markdown-architectural-decision-records.md new file mode 100644 index 00000000..e2636a69 --- /dev/null +++ b/docs/adr/2021-05-17-use-markdown-architectural-decision-records.md @@ -0,0 +1,38 @@ +# Use Markdown Architectural Decision Records + +* Status: accepted +* Deciders: @gregsdennis, @Julian, @jdesrosiers, @karenetheridge +* Date: 2021-06-17 + +## Context and Problem Statement + +We want to record architectural decisions made in this project. +Which format and structure should these records follow? + +## Considered Options + +* [MADR](https://adr.github.io/madr/) 2.1.2 – The Markdown Architectural Decision Records +* [Michael Nygard's template](http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions) – The first incarnation of the term "ADR" +* [Sustainable Architectural Decisions](https://www.infoq.com/articles/sustainable-architectural-design-decisions) – The Y-Statements +* Log4Brains +* Other templates listed at +* Formless – No conventions for file format and structure + +## Decision Outcome + +Chosen option: "MADR 2.1.2", because + +* Implicit assumptions should be made explicit. + Design documentation is important to enable people understanding the decisions later on. + See also [A rational design process: How and why to fake it](https://doi.org/10.1109/TSE.1986.6312940). +* The MADR format is lean and fits our development style. +* The MADR structure is comprehensible and facilitates usage & maintenance. +* Version 2.1.2 is the latest one available when starting to document ADRs. + +We agreed to not require the use of any specific tooling. +Using MADR can be done manually by manually copying the template and manually updating the index.md file. Doing both of these manually is arguably easier, and there are not many well maintained tools. + +## Links + +* Proposal: [GitHub Discussion - We should adopt Architecture Decision Records #15 ](https://github.com/json-schema-org/community/discussions/15) +* Issue: [Set up Architecture Decision Records #20](https://github.com/json-schema-org/community/issues/20) \ No newline at end of file diff --git a/docs/adr/index.md b/docs/adr/index.md new file mode 100644 index 00000000..89672d35 --- /dev/null +++ b/docs/adr/index.md @@ -0,0 +1,13 @@ +# Architectural Decision Log + +This log lists the architectural decisions for JSON Schema Community. + + + +* [ADR-2021-05-17](2021-05-17-use-markdown-architectural-decision-records.md) - Use Markdown Architectural Decision Records + + + +For new ADRs, please use [template.md](template.md) as basis. +More information on MADR is available at . +General information about architectural decision records is available at . diff --git a/docs/adr/template.md b/docs/adr/template.md new file mode 100644 index 00000000..25696bbe --- /dev/null +++ b/docs/adr/template.md @@ -0,0 +1,72 @@ +# [short title of solved problem and solution] + +* Status: [proposed | rejected | accepted | deprecated | … | superseded by [ADR-0005](0005-example.md)] +* Deciders: [list everyone involved in the decision] +* Date: [YYYY-MM-DD when the decision was last updated] + +Technical Story: [description | ticket/issue URL] + +## Context and Problem Statement + +[Describe the context and problem statement, e.g., in free form using two to three sentences. You may want to articulate the problem in form of a question.] + +## Decision Drivers + +* [driver 1, e.g., a force, facing concern, …] +* [driver 2, e.g., a force, facing concern, …] +* … + +## Considered Options + +* [option 1] +* [option 2] +* [option 3] +* … + +## Decision Outcome + +Chosen option: "[option 1]", because [justification. e.g., only option, which meets k.o. criterion decision driver | which resolves force force | … | comes out best (see below)]. + +### Positive Consequences + +* [e.g., improvement of quality attribute satisfaction, follow-up decisions required, …] +* … + +### Negative Consequences + +* [e.g., compromising quality attribute, follow-up decisions required, …] +* … + +## Pros and Cons of the Options + +### [option 1] + +[example | description | pointer to more information | …] + +* Good, because [argument a] +* Good, because [argument b] +* Bad, because [argument c] +* … + +### [option 2] + +[example | description | pointer to more information | …] + +* Good, because [argument a] +* Good, because [argument b] +* Bad, because [argument c] +* … + +### [option 3] + +[example | description | pointer to more information | …] + +* Good, because [argument a] +* Good, because [argument b] +* Bad, because [argument c] +* … + +## Links + +* [Link type] [Link to ADR] +* …