{
    "openapi": "3.1.0",
    "info": {
        "title": "FlowEvents API",
        "version": "v1",
        "description": "REST API for seminars: create events and sessions, register and bill participants, assign rooms, record attendance, collect signatures and feedback, and export lists."
    },
    "servers": [
        {
            "url": "https://api.flowsuite.one",
            "description": "FlowSuite API"
        }
    ],
    "security": [
        {
            "bearerAuth": []
        }
    ],
    "tags": [
        {
            "name": "context",
            "description": "Overview"
        },
        {
            "name": "reports",
            "description": "Reports"
        },
        {
            "name": "events",
            "description": "Events"
        },
        {
            "name": "sessions",
            "description": "Sessions"
        },
        {
            "name": "participants",
            "description": "Participants"
        },
        {
            "name": "attendance",
            "description": "Attendance"
        },
        {
            "name": "event-rooms",
            "description": "Room assignment"
        },
        {
            "name": "venues",
            "description": "Conference venues and rooms"
        },
        {
            "name": "mailings",
            "description": "Signatures and feedback"
        },
        {
            "name": "feedback-forms",
            "description": "Feedback forms"
        },
        {
            "name": "exports",
            "description": "Exports"
        }
    ],
    "paths": {
        "/flowevents/context": {
            "get": {
                "operationId": "flowevents-context",
                "summary": "Get allowed values, defaults and availability",
                "description": "Returns every allowed value for event status, format, structure, booking mode, participant status, role, certification status, room type and item kind, the field types of feedback forms including the limits of the star rating, the possible send and export kinds, the team's saved signature defaults, and whether FlowAccounting is reachable for this team.",
                "tags": [
                    "context"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_statuses": [
                                            "draft",
                                            "active",
                                            "cancelled",
                                            "closed"
                                        ],
                                        "event_formats": [
                                            "offline",
                                            "online"
                                        ],
                                        "participant_statuses": [
                                            "registered",
                                            "confirmed",
                                            "waitlisted",
                                            "cancelled"
                                        ],
                                        "room_types": [
                                            "single",
                                            "double",
                                            "multi"
                                        ],
                                        "price_item_kinds": [
                                            "accommodation",
                                            "catering",
                                            "room_fee",
                                            "other"
                                        ],
                                        "feedback_field_types": [
                                            "text",
                                            "textarea",
                                            "select",
                                            "checkbox",
                                            "radio",
                                            "rating",
                                            "section_heading",
                                            "paragraph"
                                        ],
                                        "signature_defaults": {
                                            "enabled": true,
                                            "text": "Hiermit bestätige ich meine Teilnahme."
                                        },
                                        "accounting_available": true,
                                        "pagination": {
                                            "default_per_page": 50,
                                            "max_per_page": 200
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/reports/participants": {
            "get": {
                "operationId": "flowevents-reports-participants",
                "summary": "Registration status",
                "description": "Counts the participants of an event per status. All four statuses are always included, even when there are none.",
                "tags": [
                    "reports"
                ],
                "parameters": [
                    {
                        "name": "event_uuid",
                        "in": "query",
                        "required": true,
                        "description": "UUID of the event.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "counts": {
                                            "registered": 8,
                                            "confirmed": 12,
                                            "cancelled": 1,
                                            "waitlisted": 3
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/reports/occupancy": {
            "get": {
                "operationId": "flowevents-reports-occupancy",
                "summary": "Occupancy",
                "description": "Returns capacity, taken places, free places and the length of the waiting list. For an event without capacity, free is null rather than zero places, because without a limit there is nothing to count.",
                "tags": [
                    "reports"
                ],
                "parameters": [
                    {
                        "name": "event_uuid",
                        "in": "query",
                        "required": true,
                        "description": "UUID of the event.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "capacity": 20,
                                        "taken": 20,
                                        "free": 0,
                                        "waitlisted": 3
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/reports/rooms": {
            "get": {
                "operationId": "flowevents-reports-rooms",
                "summary": "Room occupancy",
                "description": "Lists the rooms of this event with the capacity that applies to them and their current occupancy, plus the number of participants not yet assigned. A different capacity only applies to this event.",
                "tags": [
                    "reports"
                ],
                "parameters": [
                    {
                        "name": "event_uuid",
                        "in": "query",
                        "required": true,
                        "description": "UUID of the event.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "rooms": [
                                            {
                                                "room_uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                                "name": "Zimmer 12",
                                                "room_type": "double",
                                                "capacity": 2,
                                                "capacity_override": null,
                                                "occupied": 1
                                            }
                                        ],
                                        "unassigned": 4
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/reports/attendance": {
            "get": {
                "operationId": "flowevents-reports-attendance",
                "summary": "Attendance per session",
                "description": "Counts per session the participants reported present, the cells recorded in total and the homework submitted. The difference between present and recorded is the absences noted.",
                "tags": [
                    "reports"
                ],
                "parameters": [
                    {
                        "name": "event_uuid",
                        "in": "query",
                        "required": true,
                        "description": "UUID of the event.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "tracks_homework": true,
                                        "sessions": [
                                            {
                                                "session_uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                                "starts_at": "2026-10-12T09:00:00+02:00",
                                                "present": 18,
                                                "recorded": 20,
                                                "homework_submitted": 15
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/reports/feedback": {
            "get": {
                "operationId": "flowevents-reports-feedback",
                "summary": "Feedback report",
                "description": "Evaluates the feedback submitted for an event. Answers are grouped by the question they belong to, not by the version under which they were given. A question reworded twice therefore stays one question.",
                "tags": [
                    "reports"
                ],
                "parameters": [
                    {
                        "name": "event_uuid",
                        "in": "query",
                        "required": true,
                        "description": "UUID of the event.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "submission_count": 14,
                                        "questions": {
                                            "812": {
                                                "label": "Wie zufrieden waren Sie?",
                                                "field_type": "rating",
                                                "answers": [
                                                    {
                                                        "participant_name": "Anna Berger",
                                                        "value": "5",
                                                        "submission_id": 44
                                                    }
                                                ],
                                                "aggregate": {
                                                    "average": 4.6
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events": {
            "get": {
                "operationId": "flowevents-events-index",
                "summary": "List events",
                "description": "Lists the team's events. They are sorted by their earliest session; events without a session come last. The date range refers to the sessions, not to the creation date.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "required": false,
                        "description": "draft, active, cancelled or closed.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "format",
                        "in": "query",
                        "required": false,
                        "description": "offline or online.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "search",
                        "in": "query",
                        "required": false,
                        "description": "Full-text search in the title.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "required": false,
                        "description": "Earliest session (YYYY-MM-DD).",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "required": false,
                        "description": "Latest session (YYYY-MM-DD).",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "required": false,
                        "description": "Entries per page, 1 to 200. Default 50.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "description": "Page number, starting at 1.",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                            "title": "Grundkurs Herbst",
                                            "status": "active",
                                            "format": "offline",
                                            "structure": "multi_part",
                                            "booking_mode": "open",
                                            "capacity": 20,
                                            "price_regular": "480.00",
                                            "sessions": [
                                                {
                                                    "uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                                    "starts_at": "2026-10-12T09:00:00+02:00"
                                                }
                                            ]
                                        }
                                    ],
                                    "meta": {
                                        "current_page": 1,
                                        "per_page": 50,
                                        "total": 7,
                                        "last_page": 1
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-events-store",
                "summary": "Create an event",
                "description": "Creates an event with its sessions and optional items. At least one session is required. An in-house event needs a company. A new event is always active; the status cannot be sent along.",
                "tags": [
                    "events"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "title": "Grundkurs Herbst",
                                        "status": "active",
                                        "booking_mode": "open",
                                        "sessions": [
                                            {
                                                "uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                                "starts_at": "2026-10-12T09:00:00+02:00",
                                                "sort_order": 0
                                            }
                                        ],
                                        "price_items": []
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string",
                                        "description": "Title, at most 255 characters."
                                    },
                                    "description": {
                                        "type": "string",
                                        "description": "Description, at most 5000 characters."
                                    },
                                    "format": {
                                        "type": "string",
                                        "description": "offline or online. Default offline. With online, rooms and catering are switched off."
                                    },
                                    "structure": {
                                        "type": "string",
                                        "description": "simple or multi_part. With simple, only the first session is stored."
                                    },
                                    "booking_mode": {
                                        "type": "string",
                                        "description": "open or inhouse. Default open. Cannot be changed later."
                                    },
                                    "client_uuid": {
                                        "type": "string",
                                        "description": "UUID of the booking company. Required with booking_mode inhouse."
                                    },
                                    "project_uuid": {
                                        "type": "string",
                                        "description": "UUID of the company's project."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Maximum number of places. No effect for in-house."
                                    },
                                    "price_regular": {
                                        "type": "number",
                                        "description": "Regular seminar price."
                                    },
                                    "price_reduced": {
                                        "type": "number",
                                        "description": "Reduced price."
                                    },
                                    "price_early_bird": {
                                        "type": "number",
                                        "description": "Early bird price."
                                    },
                                    "early_bird_until": {
                                        "type": "string",
                                        "description": "Early bird deadline (YYYY-MM-DD). No effect without an early bird price."
                                    },
                                    "seminar_fee_tax_rate": {
                                        "type": "number",
                                        "description": "Tax rate in percent. Empty means the team default."
                                    },
                                    "prices_include_tax": {
                                        "type": "boolean",
                                        "description": "Whether the prices are gross."
                                    },
                                    "uses_accommodation": {
                                        "type": "boolean",
                                        "description": "Whether board and lodging are used."
                                    },
                                    "tracks_homework": {
                                        "type": "boolean",
                                        "description": "Whether homework is tracked."
                                    },
                                    "signatures_enabled": {
                                        "type": "boolean",
                                        "description": "Whether signatures are collected."
                                    },
                                    "signature_confirmation_text": {
                                        "type": "string",
                                        "description": "Confirmation text of the signature page."
                                    },
                                    "feedback_enabled": {
                                        "type": "boolean",
                                        "description": "Whether feedback can be collected (sending, evaluation, export)."
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Internal notes."
                                    },
                                    "sessions": {
                                        "type": "array",
                                        "items": [],
                                        "description": "At least one session with starts_at, optionally ends_at, venue_uuid and online_access_info."
                                    },
                                    "price_items": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Items with name, kind, amount, optionally tax_rate and is_optional."
                                    }
                                },
                                "required": [
                                    "title",
                                    "sessions"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}": {
            "get": {
                "operationId": "flowevents-events-show",
                "summary": "Get an event",
                "description": "Returns an event with its sessions, its items and the registration status per status.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "title": "Grundkurs Herbst",
                                        "status": "active",
                                        "sessions": [],
                                        "price_items": [
                                            {
                                                "uuid": "3c4d5e6f-7081-4b9c-0d1e-2f3a4b5c6d7e",
                                                "name": "Vollpension",
                                                "kind": "catering",
                                                "amount": "120.00",
                                                "is_optional": true,
                                                "is_invoiced": false
                                            }
                                        ],
                                        "participant_counts": {
                                            "registered": 8,
                                            "confirmed": 12,
                                            "cancelled": 1,
                                            "waitlisted": 3
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "flowevents-events-update",
                "summary": "Update an event",
                "description": "Updates an event. Fields that are not sent stay unchanged. If sessions or price_items are sent, the list is taken as complete. An item that has already been invoiced cannot be removed and causes HTTP 409.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "title": "Grundkurs Herbst 2026",
                                        "status": "active"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string",
                                        "description": "Title."
                                    },
                                    "format": {
                                        "type": "string",
                                        "description": "offline or online."
                                    },
                                    "structure": {
                                        "type": "string",
                                        "description": "simple or multi_part."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Maximum number of places."
                                    },
                                    "sessions": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Complete list of sessions. Existing sessions carry their uuid."
                                    },
                                    "price_items": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Complete list of items. Existing items carry their uuid."
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "flowevents-events-destroy",
                "summary": "Delete an event",
                "description": "Deletes an event. It is a soft delete: participants, recorded attendance and issued invoices keep their context.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Veranstaltung gelöscht."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/cancel": {
            "post": {
                "operationId": "flowevents-events-cancel",
                "summary": "Cancel an event",
                "description": "Sets an active event to cancelled. An event that is not active is rejected with HTTP 409. After the cancellation, no more registrations are possible.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "status": "cancelled"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/close": {
            "post": {
                "operationId": "flowevents-events-close",
                "summary": "Close an event",
                "description": "Sets an active event to closed. An event that is not active is rejected with HTTP 409.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "status": "closed"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/duplicate": {
            "post": {
                "operationId": "flowevents-events-duplicate",
                "summary": "Duplicate an event",
                "description": "Creates a copy. The copy is active, carries the suffix Kopie (German for copy) in its title and takes over the sessions without their times, because the next run takes place on other days. Participants are not copied, rooms of a conference venue are.",
                "tags": [
                    "events"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "4d5e6f70-8192-4c0d-1e2f-3a4b5c6d7e8f",
                                        "title": "Grundkurs Herbst (Kopie)",
                                        "status": "active"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/sessions": {
            "get": {
                "operationId": "flowevents-sessions-index",
                "summary": "List the sessions of an event",
                "description": "Lists all sessions of an event in their order.",
                "tags": [
                    "sessions"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                            "title": null,
                                            "starts_at": "2026-10-12T09:00:00+02:00",
                                            "ends_at": "2026-10-14T17:00:00+02:00",
                                            "venue_uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                            "sort_order": 0
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-sessions-store",
                "summary": "Add a session",
                "description": "Adds a session to an event. Online access details are only stored for an online event.",
                "tags": [
                    "sessions"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "6f708192-a304-4e2f-3a4b-5c6d7e8f9001",
                                        "starts_at": "2026-11-09T09:00:00+01:00",
                                        "sort_order": 3
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "starts_at": {
                                        "type": "string",
                                        "description": "Start as a date or timestamp."
                                    },
                                    "ends_at": {
                                        "type": "string",
                                        "description": "End, not before the start."
                                    },
                                    "title": {
                                        "type": "string",
                                        "description": "Name of the session."
                                    },
                                    "venue_uuid": {
                                        "type": "string",
                                        "description": "UUID of the conference venue."
                                    },
                                    "online_access_info": {
                                        "type": "string",
                                        "description": "Access details, only for online events."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Own capacity of the session."
                                    },
                                    "guest_price": {
                                        "type": "number",
                                        "description": "Price for guest listeners per session."
                                    },
                                    "sort_order": {
                                        "type": "integer",
                                        "description": "Order. Without a value it goes to the end."
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Internal notes."
                                    }
                                },
                                "required": [
                                    "starts_at"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/sessions/{uuid}": {
            "put": {
                "operationId": "flowevents-sessions-update",
                "summary": "Update a session",
                "description": "Updates a session. Fields that are not sent stay unchanged. The end is checked against the start the session has after this request, not only against the one in this request.",
                "tags": [
                    "sessions"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                        "starts_at": "2026-10-13T09:00:00+02:00"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "starts_at": {
                                        "type": "string",
                                        "description": "Start."
                                    },
                                    "ends_at": {
                                        "type": "string",
                                        "description": "End, not before the start."
                                    },
                                    "title": {
                                        "type": "string",
                                        "description": "Name."
                                    },
                                    "venue_uuid": {
                                        "type": "string",
                                        "description": "UUID of the conference venue, null removes the assignment."
                                    },
                                    "online_access_info": {
                                        "type": "string",
                                        "description": "Access details, only for online events."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Own capacity."
                                    },
                                    "guest_price": {
                                        "type": "number",
                                        "description": "Price for guest listeners."
                                    },
                                    "sort_order": {
                                        "type": "integer",
                                        "description": "Order."
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Internal notes."
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "flowevents-sessions-destroy",
                "summary": "Delete a session",
                "description": "Deletes a session. It is a soft delete; recorded attendance is kept.",
                "tags": [
                    "sessions"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Termin gelöscht."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants": {
            "get": {
                "operationId": "flowevents-participants-index",
                "summary": "List participants",
                "description": "Lists the team's participants, newest registration first, optionally limited to an event, a status or a role.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "event_uuid",
                        "in": "query",
                        "required": false,
                        "description": "Only participants of this event.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "required": false,
                        "description": "registered, confirmed, waitlisted or cancelled.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "role",
                        "in": "query",
                        "required": false,
                        "description": "regular or guest_listener.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "required": false,
                        "description": "Entries per page, 1 to 200. Default 50.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "description": "Page number, starting at 1.",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "7081 92a3-b415-4f30-4b5c-6d7e8f900112",
                                            "name": "Anna Berger",
                                            "email": "anna@example.com",
                                            "status": "confirmed",
                                            "role": "regular",
                                            "assigned_price": "480.00",
                                            "room_uuid": null
                                        }
                                    ],
                                    "meta": {
                                        "current_page": 1,
                                        "per_page": 50,
                                        "total": 24,
                                        "last_page": 1
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/participants": {
            "post": {
                "operationId": "flowevents-participants-store",
                "summary": "Register a participant",
                "description": "Registers a CRM customer for an event. Whether this results in a place or the waiting list depends on the capacity and is stated in the returned status. A second active registration of the same customer is rejected with HTTP 409.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "name": "Anna Berger",
                                        "status": "registered",
                                        "role": "regular",
                                        "assigned_price": "480.00"
                                    },
                                    "meta": {
                                        "early_bird_fallback_applied": false
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "client_uuid": {
                                        "type": "string",
                                        "description": "UUID of the CRM customer."
                                    },
                                    "role": {
                                        "type": "string",
                                        "description": "regular or guest_listener. Default regular."
                                    },
                                    "price_tier": {
                                        "type": "string",
                                        "description": "regular, reduced or early_bird. Default regular."
                                    },
                                    "assigned_price": {
                                        "type": "number",
                                        "description": "Different price. The early bird deadline takes precedence."
                                    },
                                    "remarks": {
                                        "type": "string",
                                        "description": "Remarks."
                                    },
                                    "session_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Sessions booked by a guest listener."
                                    },
                                    "price_item_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Booked items. Without a value, all non-optional items apply."
                                    },
                                    "price_item_overrides": {
                                        "type": "object",
                                        "description": "Different amounts per item UUID."
                                    }
                                },
                                "required": [
                                    "client_uuid"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}": {
            "get": {
                "operationId": "flowevents-participants-show",
                "summary": "Get a participant",
                "description": "Returns a participant with their event, their room and their booked items.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "name": "Anna Berger",
                                        "status": "confirmed",
                                        "payment_status": "open",
                                        "price_item_selections": [
                                            {
                                                "price_item_uuid": "3c4d5e6f-7081-4b9c-0d1e-2f3a4b5c6d7e",
                                                "name": "Vollpension",
                                                "effective_amount": "120.00"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "flowevents-participants-update",
                "summary": "Update a participant",
                "description": "Updates a participant. The status cancelled is rejected. Switching from regular to guest listener in a way that would discard recorded attendance requires confirm_attendance_loss. Moving up from the waiting list is checked against the capacity.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "status": "confirmed",
                                        "role": "regular"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "status": {
                                        "type": "string",
                                        "description": "registered, confirmed or waitlisted."
                                    },
                                    "role": {
                                        "type": "string",
                                        "description": "regular or guest_listener."
                                    },
                                    "price_tier": {
                                        "type": "string",
                                        "description": "Price tier."
                                    },
                                    "assigned_price": {
                                        "type": "number",
                                        "description": "Different price. Always empty for a guest listener."
                                    },
                                    "remarks": {
                                        "type": "string",
                                        "description": "Remarks."
                                    },
                                    "dietary_notes": {
                                        "type": "string",
                                        "description": "Dietary notes."
                                    },
                                    "bed_linen_required": {
                                        "type": "boolean",
                                        "description": "Whether bed linen is needed."
                                    },
                                    "certification_status": {
                                        "type": "string",
                                        "description": "none, first_graduation or final_certificate."
                                    },
                                    "confirm_attendance_loss": {
                                        "type": "boolean",
                                        "description": "Confirms the loss of recorded attendance when the role changes."
                                    },
                                    "session_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Sessions booked by a guest listener."
                                    },
                                    "price_item_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Booked items."
                                    },
                                    "price_item_overrides": {
                                        "type": "object",
                                        "description": "Different amounts per item UUID."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/confirm": {
            "post": {
                "operationId": "flowevents-participants-confirm",
                "summary": "Confirm participation",
                "description": "Sets a participant to confirmed. A cancelled participant is rejected with HTTP 409.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "status": "confirmed"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/cancel": {
            "post": {
                "operationId": "flowevents-participants-cancel",
                "summary": "Cancel a participant",
                "description": "Cancels a participant. The instalments are cancelled, open invoices are voided and the next person waiting moves up. Paid invoices remain. The response states the numbers and, if there is one, the participant who moved up.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "status": "cancelled"
                                    },
                                    "meta": {
                                        "promoted_participant_uuid": "8192a3b4-1546-4031-5c6d-7e8f90011223",
                                        "cancelled_invoices": 1,
                                        "preserved_paid_invoices": 0,
                                        "skipped_invoices": 0,
                                        "failed_invoice_numbers": []
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/promote": {
            "post": {
                "operationId": "flowevents-participants-promote",
                "summary": "Move up from the waiting list",
                "description": "Moves a waiting participant up by hand. There is deliberately no capacity check: whoever moves up here knowingly exceeds the limit. A participant who is not on the waiting list is rejected with HTTP 409.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "8192a3b4-1546-4031-5c6d-7e8f90011223",
                                        "status": "registered",
                                        "waitlist_position": null
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/price-items": {
            "get": {
                "operationId": "flowevents-participants-price-items-index",
                "summary": "Get booked items",
                "description": "Lists the items booked by this participant with the amount that actually applies. Without a different amount, the event's amount applies.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "92a3b415-4630-4152-6d7e-8f9001122334",
                                            "price_item_uuid": "3c4d5e6f-7081-4b9c-0d1e-2f3a4b5c6d7e",
                                            "name": "Vollpension",
                                            "kind": "catering",
                                            "amount_override": null,
                                            "effective_amount": "120.00"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "flowevents-participants-price-items-update",
                "summary": "Set booked items",
                "description": "Sets a participant's item selection. The list replaces the selection completely; an item that is already on an invoice cannot be deselected and causes HTTP 409. Items of other events are discarded.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "price_item_uuid": "3c4d5e6f-7081-4b9c-0d1e-2f3a4b5c6d7e",
                                            "name": "Vollpension",
                                            "amount_override": "95.00",
                                            "effective_amount": "95.00"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "price_item_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "The complete selection. An empty list removes all items."
                                    },
                                    "price_item_overrides": {
                                        "type": "object",
                                        "description": "Different amounts, keyed by item UUID."
                                    }
                                },
                                "required": [
                                    "price_item_uuids"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/invoice": {
            "post": {
                "operationId": "flowevents-participants-invoice",
                "summary": "Create an invoice for a participant",
                "description": "Creates an invoice for the selected items. postens only names what is invoiced, never how much: every amount and every tax rate is read on the server from the participant's own event. Without FlowAccounting, with an existing instalment plan, with an item that has already been invoiced or without an invoice recipient, the call returns HTTP 409 and states the reason.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "invoice_uuid": "a3b41546-3041-4263-7e8f-900112233445",
                                        "invoice_number": "RE-2026-0142",
                                        "participant_uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "postens": {
                                        "type": "array",
                                        "items": [],
                                        "description": "List of seminar_fee and the UUIDs of the items to invoice, at most 20 entries."
                                    }
                                },
                                "required": [
                                    "postens"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/billing": {
            "get": {
                "operationId": "flowevents-events-billing-index",
                "summary": "Get the billing overview of an event",
                "description": "Returns the billing status of all participants of an event in one call: payment status, agreed price, payment type and the related billing items with invoice numbers. In addition, the event's own items that belong to no participant, such as the company invoice of an in-house event. Requires FlowAccounting and otherwise returns HTTP 403.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "booking_mode": "open",
                                        "manual_payment_status": "open",
                                        "participants": [
                                            {
                                                "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                                "name": "Anna Berger",
                                                "payment_status": "open",
                                                "assigned_price": "480.00",
                                                "invoice_links": [
                                                    {
                                                        "uuid": "b4154630-4152-4374-8f90-011223344556",
                                                        "link_type": "seminar_fee",
                                                        "invoice_number": "RE-2026-0142"
                                                    }
                                                ]
                                            }
                                        ],
                                        "event_invoice_links": []
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/installments": {
            "get": {
                "operationId": "flowevents-participants-installments-index",
                "summary": "Get billing items and instalments",
                "description": "Lists a participant's billing items including the instalment plan. An instalment exists before its invoice does: invoice_uuid stays empty until the run writes the invoice. That is the normal state of a future instalment, not an error.",
                "tags": [
                    "participants"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "b4154630-4152-4374-8f90-011223344556",
                                            "link_type": "installment",
                                            "installment_number": 1,
                                            "installment_amount": "160.00",
                                            "planned_due_date": "2026-10-01",
                                            "invoice_uuid": null
                                        }
                                    ],
                                    "meta": {
                                        "installment_count": 3
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/attendance": {
            "get": {
                "operationId": "flowevents-attendance-index",
                "summary": "Get the attendance grid",
                "description": "Returns the complete grid of an event: all sessions, all active participants and, for each combination, the attendance and homework state.",
                "tags": [
                    "attendance"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "tracks_homework": true,
                                        "sessions": [
                                            {
                                                "uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                                "starts_at": "2026-10-12T09:00:00+02:00"
                                            }
                                        ],
                                        "participants": [
                                            {
                                                "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                                "name": "Anna Berger",
                                                "attendance": [
                                                    {
                                                        "session_uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                                        "attended": true,
                                                        "homework_submitted": null,
                                                        "notes": null
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/attendance/{sessionUuid}": {
            "put": {
                "operationId": "flowevents-attendance-update",
                "summary": "Record attendance",
                "description": "Writes one cell of the grid. A field that is not sent stays untouched, an explicit null resets it to not recorded. Homework can only be recorded if the event tracks it.",
                "tags": [
                    "attendance"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "sessionUuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "15463041-5237-4485-9001-122334455667",
                                        "session_uuid": "2b3c4d5e-6f70-4a8b-9c0d-1e2f3a4b5c6d",
                                        "participant_uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "attended": true,
                                        "homework_submitted": null
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "attended": {
                                        "type": "boolean",
                                        "description": "true, false or null."
                                    },
                                    "homework_submitted": {
                                        "type": "boolean",
                                        "description": "true, false or null. Only for events with homework."
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Note on the cell."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/rooms": {
            "get": {
                "operationId": "flowevents-event-rooms-index",
                "summary": "List the rooms of an event",
                "description": "Lists the rooms of this event with the capacity that applies to them and their current occupancy.",
                "tags": [
                    "event-rooms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                            "name": "Zimmer 12",
                                            "room_type": "double",
                                            "capacity": 2,
                                            "venue_uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                            "is_ad_hoc": false,
                                            "capacity_override": null,
                                            "effective_capacity": 2,
                                            "occupied": 1
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-event-rooms-store",
                "summary": "Add rooms to the event",
                "description": "Makes existing rooms available to an event. The call can be repeated: a room that is already assigned keeps its assignment and its different capacity.",
                "tags": [
                    "event-rooms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                            "name": "Zimmer 12",
                                            "effective_capacity": 2,
                                            "occupied": 0
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "room_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "UUIDs of the rooms, at least one."
                                    }
                                },
                                "required": [
                                    "room_uuids"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/rooms/ad-hoc": {
            "post": {
                "operationId": "flowevents-event-rooms-ad-hoc",
                "summary": "Create a room for this event",
                "description": "Creates a room that belongs to no conference venue and is meant only for this event. That is exactly why it can be removed completely later.",
                "tags": [
                    "event-rooms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "3b4c5d6e-7f80-4192-a3b4-c5d6e7f80112",
                                        "name": "Ferienwohnung nebenan",
                                        "room_type": "multi",
                                        "capacity": 4,
                                        "venue_uuid": null,
                                        "is_ad_hoc": true
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of the room."
                                    },
                                    "room_type": {
                                        "type": "string",
                                        "description": "single, double or multi."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Number of beds, 1 to 999."
                                    }
                                },
                                "required": [
                                    "name",
                                    "room_type",
                                    "capacity"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/rooms/{roomUuid}/capacity": {
            "put": {
                "operationId": "flowevents-event-rooms-capacity",
                "summary": "Set a different capacity",
                "description": "Sets the capacity this room has for this one event. The difference belongs to the assignment, not to the room, so a double room does not permanently become a single room. null restores the room's own capacity.",
                "tags": [
                    "event-rooms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "roomUuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                            "name": "Zimmer 12",
                                            "capacity": 2,
                                            "capacity_override": 1,
                                            "effective_capacity": 1,
                                            "occupied": 1
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "capacity_override": {
                                        "type": "integer",
                                        "description": "1 to 999 or null."
                                    }
                                },
                                "required": [
                                    "capacity_override"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/rooms/{roomUuid}": {
            "delete": {
                "operationId": "flowevents-event-rooms-destroy",
                "summary": "Remove a room from the event",
                "description": "Takes a room off the event. Everyone accommodated in it loses their place first. A room created specially for the event is deleted in the process, a room of a conference venue remains.",
                "tags": [
                    "event-rooms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "roomUuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Zimmer von der Veranstaltung entfernt."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/participants/{uuid}/room": {
            "put": {
                "operationId": "flowevents-participants-room",
                "summary": "Assign a participant to a room",
                "description": "Assigns a participant to a room or takes them out. room_uuid is required and may be null; null removes the assignment. A full room returns HTTP 409 with occupancy and capacity; with confirm_overbooking it is written anyway.",
                "tags": [
                    "event-rooms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "708192a3-b415-4f30-4b5c-6d7e8f900112",
                                        "name": "Anna Berger",
                                        "room_uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "room_uuid": {
                                        "type": "string",
                                        "description": "UUID of the room, or null to take the participant out."
                                    },
                                    "confirm_overbooking": {
                                        "type": "boolean",
                                        "description": "Explicitly confirms an overbooking."
                                    }
                                },
                                "required": [
                                    "room_uuid"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/venues": {
            "get": {
                "operationId": "flowevents-venues-index",
                "summary": "List conference venues",
                "description": "Lists the team's conference venues with their rooms, sorted by name.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "search",
                        "in": "query",
                        "required": false,
                        "description": "Search in name and city.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "required": false,
                        "description": "Entries per page, 1 to 200. Default 50.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "description": "Page number, starting at 1.",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                            "name": "Haus am See",
                                            "city": "Konstanz",
                                            "country": "Deutschland",
                                            "rooms": [
                                                {
                                                    "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                                    "name": "Zimmer 12",
                                                    "room_type": "double",
                                                    "capacity": 2
                                                }
                                            ]
                                        }
                                    ],
                                    "meta": {
                                        "current_page": 1,
                                        "per_page": 50,
                                        "total": 3,
                                        "last_page": 1
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-venues-store",
                "summary": "Create a conference venue",
                "description": "Creates a conference venue.",
                "tags": [
                    "venues"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                        "name": "Haus am See",
                                        "city": "Konstanz",
                                        "rooms": []
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of the venue."
                                    },
                                    "address": {
                                        "type": "string",
                                        "description": "Address, at most 500 characters."
                                    },
                                    "city": {
                                        "type": "string",
                                        "description": "City."
                                    },
                                    "country": {
                                        "type": "string",
                                        "description": "Country."
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Internal notes."
                                    }
                                },
                                "required": [
                                    "name"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/venues/{uuid}": {
            "get": {
                "operationId": "flowevents-venues-show",
                "summary": "Get a conference venue",
                "description": "Returns a conference venue with its rooms.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                        "name": "Haus am See",
                                        "address": "Seestrasse 4",
                                        "rooms": []
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "flowevents-venues-update",
                "summary": "Update a conference venue",
                "description": "Updates a conference venue. Fields that are not sent stay unchanged.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                        "name": "Haus am See (neu)"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of the venue."
                                    },
                                    "address": {
                                        "type": "string",
                                        "description": "Address."
                                    },
                                    "city": {
                                        "type": "string",
                                        "description": "City."
                                    },
                                    "country": {
                                        "type": "string",
                                        "description": "Country."
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Internal notes."
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "flowevents-venues-destroy",
                "summary": "Delete a conference venue",
                "description": "Deletes a conference venue. It is a soft delete; the rooms remain unchanged so that no existing assignment is silently dissolved.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Tagungshaus gelöscht."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/venues/{uuid}/rooms": {
            "get": {
                "operationId": "flowevents-venue-rooms-index",
                "summary": "List the rooms of a conference venue",
                "description": "Lists the rooms of a conference venue, sorted by name.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                            "name": "Zimmer 12",
                                            "room_type": "double",
                                            "capacity": 2,
                                            "venue_uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90",
                                            "is_ad_hoc": false
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-venue-rooms-store",
                "summary": "Create a room",
                "description": "Creates a room in a conference venue.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                        "name": "Zimmer 12",
                                        "room_type": "double",
                                        "capacity": 2,
                                        "venue_uuid": "5e6f7081-9203-4d1e-2f3a-4b5c6d7e8f90"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of the room."
                                    },
                                    "room_type": {
                                        "type": "string",
                                        "description": "single, double or multi."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Number of beds, 1 to 999."
                                    }
                                },
                                "required": [
                                    "name",
                                    "room_type",
                                    "capacity"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/rooms/{uuid}": {
            "put": {
                "operationId": "flowevents-rooms-update",
                "summary": "Update a room",
                "description": "Updates a room. The conference venue cannot be changed and is rejected if it is sent along.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                        "name": "Zimmer 12a",
                                        "capacity": 3
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name."
                                    },
                                    "room_type": {
                                        "type": "string",
                                        "description": "single, double or multi."
                                    },
                                    "capacity": {
                                        "type": "integer",
                                        "description": "Number of beds, 1 to 999."
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "flowevents-rooms-destroy",
                "summary": "Delete a room",
                "description": "Deletes a room. It is a soft delete.",
                "tags": [
                    "venues"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Zimmer gelöscht."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/signatures/send": {
            "post": {
                "operationId": "flowevents-signatures-send",
                "summary": "Request signatures",
                "description": "Sends the signature emails. With scope unsigned, only participants who have not signed yet get an email; with all, everyone gets one again. The response states the tokens created, the emails queued and the recipients without an address.",
                "tags": [
                    "mailings"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "scope": "unsigned",
                                        "tokens_created": 12,
                                        "mails_queued": 11,
                                        "skipped_no_email": 1
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "scope": {
                                        "type": "string",
                                        "description": "unsigned or all. Default unsigned."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/feedback/send": {
            "post": {
                "operationId": "flowevents-feedback-send",
                "summary": "Request feedback",
                "description": "Sends the feedback emails for a form and freezes a version of the form in the process. With scope pending, only participants who have not answered yet get an email.",
                "tags": [
                    "mailings"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "form_uuid": "c5d6e7f8-0112-4233-4455-66778899aabb",
                                        "scope": "pending",
                                        "tokens_created": 12,
                                        "mails_queued": 12,
                                        "skipped_no_email": 0,
                                        "frozen_version_number": 2
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "form_uuid": {
                                        "type": "string",
                                        "description": "UUID of the feedback form."
                                    },
                                    "scope": {
                                        "type": "string",
                                        "description": "pending or all. Default pending."
                                    }
                                },
                                "required": [
                                    "form_uuid"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/feedback/evaluation": {
            "get": {
                "operationId": "flowevents-feedback-evaluation",
                "summary": "Evaluate the feedback of an event",
                "description": "Evaluates the feedback for an event, grouped by question and not by version. The same content as the report under reports, only addressed through the event in the path.",
                "tags": [
                    "mailings"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "event_uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
                                        "submission_count": 14,
                                        "questions": {
                                            "812": {
                                                "label": "Wie zufrieden waren Sie?",
                                                "field_type": "rating",
                                                "answers": [],
                                                "aggregate": {
                                                    "average": 4.6
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/feedback-forms": {
            "get": {
                "operationId": "flowevents-feedback-forms-index",
                "summary": "List feedback forms",
                "description": "Lists the team's feedback forms with the number of their live version and the number of their fields.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "search",
                        "in": "query",
                        "required": false,
                        "description": "Search in name and description.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "required": false,
                        "description": "Entries per page, 1 to 200. Default 50.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "description": "Page number, starting at 1.",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "c5d6e7f8-0112-4233-4455-66778899aabb",
                                            "name": "Abschlussfeedback",
                                            "description": null,
                                            "version_number": 2,
                                            "field_count": 7
                                        }
                                    ],
                                    "meta": {
                                        "current_page": 1,
                                        "per_page": 50,
                                        "total": 2,
                                        "last_page": 1
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-feedback-forms-store",
                "summary": "Create a feedback form",
                "description": "Creates a form. Version 1 is created right away, so the form can be edited from the first moment.",
                "tags": [
                    "feedback-forms"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "c5d6e7f8-0112-4233-4455-66778899aabb",
                                        "name": "Abschlussfeedback",
                                        "version_number": 1,
                                        "field_count": 0,
                                        "fields": []
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of the form."
                                    },
                                    "description": {
                                        "type": "string",
                                        "description": "Description, at most 1000 characters."
                                    }
                                },
                                "required": [
                                    "name"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/feedback-forms/{uuid}": {
            "get": {
                "operationId": "flowevents-feedback-forms-show",
                "summary": "Get a feedback form",
                "description": "Returns a form with the fields of its live version in their order.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "c5d6e7f8-0112-4233-4455-66778899aabb",
                                        "name": "Abschlussfeedback",
                                        "version_number": 2,
                                        "field_count": 1,
                                        "fields": [
                                            {
                                                "uuid": "d6e7f801-1223-4344-5566-778899aabbcc",
                                                "field_type": "rating",
                                                "label": "Wie zufrieden waren Sie?",
                                                "is_required": true,
                                                "options": {
                                                    "max": 5,
                                                    "display": "numbers"
                                                },
                                                "sort_order": 1
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "flowevents-feedback-forms-update",
                "summary": "Update a feedback form",
                "description": "Changes the name or description of a form. Fields that are not sent stay unchanged.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "c5d6e7f8-0112-4233-4455-66778899aabb",
                                        "name": "Abschlussfeedback 2026"
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of the form."
                                    },
                                    "description": {
                                        "type": "string",
                                        "description": "Description."
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "flowevents-feedback-forms-destroy",
                "summary": "Delete a feedback form",
                "description": "Deletes a form. If there are already answers, deleting is rejected with HTTP 409, because the answers would otherwise be left without their questions.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Feedback-Formular gelöscht."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/feedback-forms/{uuid}/fields": {
            "get": {
                "operationId": "flowevents-feedback-fields-index",
                "summary": "List the fields of a form",
                "description": "Lists the fields of the live version in their order.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "d6e7f801-1223-4344-5566-778899aabbcc",
                                            "field_type": "select",
                                            "label": "Wie haben Sie von uns erfahren?",
                                            "is_required": false,
                                            "options": [
                                                "Empfehlung",
                                                "Suchmaschine"
                                            ],
                                            "sort_order": 1
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "flowevents-feedback-fields-store",
                "summary": "Add a field",
                "description": "Adds a field to the live version. The field type is required and cannot be changed later. Without further details, the defaults of the type apply.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "e7f80112-2334-4455-6677-8899aabbccdd",
                                        "field_type": "rating",
                                        "label": "Wie zufrieden waren Sie?",
                                        "options": {
                                            "max": 5,
                                            "display": "numbers"
                                        },
                                        "sort_order": 2
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "field_type": {
                                        "type": "string",
                                        "description": "text, textarea, select, checkbox, radio, rating, section_heading or paragraph."
                                    },
                                    "label": {
                                        "type": "string",
                                        "description": "Label, at most 255 characters."
                                    },
                                    "help_text": {
                                        "type": "string",
                                        "description": "Help text, at most 1000 characters."
                                    },
                                    "is_required": {
                                        "type": "boolean",
                                        "description": "Whether an answer is required."
                                    },
                                    "options": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Answer texts for select, radio and checkbox; for rating an object with max between 2 and 10 and display (numbers or stars, default numbers). With stars, max is at most 5."
                                    }
                                },
                                "required": [
                                    "field_type"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/feedback-forms/{uuid}/fields/order": {
            "put": {
                "operationId": "flowevents-feedback-fields-order",
                "summary": "Reorder fields",
                "description": "Sets the order of the fields. The list is the complete new order; a UUID that belongs to another form is discarded.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": [
                                        {
                                            "uuid": "e7f80112-2334-4455-6677-8899aabbccdd",
                                            "sort_order": 1
                                        },
                                        {
                                            "uuid": "d6e7f801-1223-4344-5566-778899aabbcc",
                                            "sort_order": 2
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "field_uuids": {
                                        "type": "array",
                                        "items": [],
                                        "description": "UUIDs of the fields in the desired order."
                                    }
                                },
                                "required": [
                                    "field_uuids"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/feedback-forms/{uuid}/fields/{fieldUuid}": {
            "put": {
                "operationId": "flowevents-feedback-fields-update",
                "summary": "Update a field",
                "description": "Changes the label, help text, required flag or answer options of a field. The field type cannot be changed and is rejected if it is sent along. A star maximum is limited to the allowed range.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "fieldUuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "uuid": "e7f80112-2334-4455-6677-8899aabbccdd",
                                        "label": "Wie zufrieden sind Sie?",
                                        "options": {
                                            "max": 10,
                                            "display": "numbers"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "label": {
                                        "type": "string",
                                        "description": "Label."
                                    },
                                    "help_text": {
                                        "type": "string",
                                        "description": "Help text."
                                    },
                                    "is_required": {
                                        "type": "boolean",
                                        "description": "Whether an answer is required."
                                    },
                                    "options": {
                                        "type": "array",
                                        "items": [],
                                        "description": "Answer texts or, for rating, an object with max and display (numbers or stars)."
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "flowevents-feedback-fields-destroy",
                "summary": "Delete a field",
                "description": "Deletes a field from the live version. Versions that are already frozen and the answers given to them stay untouched.",
                "tags": [
                    "feedback-forms"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "fieldUuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Feld gelöscht."
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/exports/contacts": {
            "get": {
                "operationId": "flowevents-exports-contacts",
                "summary": "Export the contact list",
                "description": "Returns the contact list as CSV: name, email, phone, company, address, role and remarks. This list deliberately contains no amounts and therefore needs no FlowAccounting.",
                "tags": [
                    "exports"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "statuses",
                        "in": "query",
                        "required": false,
                        "description": "registered, confirmed, waitlisted, cancelled. Default registered and confirmed.",
                        "schema": {
                            "type": "array",
                            "items": []
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "text/event-stream": {
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Name;E-Mail;Telefon;Firma;Adresse;Rolle;Bemerkungen"
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/exports/rooms": {
            "get": {
                "operationId": "flowevents-exports-rooms",
                "summary": "Export the room list",
                "description": "Returns the room list as CSV: name, room, room type, special diet and bed linen. If the event has no item of the kind accommodation, the call returns HTTP 409 instead of an empty file.",
                "tags": [
                    "exports"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "statuses",
                        "in": "query",
                        "required": false,
                        "description": "registered, confirmed, waitlisted, cancelled. Default registered and confirmed.",
                        "schema": {
                            "type": "array",
                            "items": []
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "text/event-stream": {
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Name;Zimmer;Zimmertyp;Sonderkost;Bettwäsche"
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/exports/cost-payment": {
            "get": {
                "operationId": "flowevents-exports-cost-payment",
                "summary": "Export cost and payment",
                "description": "Returns seminar fee, price tier, board and lodging, total and payment status as CSV. Requires FlowAccounting. For an in-house event, the file contains the company total instead of one row per participant.",
                "tags": [
                    "exports"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "statuses",
                        "in": "query",
                        "required": false,
                        "description": "registered, confirmed, waitlisted, cancelled. Default registered and confirmed.",
                        "schema": {
                            "type": "array",
                            "items": []
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "text/event-stream": {
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Name;E-Mail;Seminargebühr;Preisstufe;Kost & Logis;Gesamt (brutto);Zahlungsstatus"
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/exports/full": {
            "get": {
                "operationId": "flowevents-exports-full",
                "summary": "Export the full overview",
                "description": "Returns all columns in one file: contact details, role, prices, payment and certification status, room, special diet, bed linen and remarks. Requires FlowAccounting.",
                "tags": [
                    "exports"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "statuses",
                        "in": "query",
                        "required": false,
                        "description": "registered, confirmed, waitlisted, cancelled. Default registered and confirmed.",
                        "schema": {
                            "type": "array",
                            "items": []
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "text/event-stream": {
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Name;E-Mail;Telefon;Firma;Adresse;Rolle;Preis-Stufe;Seminargebühr;Kost & Logis;Gesamt (brutto);Zahlungsstatus;Zertifizierungsstatus;Zimmer;Zimmertyp;Sonderkost;Bettwäsche;Bemerkungen"
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/flowevents/events/{uuid}/exports/feedback": {
            "get": {
                "operationId": "flowevents-exports-feedback",
                "summary": "Export feedback answers",
                "description": "Returns the submitted answers as CSV with one row per answered question. Requires FlowAccounting. If there are no answers, the call returns HTTP 409 instead of a file that contains only a header row.",
                "tags": [
                    "exports"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "text/event-stream": {
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Teilnehmer;Frage;Antwort"
                            }
                        }
                    },
                    "default": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "description": "API key (pk_… or at_…) as Authorization: Bearer <key>. Any other way of sending it is rejected with 401."
            }
        },
        "schemas": {
            "Error": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "error": {
                        "type": "string"
                    },
                    "message": {
                        "type": "string"
                    },
                    "errors": {
                        "type": "object"
                    }
                }
            }
        }
    }
}