0.11.0: arc42 and ArchiMate examples; ref in every diagram kind
Six example models next to the three C4 ones: arc42 (Cinema Tickets, IoT Telemetry, Team Wiki) by section, ArchiMate (Insurance Claims, HR Onboarding, Logistics Tracking) by layer, each validated with 0 errors and 0 warnings. resolveRefs and the editor schemas now take ref: in workflow and dataflow nodes, sequence participants and lifecycle states, as the skill already did. Example tests check each framework's folders.
This commit is contained in:
1 parent
f4df6a0834
commit
0745de822a
85 files changed
+2945
-67
No files matched your search
@@ -0,0 +1,36 @@
|
||||
schema_version: 1
|
||||
diagram_type: architecture
|
||||
meta:
|
||||
title: Business actors and services
|
||||
output: business-services.html
|
||||
components:
|
||||
- ref: hr
|
||||
pos: [40, 60]
|
||||
size: [130, 60]
|
||||
- ref: manager
|
||||
pos: [40, 160]
|
||||
size: [130, 60]
|
||||
- ref: service-desk
|
||||
pos: [40, 260]
|
||||
size: [130, 60]
|
||||
- ref: onboard
|
||||
pos: [250, 160]
|
||||
size: [150, 60]
|
||||
diagram: 0100-business/onboard-employee.archify
|
||||
- ref: onboarding-svc
|
||||
pos: [480, 60]
|
||||
size: [130, 60]
|
||||
- ref: workplace-svc
|
||||
pos: [480, 260]
|
||||
size: [130, 60]
|
||||
- ref: new-hire
|
||||
pos: [690, 160]
|
||||
size: [130, 60]
|
||||
connections:
|
||||
- { from: hr, to: onboard, label: assigned }
|
||||
- { from: manager, to: onboard, label: assigned }
|
||||
- { from: service-desk, to: onboard, label: assigned }
|
||||
- { from: onboard, to: onboarding-svc, label: realizes }
|
||||
- { from: onboard, to: workplace-svc, label: realizes }
|
||||
- { from: onboarding-svc, to: new-hire, label: serves, variant: emphasis }
|
||||
- { from: workplace-svc, to: new-hire, label: serves }
|
||||
@@ -0,0 +1,25 @@
|
||||
schema_version: 2
|
||||
diagram_type: workflow
|
||||
meta:
|
||||
title: Onboard Employee
|
||||
output: onboard-employee.html
|
||||
viewBox: [1040, 660]
|
||||
lanes:
|
||||
- { id: hr-lane, label: HR }
|
||||
- { id: manager-lane, label: Hiring manager }
|
||||
- { id: desk-lane, label: IT service desk }
|
||||
- { id: hire-lane, label: New hire }
|
||||
mainPath: [contract-signed, record, request, create-accounts, issue-laptop, first-day]
|
||||
nodes:
|
||||
- { ref: contract-signed, lane: hr-lane, col: 0, width: 120 }
|
||||
- { id: record, lane: hr-lane, col: 1, type: backend, label: Create record, tag: Business Process }
|
||||
- { id: request, lane: manager-lane, col: 2, type: frontend, label: Request access, tag: Business Process }
|
||||
- { ref: create-accounts, lane: desk-lane, col: 3, width: 120, decisions: [hr-system-drives-identity] }
|
||||
- { ref: issue-laptop, lane: desk-lane, col: 4, decisions: [zero-touch-laptops] }
|
||||
- { ref: first-day, lane: hire-lane, col: 5 }
|
||||
edges:
|
||||
- { from: contract-signed, to: record, label: triggers }
|
||||
- { from: record, to: request, label: notifies }
|
||||
- { from: request, to: create-accounts, label: ticket }
|
||||
- { from: create-accounts, to: issue-laptop, label: then }
|
||||
- { from: issue-laptop, to: first-day, label: hand over }
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
schema_version: 1
|
||||
diagram_type: architecture
|
||||
meta:
|
||||
title: Application components, services and data
|
||||
output: application-components.html
|
||||
components:
|
||||
- ref: provisioning-svc
|
||||
pos: [250, 60]
|
||||
size: [130, 60]
|
||||
- ref: portal
|
||||
pos: [460, 60]
|
||||
size: [130, 60]
|
||||
- ref: device-svc
|
||||
pos: [670, 60]
|
||||
size: [130, 60]
|
||||
- ref: hr-system
|
||||
pos: [40, 160]
|
||||
size: [130, 60]
|
||||
- ref: iam
|
||||
pos: [250, 160]
|
||||
size: [130, 60]
|
||||
- ref: itsm
|
||||
pos: [460, 160]
|
||||
size: [130, 60]
|
||||
- ref: mdm-app
|
||||
pos: [670, 160]
|
||||
size: [130, 60]
|
||||
- ref: employee-record
|
||||
pos: [40, 260]
|
||||
size: [130, 60]
|
||||
- ref: account
|
||||
pos: [250, 260]
|
||||
size: [130, 60]
|
||||
- ref: asset
|
||||
pos: [460, 260]
|
||||
size: [130, 60]
|
||||
connections:
|
||||
- { from: iam, to: provisioning-svc, label: realizes }
|
||||
- { from: itsm, to: portal, label: realizes }
|
||||
- { from: mdm-app, to: device-svc, label: realizes }
|
||||
- { from: hr-system, to: employee-record, label: writes, labelAt: [105, 234] }
|
||||
- { from: iam, to: account, label: writes, labelAt: [315, 234] }
|
||||
- { from: itsm, to: asset, label: writes, labelAt: [525, 234] }
|
||||
- { from: mdm-app, to: asset, label: reads }
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
schema_version: 1
|
||||
diagram_type: architecture
|
||||
meta:
|
||||
title: Application cooperation
|
||||
output: application-cooperation.html
|
||||
decisions: [hr-system-drives-identity]
|
||||
components:
|
||||
- ref: hr-system
|
||||
pos: [40, 160]
|
||||
size: [130, 60]
|
||||
- ref: iam
|
||||
pos: [250, 60]
|
||||
size: [130, 60]
|
||||
diagram: 0200-application/application-components.archify
|
||||
- ref: itsm
|
||||
pos: [250, 260]
|
||||
size: [130, 60]
|
||||
- ref: collab
|
||||
pos: [460, 60]
|
||||
size: [130, 60]
|
||||
- ref: mdm-app
|
||||
pos: [460, 260]
|
||||
size: [130, 60]
|
||||
connections:
|
||||
- { from: hr-system, to: iam, label: joiner event, variant: emphasis, decisions: [hr-system-drives-identity] }
|
||||
- { from: hr-system, to: itsm, label: laptop request }
|
||||
- { from: iam, to: collab, label: provisions }
|
||||
- { from: iam, to: mdm-app, label: users }
|
||||
- { from: itsm, to: mdm-app, label: assigns }
|
||||
@@ -0,0 +1,42 @@
|
||||
schema_version: 1
|
||||
diagram_type: architecture
|
||||
meta:
|
||||
title: Technology layer
|
||||
output: infrastructure.html
|
||||
decisions: [zero-touch-laptops]
|
||||
components:
|
||||
- ref: hr-saas
|
||||
pos: [40, 60]
|
||||
size: [130, 60]
|
||||
- ref: sso
|
||||
pos: [250, 60]
|
||||
size: [130, 60]
|
||||
- ref: directory
|
||||
pos: [460, 60]
|
||||
size: [130, 60]
|
||||
- ref: itsm-saas
|
||||
pos: [40, 160]
|
||||
size: [130, 60]
|
||||
- ref: mdm-saas
|
||||
pos: [460, 160]
|
||||
size: [130, 60]
|
||||
- ref: laptop
|
||||
pos: [460, 360]
|
||||
size: [130, 60]
|
||||
- ref: office-net
|
||||
pos: [250, 360]
|
||||
size: [130, 60]
|
||||
boundaries:
|
||||
- kind: region
|
||||
label: SaaS tenants
|
||||
wraps: [hr-saas, sso, directory, itsm-saas, mdm-saas]
|
||||
- kind: security-group
|
||||
label: Office
|
||||
wraps: [laptop, office-net]
|
||||
connections:
|
||||
- { from: directory, to: sso, label: realizes }
|
||||
- { from: sso, to: hr-saas, label: serves }
|
||||
- { from: sso, to: itsm-saas, label: serves }
|
||||
- { from: directory, to: mdm-saas, label: devices, labelAt: [525, 134] }
|
||||
- { from: mdm-saas, to: laptop, label: manages, labelAt: [525, 234], variant: security, decisions: [zero-touch-laptops] }
|
||||
- { from: laptop, to: office-net, label: connects }
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
schema_version: 1
|
||||
decision:
|
||||
id: hr-system-drives-identity
|
||||
title: The HR system drives identity
|
||||
status: accepted
|
||||
date: 2026-09-08
|
||||
elements: [hr-system, iam, account, employee-record]
|
||||
diagrams: [0200-application/application-cooperation.archify, 0100-business/onboard-employee.archify]
|
||||
context: >
|
||||
Accounts were created by hand from emails sent by HR.
|
||||
New hires waited days for access, and leavers kept
|
||||
accounts for weeks after their last day.
|
||||
decision: >
|
||||
The HR system is the source of truth for joiners and
|
||||
leavers. Identity management reads its events and
|
||||
creates, changes and disables accounts automatically.
|
||||
consequences: >
|
||||
No account without an employee record. HR data quality
|
||||
now decides access, so start dates must be right. The
|
||||
service desk only handles exceptions.
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
schema_version: 1
|
||||
decision:
|
||||
id: zero-touch-laptops
|
||||
title: Zero-touch enrollment for laptops
|
||||
status: accepted
|
||||
date: 2026-10-05
|
||||
elements: [mdm-app, mdm-saas, laptop, device-svc, asset]
|
||||
diagrams: [0300-technology/infrastructure.archify, 0100-business/onboard-employee.archify]
|
||||
context: >
|
||||
Every laptop was imaged by hand at the service desk,
|
||||
which took half a day per device and left settings that
|
||||
differed from one laptop to the next.
|
||||
decision: >
|
||||
Laptops are registered in device management at purchase.
|
||||
They configure themselves at first sign-in over any
|
||||
internet connection; the office network needs no VPN.
|
||||
consequences: >
|
||||
Laptops can be shipped straight to the new hire. A lost
|
||||
laptop is wiped remotely. Setup depends on the MDM
|
||||
tenant being reachable on the first day.
|
||||
@@ -0,0 +1,59 @@
|
||||
schema_version: 1
|
||||
model:
|
||||
id: hr-onboarding
|
||||
name: HR Onboarding
|
||||
description: >
|
||||
An ArchiMate example: how a new employee is onboarded, from signed
|
||||
contract to first day. Business, application and technology layers
|
||||
map to folders; each element's ArchiMate type is shown as its tag.
|
||||
diagram_type: architecture
|
||||
meta:
|
||||
title: HR Onboarding - layered view
|
||||
output: main.html
|
||||
components:
|
||||
- ref: new-hire
|
||||
pos: [40, 70]
|
||||
size: [170, 60]
|
||||
- ref: onboarding-svc
|
||||
pos: [270, 70]
|
||||
size: [170, 60]
|
||||
- ref: onboard
|
||||
pos: [500, 70]
|
||||
size: [170, 60]
|
||||
- ref: portal
|
||||
pos: [40, 270]
|
||||
size: [170, 60]
|
||||
- ref: iam
|
||||
pos: [270, 270]
|
||||
size: [170, 60]
|
||||
- ref: provisioning-svc
|
||||
pos: [500, 270]
|
||||
size: [170, 60]
|
||||
- ref: office-net
|
||||
pos: [40, 470]
|
||||
size: [170, 60]
|
||||
- ref: sso
|
||||
pos: [270, 470]
|
||||
size: [170, 60]
|
||||
- ref: directory
|
||||
pos: [500, 470]
|
||||
size: [170, 60]
|
||||
boundaries:
|
||||
- kind: region
|
||||
label: Business layer
|
||||
wraps: [new-hire, onboarding-svc, onboard]
|
||||
- kind: region
|
||||
label: Application layer
|
||||
wraps: [portal, iam, provisioning-svc]
|
||||
- kind: region
|
||||
label: Technology layer
|
||||
wraps: [office-net, sso, directory]
|
||||
connections:
|
||||
- { from: onboarding-svc, to: new-hire, label: serves, variant: emphasis }
|
||||
- { from: onboard, to: onboarding-svc, label: realizes }
|
||||
- { from: portal, to: new-hire, label: serves }
|
||||
- { from: provisioning-svc, to: onboard, label: serves }
|
||||
- { from: iam, to: provisioning-svc, label: realizes }
|
||||
- { from: office-net, to: portal, label: serves }
|
||||
- { from: sso, to: iam, label: serves }
|
||||
- { from: directory, to: sso, label: realizes }
|
||||
@@ -0,0 +1,81 @@
|
||||
schema_version: 1
|
||||
elements:
|
||||
hr-system:
|
||||
type: backend
|
||||
label: HR system
|
||||
sublabel: App Component
|
||||
tag: App Component
|
||||
description: >
|
||||
Holds employee records and contracts; the source of truth for joiners.
|
||||
diagram: 0200-application/application-cooperation.archify
|
||||
iam:
|
||||
type: security
|
||||
label: Identity mgmt
|
||||
sublabel: App Component
|
||||
tag: App Component
|
||||
description: >
|
||||
Creates and removes accounts from HR events; single sign-on for all apps.
|
||||
diagram: 0200-application/application-components.archify
|
||||
itsm:
|
||||
type: backend
|
||||
label: IT service mgmt
|
||||
sublabel: App Component
|
||||
tag: App Component
|
||||
description: >
|
||||
Tickets, requests and the asset inventory of the IT service desk.
|
||||
mdm-app:
|
||||
type: backend
|
||||
label: Device mgmt
|
||||
sublabel: App Component
|
||||
tag: App Component
|
||||
description: >
|
||||
Enrolls laptops, pushes policies and apps, wipes lost devices.
|
||||
collab:
|
||||
type: backend
|
||||
label: Mail and chat
|
||||
sublabel: App Component
|
||||
tag: App Component
|
||||
description: >
|
||||
Mailbox, calendar and chat; accounts provisioned by identity management.
|
||||
provisioning-svc:
|
||||
type: cloud
|
||||
label: Provisioning
|
||||
sublabel: App Service
|
||||
tag: App Service
|
||||
description: >
|
||||
Account create, change and disable, triggered by the HR system.
|
||||
device-svc:
|
||||
type: cloud
|
||||
label: Enrollment
|
||||
sublabel: App Service
|
||||
tag: App Service
|
||||
description: >
|
||||
Zero-touch enrollment; the laptop configures itself at first sign-in.
|
||||
portal:
|
||||
type: frontend
|
||||
label: Service portal
|
||||
sublabel: App Interface
|
||||
tag: App Interface
|
||||
description: >
|
||||
Where managers request equipment and access for a new hire.
|
||||
employee-record:
|
||||
type: database
|
||||
label: Employee record
|
||||
sublabel: Data Object
|
||||
tag: Data Object
|
||||
description: >
|
||||
Name, role, department, manager and start date of an employee.
|
||||
account:
|
||||
type: database
|
||||
label: Account
|
||||
sublabel: Data Object
|
||||
tag: Data Object
|
||||
description: >
|
||||
User id, groups and licences of one person.
|
||||
asset:
|
||||
type: database
|
||||
label: Asset
|
||||
sublabel: Data Object
|
||||
tag: Data Object
|
||||
description: >
|
||||
A laptop with serial number, owner and enrollment state.
|
||||
@@ -0,0 +1,81 @@
|
||||
schema_version: 1
|
||||
elements:
|
||||
new-hire:
|
||||
type: external
|
||||
label: New hire
|
||||
sublabel: Business Actor
|
||||
tag: Business Actor
|
||||
description: >
|
||||
The person joining the company; signs the contract and starts on day one.
|
||||
hr:
|
||||
type: external
|
||||
label: HR officer
|
||||
sublabel: Business Role
|
||||
tag: Business Role
|
||||
description: >
|
||||
Prepares the contract and the employee record; owns the onboarding process.
|
||||
manager:
|
||||
type: external
|
||||
label: Hiring manager
|
||||
sublabel: Business Role
|
||||
tag: Business Role
|
||||
description: >
|
||||
Requests access and equipment for the new hire and plans the first day.
|
||||
service-desk:
|
||||
type: external
|
||||
label: IT service desk
|
||||
sublabel: Business Role
|
||||
tag: Business Role
|
||||
description: >
|
||||
Creates accounts, prepares the laptop and hands it over.
|
||||
onboard:
|
||||
type: backend
|
||||
label: Onboard Employee
|
||||
sublabel: Business Process
|
||||
tag: Business Process
|
||||
description: >
|
||||
From signed contract to a productive first day.
|
||||
diagram: 0100-business/onboard-employee.archify
|
||||
onboarding-svc:
|
||||
type: cloud
|
||||
label: Onboarding
|
||||
sublabel: Business Service
|
||||
tag: Business Service
|
||||
description: >
|
||||
What the new hire gets from HR; contract, record, welcome and first day plan.
|
||||
diagram: 0100-business/business-services.archify
|
||||
workplace-svc:
|
||||
type: cloud
|
||||
label: Workplace setup
|
||||
sublabel: Business Service
|
||||
tag: Business Service
|
||||
description: >
|
||||
Accounts and a ready laptop, delivered by the IT service desk.
|
||||
contract-signed:
|
||||
type: messagebus
|
||||
label: Contract signed
|
||||
sublabel: Business Event
|
||||
tag: Business Event
|
||||
description: >
|
||||
Starts the process; HR records the start date.
|
||||
create-accounts:
|
||||
type: backend
|
||||
label: Create accounts
|
||||
sublabel: Business Process
|
||||
tag: Business Process
|
||||
description: >
|
||||
Service desk confirms the accounts the identity system provisioned.
|
||||
issue-laptop:
|
||||
type: backend
|
||||
label: Issue laptop
|
||||
sublabel: Business Process
|
||||
tag: Business Process
|
||||
description: >
|
||||
An enrolled laptop is assigned and handed over.
|
||||
first-day:
|
||||
type: messagebus
|
||||
label: First day
|
||||
sublabel: Business Event
|
||||
tag: Business Event
|
||||
description: >
|
||||
The new hire signs in for the first time; the process ends.
|
||||
@@ -0,0 +1,53 @@
|
||||
schema_version: 1
|
||||
elements:
|
||||
hr-saas:
|
||||
type: cloud
|
||||
label: HR tenant
|
||||
sublabel: Node
|
||||
tag: Node
|
||||
description: >
|
||||
The SaaS tenant that runs the HR system.
|
||||
diagram: 0300-technology/infrastructure.archify
|
||||
itsm-saas:
|
||||
type: cloud
|
||||
label: ITSM tenant
|
||||
sublabel: Node
|
||||
tag: Node
|
||||
description: >
|
||||
The SaaS tenant that runs IT service management.
|
||||
mdm-saas:
|
||||
type: cloud
|
||||
label: MDM tenant
|
||||
sublabel: Node
|
||||
tag: Node
|
||||
description: >
|
||||
The SaaS tenant that runs device management.
|
||||
directory:
|
||||
type: backend
|
||||
label: Directory
|
||||
sublabel: System Software
|
||||
tag: System Software
|
||||
description: >
|
||||
Cloud directory service; users, groups and devices.
|
||||
diagram: 0300-technology/infrastructure.archify
|
||||
sso:
|
||||
type: security
|
||||
label: Single sign-on
|
||||
sublabel: Tech Service
|
||||
tag: Tech Service
|
||||
description: >
|
||||
SAML and OIDC sign-in for every SaaS tenant, backed by the directory.
|
||||
laptop:
|
||||
type: frontend
|
||||
label: Laptop
|
||||
sublabel: Device
|
||||
tag: Device
|
||||
description: >
|
||||
Company laptop, enrolled before it is handed over.
|
||||
office-net:
|
||||
type: messagebus
|
||||
label: Office network
|
||||
sublabel: Network
|
||||
tag: Network
|
||||
description: >
|
||||
Wired and wireless network of the office; internet only, no VPN.
|
||||
Reference in new issue
Block a user