Markdown Editor

arc42 Architecture Documentation Template

Complete arc42 9.1 documentation: all 12 chapters with sub-sections, ISO/IEC 25010:2023 and Q42 quality tree and scenarios, risks, worked examples

Software & EngineeringFullarc42 9.1; ISO/IEC 25010:2023; Q42 quality modelCC BY-SA 4.0arc42

How to use: Teams documenting an existing or new system in a widely known structure. Fill chapter 1 (quality goals, stakeholders) and chapter 3 (context) first, keep chapter 4 to one page. arc42 favours adequacy: shorten chapters deliberately, but keep the CC BY-SA attribution.

Preview

Architecture Documentation: [System name]

Adapted from arc42 version 9.1 (October 2026), the template for software architecture documentation by Dr. Gernot Starke and Dr. Peter Hruschka (CC BY-SA 4.0). Twelve chapters with sub-sections, worked examples and guidance written for this collection. arc42 favours adequacy over completeness: fill what your stakeholders need and say so where a chapter is deliberately short. Chapter 10 follows the arc42 9.1 practice of naming quality characteristics after ISO/IEC 25010:2023 and the open Q42 quality model (quality.arc42.org). Replace every [bracketed] value and every row marked Example.

License note: adapted structure under CC BY-SA 4.0, https://arc42.org/license/

Document control

FieldValue
Document ID[ARC42-SYSTEM-001]
System[System name]
System release described[vX.Y]
Version[0.1]
Status[Draft / In review / Approved]
Architect / owner[@architect]
Classification[Internal / Confidential / Public]
Last updatedYYYY-MM-DD

Approvals

RoleNameDecisionDate
Lead architect[@name][Approved / Approved with comments / Rejected]YYYY-MM-DD
Product owner[@name][Decision]YYYY-MM-DD
Engineering manager[@name][Decision]YYYY-MM-DD
Operations lead[@name][Decision]YYYY-MM-DD

Revision history

VersionDateAuthorChange summary
0.1YYYY-MM-DD[@name]Chapters 1 to 4 drafted
0.2YYYY-MM-DD[@name]Example: Added runtime scenarios 6.2 and 6.3; ADR-004 recorded
1.0YYYY-MM-DD[@name]Example: Baseline after architecture review
1.12026-10-23[@name]Updated to arc42 9.1: chapter 10 quality model references (ISO/IEC 25010:2023, Q42), quality tree and scenario tags, licence note

Contents

1. Introduction and goals

1.1 Requirements overview

[System name] lets [primary users] [do the core job]. The functions that drive the architecture are listed below; the full requirements live in [link to backlog or SRS].

IDEssential requirementWhy it matters architecturally
RQ-01Example: Users edit Markdown documents offline in the browserRules out a server-side source of truth
RQ-02Example: Preview updates while typing for documents up to 1 MBRequires incremental rendering
RQ-03Example: Export to HTML, PDF and DOCXIntroduces a conversion pipeline
[RQ-nn][Requirement][Architectural impact]

1.2 Quality goals

The top three to five quality goals, in priority order. Each one is refined into measurable scenarios in chapter 10.

PriorityQuality goalMotivationScenario
1Example: PrivacyDocuments never leave the device unless the user exports themQS-01
2Example: ResponsivenessTyping must not lag on mid-range laptopsQS-02
3Example: MaintainabilitySmall team, frequent releasesQS-04
[n][Quality goal][Motivation][QS-nn]

1.3 Stakeholders

RoleContactExpectations of the architecture and this document
Example: Product owner@poUnderstand feasibility and cost of roadmap items
Example: Development team@teamClear module boundaries, conventions, decisions
Example: Operations@opsDeployment, monitoring and recovery procedures
Example: Security reviewer@secTrust boundaries and data flows
[Role][@name][Expectations]

2. Architecture constraints

2.1 Technical constraints

IDConstraintBackground
TC-01Example: Runs in current Chromium, Firefox and Safari without plug-insTarget users cannot install software
TC-02Example: No mandatory backend for editingLocal-first product promise
[TC-nn][Constraint][Background]

2.2 Organisational constraints

IDConstraintBackground
OC-01Example: Team of four developers, no dedicated operations staffBudget
OC-02Example: Release every two weeksProduct cadence
[OC-nn][Constraint][Background]

2.3 Conventions

IDConventionBackground
CV-01Example: TypeScript strict mode, ESLint rules in repositoryCode quality policy
CV-02Example: Decisions recorded as ADRs in docs/adrTraceability
[CV-nn][Convention][Background]

3. Context and scope

3.1 Business context

[System name] exchanges the following information with its environment.

PartnerInput to the systemOutput from the system
Example: AuthorText, formatting commands, files to importPreview, exported HTML / PDF / DOCX
Example: Local file systemExisting documentsSaved documents
[Partner][Input][Output]

3.2 Technical context

