Templates/component-template.md

Component Template

Use this template to describe a software component and its relationships.

Markdown Schema Convention

Any file with a first heading that starts with # Component: is treated as a component document and must follow this schema.

FieldRequiredTypeDescription
nameYesStringUnique component name.
descriptionYesParagraphShort explanation of what the component does.
usedByYesBullet listComponents, applications, or services that use this component.
dependsOnYesBullet listComponents, services, or platforms this component depends on.
sourceCodeNoBullet listLink to source repository or folder where the component is defined.
supportTeamNoParagraphTeam responsible for support and maintenance.
environmentsNoBullet listEnvironments where this component is deployed or used.
statusNoParagraphLifecycle state (for example active, deprecated, retired).
notesNoParagraphExtra context not captured by other fields.

Required Section Headings

  • # Component: <name>
  • ## Description
  • ## Used By
  • ## Depends On

Optional Section Headings

  • ## Source Code
  • ## Support Team
  • ## Environments
  • ## Status
  • ## Notes

Ontology Relationships

  • usedBy: incoming relationship from consumers to this component.
  • dependsOn: outgoing relationship from this component to upstream dependencies.

Markdown Record Template

# Component: <component-name>

## Description
<what this component does>

## Used By
- <consumer-1>
- <consumer-2>

## Depends On
- <dependency-1>
- <dependency-2>

## Source Code
- [Repository](https://github.com/org/repo/tree/main/path)

## Support Team
<team-name>

## Environments
- dev
- test
- prod

## Status
active

## Notes
<optional extra context>

Example

# Component: Billing API

## Description
Provides billing and invoice operations for internal and external consumers.

## Used By
- Customer Portal
- Finance Reconciliation Job

## Depends On
- Auth Service
- Payments Gateway

## Source Code
- [Billing API Repo](https://github.com/example-org/platform-services/tree/main/billing-api)

## Support Team
Payments Platform Team

## Environments
- test
- prod

## Status
active

## Notes
Consumes payment events asynchronously for reconciliation.