gds_software.c4.elements¶
C4 model element declarations -- frozen Pydantic models for user-facing declarations.
Bases: BaseModel
A person that interacts with the system.
Maps to: GDS BoundaryAction (exogenous input).
Source code in packages/gds-software/gds_software/c4/elements.py
Bases: BaseModel
An external system that the system interacts with.
Maps to: GDS BoundaryAction (exogenous input).
Source code in packages/gds-software/gds_software/c4/elements.py
Bases: BaseModel
A deployable unit (API, database, web app, etc).
Maps to: GDS Policy (if stateless) or Mechanism (if stateful/database).
Source code in packages/gds-software/gds_software/c4/elements.py
Bases: BaseModel
A component within a container.
Maps to: GDS Policy or Mechanism based on stateful flag.