PartnerChannel / protocolData formatNotes
Example: Browser storageIndexedDB APIJSON recordsQuota managed by the browser
Example: Local file systemFile System Access API, download fallbackUTF-8 MarkdownNot available in all browsers
Example: Static hostHTTPSHTML, JS, CSSOnly delivers the application
[Partner][Channel][Format][Notes]

Mapping of business to technical context: [state which channel carries each business exchange above].

4. Solution strategy

Quality goal or constraintStrategyDecision
Example: Privacy (1.2, priority 1)All processing in the browser; no telemetry by defaultADR-001
Example: Responsiveness (priority 2)Debounced incremental rendering in a workerADR-003
Example: Maintainability (priority 3)Modular monolith with enforced import boundariesADR-002
Example: TC-01 browser supportFeature detection with graceful fallbacksADR-005
[Goal][Strategy][ADR-nnn]

Technology choices: [framework, language, key libraries and why]. Top-level decomposition: [style, for example layered, modular monolith, microservices]. Organisational decisions: [for example ownership by module].

5. Building block view

5.1 Level 1: whitebox of the overall system

Motivation for this decomposition: [why these blocks, for example "one block per area of change"].

Building blockResponsibilityInterfaces
Example: EditorText input, syntax highlighting, commandsEmits change events; reads documents
Example: Preview rendererTurns Markdown into sanitised HTMLrender(source) -> html
Example: Document storePersists documents and revisionssave, load, listRevisions
Example: Export pipelineProduces HTML, PDF, DOCXexport(docId, format)
[Block][Responsibility][Interfaces]

Important interfaces: [describe any interface between level 1 blocks that is not obvious from the table].

5.2 Level 2: whitebox of [Preview renderer]

[Preview renderer] is opened because [it carries the main performance and security risks].

Building blockResponsibilityQuality goal served
Example: ParserMarkdown to syntax treeCorrectness
Example: SanitiserRemoves scripts and unsafe attributesPrivacy, security
Example: DOM patcherUpdates only changed nodesResponsiveness
[Block][Responsibility][Goal]

5.3 Level 2: whitebox of [Document store]

Building blockResponsibilityQuality goal served
Example: Autosave schedulerDebounces writes after typing pausesData safety
Example: Revision keeperStores snapshots, prunes by policyData safety
[Block][Responsibility][Goal]

6. Runtime view

6.1 Scenario: edit and preview

The author types; the preview updates without blocking input.

Notable aspects: [debounce values, what happens on slow devices].

6.2 Scenario: application start with existing documents

StepBuilding blockActionOn failure
1Application shellLoad settingsUse defaults, show notice
2Document storeOpen database, migrate schema if neededRead-only mode with export offer
3EditorRestore last open documentOpen empty document
[n][Block][Action][Failure handling]

6.3 Scenario: storage quota exceeded

[Describe detection, user message, and how content is protected, for example "keep the document in memory, offer download, prune old revisions only after confirmation".]

StepBuilding blockAction
1Document storeWrite fails with a quota error; the document stays in memory
2Application shellShows a persistent warning with "Download now" and "Free space" actions
3Revision keeperOffers to prune revisions older than [30] days, only after confirmation
4Document storeRetries the write; clears the warning on success

6.4 Further scenarios

ScenarioWhy it is documentedStatus
Example: Export to PDF of a document with diagramsLongest-running operation, uses several blocks[Documented / planned]
Example: Import of a folder of filesBulk write path and error reporting[Documented / planned]
[Scenario][Reason][Status]

7. Deployment view

7.1 Infrastructure level 1

NodeDescriptionBuilding blocks deployed
Example: Production hostContainer behind TLS reverse proxyStatic application bundle
Example: User browserRuns the whole application, service worker caches itAll blocks of 5.1
[Node][Description][Blocks]

7.2 Environments

EnvironmentPurposeDeploymentRollback
Example: ProductionLive usersTagged image pulled by hostRedeploy previous tag
Example: StagingRelease verificationBranch buildNot needed
[Environment][Purpose][Mechanism][Rollback]

8. Cross-cutting concepts

8.1 Domain model

ConceptMeaningRepresented by
Example: DocumentA Markdown text with title and metadataDocument record
Example: RevisionImmutable snapshot of a documentRevision record
[Concept][Meaning][Type]

8.2 Security and privacy

[Trust boundaries, content sanitisation, content security policy, handling of secrets, opt-in for remote resources.]

8.3 Persistence

[Storage technology, schema versioning, migrations, backup and export.]

8.4 User interface

[Component library, theming, accessibility target such as WCAG 2.2 AA, keyboard support.]

8.5 Error handling

[Error categories, where they are caught, what the user sees, and the rule that user content is never discarded silently.]

8.6 Logging and observability

[What is logged where, retention, and how privacy is preserved.]

8.7 Testability

[Test levels, test data, seams for fakes, quality gates in CI.]

