{"url": "http://adr.github.io/e-adr/", "titulek": "Embedded Architectural Decision Records | e-adr", "h1": "e-adr", "popis": "Architectural Decisions Records embedded in Java code", "klicova_slova": "", "kanonicka": "http://adr.github.io/e-adr/", "jazyk": "en-US", "robots_meta": "", "og": {"og:title": "Embedded Architectural Decision Records", "og:locale": "en_US", "og:description": "Architectural Decisions Records embedded in Java code", "og:url": "http://adr.github.io/e-adr/", "og:site_name": "e-adr", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "description": "Architectural Decisions Records embedded in Java code", "headline": "Embedded Architectural Decision Records", "name": "e-adr", "url": "http://adr.github.io/e-adr/"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "e-adr"}, {"uroven": 1, "text": "Embedded Architectural Decision Records"}, {"uroven": 2, "text": "Examples"}, {"uroven": 3, "text": "Example for complete embedding"}, {"uroven": 3, "text": "Example for a linked ADR"}, {"uroven": 2, "text": "Use in your projects"}, {"uroven": 2, "text": "Development information"}], "markdown": "# [e-adr](http://adr.github.io/e-adr/)\n\n# Embedded Architectural Decision Records\n\n> Architectural knowledge captured in architectural designs and [architectural decisions](https://en.wikipedia.org/wiki/Architectural_decision) is primarily created and consumed in tools made for software architects.\n> Developers, also consuming and creating architectural knowledge, do not always use such tools;\n> this adds to the gap between these two roles often observed in practice.\n> Architectural erosion and knowledge vaporization are two of the consequences.\n\nWith this repository, we show how to narrow the gap with architecture domain-specific Java annotations.\nThese annotations allow developers to reference and create architectural decision knowledge directly in code.\nThis knowledge can then automatically be processed by other tools to provide additional integration and collaboration capabilities.\n\nCurrently, following architectural decision records are supported:\n\n- [Markdown Architectural Decision Records](https://github.com/adr/madr) (“MADR”) - lean architecture decision records using markdown\n- Y-Statements - [Sustainable Architectural Decision Records](https://www.infoq.com/articles/sustainable-architectural-design-decisions)\n\nSee [https://adr.github.io](https://adr.github.io) for more information on architectural decision records.\n\n## Examples\n\n### Example for complete embedding\n\n```\n@MADR(value = 1, title = \"Implement entire business logic layer as POJO\", contextAndProblem = \"Need to select a single consistent ComponentImplementationParadigm' for entire business logic layer\", alternatives = {\"POJO\", \"JEE EJB\", \"Spring Bean\"}, chosenAlternative = \"POJO\", justification = \"Because it is a company-wide policy, see http://www.iaas.uni-stuttgart.de/institut/ehemalige/zimmermann/indexE.php\", relatedDecisions = {2, 3}) public class MADRAnnotationDemoClass { public int sampleBusinessLogic(String input) { return 42; } } \n```\n\n`@MADR` indicates that the annotation used the format defined by the “Markdown Architectural Decision Record”.\nThe content is directly embedded in the annotation.\n\n### Example for a linked ADR\n\n```\n@ADR(1) public class MADRAnnotationDemoClass { public int sampleBusinessLogic(String input) { return 42; } } \n```\n\nBy using `@ADR(1)`, the annotation points to `ADR 0001`.\nThe convetion is that the decisions are stored in `docs/adr/` with a running number.\nThey can be of an arbirary format, such as MADR or [Michael Nygard’s format](http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions), which is supported by [adr-tools](https://github.com/npryce/adr-tools).\nExample MADRs can be seen at the [ADR log of the adr-log tool](https://github.com/adr/adr-log/blob/master/docs/adr/index.md).\n\n## Use in your projects\n\n[Search maven central](https://search.maven.org/search?q=a:e-adr) for the latest version.\n\nGradle:\n\n```\nimplementation 'io.github.adr:e-adr:{version}' \n```\n\nMaven:\n\n```\n io.github.adr e-adr {version} \n```\n\n## Development information\n\nTo upload to maven central, the gradle task `publsihToSonatype` at `io.github.adr.embedded` is used.\nThereby the [Gradle Nexus Publish Plugin](https://github.com/gradle-nexus/publish-plugin/) plugin is used.\n\n- [Documenting Implementation Decisions with Code Annotations](https://www.researchgate.net/publication/280014035_Documenting_Implementation_Decisions_with_Code_Annotations)\n - Uses JavaDoc\n - Requires external tool to allow for auto completion\n\nThis site is open source. [Improve this page](https://github.com/adr/e-adr/edit/main/README.md) .", "znaku_textu": 3572, "slov": 399, "odkazu": 15, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:33:55", "sha256": "473b4b3c0fabef64bf41a857a60f3b4d82f8c947e8659e60daede916ac2b90bf", "hloubka": 4, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://maven-badges.herokuapp.com/maven-central/io.github.adr/e-adr", "https://javadoc.io/doc/io.github.adr/e-adr", "https://en.wikipedia.org/wiki/Architectural_decision", "https://github.com/adr/madr", "https://www.infoq.com/articles/sustainable-architectural-design-decisions", "http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions", "https://github.com/npryce/adr-tools", "https://github.com/adr/adr-log/blob/master/docs/adr/index.md", "https://search.maven.org/search?q=a%3Ae-adr", "https://github.com/gradle-nexus/publish-plugin/", "https://www.researchgate.net/publication/280014035_Documenting_Implementation_Decisions_with_Code_Annotations", "https://github.com/adr/e-adr/edit/main/README.md"]} {"url": "https://adr.github.io/", "titulek": "Architectural Decision Records (ADRs) | Architectural Decision Records", "h1": "", "popis": "An Architectural Decision (AD) is a justified design choice that addresses a functional or non-functional requirement that is architecturally significant. An Architecturally Significant Requirement (ASR) is a requirement that has a measurable effect on the architecture and quality of a software and/or hardware system. An Architectural Decision Record (ADR) captures a single AD and its rationale; the collection of ADRs created and maintained in a project constitute its decision log. All these are within the topic of Architectural Knowledge Management (AKM), but ADR usage can be extended to design and other decisions (“any decision record”).", "klicova_slova": "", "kanonicka": "https://adr.github.io/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Architectural Decision Records (ADRs)", "og:locale": "en", "og:description": "An Architectural Decision (AD) is a justified design choice that addresses a functional or non-functional requirement that is architecturally significant. An Architecturally Significant Requirement (ASR) is a requirement that has a measurable effect on the architecture and quality of a software and/or hardware system. An Architectural Decision Record (ADR) captures a single AD and its rationale; the collection of ADRs created and maintained in a project constitute its decision log. All these are within the topic of Architectural Knowledge Management (AKM), but ADR usage can be extended to design and other decisions (“any decision record”).", "og:url": "https://adr.github.io/", "og:site_name": "Architectural Decision Records", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "description": "An Architectural Decision (AD) is a justified design choice that addresses a functional or non-functional requirement that is architecturally significant. An Architecturally Significant Requirement (ASR) is a requirement that has a measurable effect on the architecture and quality of a software and/or hardware system. An Architectural Decision Record (ADR) captures a single AD and its rationale; the collection of ADRs created and maintained in a project constitute its decision log. All these are within the topic of Architectural Knowledge Management (AKM), but ADR usage can be extended to design and other decisions (“any decision record”).", "headline": "Architectural Decision Records (ADRs)", "name": "adr.github.io", "sameAs": ["https://github.com/adr/adr.github.io"], "url": "https://adr.github.io/"}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Motivation and Definitions"}, {"uroven": 2, "text": "ADRs in the Media"}, {"uroven": 2, "text": "Background Information"}], "markdown": "## Motivation and Definitions\n\nAn [Architectural Decision (AD)](https://en.wikipedia.org/wiki/Architectural_decision) is a justified design choice that addresses a functional or non-functional requirement that is architecturally significant. An [Architecturally Significant Requirement (ASR)](https://en.wikipedia.org/wiki/Architecturally_significant_requirements) is a requirement that has a measurable effect on the architecture and quality of a software and/or hardware system. An *Architectural Decision Record (ADR)* captures a single AD and its rationale; Put it simply, ADR can help you understand the reasons for a chosen architectural decision, along with its trade-offs and consequences. The collection of ADRs created and maintained in a project constitute its *decision log*. All these are within the topic of Architectural Knowledge Management (AKM), but ADR usage can be extended to design and other decisions (“any decision record”).\n\nThe aim of the [GitHub adr organization](https://github.com/adr) is to:\n\n1. Motivate the need for and benefits of AD capturing and establish a common vocabulary.\n2. Strengthen the tooling around ADRs, in support of agile practices as well as iterative and incremental engineering processes.\n3. Provide pointers to public knowledge in the context of AKM and ADRs.\n\n## ADRs in the Media\n\n- (in German) [Architekturentscheidungen sichtbar und nachvollziehbar gestalten](assets/2026-03-10%20-%20ADR%2C%20MADR%2C%20eADR%20-%20JavaLand%202026.pdf) at [JavaLand 2026](https://www.javaland.eu/) (2026-03-10).\n- The [Azure Well-Architected Framework](https://learn.microsoft.com/en-us/azure/well-architected/architect-role/architecture-decision-record) features ADRs and this website (2024-11-10).\n- [Love Unrequited: The Story of Architecture, Agile, and How Architecture Decision Records Brought Them Together](https://ieeexplore.ieee.org/document/9801811) , Michael Keeling in the Pragmatic Designer column of IEEE Software Vol. 39 Issue 4 (2022) ( [PDF](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9801811) )\n- Architectural decision capturing is positioned as one of the essential activities in [Design Practice Reference](https://leanpub.com/dpr) , a LeanPub e-Book.\n- Chapter 3 of [“Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges”](https://api-patterns.org/book/) in the Addison Wesley Signature Series at Pearson features six narratives guiding through the conceptual level of API design: 29 recurring decisions with options and criteria. Learn more in this [blog post](https://medium.com/nerd-for-tech/api-patterns-website-redesigned-and-sample-book-chapter-available-df9daf4b5e15) .\n- (in German) [Gut dokumentiert: Architecture Decision Records](https://www.heise.de/hintergrund/Gut-dokumentiert-Architecture-Decision-Records-4664988.html) by [@obfischer](https://github.com/obfischer) published at [heise online](https://www.heise.de/) .\n\n## Background Information\n\nThe work in the adr organization is based on the guidelines and principles in [Sustainable Architectural Decisions](https://www.infoq.com/articles/sustainable-architectural-design-decisions) by Zdun et al., for instance the Y-statement format suggested in that article.\n\nMore general background information and ADR guidance is available:\n\n- A comparison of seven templates can be found in [“Architectural Decision Guidance Across Projects — Problem Space Modeling, Decision Backlog Management and Cloud Computing Knowledge”](https://www.ost.ch/fileadmin/dateiliste/3_forschung_dienstleistung/institute/ifs/cloud-application-lab/admentor-wicsa2015ubmissionv11nc.pdf) , a WICSA 2015 conference paper.\n- [Architectural Decisions — The Making Of](https://www.ozimmer.ch/practices/2020/04/27/ArchitectureDecisionMaking.html) provides a history on architecture decision recording since the late 1990, as well as examples and guidance for providing decision rationale.\n- [Documenting Architecture Decisions](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions.html) is the blog post from 2011 by Michael Nygard that popularized the concept.\n- [Architectural Decision Records (ADR): Open & Transparent Decision History](https://openpracticelibrary.com/practice/architectural-decision-records-adr/) is a practice in the Open Practice Library.\n- An AWS Prescriptive Guidance recommends [using architectural decision records to streamline technical decision-making for a software development project](https://docs.aws.amazon.com/prescriptive-guidance/latest/architectural-decision-records/introduction.html) .\n- [Architecture Decision Records in Action by Michael Keeling (IBM Watson Group) and Joe Runde (IBM) [YouTube]](https://www.youtube.com/watch?v=41NVge3_cYo) is a presentation that includes empirical numbers.\n- [ADRs and Architecture Stories](https://www.developertoarchitect.com/lessons/lesson168.html) is part of a video series by Mark Richards explaining ADRs, starting from Nygard’s template.\n- Additional pointers and resources can be found on the web page [Architectural Knowledge Management (AKM)](https://www.ost.ch/en/research-and-consulting-services/computer-science/ifs-institute-for-software-new/cloud-application-lab/architectural-knowledge-management-akm) .", "znaku_textu": 5226, "slov": 587, "odkazu": 30, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:32:48", "sha256": "fee6358b3fc8e9a971279c5193dac3ce5a7d886b859a578d1e942d2822155b31", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/adr", "https://en.wikipedia.org/wiki/Architectural_decision", "https://en.wikipedia.org/wiki/Architecturally_significant_requirements", "https://www.javaland.eu/", "https://learn.microsoft.com/en-us/azure/well-architected/architect-role/architecture-decision-record", "https://ieeexplore.ieee.org/document/9801811", "https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9801811", "https://leanpub.com/dpr", "https://api-patterns.org/book/", "https://medium.com/nerd-for-tech/api-patterns-website-redesigned-and-sample-book-chapter-available-df9daf4b5e15", "https://www.heise.de/hintergrund/Gut-dokumentiert-Architecture-Decision-Records-4664988.html", "https://github.com/obfischer", "https://www.heise.de/", "https://www.infoq.com/articles/sustainable-architectural-design-decisions", "https://www.ost.ch/fileadmin/dateiliste/3_forschung_dienstleistung/institute/ifs/cloud-application-lab/admentor-wicsa2015ubmissionv11nc.pdf", "https://www.ozimmer.ch/practices/2020/04/27/ArchitectureDecisionMaking.html", "https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions.html", "https://openpracticelibrary.com/practice/architectural-decision-records-adr/", "https://docs.aws.amazon.com/prescriptive-guidance/latest/architectural-decision-records/introduction.html", "https://www.youtube.com/watch?v=41NVge3_cYo", "https://www.developertoarchitect.com/lessons/lesson168.html", "https://www.ost.ch/en/research-and-consulting-services/computer-science/ifs-institute-for-software-new/cloud-application-lab/architectural-knowledge-management-akm", "https://github.com/adr/adr.github.io", "https://github.com/cotes2020/jekyll-theme-chirpy", "https://jekyllrb.com/"]} {"url": "https://adr.github.io/ad-practices/", "titulek": "AD Practices | Architectural Decision Records", "h1": "AD Practices", "popis": "The lists on this page point at ADR capturing practices and related advice but do not necessarily endorse all of them.", "klicova_slova": "", "kanonicka": "https://adr.github.io/ad-practices/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "AD Practices", "og:locale": "en", "og:description": "The lists on this page point at ADR capturing practices and related advice but do not necessarily endorse all of them.", "og:url": "https://adr.github.io/ad-practices/", "og:site_name": "Architectural Decision Records", "og:type": "article"}, "jsonld": [{"@context": "https://schema.org", "@type": "BlogPosting", "dateModified": "2026-05-11T09:40:47+02:00", "datePublished": "2024-10-27T00:00:00+02:00", "description": "The lists on this page point at ADR capturing practices and related advice but do not necessarily endorse all of them.", "headline": "AD Practices", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://adr.github.io/ad-practices/"}, "url": "https://adr.github.io/ad-practices/"}], "drobecky": ["Home", "AD Practices"], "osnova": [{"uroven": 2, "text": "Good ADRs — and How to Get to Them"}, {"uroven": 3, "text": "Authored by one or more of the maintainers of adr.github.io/ and the MADR project/template"}, {"uroven": 3, "text": "Third-party articles"}, {"uroven": 2, "text": "From Architectural Decisions to Design/Any Decisions"}], "markdown": "AD Practices\n\n> The lists on this page point at ADR capturing practices and related advice but do not necessarily endorse all of them.\n\n[Timing Architectural Decisions](https://ozimmer.ch/assets/presos/ZIO-ITARCKeynoteTADv101p.pdf), a presentation given at the annual Swedish IT architect conference ITARC features many of the practices collected on this page.\n\nThe [Design Practice Repository (DPR)](https://socadk.github.io/design-practice-repository/) on GitHub and the [DPR e-Book](https://leanpub.com/dpr) on LeanPub feature [AD making and capturing](https://socadk.github.io/design-practice-repository/activities/DPR-ArchitecturalDecisionCapturing.html) as an essential design activity (Mirko Stocker and Olaf Zimmermann, 2021-2024).\n\n[Decision-making ADRs: weightings are a work-around](https://jacquiread.com/posts/2024-09-11-decision-making-adrs-weightings-are-a-workaround/) is a blog post by Jacqui Read that offers some tips on how to make better architectural decisions (2024). Example: “normalise your criteria DOWN to the same level of abstraction”.\n\nThings can go wrong. The blog post [Seven Architectural Decision Making Fallacies (and Ways Around Them)](https://medium.com/olzzio/seven-architectural-decision-making-fallacies-and-ways-around-them-7b35ea1be4f9) identifies decision making habits with room for improvement (Olaf Zimmermann, 2025).\n\n## Good ADRs — and How to Get to Them\n\n### Authored by one or more of the maintainers of `adr.github.io/` and the MADR project/template\n\n1. [Definition of Ready for Architectural Decisions](https://ozimmer.ch/practices/2023/12/01/ADDefinitionOfReady.html) , suggesting five criteria abbreviated as START.\n2. [Architectural Significance Test and Some Core Decisions](https://www.ozimmer.ch/practices/2020/09/24/ASRTestECSADecisions.html)\n3. [How to create ADRs — and how not to](https://www.ozimmer.ch/practices/2023/04/03/ADRCreation.html) collects good practices and anti-patterns.\n4. [The Markdown ADR (MADR) Template Explained and Distilled](https://www.ozimmer.ch/practices/2022/11/22/MADRTemplatePrimer.html)\n5. [A Definition of Done for Architectural Decision Making](https://www.ozimmer.ch/practices/2020/05/22/ADDefinitionOfDone.html) proposes five criteria and a checklist to decide when it is time to set the status of a single decision to “done”: evidence, criteria and alternatives, agreement, documentation, and realization/review plan. Here, we focus on the ‘D’ in *ecADR* .\n6. Context, background and examples of good and bad justifications can be found in [this blog post](https://www.ozimmer.ch/practices/2020/04/27/ArchitectureDecisionMaking.html) .\n7. [How to review ADRs — and how not to](https://www.ozimmer.ch/practices/2023/04/05/ADRReview.html) has good practices, anti-patterns, review check list\n8. [An Adoption Model for Architectural Decision Making and Capturing](https://ozimmer.ch/practices/2023/04/21/ADAdoptionModel.html)\n\nMost of the material referenced above is also available on [Medium](https://medium.com/olzzio/tagged/adr).\n\n### Third-party articles\n\n- [Documenting Architecture Decisions](https://www.fabian-keller.de/blog/documenting-architecture-decisions) , blog post by Fabian Kleiser\n- More will be featured in future versions of this page, suggestions are welcome!\n- *to be continued*\n\n## From Architectural Decisions to Design/Any Decisions\n\n[From Architectural Decisions to Design Decisions](https://medium.com/olzzio/from-architectural-decisions-to-design-decisions-f05f6d57032b) and [ADR = Any Decision Record?](https://medium.com/olzzio/adr-any-decision-record-916d1b64b28d) are two blog posts proposing to extend the scope of ADRs.\n\n[adr](/categories/adr/)\n\nThis post is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) by the author.", "znaku_textu": 3741, "slov": 424, "odkazu": 36, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:32:51", "sha256": "52fc22033a1563bdcef7160f691888b391f2b7a2be6ffea66229d9f2ca8c2f37", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://github.com/adr", "https://github.com/adr/adr.github.io", "https://ozimmer.ch/assets/presos/ZIO-ITARCKeynoteTADv101p.pdf", "https://socadk.github.io/design-practice-repository/", "https://leanpub.com/dpr", "https://socadk.github.io/design-practice-repository/activities/DPR-ArchitecturalDecisionCapturing.html", "https://jacquiread.com/posts/2024-09-11-decision-making-adrs-weightings-are-a-workaround/", "https://medium.com/olzzio/seven-architectural-decision-making-fallacies-and-ways-around-them-7b35ea1be4f9", "https://ozimmer.ch/practices/2023/12/01/ADDefinitionOfReady.html", "https://www.ozimmer.ch/practices/2020/09/24/ASRTestECSADecisions.html", "https://www.ozimmer.ch/practices/2023/04/03/ADRCreation.html", "https://www.ozimmer.ch/practices/2022/11/22/MADRTemplatePrimer.html", "https://www.ozimmer.ch/practices/2020/05/22/ADDefinitionOfDone.html", "https://www.ozimmer.ch/practices/2020/04/27/ArchitectureDecisionMaking.html", "https://www.ozimmer.ch/practices/2023/04/05/ADRReview.html", "https://ozimmer.ch/practices/2023/04/21/ADAdoptionModel.html", "https://medium.com/olzzio/tagged/adr", "https://www.fabian-keller.de/blog/documenting-architecture-decisions", "https://medium.com/olzzio/from-architectural-decisions-to-design-decisions-f05f6d57032b", "https://medium.com/olzzio/adr-any-decision-record-916d1b64b28d", "https://creativecommons.org/licenses/by/4.0/", "https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadr.github.io%2Fad-practices%2F", "https://bsky.app/intent/compose?text=AD+Practices+-+Architectural+Decision+Records+https%3A%2F%2Fadr.github.io%2Fad-practices%2F", "https://www.reddit.com/submit?title=AD+Practices+-+Architectural+Decision+Records&url=https%3A%2F%2Fadr.github.io%2Fad-practices%2F", "https://github.com/cotes2020/jekyll-theme-chirpy", "https://jekyllrb.com/"]} {"url": "https://adr.github.io/adr-manager/", "titulek": "ADR Manager", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:32:57", "sha256": "75cb36263b28d0a5d11bbcf973eb191b72d00bd3328a72cc0717c6004edcb533", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": []} {"url": "https://adr.github.io/adr-templates/", "titulek": "ADR Templates | Architectural Decision Records", "h1": "ADR Templates", "popis": "The following UML class diagram shows that many templates for ADR capturing exist, including (but not limited to) MADR, Nygardian ADRs, and Y-Statements:", "klicova_slova": "", "kanonicka": "https://adr.github.io/adr-templates/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "ADR Templates", "og:locale": "en", "og:description": "The following UML class diagram shows that many templates for ADR capturing exist, including (but not limited to) MADR, Nygardian ADRs, and Y-Statements:", "og:url": "https://adr.github.io/adr-templates/", "og:site_name": "Architectural Decision Records", "og:type": "article"}, "jsonld": [{"@context": "https://schema.org", "@type": "BlogPosting", "dateModified": "2026-07-07T15:20:27+02:00", "datePublished": "2024-10-25T00:00:00+02:00", "description": "The following UML class diagram shows that many templates for ADR capturing exist, including (but not limited to) MADR, Nygardian ADRs, and Y-Statements:", "headline": "ADR Templates", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://adr.github.io/adr-templates/"}, "url": "https://adr.github.io/adr-templates/"}], "drobecky": ["Home", "ADR Templates"], "osnova": [{"uroven": 2, "text": "Markdown Architectural Decision Records (MADR)"}, {"uroven": 2, "text": "Nygard ADR"}, {"uroven": 2, "text": "Y-Statement"}, {"uroven": 2, "text": "Other ADR templates"}], "markdown": "ADR Templates\n\nThe following UML class diagram shows that many templates for ADR capturing exist, including (but not limited to) MADR, Nygardian ADRs, and Y-Statements:\n\n```\n---\n config:\n class:\n hideEmptyMembersBox: true\n---\nclassDiagram\n direction TB\n class ADR {\n <>\n }\n ADR <|-- MADR\n ADR <|-- NygardADR\n ADR <|-- Y-Statement\n ADR <|-- OtherADRTemplate\n```\n\n## Markdown Architectural Decision Records (MADR)\n\nMADR is about architectural decisions that *matter* ([`[ˈmæɾɚ]`](https://en.wiktionary.org/wiki/matter#Pronunciation)). Olaf Zimmermann’s [MADR Template Primer](https://www.ozimmer.ch/practices/2022/11/22/MADRTemplatePrimer.html) covers it in more depth. You can use MADR without installing software by populating the template in any text editor. Additionally, a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=StevenChen.vscode-adr-manager) is available, though it may be outdated and lack support for the latest features. [Other tools](https://adr.github.io/adr-tooling/#madr-template) are also available.\n\nMADR provides a [full](https://github.com/adr/madr/blob/4.0.0/template/adr-template.md?plain=1) and a [minimal](https://github.com/adr/madr/blob/4.0.0/template/adr-template-minimal.md?plain=1) template, both of which now come in an annotated and a bare format. The rationale for this decision is documented in the [template decisions](https://github.com/adr/madr/tree/4.0.0/template#decisions).\n\nWe think that the *considered options* with their pros and cons are crucial to understand the reasons for choosing a particular design. Therefore, the [Markdown Architectural Decision Records (MADR)](https://adr.github.io/madr/) project in this organization includes such tradeoff analysis information. It also suggests metadata such as decision makers and confirmation in addition to decision status.\n\n## Nygard ADR\n\nAn ADR consists of title, status, context, decision, and consequences according to “Documenting Architecture Decisions” by [@mtnygard](https://github.com/mtnygard).\n\nThe original [blog post from 2011](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) suggests this structure, and a [Markdown rendering](https://github.com/joelparkerhenderson/architecture-decision-record/blob/main/locales/en/templates/decision-record-template-by-michael-nygard/index.md) is also available.\n\n## Y-Statement\n\nIn short, the Y-statement is as follows:\n\n> In the context of ``, facing `` we decided for `