Home ›  Archdsl

Enterprise Edition v8

Architecture as Code.

A unified domain-specific language for modeling complex enterprises using Dragon1, ArchiMate, UML, and BPMN.

What is ArchDSL?

ArchDSL is a powerful Domain-Specific Language designed to treat enterprise architecture as a software engineering discipline. It eliminates static, out-of-date diagrams by allowing architects to code their models.

In a world of rapid digital transformation, traditional modeling tools are too slow and siloed. ArchDSL provides a single source of truth that translates human strategy into machine-readable blueprints across all industry-standard frameworks.

Why it's Necessary

Stops 'Architecture Drift' by ensuring documentation evolves with the code.

Strategic Benefits

Automated impact analysis and 40% faster blueprint generation.

Collaborative Governance

Allows Git-based versioning and peer reviews for architecture changes.

A
ArchDSL Specification

General Language Rules

The foundational grammar for defining architectural entities, scoping metadata, and mapping complex relationships.

Rules #1 & #2

Entity Definitions & Property Scoping

Entities are the primary building blocks. Every definition requires a unique ID, a Label, and a Framework Tag. Attributes (metadata) are distinguished from components using the hyphen prefix.

Declarative Initialization [id] "[Label]" @[framework]:[type]
Metadata Scoping -[key] [value]

Standard Syntax Template


// Definition Template
definition EntityName {
type: "FrameworkType",
scope: "Global | Local",
attributes: ["attr1", "attr2"] }
// Practical Implementation rider "Rider" @c4:person { -description "Requests rides via mobile app" -tier "Premium" }
Rules #3 & #4

Relationships & Relational Logic

ArchDSL connects entities through directed flows or explicit relational objects. Rule #4 enables Nesting, allowing entities to exist within logical or physical boundaries.

1. Directed Flows Implicit

Quick mapping of dependencies or simple data movement.

source_id -> target_id "Description of action"

2. Relational Objects Explicit

Used when a relationship carries its own metadata (protocols, security, etc).

relation ServiceLink {
from: trip_api,
to: matching_engine,
verb: "synchronous_call",
metadata: { -protocol: "gRPC",
-security: "mTLS"
}
}

3. Nesting & Hierarchy Rule #4

Encapsulation of child components within a parent system boundary.

ride_service "Ride Service" @c4:system { // Nested definitions inherit parent scope component trip_api "Trip Gateway" @c4:api { ... } component trip_db "Trip Store" @c4:database { ... } }

Dragon1 Core

Enterprise Strategy & Principles

Dragon1 allows you to bridge the gap between business strategy and IT through visual architecture principles and blueprints.

// Define an enterprise architecture principle
principle CloudFirst {
  statement: "All new services must be cloud-native",
  rationale: "Ensures elasticity and cost-efficiency",
  impact: "Zero physical hardware procurement for new apps"
}

blueprint RetailExpansion {
  includes: [CloudFirst, MicroservicesOnly]
}

ArchiMate 3.1

Business to Technology Mapping

The open standard for enterprise architecture modeling, covering Business, Application, and Technology layers.

// Cross-layer traceability
layer Business {
  process OrderProcessing
}

layer Application {
  component SAP_Instance
}

SAP_Instance realizes OrderProcessing

UML 2.5

Software Blueprints

Precise structural and behavioral modeling for software-intensive systems.

class UserAccount {
  id: UUID
  email: String
  func validateLogin(): Boolean
}

Admin extends UserAccount

BPMN 2.0

Operational Workflows

workflow ClaimApproval {
  startEvent RequestReceived
  task AssessRisk
  gateway Approve?
  endEvent Finalized
}

C4 Model

System Abstraction Layers

context BankingSystem {
  person Customer
  system EmailService
}

Customer uses BankingSystem
Implementation Guide

GlobalBank Case Study

Migration from a monolithic COBOL core to a cloud-native microservices mesh using ArchDSL.

Phase 1: Strategic Alignment

1. Dragon1 Architecture Principles

Defining the Way of Thinking for GlobalBank's 2026 digital roadmap.

// Definition of the core guiding principle
real_time_sync "Real-Time Data Availability" @dragon1:principle {
-statement "All financial transactions must be reflected in user balances within < 200ms."
-rationale "Customer trust depends on instant feedback for mobile-first users."
}

customer_growth "Mobile User Dominance" @dragon1:goal
real_time_sync supports customer_growth
Phase 2: Business Process

2. BPMN Loan Approval Workflow

Modeling the orchestration of a modern loan request to replace manual cycles.

loan_request @bpmn:start-event "Mobile App Request"

check_credit @bpmn:service-task "AI Risk Evaluation" {
-implementation "RiskSentry-v2-Model"
}

approval_gate @bpmn:exclusive-gateway "Score > 750?"

loan_request -> check_credit -> approval_gate
approval_gate -> issue_funds "Yes"
Phase 3: Software Architecture

3. C4 Container Mapping

Drilling down into the technical stack of the Lending Sub-system.

lending_system @c4:software-system {
api_gateway @c4:container {
-technology "GraphQL / Apollo"
-description "Single entry point for iOS/Android"
}

risk_engine @c4:container {
-technology "Python / FastAPI"
}

api_gateway -> risk_engine "Invokes risk assessment"
}
Phase 4: Global Traceability

4. ArchiMate Transformation Map

Linking technical components back to business services and strategic goals.

loan_biz_service "Instant Lending" @archimate:business-service
risk_app_comp "Risk Microservice" @archimate:application-component

risk_app_comp realizes loan_biz_service
loan_biz_service achieves real_time_sync

Ready to model your transformation?

ArchDSL allows you to keep your architecture source-of-truth in Git, versioned alongside your code.

Next demos to watch

All Dragon1 (Enterprise Software and Architecture Framework) texts and diagrams on this website are originals, copyrighted material and our intellectual property. Copying, modifying, and/or using (parts of) this content in other media, or technology is prohibited, unless prior written consent is obtained. Any person, AI agent, or software reusing (parts) of these materials must show a clear, visible referral link to https://www.dragon1.com.