TSV Seehausen 1921
A sports club of about six hundred members in a Bavarian town: a football department with its teams, a gymnastics department, a member app the club built for itself, a tournament it runs every summer, and the two things every club does — take people in and collect their fees.
The smallest organisation everyone knows, written as one tree: a club at the root, two departments, an app the club built, a tournament as a project, and the two things every club does — take people in and collect their fees. It is half the size of examples/nasa and reaches every construct of the two proposals without strain: the four facets of 6.3 (Organisation, Project, Software, Service), Flow written as Process and Contract as Operation, a requirement's from source, and in the processes a genuine race, Ends on, deadlines that end the case, a step over a collection with a child case per item, a timed wait and criteria rules. German labels throughout, beside ASCII names.
- Who
- Mitglied · Vorstand · Kassenwart · Landesverband +4
- Steps
- 20 in 5 processes
- Rules
- 31
- Deadline
- 30 days
- Lifecycle
- Antragsteller → Mitglied → Ausgetreten
What must hold
The rules of this model, in its own words, and the step that keeps each one.
Requirements traceability
1 / 4 satisfied (25%)- SATZUNGThe board decides on every application, and nobody becomes a member without its decision (from tsv#Knowledge:Satzung)No declared satisfier
- BEITRAGEvery member pays the annual fee of their fee class, collected by direct debit on the fifteenth of January (from tsv#Knowledge:Beitragsordnung)No declared satisfier
- DATENA member's data is kept only as long as they are a member and is deleted on resignation unless the fee rules require it longer (from tsv#Knowledge:DSGVO)✓ Operation:AustrittErklaeren
- VERBANDEvery team that plays is registered with the regional federation before its first match (from the federation's playing rules)No declared satisfier
Use it with your agent
Connect AIM to the agent you already use, then ask it to start your own version:
Read the AIM context "TSV Seehausen 1921" at https://intentmodel.org/registry/reference/club/ and start our own version of it for our team.
Browse the model
How the intents fit together
Taking a member in
View workflow sourceFile
AGENTS.md
Agents
Read the repository's AGENTS.md first. This example is written against AIM 6.3 and 6.4 (proposals/6.3-four-facets.md, proposals/6.4-flow-constructs.md): the facets Organisation, Project, Software and Service; Flow written as Process and Contract as Operation; a requirement's from source; and in the processes a race, Ends on, deadlines that end the case, a step over a collection with a child case per item, a timed wait and criteria rules. A 6.2 reader rejects the new headings and words; everything else is 6.2 as specified.
The club's tree is under aim/tsv/; aim/volksbank/ is the bank's provider model beside it, outside the tree. The README.md beside this file says what each part shows. Treat the files as the authority and the README as the guide.
software
Fees module
Summary
The part of the member app the treasurer works in: every fee of the year with its status, the ones overdue first, and the reminder at hand. Described inside the app; built and run with it, never on its own.
Requirements
- UEBERSICHT — The treasurer sees every fee of the current year with its status within one screen — from [tsv#Requirements[BEITRAG]]
View
Beitragsübersicht
The fees of the year, overdue first, with the reminder as the action.
Display
- Every fee with its member, amount and status — reads · Beitrag, reads · Mitglied
Actions
- Send a reminder — exposes · Mahnen
Layout
- Overdue fees come first, then reminded, then open, then paid.
Bindings
- binds:
src/pages/Beitraege.tsx#Beitragsuebersicht— as: component
software
Member app
Summary
The app the club built for itself: a member sees their own data and can resign, the treasurer sees the fees, and the departments look members up through it. It is described here, as a Software with its screens, its operations and its one module; the football department reaches it as a Service. It wears the club's colours.
Requirements
- EIGENE-DATEN — A member sees only their own data; the board and the treasurer see everyone's — from [tsv#Knowledge:DSGVO]
- SUCHE — A lookup by name answers whether the person is a member and nothing more.
Children
- beitraege — The fees module: the treasurer's overview and the reminder
Style
Vereinsfarben
Green and white like the club's shirts, plain and friendly, large enough to read on a phone at the pitch.
Palette
- surface: white
- ink: dark green
#0f3d2e - accent: grass green
#2e8b57, the only hue
Type
- face: a humanist sans-serif, large on phones
View
Meine Daten
The member's own page: their data, their fee class, and the way to resign.
Display
- The member's own data and fee class — reads · Mitglied
Actions
- Resign — exposes · Austritt erklären
Bindings
- binds:
src/pages/MeineDaten.tsx#MeineDaten— as: component
Operation
Mitglied suchen
A lookup by name: whether the person is a member of the club.
Input
name: string requiredEnsures
- The directory is read — reads · Mitglied, satisfies · SUCHE
Returns
mitgliedId: string optional ref(tsv#Mitglied.id)
istMitglied: boolean requiredBindings
- binds:
src/api/members.ts#lookupMember— as: handler - binds:
route:GET /api/members/lookup— as: route
process
Taking a member in
Summary
A person applies; the board decides; the treasurer sets the fee class by rule; the club sends its offer and waits for the person to accept or decline; the statutory fourteen days in which they may still withdraw pass; the treasurer creates the member and sends the card. An applicant may withdraw at any point, which ends the run; an application that goes nowhere for thirty days is closed and ends. The applicant starts it.
Requirements
- VORSTAND — Nobody is created as a member before the board has decided for them — from [tsv#Requirements[SATZUNG]]
- KLASSE — The fee class follows from age and family membership by rule, never by the treasurer's judgement — from [tsv#Knowledge:Beitragsordnung]
- WIDERRUF — A person who accepted may withdraw within fourteen days; the member is created only after they have passed — from: § 355 BGB, the consumer's right of withdrawal
- DREISSIG — An application without an answer thirty days after it was made is closed — from: the board's decision of March 2025
- AUSWEIS — Every new member receives their membership card as a PDF on the day they are created.
Steps
- The application is made — invokes · Antrag stellen
- The board decides — invokes · Entscheiden — continues: Aufgenommen
- The fee class is set by rule — invokes · Beitragsklasse festlegen — continues: Jugend, Familie, Erwachsene
- The offer is sent — invokes · Angebot senden
- Wait for the answer — subscribes · AngebotAngenommen, subscribes · AngebotAbgelehnt — continues: AngebotAngenommen
- The withdrawal period passes — after: 14 days
- The member is created and the card sent — invokes · Mitglied anlegen
Ends on
- [tsv.aufnahme#Event:AntragZurueckgezogen]
On Error
- A card that cannot be rendered is sent the next day; the member exists from the day they were created.
Operation
Antrag stellen
A person applies for membership with their data; they exist from now on as an applicant.
Input
name: string required
geburtsdatum: date required
email: email required
familienmitglied: boolean required label("Ein Familienmitglied ist bereits Mitglied")Authz
tsv#Persona:Mitglied
Ensures
- The applicant exists — mutates · Mitglied
- The board is told — emits · AntragGestellt
Operation
Entscheiden
The board takes the applicant in or declines, on the statutes.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Vorstand
Expects
- The person is an applicant.
Ensures
- The statutes are consulted — reads · Mitglied, consults · Satzung, satisfies · VORSTAND
Decides
- Aufgenommen — nothing in the statutes stands against the person
- Abgelehnt — a ground of the statutes stands against them; the application is closed — invokes · Antrag schließen
Operation
Beitragsklasse festlegen
The fee class follows from the applicant's age and whether a family member already belongs.
Input
mitgliedId: string required ref(tsv#Mitglied.id)
alter: integer required min(0) label("Alter in Jahren")
familienmitglied: boolean requiredAuthz
tsv#Persona:Kassenwart
Ensures
- The applicant is read — reads · Mitglied, satisfies · KLASSE
Decides
- Jugend — under eighteen — mutates · Mitglied
- Familie — an adult whose family member already belongs — mutates · Mitglied
- Erwachsene — any other adult — mutates · Mitglied
Criteria
Jugend when alter < 18
Familie when familienmitglied = true
otherwise ErwachseneOperation
Angebot senden
The club's offer goes to the applicant: the fee class, the amount, and the way to accept or decline.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Kassenwart
Ensures
- The applicant is told — reads · Mitglied, emits · AngebotGesendet
Operation
Annehmen
The applicant accepts the offer.
Input
mitgliedId: string required ref(tsv#Mitglied.id)
iban: string required label("IBAN für das Lastschriftmandat")Authz
tsv#Persona:Mitglied
Ensures
- The mandate's account is kept — mutates · Mitglied
- The club is told — emits · AngebotAngenommen
Operation
Ablehnen
The applicant declines the offer; the application is closed.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Mitglied
Ensures
- The club is told — emits · AngebotAbgelehnt
- The application is closed — invokes · Antrag schließen
Operation
Antrag zurückziehen
The applicant withdraws, before or after accepting; the application is deleted.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Mitglied
Ensures
- The application is deleted — mutates · Mitglied, satisfies · WIDERRUF
- The club is told — emits · AntragZurueckgezogen
Operation
Mitglied anlegen
The treasurer creates the member and sends the card.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Kassenwart
Expects
- The board decided for the person, they accepted, and fourteen days have passed.
Ensures
- The person is a member from today — mutates · Mitglied
- The card is rendered and sent — invokes · Mitgliedsausweis als PDF, satisfies · AUSWEIS
- The club is told — emits · MitgliedAufgenommen
Operation
Antrag schließen
An application is closed and the applicant's data deleted.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Vorstand
Ensures
- The application is deleted — mutates · Mitglied, satisfies · DREISSIG
Event
AntragGestellt
A person applied.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)
am: datetime requiredEvent
AngebotGesendet
The club's offer went to the applicant.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)Event
AngebotAngenommen
The applicant accepted.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)
am: datetime requiredEvent
AngebotAbgelehnt
The applicant declined.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)Event
AntragZurueckgezogen
The applicant withdrew.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)Event
MitgliedAufgenommen
A new member was created.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)
seit: date requiredTrigger
Antrag verfallen
Thirty days after the application, if the applicant has not accepted, the application is closed and the run ends.
Kind
- deadline
Schedule
- 30 days after [tsv.aufnahme#Event:AntragGestellt] — unless [tsv.aufnahme#Event:AngebotAngenommen]
Fires
Ends
- the case
process
One member's fee
Summary
One collection, started by the year's run for one member: the fee of their class is issued, the direct debit submitted to the bank, and the payment awaited. A fee unpaid after fourteen days is reminded; one still unpaid fourteen days after that is reported to the board, and the collection ends there. A member who resigns has the fee cancelled, which ends the collection wherever it stands.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Requirements
- KLASSE — The amount is the member's fee class's amount of the fee rules, nothing else — from [tsv#Knowledge:Beitragsordnung]
- MANDAT — The direct debit is submitted against the mandate the member gave on joining — from [tsv#Requirements[BEITRAG]]
- MAHNUNG — A fee unpaid fourteen days after it was issued is reminded once; one unpaid fourteen days after the reminder goes to the board — from [tsv#Knowledge:Beitragsordnung]
- STORNO — A resigned member's open fee is cancelled, never collected.
Steps
- The fee is issued — invokes · Beitrag stellen
- The direct debit is submitted — invokes · Lastschrift einreichen
- Wait for the payment — subscribes · BeitragBezahlt
- The collection is complete — emits · EinzugAbgeschlossen
Ends on
- [tsv.beitrag.einzug#Event:BeitragStorniert]
- [tsv.beitrag.einzug#Event:AnVorstandGemeldet]
On Error
- A direct debit the bank returns unpaid leaves the fee open; the reminder runs on its own deadline.
Record
Beitrag
One member's fee for one year: the amount, the direct debit it was collected by, and where it stands.
Schema
id: string required unique
mitgliedId: string required ref(tsv#Mitglied.id)
jahr: integer required
betrag: decimal required min(0)
lastschriftId: string optional
status: enum(offen, gemahnt, bezahlt, storniert, gemeldet) required default(offen)State
Beitragsstatus
A fee is open until it is paid; it may be reminded once while open; it is cancelled when the member resigns and reported when it stays unpaid after the reminder.
Of
tsv.beitrag.einzug#Record:Beitrag.status
States
- Offen — initial
- Gemahnt
- Bezahlt — final
- Storniert — final
- Gemeldet — final
Moves
- Offen → Bezahlt — [tsv.beitrag.einzug#Operation:ZahlungErfassen]
- Gemahnt → Bezahlt — [tsv.beitrag.einzug#Operation:ZahlungErfassen]
- Offen → Gemahnt — [tsv.beitrag.einzug#Operation:Mahnen]
- Offen → Storniert — [tsv.beitrag.einzug#Operation:Stornieren]
- Gemahnt → Storniert — [tsv.beitrag.einzug#Operation:Stornieren]
- Gemahnt → Gemeldet — [tsv.beitrag.einzug#Operation:VorstandMelden]
Only in
- Offen — [tsv.beitrag.einzug#Operation:LastschriftEinreichen], [tsv.beitrag.einzug#Operation:Mahnen]
- Gemahnt — [tsv.beitrag.einzug#Operation:VorstandMelden]
Operation
Beitrag stellen
The year's fee is issued to the member at their fee class's amount.
Input
mitgliedId: string required ref(tsv#Mitglied.id)
jahr: integer requiredAuthz
tsv#Persona:Kassenwart
Ensures
- The amount follows the fee class — reads · Mitglied, consults · Beitragsordnung, satisfies · KLASSE
- The fee exists — mutates · Beitrag
- The clock starts — emits · BeitragGestellt
Operation
Lastschrift einreichen
The fee goes to the bank as one direct debit against the member's mandate.
Input
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Authz
tsv#Persona:Kassenwart
Ensures
- The direct debit is submitted — reads · Mitglied, invokes · SEPA-Lastschrift, satisfies · MANDAT
- Its number is kept on the fee — mutates · Beitrag
Bindings
- binds:
src/fees/debit.ts#submitDirectDebit— as: handler
Operation
Zahlung erfassen
The bank's notification that a direct debit was collected marks the fee paid.
Input
lastschriftId: string requiredEnsures
- The fee is paid — mutates · Beitrag
- The collection is told — emits · BeitragBezahlt
Bindings
- binds:
route:POST /webhooks/volksbank— as: route
Operation
Mahnen
The member is reminded once of the unpaid fee.
Input
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Authz
tsv#Persona:Kassenwart
Ensures
- The fee is marked reminded — mutates · Beitrag, satisfies · MAHNUNG
- The second clock starts — emits · Gemahnt
Operation
Dem Vorstand melden
A fee still unpaid after the reminder is reported to the board; the collection ends.
Input
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Authz
tsv#Persona:Kassenwart
Ensures
- The fee is marked reported — mutates · Beitrag, satisfies · MAHNUNG
- The board is told — emits · AnVorstandGemeldet
Operation
Stornieren
A resigned member's open fee is cancelled.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Kassenwart
Ensures
- The fee is cancelled — mutates · Beitrag, satisfies · STORNO
- The collection is told — emits · BeitragStorniert
Event
BeitragGestellt
A fee was issued.
Payload
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)
am: date requiredEvent
BeitragBezahlt
A fee was paid.
Payload
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Event
Gemahnt
A member was reminded.
Payload
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)
am: date requiredEvent
AnVorstandGemeldet
An unpaid fee went to the board.
Payload
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Event
BeitragStorniert
A fee was cancelled.
Payload
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Event
EinzugAbgeschlossen
The collection ended with the fee paid.
Payload
beitragId: string required ref(tsv.beitrag.einzug#Beitrag.id)Trigger
Zahlungseingang
The bank's notification of a collected or returned direct debit arrives at the club's registered endpoint.
Kind
- webhook
Fires
Trigger
Erste Mahnung
Fourteen days after the fee was issued, if it is not paid, the member is reminded.
Kind
- deadline
Schedule
- 14 days after [tsv.beitrag.einzug#Event:BeitragGestellt] — unless [tsv.beitrag.einzug#Event:BeitragBezahlt]
Fires
Trigger
Zweite Frist
Fourteen days after the reminder, if the fee is still not paid, it goes to the board and the collection ends.
Kind
- deadline
Schedule
- 14 days after [tsv.beitrag.einzug#Event:Gemahnt] — unless [tsv.beitrag.einzug#Event:BeitragBezahlt]
Fires
Ends
- the case
process
The annual fee run
Summary
Every fifteenth of January the treasurer's run begins: the members due are collected into the run, and for each of them one collection is started as a run of its own — the fee issued, the direct debit submitted, the payment awaited, reminders sent while it stays unpaid. The year's run is complete when every member's collection has ended, paid or reported to the board.
Requirements
- JAHR — One run per year, started on the fifteenth of January, covering every member of that day — from [tsv#Requirements[BEITRAG]]
- JEDER — Every member in the run gets exactly one fee of their fee class; nobody is skipped or charged twice.
- ABSCHLUSS — The run is complete only when every collection it started has ended.
Steps
- The members due are collected — reads · Mitglied, mutates · Beitragslauf, emits · LaufGestartet
- One collection per member — for each [tsv.beitrag#Record:Beitragslauf.mitglieder] as mitgliedId — invokes · One member's fee
- The run is closed — mutates · Beitragslauf, emits · LaufAbgeschlossen
Children
- einzug — One member's fee: issued, collected, reminded, paid
Record
Beitragslauf
One year's run: which members it covers and whether it is complete.
Schema
id: string required unique
jahr: integer required
mitglieder: list(ref(tsv#Mitglied.id)) required
status: enum(laeuft, abgeschlossen) required default(laeuft)Event
LaufGestartet
The year's fee run began.
Payload
laufId: string required ref(tsv.beitrag#Beitragslauf.id)
jahr: integer requiredEvent
LaufAbgeschlossen
Every collection of the year's run has ended.
Payload
laufId: string required ref(tsv.beitrag#Beitragslauf.id)Trigger
Jahresbeitrag
On the fifteenth of January the run starts.
Kind
- schedule
Schedule
- yearly on 15 January
Fires
organisation
Football department
Summary
The club's largest department: eleven teams from the under-nines to the first team, their coaches, two training evenings a week on the town's pitches. It keeps its teams as records of its own and looks members up in the club app, which it reaches as a service. Its training is named here and not yet worked out; its team app is named and not yet built.
Requirements
- TRAINER — Every team has a coach with a valid licence before the season starts — from [tsv#Requirements[VERBAND]]
- SPIELBERECHTIGT — A player is fielded only if they are a member of the club — from [tsv#Knowledge:Satzung]
Dependencies
Requires
- Mitgliedersuche as Mitglieder
Persona
Trainer
Role
- Coaches one team, takes the training, and looks players up before fielding them.
Access
- Looks a player up — invokes · Spieler prüfen
Record
Mannschaft
One team: its name, the birth years it plays in, and its coach.
Schema
id: string required unique
name: string required
jahrgang: integer required label("Jüngster Jahrgang")
trainerId: string required ref(tsv#Mitglied.id)Operation
Spieler prüfen
Before a player is fielded, the coach checks in the club's directory that they are a member.
Input
name: string requiredAuthz
tsv.fussball#Persona:Trainer
Ensures
- The directory is asked — invokes · Mitgliedersuche, satisfies · SPIELBERECHTIGT
Decides
- Mitglied — the directory knows the player as a member
- KeinMitglied — the directory does not; the player is not fielded and the application process is pointed out
Process
Training
Two evenings a week each team trains on the town's pitches; attendance is taken and the coach notes who is ready to play. Named here; its steps are worked out in its own conversation.
Trigger
Trainingsabend
Every Tuesday and Thursday evening the training is held.
Kind
- schedule
Schedule
- weekly on Tuesday
Fires
Capability
Mitgliedersuche
What the department must be able to do, whoever provides it: find a member by name and learn whether they are one.
Operations
Suchen(name) -> mitglied
Service
Mitgliederverzeichnis
The club's own member app, reached by the department through its lookup; the app is described at tsv.app, and here it is the system the department uses.
Bindings
- binds:
aim:tsv.app— as: provider
Software
Team-App
The small app the coaches want for line-ups and attendance, to be built on top of the member directory; named, not yet described.
mapping
Football department mappings
Binds the lookup the department requires (## Dependencies → ### Requires in tsv.fussball.aim) to the system that answers it: the club's own member app, described at tsv.app. The same software is a Software where it is described and a Service here, where it is consumed; the Service facet tsv.fussball#Service:Mitgliederverzeichnis is the department's naming of it, and this mapping is the answer.
Map
Mitglieder
Resolves the Mitglieder alias — the Mitgliedersuche capability — to the member app's lookup.
Target
tsv.app
Operation Map
Mitglieder.Suchen→tsv.app.MitgliedSuchen
organisation
TSV Seehausen 1921
Summary
A sports club of about six hundred members in a Bavarian town: a football department with its teams, a gymnastics department, a member app the club built for itself, a tournament it runs every summer, and the two things every club does — take people in and collect their fees. This root holds what the whole club shares: the member, who is both a person who acts and a record the club keeps; the board and the treasurer; the statutes and the fee rules; the bank and the federation it deals with; and the index of its parts.
Requirements
- SATZUNG — The board decides on every application, and nobody becomes a member without its decision — from [tsv#Knowledge:Satzung]
- BEITRAG — Every member pays the annual fee of their fee class, collected by direct debit on the fifteenth of January — from [tsv#Knowledge:Beitragsordnung]
- DATEN — A member's data is kept only as long as they are a member and is deleted on resignation unless the fee rules require it longer — from [tsv#Knowledge:DSGVO]
- VERBAND — Every team that plays is registered with the regional federation before its first match — from: the federation's playing rules
Children
- fussball — The football department: its teams, its coaches, its training
- turnen — The gymnastics department
- app — The member app the club built: what members see, and the fees module
- turnier2027 — The summer tournament 2027: a project with an end
- aufnahme — Taking a new member in, from application to membership card
- beitrag — The annual fee run, one direct debit per member, with reminders
Dependencies
Requires
- SepaLastschrift as Sepa
- MitgliedsausweisPdf as Ausweis
Persona
Mitglied
Role
- A person who applied to the club or belongs to it: they see their own data, answer the club's offer, and may resign.
Access
- Sees their own data — accesses · Meine Daten
- Applies — invokes · Antrag stellen
- Accepts or declines the club's offer — invokes · Annehmen, invokes · Ablehnen
- Withdraws an application — invokes · Antrag zurückziehen
- Resigns — invokes · Austritt erklären
Persona
Vorstand
Role
- The elected board: decides on applications, closes stale ones, and hears what the treasurer escalates.
Access
- Decides on an application — invokes · Entscheiden
- Closes an application that went nowhere — invokes · Antrag schließen
- Registers the club's teams for the tournament — invokes · Registering the teams
Persona
Kassenwart
Role
- The treasurer: sets the fee class, runs the fee collection, sends reminders and reports what stays unpaid.
Access
- Sets a member's fee class — invokes · Beitragsklasse festlegen
- Creates the member — invokes · Mitglied anlegen
- Runs the fees — invokes · The annual fee run
- Reminds and reports — invokes · Mahnen, invokes · Dem Vorstand melden
- Sees the fees — accesses · Beitragsübersicht
Record
Mitglied
The member as the club keeps them: who they are, which fee class, since when, and where they stand between application and resignation.
Schema
id: string required unique
name: string required label("Name")
geburtsdatum: date required label("Geburtsdatum")
email: email required
iban: string optional label("IBAN")
beitragsklasse: enum(jugend, erwachsene, familie) optional label("Beitragsklasse")
status: enum(antragsteller, mitglied, ausgetreten) required default(antragsteller)
seit: date optional label("Mitglied seit")State
Mitgliedsstatus
A person applies, becomes a member when the treasurer creates them after the board's decision and their acceptance, and leaves by resigning; an application is deleted when it is withdrawn or closed.
Of
tsv#Record:Mitglied.status
States
- Antragsteller — initial
- Mitglied
- Ausgetreten — final
Moves
- Antragsteller → Mitglied — [tsv.aufnahme#Operation:MitgliedAnlegen]
- Antragsteller → deleted — [tsv.aufnahme#Operation:Zurueckziehen], [tsv.aufnahme#Operation:AntragSchliessen]
- Mitglied → Ausgetreten — [tsv#Operation:AustrittErklaeren]
Only in
- Antragsteller — [tsv.aufnahme#Operation:Entscheiden], [tsv.aufnahme#Operation:BeitragsklasseFestlegen]
- Mitglied — [tsv.beitrag.einzug#Operation:BeitragStellen]
Operation
Austritt erklären
A member resigns; open fees of theirs are cancelled and their data is scheduled for deletion.
Input
mitgliedId: string required ref(tsv#Mitglied.id)Authz
tsv#Persona:Mitglied
Ensures
- The member is marked resigned — mutates · Mitglied, satisfies · DATEN
- Open fees are cancelled — invokes · Stornieren
- The club is told — emits · MitgliedAusgetreten
Event
MitgliedAusgetreten
A member resigned.
Payload
mitgliedId: string required ref(tsv#Mitglied.id)
zum: date requiredOrganisation
Bayerischer Fußball-Verband
The regional football federation: it runs the leagues, confirms every team the club registers, and sets the playing rules. It acts in the tournament registration by confirming it.
Access
- Confirms a registration — invokes · Bestätigung erfassen
Organisation
Stadt Seehausen
The town, which owns the sports hall and the pitches the club uses and sets the hall's hours. It does nothing in the club's processes; it is here because the gymnastics department's plans depend on it.
Service
Volksbank Seehausen
The club's bank, reached through its direct-debit interface: the fees go out as SEPA direct debits and the payments come back as notifications. The bank's own model is volksbank, beside this tree.
Bindings
- binds:
aim:volksbank— as: provider
Capability
SEPA-Lastschrift
What the fee collection must be able to do, whoever provides it: submit one direct debit for one fee against a member's mandate, and learn whether it was paid.
Operations
Einreichen(iban, betrag, verwendungszweck) -> lastschriftStatus(lastschrift) -> bezahlt
Capability
Mitgliedsausweis als PDF
What taking a member in must be able to do: render their membership card as a PDF to send them.
Operations
Rendern(mitglied) -> pdf
Bindings
- binds:
amy:pdf— as: provider
Knowledge
Satzung
The club's statutes: who may become a member and how, the board's duties, the general meeting, resignation and its notice period.
Source
The statutes as registered with the district court, 2019 version.
Knowledge
Beitragsordnung
The fee rules the general meeting passed: the three fee classes and their amounts, the direct-debit date, and what happens when a fee stays unpaid.
Source
The fee rules resolved by the general meeting of 2024.
Knowledge
DSGVO
What the club may keep about a person, for how long, and what it must delete when they leave.
Source
The General Data Protection Regulation and the state data protection office's guidance for clubs.
mapping
Club mappings
Binds the capability the club requires at its root (## Dependencies → ### Requires in tsv.aim) to the system that answers it: the bank, whose own model is volksbank. The Service facet tsv#Service:Volksbank is the club's naming of that system; this mapping is the answer, operation by operation. The membership-card capability is answered by a direct binding on the Capability itself and needs no map.
Map
Sepa
Resolves the Sepa alias — the SepaLastschrift capability — to the bank's direct-debit operations.
Target
volksbank
Operation Map
Sepa.Einreichen→volksbank.LastschriftEinreichenSepa.Status→volksbank.LastschriftStatus
organisation
Gymnastics department
Summary
Children's gymnastics on Monday and Wednesday afternoons and a women's group on Thursday evenings, all in the town's hall. The department has one instructor per group, wants the hall renovated, and otherwise asks nothing of the club but its share of the hall hours.
Requirements
- AUFSICHT — No group trains without a licensed instructor present — from [tsv#Knowledge:Satzung]
- HALLE — The department uses the hall only in the hours the town grants it — from: the town's hall rules
Persona
Übungsleiterin
Role
- Leads one group, holds the instructor licence, and keeps the group's attendance.
Project
Hallensanierung
Get the town to renovate the hall's floor and lighting by the autumn of 2027; the department's project once it has a plan and a budget.
process
Registering the teams
Summary
The board starts it when the federation opens registration. Every team the club enters is put in its age group by its youngest birth year and registered through the federation's portal; the club then waits for the federation's confirmation, pays the entry fee, and waits for the draw. A registration window that closes before the federation has confirmed ends the run; a withdrawal by the board ends it at any point.
Requirements
- FENSTER — The registration is complete inside the federation's window; a run the window closes on is abandoned — from [tsv.turnier2027#Requirements[MELDUNG]]
- JEDE — Every team listed for the tournament is registered, none by hand outside this run.
- KLASSE — The age group is decided by rule from the team's youngest birth year, never by the committee's judgement — from [tsv.turnier2027#Requirements[ALTERSKLASSE]]
Steps
- Registration opens — emits · MeldungGeoeffnet, mutates · Meldung
- Put every team in its age group and register it — for each [tsv.turnier2027#Record:Turnier.mannschaften] as mannschaftId — invokes · Altersklasse bestimmen
- Wait for the federation's confirmation — subscribes · MeldungBestaetigt
- Pay the entry fee — invokes · Startgeld zahlen
- Wait for the draw — until [tsv.turnier2027#Record:Turnier.auslosungAm]
- The teams are told their groups — emits · MeldungAbgeschlossen
Ends on
- [tsv.turnier2027.anmeldung#Event:MeldungZurueckgezogen]
On Error
- A team the portal refuses is registered again after the committee corrected its data; the step stays incomplete until every team is registered.
Record
Meldung
One registration run: when it opened, the registration numbers the portal gave, and whether the federation confirmed.
Schema
id: string required unique
turnierId: string required ref(tsv.turnier2027#Turnier.id)
geoeffnetAm: datetime required
status: enum(offen, bestaetigt, abgeschlossen, zurueckgezogen) required default(offen)Record
Mannschaftsmeldung
One team's registration: its age group and the number the portal gave it.
Schema
id: string required unique
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)
mannschaftId: string required ref(tsv.fussball#Mannschaft.id)
altersklasse: enum(U9, U11, U13, U15, U17) required
meldenummer: string optionalState
Meldungsstatus
A run is open until the federation confirms it, complete when the draw is known, and withdrawn when the board pulls out.
Of
tsv.turnier2027.anmeldung#Record:Meldung.status
States
- Offen — initial
- Bestaetigt
- Abgeschlossen — final
- Zurueckgezogen — final
Moves
- Offen → Bestaetigt — [tsv.turnier2027.anmeldung#Operation:BestaetigungErfassen]
- Bestaetigt → Abgeschlossen — [tsv.turnier2027.anmeldung#Operation:StartgeldZahlen]
- Offen → Zurueckgezogen — [tsv.turnier2027.anmeldung#Operation:Zurueckziehen]
- Bestaetigt → Zurueckgezogen — [tsv.turnier2027.anmeldung#Operation:Zurueckziehen]
Only in
- Bestaetigt — [tsv.turnier2027.anmeldung#Operation:StartgeldZahlen]
Operation
Altersklasse bestimmen
A team's age group follows from its youngest birth year by the federation's table; the team is then registered in that group.
Input
mannschaftId: string required ref(tsv.fussball#Mannschaft.id)
jahrgang: integer required label("Jüngster Jahrgang")Authz
tsv.turnier2027#Organisation:Turnierausschuss
Ensures
- The team is read — reads · Mannschaft, satisfies · KLASSE
Decides
- U9 — born 2018 or later — invokes · Mannschaft melden
- U11 — born 2016 or 2017 — invokes · Mannschaft melden
- U13 — born 2014 or 2015 — invokes · Mannschaft melden
- U15 — born 2012 or 2013 — invokes · Mannschaft melden
- U17 — born 2010 or 2011 — invokes · Mannschaft melden
- ZuAlt — born before 2010: not a youth team, not registered
Criteria
U9 when jahrgang >= 2018
U11 when jahrgang >= 2016
U13 when jahrgang >= 2014
U15 when jahrgang >= 2012
U17 when jahrgang >= 2010
otherwise ZuAltOperation
Mannschaft melden
One team is registered in its age group through the federation's portal and the number the portal gives is kept.
Input
mannschaftId: string required ref(tsv.fussball#Mannschaft.id)
altersklasse: enum(U9, U11, U13, U15, U17) requiredAuthz
tsv.turnier2027#Organisation:Turnierausschuss
Ensures
- The portal registers the team — invokes · Verbandsmeldung
- The registration is kept — mutates · Mannschaftsmeldung, satisfies · JEDE
Operation
Bestätigung erfassen
The federation confirms the club's registration; the run is confirmed.
Input
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)Authz
tsv#Organisation:Landesverband
Ensures
- The run is confirmed — mutates · Meldung
- The club is told — emits · MeldungBestaetigt
Operation
Startgeld zahlen
The committee pays the federation's entry fee for the registered teams; the registration is complete.
Input
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)Authz
tsv.turnier2027#Organisation:Turnierausschuss
Expects
- The federation has confirmed.
Ensures
- The registration is complete — mutates · Meldung, satisfies · FENSTER
Operation
Meldung zurückziehen
The board withdraws the club's registration.
Input
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)Authz
tsv#Persona:Vorstand
Ensures
- The run is withdrawn — mutates · Meldung
- Everyone is told — emits · MeldungZurueckgezogen
Event
MeldungGeoeffnet
The club started registering its teams.
Payload
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)
geoeffnetAm: datetime requiredEvent
MeldungBestaetigt
The federation confirmed the club's registration.
Payload
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)Event
MeldungAbgeschlossen
The registration is complete and the groups are known.
Payload
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)Event
MeldungZurueckgezogen
The board withdrew the registration.
Payload
meldungId: string required ref(tsv.turnier2027.anmeldung#Meldung.id)Trigger
Meldeschluss
The federation's window closes thirty days after the club started; a run the federation has not confirmed by then is withdrawn and ends.
Kind
- deadline
Schedule
- 30 days after [tsv.turnier2027.anmeldung#Event:MeldungGeoeffnet] — unless [tsv.turnier2027.anmeldung#Event:MeldungBestaetigt]
Fires
Ends
- the case
project
Summer tournament 2027
Summary
Host the regional youth tournament on the club's pitches on the first weekend of July 2027, with the club's own teams registered and the federation's confirmation in hand by the end of May. The project contains the work — the registration with the federation — and the committee that exists only for it. It performs nothing itself.
Requirements
- MELDUNG — Every team the club fields is registered with the federation inside the registration window — from [tsv#Requirements[VERBAND]]
- ALTERSKLASSE — A team is registered in the age group its youngest birth year puts it in — from: the federation's youth playing rules
- AUSLOSUNG — The club's teams know their groups the day the federation publishes the draw.
Children
- anmeldung — Registering the club's teams with the federation
Dependencies
Requires
- Verbandsmeldung as Verband
Record
Turnier
The tournament as a thing with a date, the teams the club enters, and the moment the draw is published.
Schema
id: string required unique
datum: date required
mannschaften: list(ref(tsv.fussball#Mannschaft.id)) required
auslosungAm: datetime optional label("Auslosung am")Organisation
Turnierausschuss
The committee the board appoints for this tournament — a coach, a parent, the groundsman — which runs the registration and the day itself; dissolved when the tournament is over.
Access
- Registers a team — invokes · Mannschaft melden
- Pays the entry fee — invokes · Startgeld zahlen
Service
Verbandsportal
The federation's registration portal, reached through its API; the system that answers the registration capability today. The federation's own model is not in this tree.
Bindings
- binds:
http:portal.bfv.example/api/anmeldung— as: connection
Capability
Verbandsmeldung
What the registration must be able to do, whoever provides it: register one team in one age group and receive the registration's number.
Operations
Melden(mannschaft, altersklasse) -> meldenummer
Bindings
- binds:
http:portal.bfv.example/api/anmeldung— as: provider
service
Volksbank Seehausen — direct-debit interface
Summary
The bank's direct-debit interface as the club reaches it, written from what the bank's API offers: submit one SEPA direct debit against a mandate, ask what became of it, and receive the payments that arrived. This is the provider's model, outside the club's tree and read-only to it; the club's mapping points here. Written by discovery from the API description and not yet confirmed by the bank.
Requirements
- MANDAT — A direct debit is submitted only against a mandate the account holder signed; the interface refuses any other.
- STATUS — The status of a submitted direct debit is answered as submitted, paid or returned, never as unknown.
Operation
LastschriftEinreichen
One SEPA direct debit is submitted for collection.
Input
iban: string required
betrag: decimal required min(0)
verwendungszweck: string required max(140)
mandatsreferenz: string requiredReturns
lastschriftId: string requiredBindings
- binds:
route:POST /v1/direct-debits— as: handler
Operation
LastschriftStatus
What became of a submitted direct debit.
Input
lastschriftId: string requiredReturns
status: enum(eingereicht, bezahlt, zurueckgegeben) requiredBindings
- binds:
route:GET /v1/direct-debits/{id}— as: handler
Event
ZahlungEingegangen
A direct debit was collected, or returned unpaid; the bank announces it to the account holder's registered endpoint.
Payload
lastschriftId: string required
status: enum(bezahlt, zurueckgegeben) required
am: date requiredRouting
- Channel: webhook, the account holder's registered endpoint
File
README.md
Example: a sports club (AIM 6.3 and 6.4)
The smallest organisation everyone knows, written as one tree: a club at the root, two departments, an app the club built, a tournament as a project, and the two things every club does — take people in and collect their fees. It is half the size of examples/nasa and reaches every construct of the two proposals without strain: the four facets of 6.3 (Organisation, Project, Software, Service), Flow written as Process and Contract as Operation, a requirement's from source, and in the processes a genuine race, Ends on, deadlines that end the case, a step over a collection with a child case per item, a timed wait and criteria rules. German labels throughout, beside ASCII names.
A 6.2 reader rejects the new headings and words. Everything else is 6.2 as specified.
AGENTS.mdbeside this file says so for agents.
The story
TSV Seehausen 1921 has a football department with eleven teams, a gymnastics department, and a member app it built itself. A person applies; the board decides on the statutes; the treasurer sets the fee class by rule; the club sends its offer and waits for the person to accept or decline — a real race; the statutory fourteen days pass; the member is created and gets their card as a PDF. Every fifteenth of January the fee run starts: one collection per member as a run of its own, the direct debit to the bank, a reminder after fourteen days, the board after fourteen more; a member who resigns has the open fee cancelled, which ends the collection wherever it stands. For the summer tournament 2027, a project with a committee that exists only for it, every team is put in its age group by rule and registered with the federation through its portal, the club waits for the federation's confirmation, pays, and waits for the draw; the registration window closing ends the run. The football department looks players up in the club's own app, which it reaches as a service.
What it showcases
| Claim | Where |
|---|---|
| Organisation at three levels, and outside ones. The club; its two departments; the federation that confirms registrations (acts), the town that owns the hall (does not) | tsv.aim, tsv.fussball.aim, tsv.turnen.aim |
A Persona and a Record that are one thing. Persona: Mitglied acts, Record: Mitglied is kept, with a State from applicant to member to resigned, including → deleted moves |
tsv.aim |
| A Project that contains work and performs nothing. The tournament holds its record, its committee, its service and capability, and its one process | tsv.turnier2027.aim |
| Two Projects before they earn a node. The hall renovation at gymnastics; the committee is an Organisation facet inside the project | tsv.turnen.aim, tsv.turnier2027.aim |
| Software described here, with a module. The member app with its screen, its lookup, its style and the fees module beneath it | tsv.app.aim, tsv.app.beitraege.aim |
The same software as a Service elsewhere. The football department's Service: Mitgliederverzeichnis is the app; the mapping of its lookup capability targets tsv.app |
tsv.fussball.aim, tsv.fussball.mapping.aim |
| A Software facet before it earns a node. The coaches' team app | tsv.fussball.aim |
| A Process before its steps. Training, named with a Summary and no steps, still started by a weekly Trigger | tsv.fussball.aim |
| Capability is a function; Service is a system. SEPA direct debit, membership-card PDF, member lookup and federation registration are what the work must do; the bank, the portal and the app are what answer them | root, fussball, turnier2027 |
A Capability answered three ways. By a mapping to a provider intent (SEPA → volksbank), by a mapping to the club's own Software (lookup → tsv.app), by a direct binding (the portal; the PDF, bound to the tool's own service) |
the two mapping files, the Capabilities' ### Bindings |
A provider intent outside the tree, inferred. The bank's direct-debit interface, written by discovery, provenance: inferred, nature: service |
volksbank.aim |
Requirements with their source. Twenty-two from trailers: the statutes, the fee rules, the data protection rules as Knowledge; a company rule one level up; the consumer's right of withdrawal and a board decision as words |
every ## Requirements block |
A genuine race. The applicant accepts or declines the offer; continues: AngebotAngenommen |
tsv.aufnahme.aim step 5 |
Ends on. Withdrawal ends an application; cancellation or the report to the board ends a fee collection; the board's withdrawal ends a registration |
the three processes' ## Ends on |
| Deadlines that end the case. A stale application after thirty days; a fee unpaid after the reminder; a registration window closing | AntragVerfallen, ZweiteFrist, Meldeschluss |
A step over a collection with a child case per item. One fee collection per member, invoked as a process with its own ## Input; one age-group decision per team |
tsv.beitrag.aim step 2, tsv.turnier2027.anmeldung.aim step 2 |
A timed wait, both forms. The withdrawal period, after: 14 days; the draw, until the tournament's auslosungAm |
tsv.aufnahme.aim step 6, anmeldung step 5 |
Criteria as rules. The fee class from age and family; the age group from the youngest birth year, five outcomes and otherwise |
BeitragsklasseFestlegen, AltersklasseBestimmen |
| An escalation ladder. Two chained deadlines, reminder then board | tsv.beitrag.einzug.aim |
| A webhook, a schedule, a yearly run. The bank's payment notification; training evenings; the fee run on 15 January | the Triggers |
Labels. Übungsleiterin, Beitragsübersicht, Bayerischer Fußball-Verband beside their ASCII names |
throughout |
By the numbers: 11 intents, 86 facets, 31 labelled requirements, 22 sources, 129 typed edges; natures organisation ×3, project ×1, software ×2, process ×4, service ×1.
Layout
aim/
tsv/
tsv.aim root organisation: Mitglied as Persona and Record, the board, the treasurer, bank, federation, town, statutes, fee rules
tsv.mapping.aim SEPA → volksbank
fussball/tsv.fussball.aim department: teams, the coach, Process: Training before its steps, Service: the member app, Software: TeamApp
fussball/tsv.fussball.mapping.aim member lookup → tsv.app
turnen/tsv.turnen.aim department: the instructor, Project: Hallensanierung as a facet
app/tsv.app.aim software: Style, View MeineDaten, Operation MitgliedSuchen
app/beitraege/tsv.app.beitraege.aim module: the treasurer's fee overview
turnier2027/tsv.turnier2027.aim project: Turnier record, the committee, the portal, the registration capability
turnier2027/anmeldung/…anmeldung.aim process: age group by rule per team, confirmation, fee, the draw, the window
aufnahme/tsv.aufnahme.aim process: application, decision, fee class by rule, offer, race, 14 days, member created
beitrag/tsv.beitrag.aim process: the yearly run, one child collection per member
beitrag/einzug/tsv.beitrag.einzug.aim process: one fee — direct debit, payment, reminder, board; Ends on cancellation
volksbank/volksbank.aim the bank's provider model, outside the tree, inferredWhat writing it found
- A member is both a Persona and a Record, and the model wants them as one node. They are written as two same-named facets on the root, which §6.0 says promote together. The joining process writes the Record while the Persona acts; nothing in the language links the two until promotion. A real club's model promotes
Mitgliedon day one. - A collection per member needs a child case, not an item run. The first draft anchored the reminder deadlines on
BeitragGestelltinside the yearly run; §6.7's "one timer per case" would then have meant one reminder clock for six hundred fees. Invokingtsv.beitrag.einzugper member gives each fee its own case and its own clocks — which is 6.4's child-case rule doing exactly what it is for. - A race and a cancellation are different even in a four-step process. Accept-or-decline is a race; withdrawal is
Ends on. Writing the withdrawal as a third side of the race would have let an earlier acceptance win over a later withdrawal. - The webhook Trigger has nothing to anchor on and nothing to disarm.
Zahlungseingangiswebhookwith prose for its source; the bank's own Event (volksbank#Event:ZahlungEingegangen) cannot be named by the club's Trigger because a provider intent is outside the tree. The link between an outside Event and the Trigger that ingests it stays prose. for eachover a list of references works; over the rows of a Record it would not have. The run keepsmitglieder: list(ref(tsv#Mitglied.id))on its own record because members do not reference the run. The proposal's Record form needs the rows to reference the case's record; a yearly run over all members is the common case where they do not, and the list field is the honest way.
For developers: packages, files and how to check them
AIM Core only
About this example
A 6.2 reader rejects the new headings and words. Everything else is 6.2 as specified.
AGENTS.mdbeside this file says so for agents.
The story#
TSV Seehausen 1921 has a football department with eleven teams, a gymnastics department, and a member app it built itself. A person applies; the board decides on the statutes; the treasurer sets the fee class by rule; the club sends its offer and waits for the person to accept or decline — a real race; the statutory fourteen days pass; the member is created and gets their card as a PDF. Every fifteenth of January the fee run starts: one collection per member as a run of its own, the direct debit to the bank, a reminder after fourteen days, the board after fourteen more; a member who resigns has the open fee cancelled, which ends the collection wherever it stands. For the summer tournament 2027, a project with a committee that exists only for it, every team is put in its age group by rule and registered with the federation through its portal, the club waits for the federation's confirmation, pays, and waits for the draw; the registration window closing ends the run. The football department looks players up in the club's own app, which it reaches as a service.
What it showcases#
| Claim | Where |
|---|---|
| Organisation at three levels, and outside ones. The club; its two departments; the federation that confirms registrations (acts), the town that owns the hall (does not) | tsv.aim, tsv.fussball.aim, tsv.turnen.aim |
A Persona and a Record that are one thing. Persona: Mitglied acts, Record: Mitglied is kept, with a State from applicant to member to resigned, including → deleted moves |
tsv.aim |
| A Project that contains work and performs nothing. The tournament holds its record, its committee, its service and capability, and its one process | tsv.turnier2027.aim |
| Two Projects before they earn a node. The hall renovation at gymnastics; the committee is an Organisation facet inside the project | tsv.turnen.aim, tsv.turnier2027.aim |
| Software described here, with a module. The member app with its screen, its lookup, its style and the fees module beneath it | tsv.app.aim, tsv.app.beitraege.aim |
The same software as a Service elsewhere. The football department's Service: Mitgliederverzeichnis is the app; the mapping of its lookup capability targets tsv.app |
tsv.fussball.aim, tsv.fussball.mapping.aim |
| A Software facet before it earns a node. The coaches' team app | tsv.fussball.aim |
| A Process before its steps. Training, named with a Summary and no steps, still started by a weekly Trigger | tsv.fussball.aim |
| Capability is a function; Service is a system. SEPA direct debit, membership-card PDF, member lookup and federation registration are what the work must do; the bank, the portal and the app are what answer them | root, fussball, turnier2027 |
A Capability answered three ways. By a mapping to a provider intent (SEPA → volksbank), by a mapping to the club's own Software (lookup → tsv.app), by a direct binding (the portal; the PDF, bound to the tool's own service) |
the two mapping files, the Capabilities' ### Bindings |
A provider intent outside the tree, inferred. The bank's direct-debit interface, written by discovery, provenance: inferred, nature: service |
volksbank.aim |
Requirements with their source. Twenty-two from trailers: the statutes, the fee rules, the data protection rules as Knowledge; a company rule one level up; the consumer's right of withdrawal and a board decision as words |
every ## Requirements block |
A genuine race. The applicant accepts or declines the offer; continues: AngebotAngenommen |
tsv.aufnahme.aim step 5 |
Ends on. Withdrawal ends an application; cancellation or the report to the board ends a fee collection; the board's withdrawal ends a registration |
the three processes' ## Ends on |
| Deadlines that end the case. A stale application after thirty days; a fee unpaid after the reminder; a registration window closing | AntragVerfallen, ZweiteFrist, Meldeschluss |
A step over a collection with a child case per item. One fee collection per member, invoked as a process with its own ## Input; one age-group decision per team |
tsv.beitrag.aim step 2, tsv.turnier2027.anmeldung.aim step 2 |
A timed wait, both forms. The withdrawal period, after: 14 days; the draw, until the tournament's auslosungAm |
tsv.aufnahme.aim step 6, anmeldung step 5 |
Criteria as rules. The fee class from age and family; the age group from the youngest birth year, five outcomes and otherwise |
BeitragsklasseFestlegen, AltersklasseBestimmen |
| An escalation ladder. Two chained deadlines, reminder then board | tsv.beitrag.einzug.aim |
| A webhook, a schedule, a yearly run. The bank's payment notification; training evenings; the fee run on 15 January | the Triggers |
Labels. Übungsleiterin, Beitragsübersicht, Bayerischer Fußball-Verband beside their ASCII names |
throughout |
By the numbers: 11 intents, 86 facets, 31 labelled requirements, 22 sources, 129 typed edges; natures organisation ×3, project ×1, software ×2, process ×4, service ×1.
Layout#
aim/
tsv/
tsv.aim root organisation: Mitglied as Persona and Record, the board, the treasurer, bank, federation, town, statutes, fee rules
tsv.mapping.aim SEPA → volksbank
fussball/tsv.fussball.aim department: teams, the coach, Process: Training before its steps, Service: the member app, Software: TeamApp
fussball/tsv.fussball.mapping.aim member lookup → tsv.app
turnen/tsv.turnen.aim department: the instructor, Project: Hallensanierung as a facet
app/tsv.app.aim software: Style, View MeineDaten, Operation MitgliedSuchen
app/beitraege/tsv.app.beitraege.aim module: the treasurer's fee overview
turnier2027/tsv.turnier2027.aim project: Turnier record, the committee, the portal, the registration capability
turnier2027/anmeldung/…anmeldung.aim process: age group by rule per team, confirmation, fee, the draw, the window
aufnahme/tsv.aufnahme.aim process: application, decision, fee class by rule, offer, race, 14 days, member created
beitrag/tsv.beitrag.aim process: the yearly run, one child collection per member
beitrag/einzug/tsv.beitrag.einzug.aim process: one fee — direct debit, payment, reminder, board; Ends on cancellation
volksbank/volksbank.aim the bank's provider model, outside the tree, inferred
What writing it found#
- A member is both a Persona and a Record, and the model wants them as one node. They are written as two same-named facets on the root, which §6.0 says promote together. The joining process writes the Record while the Persona acts; nothing in the language links the two until promotion. A real club's model promotes
Mitgliedon day one. - A collection per member needs a child case, not an item run. The first draft anchored the reminder deadlines on
BeitragGestelltinside the yearly run; §6.7's "one timer per case" would then have meant one reminder clock for six hundred fees. Invokingtsv.beitrag.einzugper member gives each fee its own case and its own clocks — which is 6.4's child-case rule doing exactly what it is for. - A race and a cancellation are different even in a four-step process. Accept-or-decline is a race; withdrawal is
Ends on. Writing the withdrawal as a third side of the race would have let an earlier acceptance win over a later withdrawal. - The webhook Trigger has nothing to anchor on and nothing to disarm.
Zahlungseingangiswebhookwith prose for its source; the bank's own Event (volksbank#Event:ZahlungEingegangen) cannot be named by the club's Trigger because a provider intent is outside the tree. The link between an outside Event and the Trigger that ingests it stays prose. for eachover a list of references works; over the rows of a Record it would not have. The run keepsmitglieder: list(ref(tsv#Mitglied.id))on its own record because members do not reference the run. The proposal's Record form needs the rows to reference the case's record; a yearly run over all members is the common case where they do not, and the list field is the honest way.