8.8 Internationalisation and other concepts

[Interface localisation, input methods, configuration, build and release, and any further concepts relevant to this system.]

9. Architecture decisions

IDDecisionStatusDateRecord
ADR-001Example: Process documents only in the browserAcceptedYYYY-MM-DD[link]
ADR-002Example: Modular monolith with import boundariesAcceptedYYYY-MM-DD[link]
ADR-003Example: Render preview in a web workerSuperseded by ADR-007YYYY-MM-DD[link]
[ADR-nnn][Decision][Proposed / Accepted / Superseded]YYYY-MM-DD[link]

10. Quality requirements

arc42 9.1 points chapter 10 at two reference models. Pick one as the team's vocabulary, record the choice below, and use its terms in the quality tree and in the scenario tags.

ModelTop-level termsWhen to prefer it
ISO/IEC 25010:2023 product quality modelFunctional suitability, performance efficiency, compatibility, interaction capability, reliability, security, maintainability, flexibility, safetyContracts, regulated work or acquirers that cite ISO; evaluation under ISO/IEC 25040
Q42 quality model (quality.arc42.org, CC BY-SA 4.0)Nine adjective tags: efficient, flexible, maintainable, operable, reliable, safe, secure, suitable, usable; each tag links to a catalogue of more specific qualities and example requirementsTeams that want stakeholder wording, several tags per requirement, and developer-facing qualities that ISO leaves out of scope

The 2023 edition of ISO/IEC 25010 differs from the 2011 edition, which older arc42 versions referenced: usability became interaction capability, portability became flexibility, and safety was added as a characteristic. Update older quality trees when you move to 9.1, and keep an old-to-new mapping row in the glossary if earlier reviews used the 2011 names.

FieldValue
Quality model used[ISO/IEC 25010:2023 / Q42 / both, ISO for the tree and Q42 tags for scenarios]
ReasonExample: The acquirer evaluates against ISO/IEC 25010:2023; Q42 tags help the team find example requirements
Owner of the quality tree[@architect]

10.1 Quality tree

The tree refines each top-level goal into the scenarios below. The first level uses ISO/IEC 25010:2023 characteristic names with the team's own goal name in brackets; the Q42 tag column in 10.2 gives the matching adjective.

10.2 Quality scenarios

IDISO/IEC 25010:2023 characteristicQ42 tagScenario (stimulus and environment)Expected responseMeasure
QS-01SecuritysecureExample: User edits with remote images disabledNo network request leaves the browser0 requests in network log
QS-02Performance efficiencyefficient, usableExample: User types in a 1 MB document on a mid-range laptopCharacters appear without visible lagInput latency p95 below 50 ms
QS-03Performance efficiencyefficientExample: User opens a 5 MB fileEditor usable quicklyInteractive within 2 s
QS-04Maintainabilitymaintainable, flexibleExample: Developer adds a new export formatChange limited to the export pipelineUnder 3 days, no other module touched
QS-05ReliabilityreliableExample: Browser tab crashes during editingWork restored on reopenAt most 1 s of typing lost
[QS-nn][Characteristic][Tag][Scenario][Response][Measure]

Write each measure so a test or a review can decide pass or fail. A scenario without a number, a threshold or an observable outcome is a wish, not a requirement; move it to chapter 11 as a risk until the team can measure it.

11. Risks and technical debt

IDTypeDescriptionProbabilityImpactMitigation / actionOwner
RK-01Example: RiskBrowser may evict IndexedDB data under storage pressureMediumHighRequest persistent storage; prompt for export@name
RK-02Example: DebtExport pipeline duplicates rendering logicHighMediumMerge with preview renderer in Q[n]@name
[RK-nn][Risk / Debt][Description][L / M / H][L / M / H][Action][@name]

12. Glossary

TermDefinition
Example: Building blockAny structural part of the system: module, component, service, package
Example: Local-firstData lives on the user's device and works offline; sync is optional
Example: RevisionA stored snapshot of a document at a point in time
[Term][Definition]

Standard and licence note

Based on arc42 version 9.1 (release tag 2026.10.19, October 2026), the template for architecture communication and documentation by Dr. Gernot Starke and Dr. Peter Hruschka (https://arc42.org). The twelve-chapter structure follows arc42; the sub-section breakdown, guidance comments, worked examples and the document control, revision history and approval sections are additions made for this collection. The explanatory and example text is original to this collection. The adapted structure is shared under CC BY-SA 4.0 (https://arc42.org/license/); keep this attribution and the same licence when you share derived versions of this template. Chapter 10 refers to ISO/IEC 25010:2023 by characteristic names only, and to the Q42 quality model by Dr. Gernot Starke (https://quality.arc42.org, CC BY-SA 4.0) by its tag names only. Check https://arc42.org/download for the current arc42 release before you start a new document. Template licence: CC BY-SA 4.0 (ShareAlike, as required by the arc42 licence).

Related templates